LurkAPI
Docs · Google Maps place details

Google Maps place details

One place on Google Maps by place id, cid or link: contacts (phone, website, address), hours, rating, categories and coordinates.

1 credit per callFresh within 1 dayMCP tool: google_maps_place
GEThttps://api.lurkapi.com/v1/google/maps/place

Example response

When to use this

Use it to refresh or enrich a place you already know: a placeId or cid from search, an id from Google's Places API, or a Maps link.

It returns the same fields as a search result, read fresh for that one place. We don't visit the business's own website to look for emails or social links.

Returns 404 not_found when Google has no such place.

Example request

Copy one and replace YOUR_API_KEY with your API key (get one free). The code versions read the key from the LURKAPI_API_KEY environment variable instead.

Language

Parameters

Add them to the URL after a ?, as in ?place_id=ChIJCar0f49ZwokR6ozLV-dHNTE. Join several with &.

ParameterDescription
place_id
stringoptional
The place's Google place id, e.g. ChIJ1S_Bov20RIYRe7MiR8tYawY (placeId in search results). Pass this, cid or url.
Example
ChIJCar0f49ZwokR6ozLV-dHNTE
cid
stringoptional
The place's cid, the number in maps.google.com/?cid=… (cid in search results).
url
stringoptional
A Google Maps link to the place: …/maps/place/…/data=…!1s0x…:0x…, …?cid=… or …?q=place_id:ChIJ…. Short maps.app.goo.gl links don't work yet.
language
stringoptional
Language of names, categories, hours and review text, e.g. en, de, pt-BR. Default en.
Default
en

Example response

A real response, captured from the live API. Lists are trimmed to a couple of items, and long text such as media links is cut short with ….

Show the example response (2 KB)
{
  "success": true,
  "credits_remaining": 999983,
  "credits_charged": 1,
  "placeId": "ChIJCar0f49ZwokR6ozLV-dHNTE",
  "cid": "3545819340560108778",
  "featureId": "0x89c2598f7ff4aa09:0x313547e757cb8cea",
  "name": "Katz's Delicatessen",
  "url": "https://www.google.com/maps?cid=3545819340560108778",
  "categories": [
    "Deli",
    "American restaurant",
    "Jewish restaurant",
    "Restaurant",
    "Sandwich shop"
  ],
  "address": "205 E Houston St, New York, NY 10002",
  "street": "205 E Houston St",
  "city": "New York",
  "state": "New York",
  "postalCode": "10002",
  "countryCode": "US",
  "neighborhood": "Manhattan",
  "plusCode": "87G8P2C7+V2",
  "latitude": 40.722232999999996,
  "longitude": -73.98742899999999,
  "phone": "(212) 254-2246",
  "phoneInternational": "+12122542246",
  "website": "https://katzsdelicatessen.com/",
  "rating": 4.5,
  "reviewsCount": 56147,
  "hours": [
    {
      "day": "Monday",
      "hours": "8 AM–11 PM"
    },
    {
      "day": "Tuesday",
      "hours": "8 AM–11 PM"
    },
    {
      "day": "Wednesday",
      "hours": "8 AM–11 PM"
    },
    {
      "day": "Thursday",
      "hours": "8 AM–11 PM"
    },
    {
      "day": "Friday",
      "hours": "8 AM–11:30 PM"
    },
    {
      "day": "Saturday",
      "hours": "Open 24 hours"
    },
    {
      "day": "Sunday",
      "hours": "12 AM–11 PM"
    }
  ],
  "timezone": "America/New_York",
  "description": "No-frills deli with theatrically cranky service serving mile-high sandwiches since 1888.",
  "photo": "https://lh3.googleusercontent.com/grass-cs/AABkmLfyJquHsq54Vn7NFd3GwPbu3…",
  "permanentlyClosed": false,
  "temporarilyClosed": false
}

Response fields

Every field in a successful response, and what it means. A name with [] belongs to each item of a list: hours[].day is the day of every item in hours. null means there's no value.

