API · Instagram
GET /instagram/users/{username}/engagement
Engagement metrics over an Instagram account’s latest posts.
| Request | GET /v1/instagram/users/{username}/engagement |
| Operation id | instagram.user.engagement |
| Cost | 2 credits, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
Engagement metrics over an Instagram account’s latest posts.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
username | string | yes | Username, with or without the @, or a profile URL. Example: natgeo. |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | The metrics. | InstagramEngagement |
400 | Invalid input. Nothing was charged. | Error |
401 | Missing or invalid API key. | Error |
402 | Not enough credits, a spend cap was reached, or payment is required. | Error |
403 | The target is private, or the account is suspended. | Error |
404 | The account or post does not exist, or was removed. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | Instagram is temporarily unavailable. Retryable; nothing was charged. | Error |
InstagramEngagement fields
| Field | Type | Description |
|---|---|---|
username | string | |
follower_count | integer | null | |
metrics | InstagramMetrics |
Errors use one shape everywhere; see Errors for every code and what to do.