herascrape
Menu
API reference

Instagram Location Top Posts API

GET/locations/{location_id}/top

Top media at a location.

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

Parameters

NameInRequiredDescription
location_idpathyes—
cursorquerynoOpaque pagination cursor from a previous next_cursor

Request

curl "https://api.herascrape.com/locations/212988663/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.