Developer docs / Creator analysis
Instagram creator recent posts
Fetch a public Instagram profile and recent posts for creator analysis and content benchmarking.
GET
/v1/influencer/ins/fetchPosts- Authentication:
- Request header x-api-key: <YOUR_API_KEY>; keep the key on the server and never expose it in client code, logs or shared files.
- Success criteria:
- Check the HTTP status and the matching response structure.
Query parameters
| Field | Type | Required | Description |
|---|---|---|---|
uniqueId | string | Yes | Instagram username without the leading @ |
count | integer | No | Number of recent posts to return; defaults to 40 |
Image and carousel posts may not have video views, and list data can omit some engagement fields. Do not interpret missing metrics as poor performance.
Treat the request as successful only when HTTP is 200 and code is 0. code -1 means no public creator posts were available.
To generate an AI creator report, turn this response into evidence and send it to /v1/relay/chat/completions.
Success response
{
"code": 0,
"message": "success",
"data": {
"author": {
"id": "1234567890",
"username": "creator",
"fullName": "Creator",
"biography": "Product reviews and daily finds",
"followerCount": 45200,
"followingCount": 318,
"postCount": 604
},
"posts": [
{
"postId": "3456789012345678901",
"shortCode": "ExampleCode",
"caption": "A quick product demo #productreview",
"takenAtTimestamp": 1787000000,
"videoDuration": 18.4,
"isVideo": true,
"videoPlayCount": 128400,
"videoViewCount": 128400,
"likeCount": 6200,
"commentCount": 184,
"displayUrl": "https://cdn.example.com/instagram-cover.jpg",
"videoUrl": "https://cdn.example.com/instagram-video.mp4"
}
],
"endCursor": "QVFEexample",
"hasMore": true
},
"timestamp": 1787417005
}Response and errors
Main response fields come from the published contract; see the JSON Schema. Required refers to the constraint in the containing object.
HTTP 400The request parameters or body are invalid. Fix them and retry.HTTP 401The API key is missing or invalid. Check x-api-key.HTTP 403The API key has no permission to call this endpoint.HTTP 429Too many requests. Retry with exponential backoff.HTTP 500The server failed. Retry transient failures with exponential backoff.
Fix parameter, permission or authorization errors before retrying. If task creation times out, query existing tasks first and do not submit duplicates after an interrupted poll.
Last updated · 2026-11-16