GETLocations1 credit
Get location
GET https://api.instagramapi.dev/v1/locationReturns metadata for an Instagram location (name, address, coordinates, post count).
Build this with an AI agent
Paste this prompt into Claude, Codex, or any coding agent.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Instagram location id or location URL. |
Example request
curl "https://api.instagramapi.dev/v1/location?id=212988663" \
-H "Authorization: Bearer $INSTAGRAMAPI_KEY"Try it
Live request · uses 1 creditExample responses
Switch tabs to see the body shape for success and each error status.
{
"data": {
"id": "212988663",
"name": "New York, New York",
"category": "City",
"address": "",
"city": "",
"zip": "",
"lat": 40.7128,
"lng": -74.006,
"phone": "",
"website": "http://www.nyc.gov/",
"external_id": "108424279189115"
},
"meta": {
"endpoint": "location",
"request_id": "req_3f8a1c9e",
"credits_charged": 1,
"credits_remaining": 4987,
"ms": 412
}
}Response fields
Fields returned under data on a 200 response. Every response also includes a meta object with billing info.
| Field | Type | Description |
|---|---|---|
| id | string | Numeric location id. |
| name | string | The place's name. |
| category | string | The place's category (e.g. City, Restaurant). |
| address | string | Street address, when known. |
| city | string | City, when known. |
| zip | string | Postal code, when known. |
| lat | number | Latitude. |
| lng | number | Longitude. |
| phone | string | Public phone number, when listed. |
| website | string | Website URL, when listed. |
| external_id | string | Facebook Places id for the location. |