InsightSocial API
Instagram

Location › Posts

GET
/v1/instagram/location/posts

Returns posts tagged at a place, newest first, about 60 a page, each with shortcode, URL, caption, media URLs, engagement counts, and the author.

Use it after search/location for region-scoped posts. Page back in time with the cursor; for a time window, stop once a whole page is older than its start.

100 credits per call.

Re-running the exact same call within 6h is free.

Paginates by cursor — see Pagination.

x-api-key<token>

Your key from the dashboard. It starts with isk_.

In: header

Query Parameters

location_id*string

Instagram numeric location ID.

cursor?string

Pagination cursor. Use the next_cursor from the previous response to fetch the next, older page.

safe_url?boolean

When true, returns URL-safe media links suitable for embedding.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/instagram/location/posts?location_id=string"
{  "success": true,  "platform": "instagram",  "endpoint": "/v1/instagram/profile/posts",  "data": {    "items": [      "…"    ],    "dropped": 0  },  "pagination": {    "next_cursor": "is2.eyJwIjoyfQ",    "has_more": true,    "page_size": 12  },  "credits_used": 20,  "credits_remaining": 9980,  "request_id": "req_1a2b3c4d5e6f",  "cached": false,  "idempotent_replay": false,  "charge_reason": "miss",  "free_call": false}