---
agent:
  instructions: "Search the SocialTap docs with keywords or a question instead of crawling pages: GET https://socialtap.dev/.well-known/search?q={query} returns the best sections as Markdown (JSON with Accept: application/json), free and without a key."
  endpoint: "https://socialtap.dev/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://socialtap.dev/docs/agents/#docs-for-agents"
---
# Google Maps Place API

> Setting SocialTap up for your user? Follow https://socialtap.dev/setup.md.

Google Maps

Returns a Google Maps place (a business, landmark or area) from its Maps link, share link, place ID, feature ID or CID. You get its address, coordinates, phone, website, categories and weekly hours. You also get its rating with exact counts per star, whether it is claimed or closed, photos, review topics and all three of its Google IDs. [Overview](https://socialtap.dev/apis/googlemaps/place/index.md)

GET `/v1/googlemaps/place`

> [!NOTE]
>
> **Good to know**
>
> - Popular times, price level, menus and Q&A are null or missing: Google Maps doesn't show them to logged-out visitors.
> - images are the few photos the place's header shows; metrics.image_count is how many Google has.
> - opening_hours is the week Google shows from today, so a holiday's changed hours appear on its day.
> - description is the business's own text when it wrote one, else Google's one-line summary.

## Example

cURL:

```shell
curl -G 'https://socialtap.dev/v1/googlemaps/place' \
  --data-urlencode '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' \
  -H "x-api-key: $SOCIALTAP_API_KEY"
```

TypeScript SDK:

```typescript
// Save this as app.mjs (an ES module) and run: node app.mjs
import { SocialTap } from "socialtap";

const client = new SocialTap(); // apiKey defaults to process.env.SOCIALTAP_API_KEY

const res = await client.googlemaps.place.get({ 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" });
console.log(res.data);
console.log(res.credits.charged, res.meta.request_id);
```

Python SDK:

```python
from socialtap import SocialTap

client = SocialTap()  # api_key defaults to os.environ["SOCIALTAP_API_KEY"]

res = client.googlemaps.place.get(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")
print(res.data)
print(res.credits.charged, res.meta.request_id)
```

Go SDK:

```go
package main

import (
	"context"
	"fmt"
	"log"

	socialtap "socialtap.dev/sdk/go"
)

func main() {
	ctx := context.Background()
	client, err := socialtap.NewClient() // the API key defaults to $SOCIALTAP_API_KEY
	if err != nil {
		log.Fatal(err)
	}
	res, err := client.GoogleMaps.Place.Get(ctx, socialtap.GoogleMapsPlaceParams{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"})
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println(res.Data)
	fmt.Println(res.Credits.Charged, res.Meta.RequestID)
}
```

200 OK:

```json
{
  "data": {
    "account": {
      "avatar_url": "https://lh4.googleusercontent.com/-U_nbqf9xIRw/AAAAAAAAAAI/AAAAAAAAAAA/2i8iS7LQQdQ/s44-p-k-no-ns-nd/photo.jpg",
      "display_name": "Katz's Delicatessen",
      "id": "103429166294766916333",
      "is_verified": null,
      "url": "https://www.google.com/maps/contrib/103429166294766916333",
      "username": null
    },
    "address": "205 E Houston St, New York, NY 10002",
    "approximate_fields": [
      "rating"
    ],
    "business_status": "operational",
    "categories": [
      "Deli",
      "American restaurant",
      "Jewish restaurant"
    ],
    "category": "Deli",
    "city": "New York",
    "country_code": "US",
    "description": "No-frills deli with theatrically cranky service serving mile-high sandwiches since 1888.",
    "id": "ChIJCar0f49ZwokR6ozLV-dHNTE",
    "images": [
      {
        "alt_text": null,
        "duration_ms": null,
        "expires_at": null,
        "height": 2688,
        "thumbnail_url": "https://lh3.googleusercontent.com/grass-cs/AABkmLc6mTOdKO8lxOQ4Cd793GbliMnIt_gZulxQUzkMpotorwUTsnIgFC1s25e_MEmM3fJ9YIJnkkl2WAdRtYfdMAA52rJ7rKtMaZlUj4rZ20MVA105KOtuYr8mZAqMFaHgX6ta9pox=w114-h120-k-no-pi0.89727664-ya81.26019-ro-3.2008703-fo100",
        "type": "image",
        "url": "https://lh3.googleusercontent.com/grass-cs/AABkmLc6mTOdKO8lxOQ4Cd793GbliMnIt_gZulxQUzkMpotorwUTsnIgFC1s25e_MEmM3fJ9YIJnkkl2WAdRtYfdMAA52rJ7rKtMaZlUj4rZ20MVA105KOtuYr8mZAqMFaHgX6ta9pox=w5376-h2688-k-no",
        "width": 5376
      },
      {
        "alt_text": null,
        "duration_ms": null,
        "expires_at": null,
        "height": 2268,
        "thumbnail_url": "https://lh3.googleusercontent.com/grass-cs/AABkmLcIjueiSRTefOxxOB2ueY4unxOqL6kp6f8y8J9x8390j4weh8E-DW4DjKEUkzMFlKtQppWeHv-aFY1K7lKd8jxko5UaUk8Z9-4xL6u7a_rG_39SCuHH_mzaxbG2Q6PxaZLwGp_rW5Mu-AeW=w213-h120-k-no",
        "type": "image",
        "url": "https://lh3.googleusercontent.com/grass-cs/AABkmLcIjueiSRTefOxxOB2ueY4unxOqL6kp6f8y8J9x8390j4weh8E-DW4DjKEUkzMFlKtQppWeHv-aFY1K7lKd8jxko5UaUk8Z9-4xL6u7a_rG_39SCuHH_mzaxbG2Q6PxaZLwGp_rW5Mu-AeW=w4032-h2268-k-no",
        "width": 4032
      }
    ],
    "is_claimed": true,
    "latitude": 40.722232999999996,
    "longitude": -73.98742899999999,
    "metrics": {
      "image_count": 97123,
      "post_count": null,
      "review_count": 57107
    },
    "name": "Katz's Delicatessen",
    "opening_hours": [
      {
        "day": "monday",
        "hours": "8 AM–11 PM",
        "periods": [
          {
            "close": "23:00",
            "open": "08:00"
          }
        ]
      },
      {
        "day": "tuesday",
        "hours": "8 AM–11 PM",
        "periods": [
          {
            "close": "23:00",
            "open": "08:00"
          }
        ]
      },
      {
        "day": "wednesday",
        "hours": "8 AM–11 PM",
        "periods": [
          {
            "close": "23:00",
            "open": "08:00"
          }
        ]
      }
    ],
    "parent": null,
    "phone": "(212) 254-2246",
    "platform": "googlemaps",
    "platform_specific": {
      "googlemaps": {
        "attributes": [
          {
            "id": "/geo/type/establishment_poi/has_wheelchair_accessible_entrance",
            "is_available": true,
            "name": "Wheelchair accessible entrance",
            "section": "Accessibility"
          },
          {
            "id": "/geo/type/establishment_poi/has_wheelchair_accessible_restroom",
            "is_available": true,
            "name": "Wheelchair accessible restroom",
            "section": "Accessibility"
          },
          {
            "id": "/geo/type/establishment_poi/has_wheelchair_accessible_seating",
            "is_available": true,
            "name": "Wheelchair accessible seating",
            "section": "Accessibility"
          }
        ],
        "category_id": "gcid:deli",
        "cid": "3545819340560108778",
        "feature_id": "0x89c2598f7ff4aa09:0x313547e757cb8cea",
        "kgmid": "/m/03tx_h",
        "neighborhood": "Manhattan",
        "other_hours": [],
        "plus_code": "87G8P2C7+V2",
        "price_text": null,
        "rating_distribution": {
          "five_star_count": 41249,
          "four_star_count": 9032,
          "one_star_count": 1898,
          "three_star_count": 3455,
          "two_star_count": 1473
        },
        "reservation_url": null,
        "review_topics": [
          {
            "name": "pastrami",
            "review_count": 9823
          },
          {
            "name": "brisket",
            "review_count": 718
          },
          {
            "name": "corned beef",
            "review_count": 792
          }
        ],
        "street_address": "205 E Houston St",
        "time_zone": "America/New_York"
      }
    },
    "postal_code": "10002",
    "price_range": null,
    "rating": 4.5,
    "region": "New York",
    "type": "venue",
    "unknown_fields": [],
    "url": "https://www.google.com/maps?cid=3545819340560108778",
    "website_url": "https://katzsdelicatessen.com/"
  },
  "meta": {
    "request_id": "req_3f9c2a7d1e8b4c6a9f0e2d4b6a8c0e1f",
    "platform": "googlemaps",
    "source": "api",
    "is_cached": false,
    "credits_charged": 1,
    "latency_ms": 1000,
    "fetched_at": "2026-10-25T12:00:00Z",
    "input": {
      "kind": "place",
      "id": "ChIJCar0f49ZwokR6ozLV-dHNTE",
      "url": "https://www.google.com/maps?cid=3545819340560108778"
    },
    "credits_remaining": 9999,
    "client_request_id": null,
    "warnings": []
  }
}
```

Long arrays and strings are shortened for display; real responses are complete.

## Query parameters

| Name | Type | Description | Example |
| --- | --- | --- | --- |
| `url` required | `string`<br>max 2,048 chars | 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. | `https://maps.google.com/?cid=3545819340560108778` |
| `lang` optional | `string`<br>bcp47 | Preferred language: a BCP-47 tag such as en or pt-BR (case-insensitive; _ is read as -). The language of the place's categories, hours, description and attributes: a BCP-47 tag such as en, de or pt-BR (Google's hl). Default: en. | `en` |
| `country` optional | `string`<br>iso3166-1-alpha-2 | Region: an ISO 3166-1 alpha-2 country code such as US or BR (case-insensitive). The country Google answers for (its gl): an ISO 3166-1 alpha-2 code such as US or DE. Default: US. | `US` |

