Introducing the Instagram APIRead more →

Instagram Location Posts API. Recent or top posts, page by page.

Recent or top posts tagged at a location. We handle the proxies, blocks and platform changes.

Instagram Location Posts API at a glance

Returns the recent or top public Instagram posts tagged at a location, from its link or ID. Each has its caption, hashtags, mentions, publish time, photos or videos, author, the place it's tagged at with its coordinates, and like and comment counts.

GET /v1/instagram/place_posts

Read the API reference
  • 1 credit per page, $0.75–$1.97 per 1,000 pages
  • 22 typed fields null when unknown
  • 18 recent or top posts per page, newest first
  • url is all it needs, e.g. https://www.instagram.com/explore/locations/212988663/new-york-new-york/

Send one request. Get up to 18 recent or top posts back.

Copy the request in your language, or hand it to your agent. Sign up for an API key and your first 100 credits are free.

$ npm install socialtap
url = https://www.instagram.com/explore/locations/212988663/new-york-new-york/
GET /v1/instagram/place_postsTry in
const params = new URLSearchParams({
  url: "https://www.instagram.com/explore/locations/212988663/new-york-new-york/",
});
const res = await fetch(`https://socialtap.dev/v1/instagram/place_posts?${params}`, {
  headers: { "x-api-key": process.env.SOCIALTAP_API_KEY ?? "" },
});
const body = await res.json();
if (!res.ok) throw new Error(`${body.error.code}: ${body.error.message}`);
const { data, page, meta } = body;
console.log(data, meta.credits_charged);
200 OK · GET https://socialtap.dev/v1/instagram/place_postsLong arrays and strings are shortened here. Real responses are complete.Docs

One schema on 21 platforms.

The response reference lists every field, its type and when it is null. See the full schema.

  • Null means unknown

    A field Instagram doesn't show is null, never zero or an empty string, so a real zero always means zero.

  • What it accepts

    An Instagram location link (instagram.com/explore/locations/212988663/new-york-new-york/, as a post's location tag opens it; any name or tab after the ID) or the location's numeric ID (the number in that link).

  • Write one parser

    Instagram, TikTok, Facebook and 18 more platforms answer in these fields, so the code that reads one reads them all.

platformstring
Platform ID (tiktok, youtube, …).
idstring
Platform-native post ID (string; Instagram shortcode, Reddit with its t3_ prefix).
urlstring
Canonical post URL.
typestring
Normalized content shape. New values may be added; treat unknown values as other.
platform_typestring
The platform's own product label, lowercase (reel, short, story, live, tweet, …).
titlestring
Headline (YouTube title, Reddit title); null on caption-only platforms.
textstring
Caption, description or body as plain text.
languagestring
BCP-47 language of text, when the platform states it.

What teams build with the Instagram Location Posts API.

  • Monitor posts at a venue, store or attraction

  • Find creators posting from a city

  • Measure a location's engagement on Instagram

Good to know before you build.

  • Logged out, Instagram shows only the first page of a location's posts, so the list ends with end_reason platform_limit.
  • Some locations show logged-out visitors an empty Recent tab, or both tabs empty. That page ends with platform_limit, and sort=popular may have posts.
  • sort=popular is Instagram's Top tab. For a city or an area it includes posts tagged at places inside it, each named in platform_specific.instagram.location.
  • view_count is null because location pages don't show play counts. Like and comment counts are exact, and like_count is null when the author hides it.

1 credit per page. Failed requests are free.

Buy credits once and spend them on any endpoint, on any platform.

SourcePrice per successful pagePer 1,000 pages
Public page page1 credit$0.75–$1.97
  • Cache hits are free.
  • Credits from packs and top-ups never expire.
  • A monthly plan's credits are spent first, and what is left of them ends at each renewal.
  • Prices exclude tax: sales tax is added at checkout where it applies.
  • Outside the US, plans and packs are sold to businesses: checkout asks for your VAT, GST or other business tax ID.

Questions about the Instagram Location Posts API.

More in the API reference.

How much does the Instagram Location Posts API cost?
A page of up to 18 recent or top posts costs 1 credit. Every successful page is charged, empty pages included. SocialTap credits cost $0.75–$1.97 per 1,000, depending on the plan or pack.
How do I get the next page?
Repeat the same request with cursor set to page.next_cursor from the previous response, keeping the other parameters. When page.has_more is false there are no more pages. Cursors expire after 24 hours.

Try it on a link you already have.

Paste it in the playground, or copy the request into your code.

100free credits
  • No credit card
  • Failed requests are free
  • Works on all 218 endpoints
Start for free Read the docs