> ## Documentation Index
> Fetch the complete documentation index at: https://creatorinsights.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Instagram Profile

Retrieves comprehensive public Instagram profile information including biography, bio links, follower and following counts, verification status, and profile picture URLs. Also returns recent timeline posts with engagement metrics such as likes, comments, and video view counts, plus a list of related profiles. Useful for account overview, audience analysis, or discovering similar creators. Scraper responses preserve their public source field names by default (trim omitted or true) while removing only noisy, heavy, or unsafe fields. Set trim=false for the full sanitized source response.

Intelligence uses plan credits; niche searches start at 2, other ordinary fetches at 1, and applicable options can cost more.

> [!NOTE]
>
> Examples use illustrative values. The playground sends a real request. Intelligence can consume plan credits. Publishing examples save drafts.

## Endpoint

**GET** `https://api.creatorinsights.in/v1/instagram/profile`

**Content type:** Query parameters; no JSON request body.

**Authentication:** `x-api-key: YOUR_SAVED_API_KEY`

**MCP tool:** `fetch_insta_profile`. See [MCP Setup](https://creatorinsights.mintlify.site/mcp-setup.md) for AI clients.

## Request parameters

**x-workspace-id** `string`

Active workspace ID or current name in your organization. Optional header alternative to passing workspace in the query.

**handle** `string` *required*

Instagram handle

**trim** `boolean` (default: true)

Defaults to true: preserve public source field names, metrics, and public media URLs while removing only noisy, heavy, or unsafe fields. Set false for the full sanitized source response; credentials, transport headers/context, internal credit data, and upstream-provider identity are always removed.

**cache\_max\_age** `string`

Maximum acceptable cache age. May return cached and cached\_at metadata. A cache hit does not guarantee a free Creator Insights request; inspect the charge returned by the selected endpoint. Allowed values: `1d`, `3d`, `7d`, `14d`, `30d`.

**workspace** `string`

Workspace ID or current name in the authenticated organization. Required for paid requests when the organization has more than one active workspace. The selected workspace receives this request charge.

## Request example

Send these arguments as URL query parameters.

```json theme={null}
{
  "handle": "examplecreator",
  "workspace": "YOUR_WORKSPACE_ID_OR_CURRENT_NAME"
}
```

```bash cURL theme={null}
curl --get 'https://api.creatorinsights.in/v1/instagram/profile' \
  -H "x-api-key: $CREATOR_INSIGHTS_API_KEY" \
  --data-urlencode 'handle=examplecreator' \
  --data-urlencode 'workspace=YOUR_WORKSPACE_ID_OR_CURRENT_NAME'
```

```javascript Node.js theme={null}
const parameters = {
  "handle": "examplecreator",
  "workspace": "YOUR_WORKSPACE_ID_OR_CURRENT_NAME"
};
const url = new URL('https://api.creatorinsights.in/v1/instagram/profile');
for (const [name, value] of Object.entries(parameters)) url.searchParams.set(name, String(value));
const response = await fetch(url, { headers: { 'x-api-key': process.env.CREATOR_INSIGHTS_API_KEY } });
const raw = await response.text();
let result;
try { result = JSON.parse(raw); } catch { throw new Error('Non-JSON response: ' + response.status); }
if (!response.ok || result.success === false) throw new Error(result.message || result.error || 'Request failed');
console.log(result.data);
```

```python Python theme={null}
import json, os, requests

arguments = json.loads("{\"handle\":\"examplecreator\",\"workspace\":\"YOUR_WORKSPACE_ID_OR_CURRENT_NAME\"}")
response = requests.get("https://api.creatorinsights.in/v1/instagram/profile",
    headers={"x-api-key": os.environ["CREATOR_INSIGHTS_API_KEY"]},
    params=arguments, timeout=120)
response.raise_for_status()
result = response.json()
print(result["data"])
```

## Response example

HTTP 200. Illustrative values; optional fields can be omitted, null, or empty. Additional platform fields may be returned.

```json Success theme={null}
{
  "success": true,
  "data": {
    "success": true,
    "data": {
      "user": {
        "biography": "Example creator content",
        "bio_links": [
          {
            "title": "Example creator content",
            "lynx_url": "https://example.com/sample",
            "url": "https://example.com/sample",
            "link_type": "example"
          }
        ],
        "biography_with_entities": {
          "raw_text": "Example creator content",
          "entities": []
        },
        "external_url": "https://example.com/sample",
        "edge_followed_by": {
          "count": 120
        },
        "fbid": "1234567890123456789",
        "edge_follow": {
          "count": 120
        },
        "full_name": "Example creator content",
        "id": "1234567890123456789",
        "is_business_account": false,
        "is_professional_account": false,
        "business_address_json": {
          "city_name": "Example creator content",
          "city_id": 1,
          "latitude": 1,
          "longitude": 1,
          "street_address": null,
          "zip_code": null
        },
        "category_name": "Example creator content",
        "is_private": false,
        "is_verified": false,
        "profile_pic_url": "https://example.com/sample",
        "profile_pic_url_hd": "https://example.com/sample",
        "username": "examplecreator",
        "edge_felix_video_timeline": {
          "count": 120,
          "page_info": {
            "has_next_page": false,
            "end_cursor": null
          },
          "edges": []
        },
        "edge_owner_to_timeline_media": {
          "count": 120,
          "page_info": {
            "has_next_page": false,
            "end_cursor": "EXAMPLE_CURSOR"
          },
          "edges": [
            {
              "node": {
                "__typename": "Example creator content",
                "id": "1234567890123456789",
                "shortcode": "example",
                "dimensions": {
                  "height": 1920,
                  "width": 1080
                },
                "display_url": "https://media.example.com/sample.mp4",
                "edge_media_to_tagged_user": {
                  "edges": []
                },
                "fact_check_overall_rating": null,
                "fact_check_information": null,
                "gating_info": null,
                "media_overlay_info": null,
                "media_preview": "example",
                "owner": {
                  "id": "1234567890123456789",
                  "username": "examplecreator"
                },
                "is_video": false,
                "has_upcoming_event": false,
                "accessibility_caption": null,
                "has_audio": false,
                "tracking_token": "example",
                "video_url": "https://media.example.com/sample.mp4",
                "video_view_count": 120,
                "edge_media_to_caption": {
                  "edges": []
                },
                "edge_media_to_comment": {
                  "count": 120
                },
                "comments_disabled": false,
                "taken_at_timestamp": 1767225600,
                "edge_liked_by": {
                  "count": 120
                },
                "edge_media_preview_like": {
                  "count": 120
                },
                "location": null,
                "nft_asset_info": null,
                "thumbnail_src": "https://media.example.com/sample.jpg",
                "thumbnail_tall_src": "https://media.example.com/sample.jpg",
                "thumbnail_resources": [
                  {
                    "src": "https://example.com/sample",
                    "config_width": 1080,
                    "config_height": 1920
                  }
                ],
                "tall_profile_grid_crop": null,
                "profile_grid_thumbnail_fitting_style": "example",
                "coauthor_producers": [],
                "pinned_for_users": [],
                "viewer_can_reshare": false,
                "like_and_view_counts_disabled": false,
                "product_type": "example",
                "clips_music_attribution_info": {
                  "artist_name": "Example creator content",
                  "song_name": "Example creator content",
                  "uses_original_audio": false,
                  "should_mute_audio": false,
                  "should_mute_audio_reason": "",
                  "audio_id": "1234567890123456789"
                }
              }
            }
          ]
        },
        "edge_media_collections": {
          "count": 120,
          "page_info": {
            "has_next_page": false,
            "end_cursor": null
          },
          "edges": []
        },
        "edge_related_profiles": {
          "edges": [
            {
              "node": {
                "id": "1234567890123456789",
                "full_name": "Example creator content",
                "is_private": false,
                "is_verified": false,
                "profile_pic_url": "https://example.com/sample",
                "username": "examplecreator"
              }
            }
          ]
        }
      }
    }
  },
  "credits_charged": 1
}
```

## Response fields

**success** `boolean` *required*

Whether this operation succeeded. Also check HTTP status and nested platform statuses.

**data** `object` *required*

Operation-specific payload. See the nested field table and response example below.

**credits\_charged** `number`

Creator Insights plan credits for this call; the example is illustrative.

| Field | Type | Description |
| - | - | - |
| `success` | boolean | Example response field. Availability depends on the record and selected options. |
| `data` | object | Public source field names are preserved by default when trim is omitted or true; only noisy, heavy, or unsafe fields are removed. Set trim=false for the full sanitized source response. Fields vary with source availability; unavailable metrics are null. |
| `data.success` | boolean | Example response field. Availability depends on the record and selected options. |
| `data.data` | object | Nested object. Expand the response schema for its fields. |
| `data.data.user` | object | Nested object. Expand the response schema for its fields. |
| `data.data.user.biography` | string | Example response field. Availability depends on the record and selected options. |
| `data.data.user.bio_links` | array | List of returned entries; may be empty. |
| `data.data.user.biography_with_entities` | object | Nested object. Expand the response schema for its fields. |
| `data.data.user.external_url` | string | Example response field. Availability depends on the record and selected options. |
| `data.data.user.edge_followed_by` | object | Nested object. Expand the response schema for its fields. |
| `data.data.user.fbid` | string | Example response field. Availability depends on the record and selected options. |
| `data.data.user.edge_follow` | object | Nested object. Expand the response schema for its fields. |
| `data.data.user.full_name` | string | Example response field. Availability depends on the record and selected options. |
| `data.data.user.id` | string | Example response field. Availability depends on the record and selected options. |
| `data.data.user.is_business_account` | boolean | Example response field. Availability depends on the record and selected options. |
| `data.data.user.is_professional_account` | boolean | Example response field. Availability depends on the record and selected options. |
| `data.data.user.business_address_json` | object | Nested object. Expand the response schema for its fields. |
| `data.data.user.category_name` | string | Example response field. Availability depends on the record and selected options. |
| `data.data.user.is_private` | boolean | Example response field. Availability depends on the record and selected options. |
| `data.data.user.is_verified` | boolean | Example response field. Availability depends on the record and selected options. |
| `data.data.user.profile_pic_url` | string | Example response field. Availability depends on the record and selected options. |
| `data.data.user.profile_pic_url_hd` | string | Example response field. Availability depends on the record and selected options. |
| `data.data.user.username` | string | Example response field. Availability depends on the record and selected options. |
| `data.data.user.edge_felix_video_timeline` | object | Nested object. Expand the response schema for its fields. |
| `data.data.user.edge_owner_to_timeline_media` | object | Nested object. Expand the response schema for its fields. |
| `data.data.user.edge_media_collections` | object | Nested object. Expand the response schema for its fields. |
| `data.data.user.edge_related_profiles` | object | Nested object. Expand the response schema for its fields. |
| `credits_charged` | number | Example response field. Availability depends on the record and selected options. |

The interactive schema includes deeper nested fields. Sample fields are descriptive, not a promise that every record includes them.

## n8n and JSON tool endpoint

**POST** `https://api.creatorinsights.in/api/v1/tools/fetch_insta_profile`. Use Header Auth with `x-api-key` and body content type JSON. This alias returns the n8n envelope below; included operations can report zero credits\_deducted.

```bash theme={null}
curl -X POST 'https://api.creatorinsights.in/api/v1/tools/fetch_insta_profile' \
  -H "x-api-key: $CREATOR_INSIGHTS_API_KEY" \
  -H 'Content-Type: application/json' \
  --data '{"handle":"examplecreator","workspace":"YOUR_WORKSPACE_ID_OR_CURRENT_NAME"}'
```

```json theme={null}
{
  "status": true,
  "tool": "fetch_insta_profile",
  "credits_deducted": 1,
  "data": {
    "success": true,
    "data": {
      "user": {
        "biography": "Example creator content",
        "bio_links": [
          {
            "title": "Example creator content",
            "lynx_url": "https://example.com/sample",
            "url": "https://example.com/sample",
            "link_type": "example"
          }
        ],
        "biography_with_entities": {
          "raw_text": "Example creator content",
          "entities": []
        },
        "external_url": "https://example.com/sample",
        "edge_followed_by": {
          "count": 120
        },
        "fbid": "1234567890123456789",
        "edge_follow": {
          "count": 120
        },
        "full_name": "Example creator content",
        "id": "1234567890123456789",
        "is_business_account": false,
        "is_professional_account": false,
        "business_address_json": {
          "city_name": "Example creator content",
          "city_id": 1,
          "latitude": 1,
          "longitude": 1,
          "street_address": null,
          "zip_code": null
        },
        "category_name": "Example creator content",
        "is_private": false,
        "is_verified": false,
        "profile_pic_url": "https://example.com/sample",
        "profile_pic_url_hd": "https://example.com/sample",
        "username": "examplecreator",
        "edge_felix_video_timeline": {
          "count": 120,
          "page_info": {
            "has_next_page": false,
            "end_cursor": null
          },
          "edges": []
        },
        "edge_owner_to_timeline_media": {
          "count": 120,
          "page_info": {
            "has_next_page": false,
            "end_cursor": "EXAMPLE_CURSOR"
          },
          "edges": [
            {
              "node": {
                "__typename": "Example creator content",
                "id": "1234567890123456789",
                "shortcode": "example",
                "dimensions": {
                  "height": 1920,
                  "width": 1080
                },
                "display_url": "https://media.example.com/sample.mp4",
                "edge_media_to_tagged_user": {
                  "edges": []
                },
                "fact_check_overall_rating": null,
                "fact_check_information": null,
                "gating_info": null,
                "media_overlay_info": null,
                "media_preview": "example",
                "owner": {
                  "id": "1234567890123456789",
                  "username": "examplecreator"
                },
                "is_video": false,
                "has_upcoming_event": false,
                "accessibility_caption": null,
                "has_audio": false,
                "tracking_token": "example",
                "video_url": "https://media.example.com/sample.mp4",
                "video_view_count": 120,
                "edge_media_to_caption": {
                  "edges": []
                },
                "edge_media_to_comment": {
                  "count": 120
                },
                "comments_disabled": false,
                "taken_at_timestamp": 1767225600,
                "edge_liked_by": {
                  "count": 120
                },
                "edge_media_preview_like": {
                  "count": 120
                },
                "location": null,
                "nft_asset_info": null,
                "thumbnail_src": "https://media.example.com/sample.jpg",
                "thumbnail_tall_src": "https://media.example.com/sample.jpg",
                "thumbnail_resources": [
                  {
                    "src": "https://example.com/sample",
                    "config_width": 1080,
                    "config_height": 1920
                  }
                ],
                "tall_profile_grid_crop": null,
                "profile_grid_thumbnail_fitting_style": "example",
                "coauthor_producers": [],
                "pinned_for_users": [],
                "viewer_can_reshare": false,
                "like_and_view_counts_disabled": false,
                "product_type": "example",
                "clips_music_attribution_info": {
                  "artist_name": "Example creator content",
                  "song_name": "Example creator content",
                  "uses_original_audio": false,
                  "should_mute_audio": false,
                  "should_mute_audio_reason": "",
                  "audio_id": "1234567890123456789"
                }
              }
            }
          ]
        },
        "edge_media_collections": {
          "count": 120,
          "page_info": {
            "has_next_page": false,
            "end_cursor": null
          },
          "edges": []
        },
        "edge_related_profiles": {
          "edges": [
            {
              "node": {
                "id": "1234567890123456789",
                "full_name": "Example creator content",
                "is_private": false,
                "is_verified": false,
                "profile_pic_url": "https://example.com/sample",
                "username": "examplecreator"
              }
            }
          ]
        }
      }
    }
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.