instagram/
location-info

With the Instagram Location Info API, look up a location by ID or location page URL and get its name, category, phone, city, coordinates, and how many posts are tagged there.

Instagram Location Info API

Location ID or URL
Place details
Tagged post count
0.5 credits / request
Ready
Ready

Enter parameters and send a request. The task status and normalized results will appear here.

README

By SocQ · Updated

Instagram Location Info

Every place people tag on Instagram has its own location page, with a name, category, address, city, phone number, map coordinates, and a running count of the posts tagged there. These details turn a bare location ID into something you can put on a map, compare with nearby venues, or attach to your own records.

Instagram Location Info API Features

  • ID or page linkUse the numeric location_id, or paste the instagram.com/explore/locations/ link and the ID is read from it.
  • The place at a glanceThe record carries the location's name, category, phone, address, city, latitude, and longitude, along with its page URL.
  • How busy it isextra.media_count shows how many posts are tagged at the location, and extra also holds the opening-hours status and zip code.

Instagram Location Info API Parameters

ParametersRequiredDescription
location_idRequired (at least one)Numeric ID of the location, as returned by Instagram Location Search. Use this or url.
urlRequired (at least one)Location page link, for example https://www.instagram.com/explore/locations/212988663/. Use this or location_id.

How to Use the Instagram Location Info API

Find the location, send its ID or link to the Instagram Location Info API, and read back a single location record.

  1. Get a location ID from Instagram Location Search, or copy a location page link from instagram.com.
  2. POST {"location_id": "384695225271379"} to /v1/instagram/location-info.
  3. Poll GET /v1/tasks/{task_id} until status is succeeded.
  4. The location is the first entry in results.items.
curl -X POST "https://api.socq.ai/v1/instagram/location-info" \
  -H "Authorization: Bearer $SOCQ_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"location_id":"384695225271379"}'

# Or send {"url": "https://www.instagram.com/explore/locations/384695225271379/"}.
# The location record is returned by GET /v1/tasks/{task_id}.

Instagram Location Info API Use Cases

  • Venue database enrichment: Call the Instagram Location Info API to add category, phone, address, and coordinates to the location IDs you collect from tagged posts.
  • Comparing venue buzz: Line up media_count for competing restaurants, hotels, or attractions to see where people post the most.
  • Mapping tagged places: Plot locations by latitude and longitude to see where activity clusters across a city.

Instagram Location Info API Pro Tips

  • Start with Instagram Location Search when all you have is a place name or a pair of coordinates.
  • For cities, neighborhoods, and landmarks, rely on latitude and longitude to place the location; phone and address are filled in mainly for businesses.
  • Pass the same location_id to Instagram Location Posts to read the posts behind media_count.

Beyond the Instagram Location Info API, use these APIs when you need a different type of public Instagram data.

  • Instagram Search API — Search public profiles by keyword or handle with identity and visible account signals.
  • Instagram Hashtag Posts API — Discover public posts by hashtag with source-tag context, media, creators, timestamps, and visible engagement.
  • Instagram Reels Search API — Search public Reels by text query with captions, creators, media, timestamps, visible engagement, and query context.
  • Instagram Location Posts API — Collect top or most recent public posts tagged at a location, with captions, authors, engagement, and media.
  • Instagram Location Search API — Find location IDs by place name or by latitude and longitude, with names, addresses, cities, and coordinates.
  • Instagram Hashtag Search API — Find hashtags matching a keyword, with hashtag names, IDs, tag page URLs, and public post counts.

Explore other platforms

Combine Instagram data with public data from other supported social platforms.

Instagram Location Info API — FAQ

Instagram Location Info API is a programmatic interface for retrieving the details of one Instagram location, using its numeric location ID or location page URL as input. It returns the place name, category, phone, address, city, coordinates, and the number of posts tagged there.

Run Instagram Location Search API with a place name or coordinates, or copy the number that follows /explore/locations/ in the location's page URL.

Yes. extra.media_count holds the number of posts tagged at the location.

Each Instagram Location Info API lookup costs 0.5 credits.