Search for a location by geographic coordinate.
GET
/locations/search
locations
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.instagram.com/v1/locations/search'
Response Response Example
{
"data": [
{
"id": "string",
"latitude": 0,
"longitude": 0,
"name": "string"
}
],
"meta": {
"code": 0
}
}
Request
Query Params
distance
integer
optional
facebook_places_id
string
optional
lat
, lng
are not required.foursquare_id
string
optional
lat
and lng
. Note that this method is deprecated; you should use the new foursquare IDs with V2 of their API.lat
number
optional
lng
is required.lng
number
optional
lat
is required.foursquare_v2_id
string
optional
lat
and lng
.Responses
Modified at 2023-08-15 03:55:31