Sign in
GETHashtags1 credit

Top hashtag posts

GET https://api.instagramapi.dev/v1/hashtag/top

Returns the 'Top' posts for a hashtag (Instagram's ranked selection).

Parameters

NameTypeRequiredDescription
tagstringyesHashtag without the `#`.
cursorstringnoPagination cursor returned as `next_cursor` in the previous response. Omit for the first page.

Example request

curl "https://api.instagramapi.dev/v1/hashtag/top?tag=sunset" \
  -H "Authorization: Bearer $INSTAGRAMAPI_KEY"

Try it

Live request · uses 1 credit

Example response

{
  "data": { /* Top-ranked posts for a hashtag. */ },
  "meta": {
    "endpoint": "hashtag/top",
    "credits_charged": 1,
    "credits_remaining": 4987,
    "next_cursor": "QVFE...",
    "ms": 412
  }
}