List Instagram hashtag media
Returns media for a public Instagram hashtag, from the recent or top tab. Pass max_id from next_max_id for the next page, or next_page for the top tab.
2 credits / requestBilled only on success
Authorization
ApiKeyAuth x-api-key<token>
In: header
Query Parameters
hashtag*string
Hashtag to look up, without the # prefix.
Length
1 <= lengthtab?string
Feed to read: recent for newest media, top for Instagram's ranked feed.
Default
"recent"Value in
- "recent"
- "top"
max_id?string
Pass the previous response's next_max_id value.
next_page?string
Only used with the top tab. Pass the previous response's next_page value.
curl -X GET "https://example.com/v2/instagram/hashtag/media?hashtag=tokyo" \ -H "x-api-key: YOUR_API_KEY"{ "data": { "medias": [ { "property1": null, "property2": null } ], "more_available": true, "next_max_id": "string", "next_page": "string", "property1": null, "property2": null }}