SocialPipe docs

Instagram V3 Get Location Posts

GET/v1/instagram/v3/get_location_posts

Returns personal data about people in bulk. The response carries accounts who are not the subject of your request. See our terms for what you may do with it.

Costs 8 credits. A cache hit costs nothing, and an answer that contains no data is never charged.

curl "https://api.socialpipe.dev/v1/instagram/v3/get_location_posts" \  -H "Authorization: Bearer $SOCIALPIPE_KEY"
AuthorizationBearer <token>

Your SocialPipe API key, as Authorization: Bearer sp_live_…. Create one in the dashboard.

In: header

Query Parameters

location_id*Location Id

ID/Location ID

tab?|

Post type. /Options: ranked(/top), recent(/latest). Example: ranked

first?|

Posts per page

after?|

end_cursor/Pagination cursor from previous response end_cursor

page_size_override?|

Page size

cache_ttl?|

Max acceptable age of a cached result, in seconds. A lower value demands fresher data; it does not shorten what is stored.

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/v3/get_location_posts?location_id=1016248898"
{  "cache_age": 0,  "cached": false,  "credits_remaining": 0,  "credits_used": 0,  "data": {},  "schema_version": "2",  "success": true,  "took_ms": 0}