herascrape
Menu
API reference

Instagram Hashtag Top Posts API

GET/hashtags/{name}/top

Top media for a hashtag.

$0.0004 per request ($0.40 per 1,000), flat. Only successful calls are billed.

Parameters

NameInRequiredDescription
namepathyes—
cursorquerynoOpaque pagination cursor from a previous next_cursor

Request

curl "https://api.herascrape.com/hashtags/nasa/top" \
  -H "x-api-key: $HERASCRAPE_KEY"

Returns one page of results in the uniform `{ items, next_cursor, has_more }` envelope. Loop on `next_cursor` to page through the rest.