API · Instagram
GET /instagram/search/reels
Instagram reels about a keyword, with captions and counts.
| Request | GET /v1/instagram/search/reels |
| Operation id | instagram.search.reels |
| Cost | 1 credit, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
Instagram reels about a keyword, with captions and counts.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | Keyword or phrase. Example: pizza recipe. |
date_posted | "last-day" | "last-week" | "last-month" | "last-year" | no | Only reels the index saw in this window. One of last-day, last-week, last-month, last-year. |
cursor | string | no | The previous page’s next_cursor. Omit for the first page. |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | Matching reels. | InstagramMediaList |
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 |
InstagramMediaList fields
| Field | Type | Description |
|---|---|---|
items | InstagramMedia[] | |
more_available | boolean | |
next_cursor | string | null | Pass as cursor for the next page; null on the last page. |
user | InstagramUserShort |
Errors use one shape everywhere; see Errors for every code and what to do.