GETSearch1 credit
Search locations
GET https://api.instagramapi.dev/v1/search/locationsReturns locations/places matching a query.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| q | string | yes | Search text. |
Example request
curl "https://api.instagramapi.dev/v1/search/locations?q=new%20york" \
-H "Authorization: Bearer $INSTAGRAMAPI_KEY"Try it
Live request · uses 1 creditExample response
{
"data": { /* Search places by keyword. */ },
"meta": {
"endpoint": "search/locations",
"credits_charged": 1,
"credits_remaining": 4987,
"next_cursor": null,
"ms": 412
}
}