GETLocations1 credit
Location posts
GET https://api.instagramapi.dev/v1/location/postsPaginated posts tagged at a given location. Use `cursor` to continue.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Instagram location id or location URL. |
| cursor | string | no | Pagination cursor returned as `next_cursor` in the previous response. Omit for the first page. |
Example request
curl "https://api.instagramapi.dev/v1/location/posts?id=212988663" \
-H "Authorization: Bearer $INSTAGRAMAPI_KEY"Try it
Live request · uses 1 creditExample response
{
"data": { /* Recent posts tagged at a location. */ },
"meta": {
"endpoint": "location/posts",
"credits_charged": 1,
"credits_remaining": 4987,
"next_cursor": "QVFE...",
"ms": 412
}
}