Every endpoint also accepts [`max_age`](https://socialtap.dev/docs/reference/index.md#common-params), [`max_credits`](https://socialtap.dev/docs/reference/index.md#common-params) and [`fields`](https://socialtap.dev/docs/reference/index.md#common-params).

## Response

`{data, meta}`: `data` is a [place](https://socialtap.dev/resources/place/index.md) object. Fields only Google Maps has are under `platform_specific.googlemaps`. [`meta`](https://socialtap.dev/docs/reference/index.md#meta) describes the request.

| Field | Type | Description |
| --- | --- | --- |
| `data.id` | `string` | Platform-native place ID (TikTok POI ID, Instagram location ID, Facebook Page ID, Google place ID). |
| `data.name` | `string` | Place name as the platform shows it. |
| `data.url` | `string` (uri) | Canonical place page URL. |
| `data.type` | `string` | venue: one spot (a business, landmark or address); area: a region (a neighborhood, city, state or country); unknown: not stated. New values may be added; treat unknown values as unknown.<br>One of `venue`, `area`, `unknown` |
| `data.category` | `string` or `null` | The platform's category label (Cafe, City, Pizza Fast Food), as shown; not normalized across platforms. |
| `data.categories` | `string[]` | Every category label the platform gives the place, primary first (category is the first), as shown; \[\] when it gives none (or unknown: see unknown_fields). |
| `data.description` | `string` or `null` | The place's description or about text; null when none is shown. |
| `data.address` | `string` or `null` | Address as the platform shows it: a street line on some platforms, the whole postal address or only the enclosing region on others; not normalized. |
| `data.city` | `string` or `null` | City or locality, as shown. |
| `data.region` | `string` or `null` | State, province or region of the place's address, as shown (New York, FL, Bavaria). |
| `data.postal_code` | `string` or `null` | Postal or ZIP code. |
| `data.country_code` | `string` or `null` | ISO 3166-1 alpha-2 country of the place. |
| `data.latitude` | `number` or `null` | WGS 84 latitude in degrees; null when the platform does not show coordinates (set together with longitude). |
| `data.longitude` | `number` or `null` | WGS 84 longitude in degrees; null when the platform does not show coordinates (set together with latitude). |
| `data.phone` | `string` or `null` | The business's public phone number, as shown; null when none is shown. |
| `data.website_url` | `string` (uri) or `null` | The place's own website. |
| `data.price_range` | `integer` or `null` | The business's price range, 1 (inexpensive, $) to 4 (expensive, $$$$); null when the platform shows none. |
| `data.rating` | `number` or `null` | Average review score out of 5 (metrics.review_count reviews behind it), as the platform shows it; null when the place is unrated or the platform scores it another way. |
| `data.is_claimed` | `boolean` or `null` | True when a business has claimed the place's page on the platform (it manages the listing), false when none has; null when unknown. |
| `data.business_status` | `string` or `null` | Operating or closed, for now or for good, as the platform marks it; null for an area or when unknown. New values may be added; treat unknown values as null.<br>One of `operational`, `temporarily_closed`, `permanently_closed` |
| `data.opening_hours` | `object[]` | The place's regular weekly hours, one entry per day the platform lists, Monday first, local to the place; \[\] when it shows none (or unknown: see unknown_fields). |
| `data.opening_hours[].day` | `string` | The day of the week, in lower case English: monday, tuesday, wednesday, thursday, friday, saturday or sunday. |
| `data.opening_hours[].hours` | `string` or `null` | The day's hours as the platform writes them (8 AM–11 PM, Open 24 hours, Closed). |
| `data.opening_hours[].periods` | `object[]` | The same hours as 24-hour times, one per opening; \[\] on a day it is closed or when the text is not a list of times. |
| `data.opening_hours[].periods[].open` | `string` | Opening time, 24-hour HH:MM, local to the place. |
| `data.opening_hours[].periods[].close` | `string` | Closing time, 24-hour HH:MM, local to the place; 24:00 is midnight, and a time earlier than open is on the next day. |
| `data.parent` | `object` or `null` | The place this one is inside or filed under on the platform (the market a stall is in, the city of a venue); null when none or unknown. |
| `data.parent.id` | `string` or `null` | The place's ID as the platform's place endpoints key it (place.id); null for a venue given as free text. |
| `data.parent.name` | `string` or `null` | The place's name as shown (a venue's name, or the text its host typed). |
| `data.parent.url` | `string` (uri) or `null` | The place's page URL; null for a venue given as free text. |
| `data.parent.address` | `string` or `null` | Address as the platform shows it (one line, not normalized). |
| `data.parent.city` | `string` or `null` | City or locality, as shown. |
| `data.parent.country_code` | `string` or `null` | ISO 3166-1 alpha-2 country of the place. |
| `data.parent.latitude` | `number` or `null` | WGS 84 latitude in degrees; null when the platform shows no coordinates (set together with longitude). |
| `data.parent.longitude` | `number` or `null` | WGS 84 longitude in degrees; null when the platform shows no coordinates (set together with latitude). |
| `data.images` | `object[]` | Pictures of the place the platform shows, in its order, each of type image; \[\] when none (or unknown: see unknown_fields). Platform CDN URLs can expire within hours: see expires_at. |
| `data.images[].type` | `string` | Kind of file. New values may be added; treat unknown values as other.<br>One of `image`, `video`, `audio`, `gif` |
| `data.images[].url` | `string` (uri) or `null` | Direct file URL; null when the platform withholds it, or when the link would only work from SocialTap's network or with a login. Often signed and expiring: see expires_at. |
| `data.images[].expires_at` | `string` (date-time) or `null` | When url stops working, RFC 3339 UTC, read from the platform's signed URL; null when unknown or when it does not expire. |
| `data.images[].thumbnail_url` | `string` (uri) or `null` | Poster or preview image URL. |
| `data.images[].width` | `integer` or `null` | Width in pixels. |
| `data.images[].height` | `integer` or `null` | Height in pixels. |
| `data.images[].duration_ms` | `integer` or `null` | Duration in milliseconds (video and audio only). |
| `data.images[].alt_text` | `string` or `null` | Accessibility text provided by the author or platform. |
| `data.account` | `object` or `null` | The platform account that represents the place (its business account or Page); null when none is linked. |
| `data.account.id` | `string` or `null` | Platform-native account ID; null when only the handle is known. |
| `data.account.username` | `string` or `null` | Handle without the @; null when the account has none. |
| `data.account.display_name` | `string` or `null` | Display name shown on the profile. |
| `data.account.url` | `string` (uri) or `null` | Canonical profile URL. |
| `data.account.avatar_url` | `string` (uri) or `null` | Profile picture URL. Platform CDN URLs can expire within hours. |
| `data.account.is_verified` | `boolean` or `null` | Platform verification badge; null where the platform has no badge. |
| `data.metrics` | `object` | Counts at fetch time; null = not shown, 0 = zero. |
| `data.metrics.post_count` | `integer` or `null` | Public posts tagged with the place, as the platform counts them. |
| `data.metrics.review_count` | `integer` or `null` | Public reviews or recommendations of the place, as the platform counts them. |
| `data.metrics.image_count` | `integer` or `null` | Pictures the platform has of the place; more than the length of images when the source returns only the first ones. |
| `data.platform_specific.googlemaps` | `object` or `null` | A Google Maps place's own fields. |
| `data.platform_specific.googlemaps.feature_id` | `string` or `null` | Google's feature ID of the place (0x89c2598f7ff4aa09:0x313547e757cb8cea), the form Google Maps links carry; null when unknown. |
| `data.platform_specific.googlemaps.cid` | `string` or `null` | Google's customer ID of the place, the decimal number in maps.google.com/?cid= links (3545819340560108778); null when unknown. |
| `data.platform_specific.googlemaps.kgmid` | `string` or `null` | Google Knowledge Graph ID of the place (/m/03tx_h, /g/11…); null when it has none. |
| `data.platform_specific.googlemaps.category_id` | `string` or `null` | Google's ID of the primary category (gcid:deli), the same in every language; null when unknown. |
| `data.platform_specific.googlemaps.street_address` | `string` or `null` | The address's street line (205 E Houston St), as Google writes it. |
| `data.platform_specific.googlemaps.neighborhood` | `string` or `null` | The neighborhood or district Google files the place in (Manhattan). |
| `data.platform_specific.googlemaps.plus_code` | `string` or `null` | The place's global Plus Code (87G8P2C7+V2), an open location code. |
| `data.platform_specific.googlemaps.time_zone` | `string` or `null` | IANA time zone of the place (America/New_York), which opening_hours are local to. |
| `data.platform_specific.googlemaps.price_text` | `string` or `null` | Google's price label as shown: a level ($$) or what people spend per person ($20–30); null when it shows none. |
| `data.platform_specific.googlemaps.rating_distribution` | `object` or `null` | Reviews per star, exact, as Google's rating histogram counts them; null when it shows none. |
| `data.platform_specific.googlemaps.rating_distribution.one_star_count` | `integer` or `null` | Reviews rating 1 star. |
| `data.platform_specific.googlemaps.rating_distribution.two_star_count` | `integer` or `null` | Reviews rating 2 stars. |
| `data.platform_specific.googlemaps.rating_distribution.three_star_count` | `integer` or `null` | Reviews rating 3 stars. |
| `data.platform_specific.googlemaps.rating_distribution.four_star_count` | `integer` or `null` | Reviews rating 4 stars. |
| `data.platform_specific.googlemaps.rating_distribution.five_star_count` | `integer` or `null` | Reviews rating 5 stars. |
| `data.platform_specific.googlemaps.review_topics` | `object[]` | The topics Google finds in the place's reviews, in its order, with how many reviews mention each; \[\] when none (or unknown: see unknown_fields). |
| `data.platform_specific.googlemaps.review_topics[].name` | `string` | The topic, as Google words it (pastrami). |
| `data.platform_specific.googlemaps.review_topics[].review_count` | `integer` or `null` | Reviews that mention it, as Google counts them. |
| `data.platform_specific.googlemaps.attributes` | `object[]` | What Google's About tab says the place has or lacks (wheelchair accessible entrance, takeout), by section; \[\] when none (or unknown: see unknown_fields). |
| `data.platform_specific.googlemaps.attributes[].id` | `string` or `null` | Google's key for the attribute (/geo/type/establishment_poi/has_wheelchair_accessible_entrance), the same in every language. |
| `data.platform_specific.googlemaps.attributes[].section` | `string` or `null` | The About tab's section it is under, as Google names it (Accessibility, Service options). |
| `data.platform_specific.googlemaps.attributes[].name` | `string` | The attribute as Google words it (Wheelchair accessible entrance). |
| `data.platform_specific.googlemaps.attributes[].is_available` | `boolean` | True when the place has it, false when Google lists it as missing (No wheelchair accessible entrance). |
| `data.platform_specific.googlemaps.reservation_url` | `string` (uri) or `null` | The link Google shows to reserve a table or book (the business's own booking page or a booking service's); null when it shows none. |
| `data.platform_specific.googlemaps.other_hours` | `object[]` | Hours Google lists besides opening_hours, each under its label (Online service hours, Delivery, Pharmacy), for the same week; \[\] when none (or unknown: see unknown_fields). |
| `data.platform_specific.googlemaps.other_hours[].label` | `string` | What the hours are for, as Google words it (Online service hours, Delivery, Pharmacy). |
| `data.platform_specific.googlemaps.other_hours[].opening_hours` | `object[]` | Those hours, a day each, Monday first, as opening_hours writes them. |
| `data.platform_specific.googlemaps.other_hours[].opening_hours[].day` | `string` | The day of the week, in lower case English: monday, tuesday, wednesday, thursday, friday, saturday or sunday. |
| `data.platform_specific.googlemaps.other_hours[].opening_hours[].hours` | `string` or `null` | The day's hours as the platform writes them (8 AM–11 PM, Open 24 hours, Closed). |
| `data.platform_specific.googlemaps.other_hours[].opening_hours[].periods` | `object[]` | The same hours as 24-hour times, one per opening; \[\] on a day it is closed or when the text is not a list of times. |
| `data.platform_specific.googlemaps.other_hours[].opening_hours[].periods[].open` | `string` | Opening time, 24-hour HH:MM, local to the place. |
| `data.platform_specific.googlemaps.other_hours[].opening_hours[].periods[].close` | `string` | Closing time, 24-hour HH:MM, local to the place; 24:00 is midnight, and a time earlier than open is on the next day. |
| `data.approximate_fields` | `string[]` | JSON paths of values rounded by the platform or parsed from display text (metrics.post_count). \[\] when all exact. |
| `data.unknown_fields` | `string[]` | JSON paths of lists whose \[\] means unknown, not none (a source that cannot see them). \[\] when every list is known. |

Besides [the errors any request can return](https://socialtap.dev/docs/errors/index.md): [`not_found`](https://socialtap.dev/docs/errors/index.md#not_found) (404) when the item can't be returned.

## Pricing

**1 credit** per successful request ($0.75–$1.97 per 1,000). Failed requests are free. [How credits work](https://socialtap.dev/docs/credits/index.md)

Endpoint ID `googlemaps.place` · operationId `googlemaps.place.get`

---

[HTML version](https://socialtap.dev/docs/reference/googlemaps/place/) · [Docs index for AI agents](https://socialtap.dev/llms.txt) · [All docs in one file](https://socialtap.dev/llms-full.txt)
