List Instagram hashtag media (v2)
Returns posts for a public Instagram hashtag, in the order Instagram ranks them for a search of that tag, not newest first. Items carry product_type, taken_at, likes, comments, and plays and shares on Reels. Pass the previous next_max_id as max_id for the next page.
1 credit / 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 <= lengthmax_id?string
Pass the previous response's next_max_id 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 }, "details": { "reason": "no_results", "message": "string" }}