API ReferenceInstagram
Search locations
Search Instagram locations near a coordinate. Not a name search: pass lat and lng.
posts is always empty on search results, to avoid N+1 upstream calls. Pass a result's id to location to get that place's posts.
Returns the first page only; pagination isn't exposed yet.
Cost: 1 credit per successful call.
Authorization
ApiKeyAuth X-API-Key<token>
Required on every request. Keys are issued manually during early access, see Authentication.
In: header
Query Parameters
lat*string
Latitude.
lng*string
Longitude.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/instagram/locations?lat=40.7128&lng=-74.0060"{ "success": true, "platform": "instagram", "data": [ { "id": "233608000157522", "name": "New York, N Y", "posts": [] } ], "meta": { "credits_used": 1 }}