Instagram Profile
POST /api/v1/instagram/profile
Get a public Instagram profile: name, bio, link, follower and following counts and more.
Overview
Get a public Instagram profile: name, bio, link, follower and following counts and more.
POST /api/v1/instagram/profile
Method: POST Path: /api/v1/instagram/profile Category: Social Media
Request Parameters
Endpoint Parameters
| Name | Type | Requirement | Description |
|---|---|---|---|
| profile_url | string | Required | Public profile URL, e.g. https://www.instagram.com/nasa/ |
Request Example
Instagram Profile Request Examples
curl -X POST "https://api.dataguru.cc/api/v1/instagram/profile" \ -H "Authorization: Api-Key YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"profile_url": "example"}'
Response Example
200 OK
Typical 200 OK JSON response structure with envelope metadata.
{ "username": "string", "profile_id": "1234567890", "full_name": "string", "bio": "string", "followers_count": 0, "following_count": 0, "bio_links": [ { "image_url": "https://example.com/...", "is_pinned": false, "link_id": "1234567890", "link_type": "string", "lynx_url": "https://example.com/...", "media_accent_color_hex": "string", "media_type": "string", "title": "string", "url": "https://example.com/...", "creation_source": "string" } ], "profile_pic_url": "https://example.com/...", "profile_pic_url_hd": "https://example.com/...", "is_private": false, "is_verified": false, "is_business_account": false, "is_professional_account": false, "is_supervision_enabled": false, "is_supervised_by_viewer": false, "is_supervised_user": false, "is_joined_recently": false, "business_email": "[email protected]", "business_phone_number": "string", "business_category_name": "string", "overall_category_name": "string", "category_enum": "string", "category_name": "string", "pinned_channels_list_count": 0, "highlight_reel_count": 0, "video_timeline": { "count": 0, "videos": [ {} ] }, "related_profiles": [ {} ], "owner_to_timeline_media": { "count": 0, "media": [ { "id": "1234567890", "shortcode": "string", "type": "string", "product_type": "string", "url": "https://example.com/...", "caption": "string", "hashtags": [ "string" ], "dimensions": { "width": 0, "height": 0 }, "display_url": "https://example.com/...", "images": [ {} ], "owner": { "id": "1234567890", "username": "string" }, "is_video": false, "has_audio": false, "video_url": "https://example.com/...", "comment": "string", "likes": 0, "preview_likes": 0, "video_view_count": 0, "thumbnail": "string", "timestamp": 0, "timestamp_source": "string", "taken_at_iso": "string" } ] }, "_metadata": { "request_id": "3f6c1a2e-8b4d-4c1e-9a7f-2d5e6b7c8d9e", "execution_time_ms": 842, "endpoint": "Instagram Profile", "mode": "live", "format": "json", "timestamp": "2026-01-01T12:00:00+00:00" } }
Response Schema
Fields returned in a successful response. Nested fields use dot notation and `[]` marks items of a list. Fields that are not required can be missing or `null` when the source does not provide them. Every response also includes a `_metadata` block.
Response Fields
| Field | Type | Required | Description |
|---|---|---|---|
| username | string | Yes | Instagram username handle without @ symbol. |
| profile_id | string | Yes | Unique numeric or alphanumeric Instagram user/profile ID. |
| full_name | string | Yes | Display name of the user or business. |
| bio | string | Yes | Profile biography text description. |
| followers_count | integer | null | Yes | Total number of followers for this profile. |
| following_count | integer | null | Yes | Total number of accounts followed by this profile. |
| bio_links | array<object> | Yes | External links configured in user bio. |
| bio_links[].image_url | string | null | Yes | Thumbnail image for the link. |
| bio_links[].is_pinned | boolean | Yes | True if the link is pinned. |
| bio_links[].link_id | string | Yes | Instagram link ID. Empty string when unknown. |
| bio_links[].link_type | string | null | Yes | Link type, e.g. 'external'. |
| bio_links[].lynx_url | string | null | Yes | Instagram redirect (l.instagram.com) URL for the link. |
| bio_links[].media_accent_color_hex | string | null | Yes | Accent colour of the link thumbnail. |
| bio_links[].media_type | string | null | Yes | Thumbnail media type, e.g. 'none'. |
| bio_links[].title | string | Yes | Link title or label. |
| bio_links[].url | string | Yes | External destination URL. |
| bio_links[].creation_source | string | Yes | Source where link was created, e.g. NONE or BIO. |
| profile_pic_url | string | null | Yes | Standard resolution profile picture URL. |
| profile_pic_url_hd | string | null | Yes | High definition profile picture URL. |
| is_private | boolean | Yes | Whether the profile account is set to private. |
| is_verified | boolean | Yes | Whether the profile has a blue verified badge. |
| is_business_account | boolean | null | Yes | Whether the account is classified as a business account. |
| is_professional_account | boolean | null | Yes | Whether the account is classified as a professional/creator account. |
| is_supervision_enabled | boolean | null | Yes | Whether parental/guardian supervision is enabled on the account. |
| is_supervised_by_viewer | boolean | null | Yes | Whether the viewing account supervises this account. |
| is_supervised_user | boolean | null | Yes | Whether this profile user is under supervision. |
| is_joined_recently | boolean | null | Yes | Whether the account was created recently. |
| business_email | string | null | Yes | Public business contact email address if available. |
| business_phone_number | string | null | Yes | Public business phone number if available. |
| business_category_name | string | null | Yes | Primary business category title. |
| overall_category_name | string | null | Yes | Overall category classification name. |
| category_enum | string | null | Yes | Internal category enumeration key. |
| category_name | string | null | Yes | Category name displayed on the profile. |
| pinned_channels_list_count | integer | null | Yes | Count of pinned broadcast channels. |
| highlight_reel_count | integer | null | Yes | Total number of story highlight reels. |
| video_timeline | object | Yes | Video timeline metadata. |
| video_timeline.count | integer | null | Yes | Total count of video items. |
| video_timeline.videos | array<object> | Yes | List of video items from video timeline. |
| related_profiles | array<object> | Yes | List of related recommended profile suggestions. |
| owner_to_timeline_media | object | Yes | Recent post media items from the user's timeline. |
| owner_to_timeline_media.count | integer | null | Yes | Total number of posts on the user's timeline. |
| owner_to_timeline_media.media | array<object> | Yes | Array of timeline media posts. |
| owner_to_timeline_media.media[].id | string | Yes | Media ID. |
| owner_to_timeline_media.media[].shortcode | string | Yes | Instagram shortcode identifier. |
| owner_to_timeline_media.media[].type | string | Yes | Media type (e.g. 'Image', 'Video', 'Carousel'). |
| owner_to_timeline_media.media[].product_type | string | Yes | Product classification (e.g. 'feed', 'clips', 'carousel_container'). |
| owner_to_timeline_media.media[].url | string | Yes | Full post URL link. |
| owner_to_timeline_media.media[].caption | string | Yes | Post caption text. |
| owner_to_timeline_media.media[].hashtags | array<string> | Yes | Extracted hashtags from the caption. |
| owner_to_timeline_media.media[].dimensions | object | Yes | Width and height dimensions. |
| owner_to_timeline_media.media[].dimensions.width | integer | null | No | |
| owner_to_timeline_media.media[].dimensions.height | integer | null | No | |
| owner_to_timeline_media.media[].display_url | string | Yes | Direct image or poster display URL. |
| owner_to_timeline_media.media[].images | array<object> | Yes | Image resolutions or carousel items. |
| owner_to_timeline_media.media[].owner | object | Yes | |
| owner_to_timeline_media.media[].owner.id | string | Yes | Owner profile ID. |
| owner_to_timeline_media.media[].owner.username | string | Yes | Owner username. |
| owner_to_timeline_media.media[].is_video | boolean | Yes | True if media contains video. |
| owner_to_timeline_media.media[].has_audio | boolean | null | No | True if media contains audio. |
| owner_to_timeline_media.media[].video_url | string | null | No | Direct video stream URL if video. |
| owner_to_timeline_media.media[].comment | string | object | null | No | Featured comment or comment block. |
| owner_to_timeline_media.media[].likes | integer | null | No | Likes count. |
| owner_to_timeline_media.media[].preview_likes | integer | null | No | Preview likes count. |
| owner_to_timeline_media.media[].video_view_count | integer | null | No | Play or view count for video. |
| owner_to_timeline_media.media[].thumbnail | string | Yes | Thumbnail preview URL. |
| owner_to_timeline_media.media[].timestamp | integer | null | No | Unix timestamp when media was taken. |
| owner_to_timeline_media.media[].timestamp_source | string | null | No | Source of timestamp calculation. |
| owner_to_timeline_media.media[].taken_at_iso | string | null | No | ISO-8601 formatted datetime string. |
Asynchronous Requests
Long-running requests can be processed in the background. Add `?async=true` (or the `Prefer: respond-async` header) to receive a `job_id` immediately, then poll the job until its status is `COMPLETED`.
Async Workflow
curl -X POST "https://api.dataguru.cc/api/v1/instagram/profile?async=true" \ -H "Authorization: Api-Key YOUR_API_KEY" # 202 Accepted { "success": true, "status": "SUBMITTED", "job_id": "0ca215ce-244f-4b28-b481-dc1b551983c8", "status_url": "/api/v1/jobs/0ca215ce-244f-4b28-b481-dc1b551983c8/" }
Batch Processing
To run many requests at half price, upload them as a CSV file: one row per request, with the parameter names above as the header row. Rows run in the background within 24 hours (up to 7 days for large files) and each successful row costs 50% of the price below. Poll /api/v1/batches/{batch_id}/ for progress and download results.json when it has finished. See the Batch Processing guide for details.
Batch Workflow
profile_url example
Pricing & Rate Limits
Endpoint Pricing
$0.0008 / per successful request (USD)
Consumed per successful call: 1 request unit(s), 1 credit(s).
Endpoint Rate Limits
Common Errors
Common HTTP Errors
| Status | Code | Description |
|---|---|---|
| 400 | VALIDATION_ERROR | A required parameter is missing or malformed. |
| 401 | UNAUTHORIZED | Missing or invalid API key. |
| 402 | INSUFFICIENT_BALANCE | Your balance cannot cover this request. |
| 403 | ENDPOINT_DISABLED | This endpoint is currently unavailable. |
| 405 | METHOD_NOT_ALLOWED | The endpoint was called with the wrong HTTP method. |
| 429 | RATE_LIMIT_EXCEEDED | Too many requests. See the Retry-After header. |
| 502 | PROVIDER_ERROR | The upstream data source failed. Retry with exponential backoff. |