GETLocations1 credit

Get location

GET https://api.instagramapi.dev/v1/location

Returns 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

NameTypeRequiredDescription
idstringyesInstagram 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 credit

Example 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.

FieldTypeDescription
idstringNumeric location id.
namestringThe place's name.
categorystringThe place's category (e.g. City, Restaurant).
addressstringStreet address, when known.
citystringCity, when known.
zipstringPostal code, when known.
latnumberLatitude.
lngnumberLongitude.
phonestringPublic phone number, when listed.
websitestringWebsite URL, when listed.
external_idstringFacebook Places id for the location.