Search Instagram locations
Search Instagram locations by name to get their ids, names and coordinates.
Headers
Get your API keyAPI key (`sfk_...`)
Place name, such as `times square`.
min 1 chars · max 512 chars
Endpoint-specific response payload.
Places matching the query, in Instagram's relevance order. Each `id` works with `GET /v2/instagram/locations/{locationId}` and its `/media`. Matching is fuzzy, so a query with no real match can still return loosely related places. One set per query: there is no next page.
Location id.
pattern: ^\d+$
Place name.
Latitude.
Longitude.
Place category.
Street address. Often null.
City. Often null.
Short description of the place. Null when none is shown.
Picture of the place. Null when none is shown. Instagram CDN URL; it expires after a while.
Facebook Places id of the same place. Null when none is linked.
pattern: ^\d+$
Public location page URL.
Metadata about the API response.
Unique request identifier for tracing this API call.
min 1 chars
Credits charged for this request.
≥ 0
Public API version that served the response.
one of: v2
Code example
curl "https://api.socialfetch.dev/v2/instagram/locations/search?query=times%20square" \
-H "x-api-key: YOUR_API_KEY"Responses
Places matching the query.