Instagram Profile Full API
Returns the profile plus its latest 12 posts and computed metrics: engagement rate by views and by followers, posting cadence, the top post, and the mix of post formats.
GET /v1/instagram/profile/fullLast updated October 2026Maintained by the SocialCrawl team
When to use the Instagram Profile Full API
Use it instead of calling profile and profile/posts separately; the profile still comes back if posts cannot be fetched, with post metrics null.
From the API reference
Fans out to the Instagram profile and recent-posts endpoints in parallel and returns the unified author, the recent-post list, and computed metrics: avg_engagement_rate, avg_engagement_rate_by_followers, posting cadence (with the window it was measured over), the top post, and the format mix. avg_engagement_rate is view-based: the mean of each post's (likes + comments + shares) / views, so only posts that carry a view count contribute, and it is null when none does. avg_engagement_rate_by_followers is the mean of likes + comments per post divided by the account's follower count, over every post that carries both, so it covers posts with no view count. One call reads one page of recent posts, which on Instagram is 12 posts, and computes the metrics over that page: posts can shorten the window but not lengthen it past one page, and _warnings says so when fewer posts came back than posts asked for. Pass posts_cursor back as cursor to read the next page, 5 credits a call. The profile leg is the only critical leg: if posts can't be fetched the call still returns the profile with post-dependent metrics null, and every leg's status is surfaced in legs[]. Flat 5 credits. Photo and carousel rows have no view count, because Instagram does not publish one on stills, and neither does a video whose owner hides like and view counts. On a mostly-photo grid avg_engagement_rate is therefore null and _warnings says why: read avg_engagement_rate_by_followers, which uses the same formula as computed.engagement_rate on /v1/instagram/profile. Share counts are on /v1/instagram/profile/posts/full and /v1/instagram/post/stats, not this call.
Searching 69 platforms in parallel
What can you do with the Profile Full API?
The Profile Full endpoint gives you structured Instagram data with computed fields in a single request. No scraping infrastructure to build or maintain.
Example Request
# GET /v1/instagram/profile/full: 5 credits per call. Cache hits are free and failed calls are refunded.
# Check the price first for 0 credits: add dry_run=1 to the query. Nothing is fetched or charged.
# --max-time 36: this endpoint's measured p99 latency x 1.5.
# --retry 3: retries timeouts, 429 and 5xx, honoring Retry-After.
# -o response.json keeps only the final attempt's body.
# One Idempotency-Key per request, reused on every retry, so a retried call is never charged twice.
IDEMPOTENCY_KEY=$(od -An -N16 -tx1 /dev/urandom | tr -d ' \n')
curl -sS --max-time 36 --retry 3 -o response.json \
-H "x-api-key: YOUR_API_KEY" \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
"https://www.socialcrawl.dev/v1/instagram/profile/full?handle=mrbeast&posts=25" && cat response.json# GET /v1/instagram/profile/full: 5 credits per call. Cache hits are free and failed calls are refunded.
# Check the price first for 0 credits: add dry_run=1 to the query. Nothing is fetched or charged.
import os
import random
import time
import uuid
import requests
API_KEY = os.environ.get("SOCIALCRAWL_API_KEY", "YOUR_API_KEY")
TIMEOUT_S = 36 # this endpoint's measured p99 latency x 1.5.
MAX_RETRIES = 3
URL = "https://www.socialcrawl.dev/v1/instagram/profile/full"
def backoff(attempt):
# Exponential backoff with jitter: about 1 s, 2 s, then 4 s.
return 2 ** attempt * (0.5 + random.random() / 2)
def socialcrawl(params):
# One Idempotency-Key per request, reused on every retry, so a retried call is never charged twice.
idempotency_key = str(uuid.uuid4())
for attempt in range(MAX_RETRIES + 1):
try:
res = requests.get(
URL,
params=params,
headers={"x-api-key": API_KEY, "Idempotency-Key": idempotency_key},
timeout=TIMEOUT_S,
)
body = res.json()
except (requests.RequestException, ValueError):
# A timeout, a dropped connection or a non-JSON gateway page: retry with the same key.
if attempt == MAX_RETRIES:
raise
time.sleep(backoff(attempt))
continue
if body["success"]:
return body
error = body["error"]
# Branch on error["type"], never on the message text.
if error["type"] == "RESOURCE_NOT_FOUND":
return None # refunded: nothing to read
retry_after = res.headers.get("Retry-After")
# SERVICE_UNAVAILABLE without Retry-After is a withdrawn endpoint: permanent.
permanent = error["type"] == "SERVICE_UNAVAILABLE" and retry_after is None
if not error.get("retryable") or permanent or attempt == MAX_RETRIES:
raise RuntimeError(f"{error['type']}: {error['message']} (request_id {body['request_id']})")
# Retry-After (seconds) wins; otherwise back off.
time.sleep(float(retry_after) if retry_after else backoff(attempt))
params = {
"handle": "mrbeast",
"posts": "25",
}
body = socialcrawl(params)
if body is not None:
print(body["data"])// GET /v1/instagram/profile/full: 5 credits per call. Cache hits are free and failed calls are refunded.
// Check the price first for 0 credits: add dry_run=1 to the query. Nothing is fetched or charged.
const API_KEY = process.env.SOCIALCRAWL_API_KEY ?? "YOUR_API_KEY";
const TIMEOUT_MS = 36_000; // this endpoint's measured p99 latency x 1.5.
const MAX_RETRIES = 3;
type Page = { next_cursor: string | null; has_more: boolean };
type SocialCrawlResponse =
| { success: true; data: any; pagination?: Page; credits_used: number; request_id: string }
| { success: false; error: { type: string; message: string; retryable: boolean }; request_id: string };
const sleep = (ms: number) => new Promise((resolve) => setTimeout(resolve, ms));
// Exponential backoff with jitter: about 1 s, 2 s, then 4 s.
const backoffMs = (attempt: number) => 2 ** attempt * 1000 * (0.5 + Math.random() / 2);
async function socialcrawl(url: URL) {
// One Idempotency-Key per request, reused on every retry, so a retried call is never charged twice.
const idempotencyKey = crypto.randomUUID();
for (let attempt = 0; ; attempt++) {
let res: Response;
let body: SocialCrawlResponse;
try {
res = await fetch(url, {
headers: {
"x-api-key": API_KEY,
"Idempotency-Key": idempotencyKey,
},
signal: AbortSignal.timeout(TIMEOUT_MS),
});
body = (await res.json()) as SocialCrawlResponse;
} catch (error) {
// A timeout, a dropped connection or a non-JSON gateway page: retry with the same key.
if (attempt >= MAX_RETRIES) throw error;
await sleep(backoffMs(attempt));
continue;
}
if (body.success) return body;
// Branch on error.type, never on the message text.
if (body.error.type === "RESOURCE_NOT_FOUND") return null; // refunded: nothing to read
const retryAfter = res.headers.get("Retry-After");
// SERVICE_UNAVAILABLE without Retry-After is a withdrawn endpoint: permanent.
const permanent = body.error.type === "SERVICE_UNAVAILABLE" && retryAfter === null;
if (!body.error.retryable || permanent || attempt >= MAX_RETRIES) {
throw new Error(`${body.error.type}: ${body.error.message} (request_id ${body.request_id})`);
}
// Retry-After (seconds) wins; otherwise back off.
await sleep(retryAfter ? Number(retryAfter) * 1000 : backoffMs(attempt));
}
}
const url = new URL("https://www.socialcrawl.dev/v1/instagram/profile/full");
url.searchParams.set("handle", "mrbeast");
url.searchParams.set("posts", "25");
const body = await socialcrawl(url);
if (body) console.log(body.data);Parameters
| Parameter | Required | Description |
|---|---|---|
| handle | No | Instagram username or handle, with or without a leading @. One of the identity params is required. |
| posts | No | How many of the fetched recent posts to return and compute the metrics over (1-100, default 25). One call reads one page, which on Instagram is 12 posts, so a larger value returns that page and a `_warnings` note; pass posts_cursor back as cursor for the next page. |
| cursor | No | Pass a prior response's posts_cursor to read the next page of posts. Each call is a separate 5-credit call whose metrics cover that page only. |
| include | No | CSV subset of posts,computed (default both). include=computed omits the raw posts[] array from the response to save payload. The metrics are computed from the same fetched posts either way, so they do not change. |
What does the Instagram Profile Full API return?
Every response follows one unified schema. Here is a real, unmodified response body, so you can see the exact fields you get back before spending a credit.
Example response
{
"success": true,
"platform": "instagram",
"endpoint": "/v1/instagram/profile/full",
"data": {
"profile": {
"id": "2278169415",
"username": "mrbeast",
"display_name": "MrBeast",
"avatar_url": "https://scontent-ord5-2.cdninstagram.com/v/t51.2885-19/31077884_211593632905749_1394765701385814016_n.jpg?_nc_cat=1&ccb=7-5&_nc_sid=bf7eb4&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy41MDAuQzMifQ%3D%3D&_nc_ohc=xQAB0Z8ixJwQ7kNvwEEadrK&_nc_oc=Adpc9PtiMmpA4UmVh365c49-7bSZUdsGkwcfYMp0foJKvXW_p6WOGaOdgYPNrRQGD4c&_nc_zt=24&_nc_ht=scontent-ord5-2.cdninstagram.com&_nc_ss=78a8c&oh=00_AQN0wqefL66sLB5xx8JXmm7Mi9Bw2sZIHZE6Rd5-vNGYeA&oe=6AC5838F",
"bio": "Watch my latest video!! 👇",
"verified": true,
"followers": 90043463,
"following": 1008,
"posts_count": 515,
"likes_count": null,
"url": "https://youtu.be/v9QtM6qnG50?is=3OMbMzzRVSGxQTcy",
"private": false,
"joined_at": null,
"last_post_at": "2026-09-24T16:00:27.000Z",
"ext": {
"business_category": null
}
},
"posts": [
{
"post": {
"id": "3946249480127175223",
"url": "https://www.instagram.com/mrbeast/p/DbD5P56DNo3/",
"content": {
"text": "I found MrsBeast ❤️❤️❤️\n\nand\n\nit\n\nwas\n\nthe\n\nbest\n\nday\n\nof\n\nmy\n\nlife ❤️❤️❤️",
"media_urls": [
"https://scontent-lga3-2.cdninstagram.com/user_4c9448/t51.82787-15/754097429_18561544909073416_3723623249090384868_n.jpg?stp=dst-jpg_e35_p1080x1080_sh2.08_tt6&_nc_cat=1&ig_cache_key=Mzk0NjIzODQyODA2MzA2NzMwNQ%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNBUk9VU0VMX0lURU0ueHBpZHMuMzA3Mi5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=ML4Nyv181mEQ7kNvwFBUZSt&_nc_oc=AdpSf-kLjZ6XSq_rczNjMfurY6W7rJho_gbBT5nT7pjiXwkal9h5y3N6o3BpD3hKNiE&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-lga3-2.cdninstagram.com&_nc_gid=GJ7QWM9wODq-udySI_sQlw&_nc_ss=7a3ba&oh=00_AQOdycrwvv3GbGWbgX8KOQ8sevFzYXlahTLDb3hBW6RdQg&oe=6AC583AA",
"https://scontent-lga3-2.cdninstagram.com/user_4c9448/t51.82787-15/753288123_18561544927073416_4142254327993067420_n.jpg?stp=dst-jpg_e35_p1080x1080_sh2.08_tt6&_nc_cat=101&ig_cache_key=Mzk0NjIzODQ0NTg4MDQxNTk0NQ%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNBUk9VU0VMX0lURU0ueHBpZHMuMzA3Mi5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=TSlHX8yRTRwQ7kNvwG0_tyT&_nc_oc=Adr6SplIpfUF8Qi2-HMa9Yx8enrilC5I7w7IDURcrBe7vxwVCN0H60B_MwvwoGSoZUM&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-lga3-2.cdninstagram.com&_nc_gid=GJ7QWM9wODq-udySI_sQlw&_nc_ss=7a3ba&oh=00_AQMLPWVP7NMbNwTqcKg4QAf8KhCKDkkhoLV6r3CRHDY_5A&oe=6AC56BFA"
],
"thumbnail_url": null,
"duration_seconds": null
},
"author": {
"username": "mrbeast",
"display_name": "MrBeast",
"avatar_url": "https://example.com/redacted",
"verified": true
},
"engagement": {
"views": null,
"likes": 9573650,
"comments": 185840,
"shares": null,
"saves": null
},
"flags": {
"nsfw": null,
"spoiler": null,
"pinned": true,
"deleted": false
},
"published_at": "2026-07-21T16:00:18.000Z",
"ext": {
"author_id": "2278169415",
"media_type": "carousel",
"carousel_count": 10,
"published_at_epoch": 1784649618,
"coauthors": [
{
"id": "user_56d68d",
"username": "user_1b353c",
"full_name": "user_11e285",
"is_verified": true,
"profile_pic_url": "https://example.com/user_af7bf0"
}
],
"author_followers": 90043463
}
},
"computed": {
"engagement_rate": null,
"language": "en",
"content_category": "other",
"estimated_reach": null
}
},
{
"post": {
"id": "3919432775825251100",
"url": "https://www.instagram.com/mrbeast/p/DZkn1f0Flsc/",
"content": {
"text": "Had to update the play button wall ❤️",
"media_urls": [
"https://scontent-lga3-2.cdninstagram.com/user_4c9448/t51.82787-15/724164279_18552629014073416_4362895695729846432_n.jpg?stp=dst-jpg_e35_p1080x1080_sh2.08_tt6&_nc_cat=1&ig_cache_key=MzkxOTQxODEzOTc1MTExMTY2OA%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNBUk9VU0VMX0lURU0ueHBpZHMuMzI4My5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=NMo8q_Dzv9IQ7kNvwFdt31c&_nc_oc=Adpsl1h2FN2gQjxSA6ecpwpaFR87ka1dmHWSxlCQSsfSrinXZHWovWQ9NT1JL4mS1zA&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-lga3-2.cdninstagram.com&_nc_gid=GJ7QWM9wODq-udySI_sQlw&_nc_ss=7a3ba&oh=00_AQNH4FHirXcG1igknWxBSIfayO1E1hl7JqbVvDv8jyC5TA&oe=6AC583AA",
"https://scontent-lga3-1.cdninstagram.com/user_4c9448/t51.82787-15/723190586_18552628999073416_154235896152329272_n.jpg?stp=dst-jpg_e35_tt6&_nc_cat=109&ig_cache_key=MzkxOTQxODEzOTc3NjI2NDAxMQ%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNBUk9VU0VMX0lURU0ueHBpZHMuMTE3OS5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=JdGWenLG2nwQ7kNvwGVMpPT&_nc_oc=AdpMcOzBKFYLB61QoK2sFbMKA_4GeCPtvZoneeXwVjxMhg0-qFK1xCo8sJTeXwRLRuY&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&se=8&_nc_ht=scontent-lga3-1.cdninstagram.com&_nc_gid=GJ7QWM9wODq-udySI_sQlw&_nc_ss=7a3ba&oh=00_AQOx1E0kCOZeIKN4kefoqYdMK72m9LFskiOr2-bQeos5nA&oe=6AC56F33"
],
"thumbnail_url": null,
"duration_seconds": null
},
"author": {
"username": "mrbeast",
"display_name": "MrBeast",
"avatar_url": "https://example.com/redacted",
"verified": true
},
"engagement": {
"views": null,
"likes": 6228520,
"comments": 141816,
"shares": null,
"saves": null
},
"flags": {
"nsfw": null,
"spoiler": null,
"pinned": true,
"deleted": false
},
"published_at": "2026-06-14T16:00:06.000Z",
"ext": {
"author_id": "2278169415",
"media_type": "carousel",
"carousel_count": 2,
"published_at_epoch": 1781452806,
"coauthors": [],
"author_followers": 90043463
}
},
"computed": {
"engagement_rate": null,
"language": "en",
"content_category": "other",
"estimated_reach": null
}
}
],
"computed": {
"avg_engagement_rate": 0.03020516666666667,
"avg_engagement_rate_by_followers": 0.045404,
"posts_per_week": 0.13,
"cadence_window_days": 664.8,
"top_post": {
"url": "https://www.instagram.com/mrbeast/p/DdhX9zXsP-x/",
"engagement_total": 143301634
},
"format_mix": {
"image": 6,
"video": 6
}
},
"posts_cursor": "3979646055975810406_2278169415",
"legs": [
{
"endpoint": "/v1/instagram/profile",
"status": 200,
"credits_used": 1,
"latency_ms": 3474,
"error": null
},
{
"endpoint": "/v1/instagram/profile/posts",
"status": 200,
"credits_used": 1,
"latency_ms": 2596,
"error": null
}
],
"_warnings": [
"posts=25 was requested and 12 came back: one call reads one page of recent posts, and the metrics are computed over that page. Pass posts_cursor back as cursor to read the next page."
]
},
"credits_used": 5,
"request_id": "req_example000000",
"cached": false,
"credits_remaining": 9999,
"source": "captured",
"captured_at": "2026-10-02T12:41:20.239Z",
"redacted": true
}Live sample illustrating the unified response shape. Field values reflect the record you query.
How does the Instagram Profile Full API work?
Send a GET request with your API key and get back clean, structured JSON in our unified schema. Supported computed fields are populated when the source provides the required inputs.
Method
GET
Response
JSON
How do you scrape social media data in seconds?
The fastest social media scraping API for developers. Scrape profiles, posts, comments, and analytics from 69 platforms covering 10B+ monthly active users.
One schema, every platform
Query 69 platforms with identical response structures. Write your integration once.
Computed fields, not just scraped
When an endpoint supports these metrics and the source provides the required inputs, the normalized record includes engagement_rate, estimated_reach, content_category, and language. Ready to use.
See your data before you code
Visual Data Explorer. Paste any URL, get rich result cards, sortable tables, CSV export.
import requests
response = requests.get(
'https://www.socialcrawl.dev/v1/tiktok/profile',
params={'handle': 'charlidamelio'},
headers={'x-api-key': 'sc_YOUR_API_KEY'}
)
data = response.json(){
"success": true,
"platform": "tiktok",
"data": {
"author": {
"username": "charlidamelio",
"followers": 152400000
},
"engagement": {
"likes": 12400000000,
"engagement_rate": 0.087
},
"metadata": {
"language": "en",
"content_category": "lifestyle"
}
}
}Have a question? We got answers
Find answers to frequently asked questions about SocialCrawl's API, pricing, and capabilities.
Contact usWhat does the Instagram Analytics API return in one call?
How do I fetch a creator's profile, posts, and analytics together?
What analytics does the instagram analytics api compute?
How much does the instagram analytics api cost per call?
How many posts can I pull and can I page deeper?
What happens if a creator has no recent posts?
Ask AI about SocialCrawl
Ready to scrape Instagram Profile Full data?
Get your API key and start pulling Instagram data in under 60 seconds.
