Introducing the Instagram APIRead more →

Google Maps Photos API. Photos, page by page.

Place photos and videos at full size, with dates. We handle the proxies, blocks and platform changes.

In your agent: Google Maps MCP server →

Google Maps Photos API at a glance

Returns a Google Maps place's photos, videos and Street View panoramas, page by page, from its Maps link, share link, place ID, feature ID or CID. Each comes at full size with a video's stream and length, the hour it was added, where it was taken and whether the business posted it.

GET /v1/googlemaps/place_photos

Read the API reference
  • 1 credit per page, $0.75–$1.97 per 1,000 pages
  • 25 typed fields null when unknown
  • 10 photos per page, Google's order for the place's photos (its All tab), not by date
  • url is all it needs, e.g. https://maps.google.com/?cid=3545819340560108778

Send one request. Get up to 10 photos 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://maps.google.com/?cid=3545819340560108778
GET /v1/googlemaps/place_photosTry in
// Node 18+: save this as app.mjs (an ES module) and run: node app.mjs
const params = new URLSearchParams({
  url: "https://www.google.com/maps/place/Katz's+Delicatessen/@40.722233,-73.987429,17z/data=!4m6!3m5!1s0x89c2598f7ff4aa09:0x313547e757cb8cea!8m2!3d40.722233!4d-73.987429",
});
const res = await fetch(`https://socialtap.dev/v1/googlemaps/place_photos?${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/googlemaps/place_photosLong arrays and strings are shortened here. Real responses are complete.Docs

One schema on 25 platforms.

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

  • Null means unknown

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

  • What it accepts

    A Google Maps place link (google.com/maps/place/…, maps.app.goo.gl/… share links, maps.google.com/?cid=…, g.page/…), or the place's ID: a place ID (ChIJ…), feature ID (0x…:0x…) or CID.

  • Write one parser

    Google Maps, TikTok, Instagram and 22 more platforms answer in these fields, so the code that reads one reads them all.

platformstring
Platform ID (tiktok, youtube, …).
In the example "googlemaps"
idstring
Platform-native post ID (string; Instagram shortcode, Reddit with its t3_ prefix).
In the example "CIHM0ogKEICAgIDCx92MtgE"
urlstring
Canonical post URL.
In the example "https://www.google.com/maps/place/data=!3m4!1e2!3m2!1sCIHM0ogKEICAgIDCx…"
typestring
Normalized content shape. New values may be added; treat unknown values as other.
In the example "image"
platform_typestring
The platform's own product label, lowercase (reel, short, story, live, tweet, …).
In the example "photo"
titlestring
Headline (YouTube title, Reddit title); null on caption-only platforms.
In the example null
textstring
Caption, description or body as plain text.
In the example null
link_urlstring
The page the post links to: a link post's target, a pin's destination, or the page its link card or link sticker opens; null when it links to none.
In the example null

What teams build with the Google Maps Photos API.

  • Show a venue's real photos in your app

    Read the first page of a place's photos and display media[].url beside its listing, the owner's own pictures marked by platform_specific.googlemaps.is_by_owner.

  • Spot new visitor photos of your locations

    Walk each location's photos daily and store the IDs you have seen, so a new upload from a visitor shows up with the hour it was added.

  • Collect video of a place

    Keep the posts whose type is video: each has its widest stream in media[].url, its length in duration_ms and its poster image.

Good to know before you build.

  • Photos come in Google's order for the place (its All tab), not by date, the business's mixed in with visitors'. Keep platform_specific.googlemaps.is_by_owner true for the business's own.
  • published_at is the hour Google says a photo was added (UTC), listed in approximate_fields.
  • author is empty: Google names each photo's uploader only on the photo's own page; platform_specific.googlemaps.is_by_owner says whether the business posted 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
Platform API api1 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 Google Maps Photos API.

More in the API reference.

Can I get every photo of a place?
Yes, page by page with next_cursor until the list ends, ten photos a page. A popular place has tens of thousands.
Can I get only the menu photos or only the videos?
Not from Google directly: it shows logged-out visitors no photo categories. Keep the posts whose type is video, or whose is_by_owner is true, on your side.
Are the image links full size?
Yes. media[].url is the photo at its full width and height, a Street View panorama at the largest size Google serves, and thumbnail_url the small picture Maps shows in its grid.
How much does the Google Maps Photos API cost?
A page of up to 10 photos 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 319 endpoints
Start for free Read the docs