Instagram Profile Posts Full API
Returns a user's recent posts with likes, comments, views, and a per-post share count where the second source exposes one, plus a coverage figure.
GET /v1/instagram/profile/posts/fullLast updated November 2026Maintained by the SocialCrawl team
When to use the Instagram Profile Posts Full API
Use it when share counts matter across a whole feed; profile/posts is the lighter choice when likes and comments are enough.
From the API reference
Returns a creator's recent posts with views, likes, comments, and the per-post share count merged in wherever the upstream exposes it: in a single call. The standard /v1/instagram/profile/posts endpoint returns views/likes/comments but leaves engagement.shares null (its upstream has no per-post reshare count); this composite fans out to a second mobile source that carries the share number and merges it back onto each item by post id. Share coverage is best-effort and varies by account: the mobile source only exposes reshare_count for the items it returns, so some (sometimes most) items keep engagement.shares null. That null means "upstream doesn't expose it", not "zero". Read shares_coverage (the fraction of returned items that got a real share number) before relying on shares; legs[] shows each leg's status. Billing: the standard leg is critical (its failure refunds the full call); the shares leg is best-effort: if it fails OUTRIGHT the items still return with shares null and 4 of the 5 credits are refunded (you pay the standard 1-credit list price). A successful shares leg with low coverage is still the flat 5 credits, since the second source was queried regardless of how many items it happened to cover. Paginate with next_cursor.
Searching 69 platforms in parallel
What can you do with the Profile Posts Full API?
The Profile Posts 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/posts/full: Metered: holds 5 credits per call up front and refunds what the call does not use. 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 45: 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 45 --retry 3 -o response.json \
-H "x-api-key: YOUR_API_KEY" \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
"https://www.socialcrawl.dev/v1/instagram/profile/posts/full?handle=sid.and.listen" && cat response.json# GET /v1/instagram/profile/posts/full: Metered: holds 5 credits per call up front and refunds what the call does not use. 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 = 45 # this endpoint's measured p99 latency x 1.5.
MAX_RETRIES = 3
URL = "https://www.socialcrawl.dev/v1/instagram/profile/posts/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": "sid.and.listen",
}
body = socialcrawl(params)
if body is not None:
print(body["data"])// GET /v1/instagram/profile/posts/full: Metered: holds 5 credits per call up front and refunds what the call does not use. 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 = 45_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/posts/full");
url.searchParams.set("handle", "sid.and.listen");
const body = await socialcrawl(url);
if (body) console.log(body.data);Parameters
| Parameter | Required | Description |
|---|---|---|
| handle | No | Instagram username (with or without a leading @). Required unless user_id is given. |
| user_id | No | Numeric Instagram user id. Alternative to handle: the account's username is looked up from the id first, so a user_id call returns the same items, share counts and price as a handle call. An id that matches no account returns 404 and is not charged. |
| cursor | No | Opaque cursor from a prior response's next_cursor to page deeper. |
| limit | No | Return up to this many items in one call (1-50). The endpoint pages the underlying source server-side until it has collected this many (or runs out), and bills per upstream page consumed (5 credits/page). Omit for a single page. |
What does the Instagram Profile Posts 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/posts/full",
"data": {
"items": [
{
"post": {
"id": "3998704004249217033",
"url": "https://www.instagram.com/sid.and.listen/p/Dd-QBsXNOgJ/",
"content": {
"text": "Brb gonna go find my boo 😈 #wickedgame",
"media_urls": "https://scontent-lga3-2.cdninstagram.com/user_2352da/v/t2/f2/m86/AQOjZ3S5rLhbEEsYOD3AdVL27SCbfDS_cRwSzOhVRooju7EfQ2umWugssAnzTwa5A3NLPDTjykoJifDKfqpPCXRH6l7ZSXhL5RyWIR0.mp4?_nc_cat=101&_nc_sid=5e9851&_nc_ht=scontent-lga3-2.cdninstagram.com&_nc_ohc=3a3jSI03tJcQ7kNvwGsEKu0&efg=eyJ2ZW5jb2RlX3RhZyI6Inhwdl9wcm9ncmVzc2l2ZS5JTlNUQUdSQU0uQ0xJUFMuQzMuNzIwLmRhc2hfYmFzZWxpbmVfMV92MSIsInhwdl9hc3NldF9pZCI6MTQ1MDc2Nzc4MzU5MjA1MiwiYXNzZXRfYWdlX2RheXMiOjAsInZpX3VzZWNhc2VfaWQiOjEwMDk5LCJkdXJhdGlvbl9zIjo2LCJ1cmxnZW5fc291cmNlIjoid3d3In0%3D&ccb=17-1&vs=88f40aa7c1d396ed&_nc_vs=HBksFQIYUmlnX3hwdl9yZWVsc19wZXJtYW5lbnRfc3JfcHJvZC9FNEVFMTU3NDE4NDU0RjYxOEU1MjEwQTdCRjg1QTg0N192aWRlb19kYXNoaW5pdC5tcDQVAALIARIAFQIYUWlnX3hwdl9wbGFjZW1lbnRfcGVybWFuZW50X3YyL0MyN0Q1MjY4MjVDNzRBQTRCM0RENDU3MzU4QThFQUY2X2F1ZGlvX2Rhc2hpbml0Lm1wNBUCAsgBEgAoABgAGwKIB3VzZV9vaWwBMRJwcm9ncmVzc2l2ZV9yZWNpcGUBMRUAACbogaSm5t2TBRUCKAJDMywXQBu7ZFocrAgYEmRhc2hfYmFzZWxpbmVfMV92MREAdf4HZeadAQA&_nc_gid=btaO1eIDZWXE91OsUMzeGQ&_nc_ss=7a3ba&_nc_zt=28&oh=00_AQPgXAH8Lxu0yndCf-sOFR2bbXRR9r8qgLa9o7tWnoeWLw&oe=6AC17E52",
"thumbnail_url": "https://scontent-lga3-3.cdninstagram.com/user_4c9448/t51.82787-15/829543985_17938051206376492_2559055587439547907_n.jpg?stp=dst-jpg_e15_p480x480_tt6&_nc_cat=106&ig_cache_key=Mzk5ODcwNDAwNDI0OTIxNzAzMzE3OTM4MDUxMjAzMzc2NDky.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNMSVBTLnhwaWRzLjEyMDYuc2RyLnZpZGVvX2RlZmF1bHRfY292ZXJfZnJhbWUuQzMifQ%3D%3D&_nc_ohc=kfdSHlXPDJIQ7kNvwGAgcM8&_nc_oc=AdptS270VIOjLUIyaM2Ic97Eudp7o_5cY_FXw-3oKuX_nAwKrv8lYVDwrLVbG329Suo&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-lga3-3.cdninstagram.com&_nc_gid=btaO1eIDZWXE91OsUMzeGQ&_nc_ss=7a3ba&oh=00_AQMBwnkw_PUp2g7NU594J68sc1i2uMNp9er0_v7_15J-Fg&oe=6AC57383",
"duration_seconds": 6.941
},
"author": {
"username": "sid.and.listen",
"display_name": "user_c3dfec",
"avatar_url": "https://example.com/avatars/user_72ea20.png",
"verified": false
},
"engagement": {
"views": 209010,
"likes": 3518,
"comments": 47,
"shares": 118,
"saves": null
},
"flags": {
"nsfw": null,
"spoiler": null,
"pinned": false,
"deleted": false
},
"published_at": "2026-10-02T00:58:35.000Z",
"ext": {
"author_id": "user_dcfa76",
"media_type": "video",
"published_at_epoch": 1790902715,
"coauthors": [],
"shares_source": "mobile_list"
}
},
"computed": {
"engagement_rate": 0.017057,
"language": null,
"content_category": "other",
"estimated_reach": 250812
}
},
{
"post": {
"id": "3998546241744362329",
"url": "https://www.instagram.com/sid.and.listen/p/Dd9sJ8lJVtZ/",
"content": {
"text": "I swear it goes a long way but some of these work for guys too 💕",
"media_urls": "https://scontent-lga3-1.cdninstagram.com/user_2352da/v/t2/f2/m86/AQMLoSNtwXRd2ic33Z0eL88J_MAJEWYEr7Q95LEz-bzx6gn5kAz4r-SAh8KJNsY_1OmU4-rb5hmyWCieT05k6mcQ-LD3Ql8kANuV1pM.mp4?_nc_cat=109&_nc_sid=5e9851&_nc_ht=scontent-lga3-1.cdninstagram.com&_nc_ohc=bzlTxwf8UVkQ7kNvwGE9_QH&efg=eyJ2ZW5jb2RlX3RhZyI6Inhwdl9wcm9ncmVzc2l2ZS5JTlNUQUdSQU0uQ0xJUFMuQzMuNzIwLmRhc2hfYmFzZWxpbmVfMV92MSIsInhwdl9hc3NldF9pZCI6MTk2OTQ0Mzk3NzA1ODU2NSwiYXNzZXRfYWdlX2RheXMiOjAsInZpX3VzZWNhc2VfaWQiOjEwMDk5LCJkdXJhdGlvbl9zIjoxMjQsInVybGdlbl9zb3VyY2UiOiJ3d3cifQ%3D%3D&ccb=17-1&vs=707251bf1115d92c&_nc_vs=HBksFQIYUmlnX3hwdl9yZWVsc19wZXJtYW5lbnRfc3JfcHJvZC9GRTQxN0U0RTg2MTQ0NjlDOTQ5NEQ4N0U0NzZBRTc5NF92aWRlb19kYXNoaW5pdC5tcDQVAALIARIAFQIYUWlnX3hwdl9wbGFjZW1lbnRfcGVybWFuZW50X3YyLzgwRUVFRDdBNkYwNzRBNzA5RjJGMTEzQ0UxNDI4QTQ3X2F1ZGlvX2Rhc2hpbml0Lm1wNBUCAsgBEgAoABgAGwKIB3VzZV9vaWwBMRJwcm9ncmVzc2l2ZV9yZWNpcGUBMRUAACaK5MKK3cz_BhUCKAJDMywXQF8XbItDlYEYEmRhc2hfYmFzZWxpbmVfMV92MREAdf4HZeadAQA&_nc_gid=btaO1eIDZWXE91OsUMzeGQ&_nc_ss=7a3ba&_nc_zt=28&oh=00_AQMxiqRcjga8JErBeoJeSq8H6pV9x7pBgH4YGLNlP8MnNg&oe=6AC19A1E",
"thumbnail_url": "https://scontent-lga3-3.cdninstagram.com/user_4c9448/t51.82787-15/831034167_17938022793376492_1025661852699935295_n.jpg?stp=dst-jpg_e15_p480x480_tt6&_nc_cat=104&ig_cache_key=Mzk5ODU0NjI0MTc0NDM2MjMyOTE3OTM4MDIyNzg3Mzc2NDky.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNMSVBTLnhwaWRzLjEyMDYuc2RyLnZpZGVvX2RlZmF1bHRfY292ZXJfZnJhbWUuQzMifQ%3D%3D&_nc_ohc=-EO7odBrUJ8Q7kNvwFZefbx&_nc_oc=Ado-UgW_WbWfYzLUu5g9ijd42vHJ6ZvQMBvzf9B88g8oiCpeE0S34kvuqfcMnfesPms&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-lga3-3.cdninstagram.com&_nc_gid=btaO1eIDZWXE91OsUMzeGQ&_nc_ss=7a3ba&oh=00_AQMr0uD-Dvycp0wXyOQAb5W_Q8vOiCsXCe6OftI4kJrkfw&oe=6AC583D5",
"duration_seconds": 124.428
},
"author": {
"username": "sid.and.listen",
"display_name": "user_c3dfec",
"avatar_url": "https://example.com/avatars/user_72ea20.png",
"verified": false
},
"engagement": {
"views": 248954,
"likes": 10067,
"comments": 156,
"shares": 1902,
"saves": null
},
"flags": {
"nsfw": null,
"spoiler": null,
"pinned": false,
"deleted": false
},
"published_at": "2026-10-01T19:50:31.000Z",
"ext": {
"author_id": "user_dcfa76",
"media_type": "video",
"published_at_epoch": 1790884231,
"coauthors": [],
"shares_source": "mobile_list"
}
},
"computed": {
"engagement_rate": 0.041064,
"language": "en",
"content_category": "other",
"estimated_reach": 298745
}
}
],
"next_cursor": "eyJzYyI6IjM5OTQxOTM1MjkwNTE4NzMwOTNfNzEzMzYwNDA0OTEiLCJpZyI6IjM5OTQyNTY3OTU5NTg0Njk0NzZfNzEzMzYwNDA0OTEifQ",
"legs": [
{
"endpoint": "/v1/instagram/profile/posts",
"status": 200,
"credits_used": 1,
"latency_ms": 2234,
"error": null
},
{
"endpoint": "/v1/instagram/profile/posts/full#shares",
"status": 200,
"credits_used": 4,
"latency_ms": 2870,
"error": null
}
],
"shares_coverage": 1,
"pages_consumed": 1,
"_warnings": [
"limit_truncated_mid_page"
],
"dropped": 0
},
"credits_used": 5,
"request_id": "req_example000000",
"cached": false,
"pagination": {
"next_cursor": "sc.eyJ2IjoyLCJjIjoiZXlKell5STZJak01T1RReE9UTTFNamt3TlRFNE56TXdPVE5mTnpFek16WXdOREEwT1RFaUxDSnBaeUk2SWpNNU9UUXlOVFkzT1RVNU5UZzBOamswTnpaZk56RXpNell3TkRBME9URWlmUSIsImUiOiJpbnN0YWdyYW0vcHJvZmlsZS9wb3N0cy9mdWxsIiwicCI6ImN1cnNvciJ9",
"has_more": true,
"page_size": 2
},
"credits_remaining": 9999,
"source": "captured",
"captured_at": "2026-10-02T12:42:17.805Z",
"redacted": true
}Live sample illustrating the unified response shape. Field values reflect the record you query.
How does the Instagram Profile Posts 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 usHow do I get a creator's posts with share counts in one call?
Why does the standard profile posts endpoint leave shares null?
What is shares_coverage and why is a share sometimes null?
How does billing work if the shares leg fails?
How do I paginate and what does a call cost?
Ask AI about SocialCrawl
Ready to scrape Instagram Profile Posts Full data?
Get your API key and start pulling Instagram data in under 60 seconds.
