# Instagram creator recent posts

- API version: 1.11.0
- Last updated: 2026-11-16
- Server: `https://api.ailingtu.com`
- Web document: [Instagram creator recent posts](/en/openapi/creator-analysis-instagram)
- Full schema: [JSON Schema](/en/openapi/operations/fetchInstagramCreatorPosts.json)
- Discovery: [Operation index](/en/openapi/operations/index.json)

## GET /v1/influencer/ins/fetchPosts

Operation ID: `fetchInstagramCreatorPosts`

Fetch a public Instagram profile and recent posts for creator analysis and content benchmarking.

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.

### Request parameters

| Field | Location | Type | Required | Description |
|---|---|---|---|---|
| `uniqueId` | query | string | Yes | Instagram username without the leading @ |
| `count` | query | integer | No | Number of recent posts to return; defaults to 40 |

### Success response

```json
{
  "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
}
```

### Integration notes and limits

- 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.

### Error handling

| HTTP | Description |
|---|---|
| 400 | The request parameters or body are invalid. Fix them and retry. |
| 401 | The API key is missing or invalid. Check x-api-key. |
| 403 | The API key has no permission to call this endpoint. |
| 429 | Too many requests. Retry with exponential backoff. |
| 500 | The server failed. Retry transient failures with exponential backoff. |

Treat any non-zero business code as a failure. Do not blindly retry parameter, permission or authorization errors. If creating a publishing or generation task times out, query the existing task first instead of creating another one.

### Related endpoints

- [AI Model API](/en/openapi/ai-model-api) · [Markdown](/en/openapi/operations/createRelayChatCompletion.md)