Show all 32 fields
FieldTypeDescription
successtrueAlways true here; errors have success: false.
credits_remainingnumberYour balance after this call. On anonymous playground calls: free tries left today.
credits_chargednumberCredits this call cost; 0 on free endpoints. On anonymous playground calls: tries used (1).
placeIdstringcan be nullGoogle's place id (ChIJ…), the id Google's Places API uses too. Pass it as place_id to place details or reviews.
cidstringThe place's cid (customer id), stable for the life of the listing: maps.google.com/?cid=<cid>.
featureIdstringGoogle Maps' own feature id (0x…:0x…), as it appears in Maps links.
namestringThe place's name as Google lists it.
urlstringThe place on Google Maps.
categoriesstring[]Google's categories, main one first, e.g. ["Coffee shop", "Cafe"].
addressstringcan be nullFull street address on one line, e.g. 1300 S Congress Ave, Austin, TX 78704.
streetstringcan be nullStreet and number.
citystringcan be nullCity or town.
statestringcan be nullState, province or region, when the country uses one.
postalCodestringcan be nullPostal code.
countryCodestringcan be null2-letter country code, e.g. US.
neighborhoodstringcan be nullNeighborhood or district, when Google names one.
plusCodestringcan be nullThe place's global plus code, e.g. 86247722+C7. Place details only: null in search results with more than one place.
latitudenumbercan be nullLatitude of the place's pin.
longitudenumbercan be nullLongitude of the place's pin.
phonestringcan be nullPhone number as written locally, e.g. (512) 852-2300; null when the listing has none.
phoneInternationalstringcan be nullPhone number in E.164 form, e.g. +15128522300, ready to dial or match.
websitestringcan be nullThe business's own website; null when the listing has none.
ratingnumbercan be nullAverage star rating, 1–5; null with no reviews.
reviewsCountnumbercan be nullHow many reviews Google counts; null with none.
hoursobject[]can be nullRegular weekly hours, starting with the current day; null when the listing has none. Holiday hours can differ.
hours[].daystringDay of the week, in language.
hours[].hoursstringOpening hours that day as Google writes them, e.g. 7 AM–7 PM, Open 24 hours or Closed.
timezonestringcan be nullThe place's IANA timezone, e.g. America/Chicago.
descriptionstringcan be nullGoogle's one-line summary of the place; null for most places.
photostringcan be nullThe listing's main photo, 800 px wide (edit =w800 in the URL for another size).
permanentlyClosedbooleantrue when Google marks the place permanently closed.
temporarilyClosedbooleantrue when Google marks the place temporarily closed.

Cost and freshness

Each call costs 1 credit. Calls turned away before they reach the platform (invalid parameters, a key or balance problem, a rate limit) are free, and so are 5xx errors. A not_found is charged, since the platform was checked. How charging works.

Answers are cached for up to 1 day. A repeat call within that time can return the same data, and costs the same.

Errors

A failed call returns success: false, an error message, a code your program can check, and a docs link. These are the errors this endpoint can return. All error codes.

StatusCodeMeaning
401missing_api_keyNo API key was sent. Put it in the x-api-key header.
401invalid_api_keyThis key doesn't exist or was revoked.
402insufficient_creditsNot enough credits for this call. Buy a pack, or wait for tomorrow's free top-up.
402over_max_creditsThis call would cost more than the max_credits you set. The error says what it needs; raise max_credits to allow it. Not charged.
403account_suspendedThis account is suspended. Email support@lurkapi.com. Not charged.
404not_foundWhat you asked for (a post, an ad, a subreddit) doesn't exist, or there's no endpoint at that path. Charged if the platform was checked.
405method_not_allowedEndpoints only take GET, with parameters in the URL.
429rate_limitedToo many calls in a short time. Wait as many seconds as the retry-after header says, then retry.
500internal_errorSomething broke on our side. Retry. Not charged.
502upstream_errorThe platform didn't send a usable answer. Retry. Not charged.
503upstream_busyAll our connections to the platform are busy. Retry in a few seconds. Not charged.
504upstream_timeoutThe platform took over 30 seconds to answer (90 for web pages). Retry. Not charged.

Use it in Claude

Connect LurkAPI to Claude and ask in plain English. This endpoint is the google_maps_place tool. For example:

Ask Claude
Use LurkAPI's google_maps_place tool with place_id "ChIJCar0f49ZwokR6ozLV-dHNTE", then summarize what you find.

Claude calls google_maps_place with arguments like these, and each call costs 1 credit:

Tool arguments
{"place_id": "ChIJCar0f49ZwokR6ozLV-dHNTE"}

To save tokens, tool results leave out empty fields, keep one URL per image or video, and give transcripts as plain text unless you pass timestamps=true. A result over 45,000 characters comes in parts. Its _note gives the offset for the next part, and later parts are free for 15 minutes. Pass trim=false for the full response.

From the blog

All posts