PlaceGrid API

Google Maps search, place cards, reviews and photos as JSON, whole-region scans and their enrichment, and an MCP server for AI agents. Each successful call is paid from the credits of your account; errors are free.

Base URLhttps://dev.enrichment.brontir.com

Google Maps search, place cards, reviews and photos as JSON over plain HTTPS, and whole-region scans: every place of the types you name inside countries, regions or cities, enriched if you like with the contacts on their websites, a website check, full cards, reviews and photos. An MCP server gives all of it to AI agents.


Overview

  • Four Maps endpoints: a Maps search (one page of places), a full place card, a place’s reviews and its photos, page by page.
  • Synchronous Maps calls: one request, one answer, usually within a few seconds. Nothing to start, poll or download later.
  • Whole-region scans: every place of the types you name inside regions you pick (a country, a region, a district, a city), with a free preview of how many there are and what they cost, then their places page by page, and what changed since the previous scan. A webhook tells your server when a scan has ended.
  • Enrichment of a scan’s places, as the full scan finds them or afterwards: the emails, social profiles and phones on each website (at a depth you choose), a check of the website, the full Google Maps card, reviews and photos. Results come with the places.
  • An MCP server for AI agents: Claude, Cursor and other agents search Google Maps, scan regions and enrich places through it, with an API key or by signing in (MCP server).
  • Google Maps data, read when you ask, or a recent copy of a place when you allow it (the cache parameter).
  • A familiar format: the parameter and field names widely used for Google Maps data (local_results, place_results, search_metadata), so existing parsers need few changes.
  • Pay per successful Maps call, in credits of your PlaceGrid account: the same balance as the app. Region, scan, enrichment and account calls are free; a full scan pays for the places it finds, an enrichment for its results. Errors are never charged.
  • Your keys: created, limited, switched off and revoked in the API tab of the app, each with its own usage.

Quick start

  1. Sign in to PlaceGrid, or create an account: a new account comes with 1,000 free credits, and they work for the API too.
  2. Open the API tab of the app and create a key. The whole key is shown once: copy it then.
  3. Make a call, with your key in place of pg_YOUR_API_KEY:
export PLACEGRID_API_KEY=pg_YOUR_API_KEY
curl -G https://api.placegrid.net/v1/maps/search \
  -H "Authorization: Bearer $PLACEGRID_API_KEY" \
  --data-urlencode "q=coffee" \
  --data-urlencode "ll=@48.8566,2.3522,15z"

The OpenAPI description of the API is free to read without a key, for code generators and API tools.


Authentication

Every call carries one of your keys. A key is pg_ followed by 40 lowercase letters and digits; below, pg_YOUR_API_KEY stands for yours.

How Example
Authorization header (recommended) Authorization: Bearer pg_YOUR_API_KEY
X-API-Key header X-API-Key: pg_YOUR_API_KEY
api_key query parameter ?api_key=pg_YOUR_API_KEY
token query parameter ?token=pg_YOUR_API_KEY
  • Use the Authorization header. The key in the address works, but an address is written down in places a header is not: the logs of servers and tools along the way, browser history, the links people share. Anyone who reads one of them has your key.
  • Call the API from your server. A key in a web page or a mobile app is a key anyone can copy; the endpoints send no CORS headers, so browsers refuse to call them from other sites anyway.
  • A key opens the API only: it does not sign in to the app.
  • Make a key per project or environment. Each key has its own limits and usage, and can be switched off or revoked at once in the API tab. Switching a key off only refuses its calls. Revoking it is for good, and also stops its scans and enrichments still in progress: what they found and paid for is kept, and the scans stay the account’s.
  • No key, or a key that is not valid: missing_api_key, invalid_api_key.
  • The access token of an app connected with OAuth opens the MCP server only: sent to an endpoint, it is access_token_not_accepted. Endpoints take an API key.

Base URL

https://api.placegrid.net

Every endpoint lives under /v1. The same endpoints also answer on the site’s own address, https://placegrid.net/v1/…, with the same keys.

Requests are GET with query parameters (URL-encoded). Parameter names may be written in any case (q, Q, HL); values are used as given, without the spaces around them. An empty value counts as not sent, a parameter sent twice is refused, and parameters this API does not know are ignored. Creating, starting, cancelling and enriching a scan are POSTs, with a JSON body where they take one (Content-Type: application/json, at most 64 KB), and so is every message to the MCP server.

Answers are JSON in UTF-8:

  • a list with nothing in it is [], never null;
  • a field with no value is left out (it does not come as null or empty);
  • the day keys of operating_hours and popular_times are always English (monday … sunday), whatever hl says.

Every successful answer of a Maps endpoint starts with search_metadata and search_parameters:

Field Meaning
search_metadata.id The request ID, the same as the X-Request-Id header. Quote it when you contact us.
search_metadata.status Success
search_metadata.created_at, processed_at When the request came in and when its answer was ready, as 2026-11-11 09:30:12 UTC
search_metadata.total_time_taken Seconds the answer took
search_metadata.google_maps_url The same request on Google Maps, when there is one
search_metadata.from_cache true when a recent copy answered (see cache)
search_metadata.observed_at When that copy was read from Google Maps (place cards and photos)
search_metadata.stale true when Google Maps could not be read just then and an older copy of the place answered instead; such an answer is not charged
search_parameters engine (google_maps), type (search, place, reviews or photos) and the parameters as they were understood, defaults included. A search adds its window as ll, zoom and radius; a place adds resolved_data_id, the Data ID it was found by

Answers carry these headers:

Header Meaning
X-Request-Id The request ID, on every answer, a success or an error
X-Credits-Charged What this call cost, in credits
X-Credits-Remaining What is left to spend after this call, in credits; below zero when the call cost more than was left
RateLimit-Limit The key’s requests a minute
RateLimit-Remaining Requests left in the current minute
RateLimit-Reset Seconds until the minute’s count starts again
Retry-After With a 429 or 503: seconds to wait before asking again

Endpoints

Endpoint One call returns Credits
GET /v1/maps/search one page of up to 20 places 1
GET /v1/maps/place one full place card 1
GET /v1/maps/reviews one page of up to 20 reviews 3
GET /v1/maps/photos one page of photos 2
GET /v1/openapi.json the OpenAPI description free, no key
GET /v1/regions/search regions by name free
GET /v1/regions/{type}/{id} one region, with where it lies free
GET /v1/regions/{type}/{id}/children the regions inside a region free
POST /v1/scans a new scan: a preview, or the full scan free; a full scan pays for its places
GET /v1/scans your scans free
GET /v1/scans/{id} a scan: status, estimate, result free
POST /v1/scans/{id}/start the full scan free; it pays for its places
POST /v1/scans/{id}/cancel the run in progress stopped free
GET /v1/scans/{id}/places a page of the scan’s places free
POST /v1/scans/{id}/enrich the scan’s places enriched, or the quote free; the enrichment pays for its results
GET /v1/account the balance, prices and limits free
POST /v1/mcp the MCP server for AI agents each tool as its endpoint

Places for a query on Google Maps, a page at a time: up to 20 places, plus a sponsored one when Google Maps shows an ad at the top (sponsored: true). Costs 1 credit per call.

Parameter Required Type Default Description
q unless url string, up to 512 characters What to search for: a category (pizza), a category with a place (pizza new york) or a business name. Required unless url is given.
ll no string, up to 64 characters Map window: @lat,lng,15z (zoom 1–21) or @lat,lng,3000m (window height in metres).
lat no number, -85 to 85 Instead of ll: centre latitude, with exactly one of z, m or radius.
lng (or lon) no number, -180 to 180 Instead of ll: centre longitude.
z no number, 1 to 21 Zoom, with lat and lng.
m no number, at least 1 Window height in metres, with lat and lng.
radius no number, at least 1 Radius in metres the window covers whole, with lat and lng.
url no string, up to 2048 characters A Google Maps search link; q and ll are read from it when not given.
start no integer, 0 to 500, a multiple of 20 0 Offset: 0, 20, 40… up to 500.
hl no string, up to 12 characters en Language of the answer, such as en or pt-BR.
gl no string, up to 2 characters us Two-letter country code the search is made from.
google_domain no string, up to 64 characters Accepted for compatibility and echoed back; it does not change the answer.

Where to search. Give the map window as ll, or as lat and lng with exactly one of z, m or radius; ll together with lat and lng, or more than one of z, m and radius, is conflicting_parameters. A Google Maps search url brings its own query and window, and may come with ll: the window is then taken from ll.

  • Without a window the area comes from the words of the query: pizza new york searches New York, but a bare pizza may be answered for an area you did not mean. Pass a window for an exact area.
  • Google Maps answers for the window: a closer zoom holds fewer places.
  • A business name is answered with that one place, as a list of one, with no next page.
  • A search that finds nothing answers 200 with local_results: [] and costs 1 credit: it is an answer, not an error.

Example request:

curl -G https://api.placegrid.net/v1/maps/search \
  -H "Authorization: Bearer $PLACEGRID_API_KEY" \
  --data-urlencode "q=coffee" \
  --data-urlencode "ll=@48.8566,2.3522,15z" \
  -d hl=en -d gl=fr

Example answer (shortened; the café in it is made up, so its identifiers will not open a place):

{
  "search_metadata": {
    "id": "req_4kq2m7xv3wz6c5b2n7p3radt5e",
    "status": "Success",
    "created_at": "2026-11-11 09:30:12 UTC",
    "processed_at": "2026-11-11 09:30:14 UTC",
    "total_time_taken": 1.62,
    "google_maps_url": "https://www.google.com/maps/search/coffee/@48.8566,2.3522,15z?hl=en&gl=fr",
    "from_cache": false
  },
  "search_parameters": { "engine": "google_maps", "type": "search", "q": "coffee", "ll": "@48.8566,2.3522,15z", "zoom": 15, "radius": 1697, "start": 0, "hl": "en", "gl": "fr" },
  "search_information": { "query_displayed": "coffee" },
  "local_results": [
    {
      "position": 1,
      "title": "Café des Exemples",
      "place_id": "ChIJexampleExampleExample01",
      "data_id": "0x47e66e1f00000001:0x1a2b3c4d5e6f7081",
      "data_cid": "1885493636423823489",
      "gps_coordinates": { "latitude": 48.8571, "longitude": 2.3499 },
      "rating": 4.6,
      "reviews": 1287,
      "price": "€1–10",
      "extracted_price": 1,
      "type": "Coffee shop",
      "types": ["Coffee shop", "Bakery"],
      "type_ids": ["coffee_shop", "bakery"],
      "address": "12 Rue de l'Exemple, 75004 Paris",
      "open_state": "Open · Closes 7 PM",
      "operating_hours": { "monday": "8 AM to 7 PM", "sunday": "Closed" },
      "phone": "01 23 45 67 89",
      "phone_international": "+33123456789",
      "website": "https://cafe.example/",
      "business_status": "operational"
    }
  ]
}

Fields of a place in local_results:

Field Type Meaning
position integer From 1 and running on: the second page starts at 21
title string The place’s name
place_id string Place ID (ChIJ…)
data_id string Data ID (0x…:0x…)
data_cid string CID: the right half of data_id as a decimal number
provider_id string Knowledge Graph ID (/g/…)
gps_coordinates object latitude, longitude
rating, reviews number, integer Rating and number of reviews
price, extracted_price string, integer The price range as shown (€10–20) and its first number (10; left out for a range of signs such as €€)
type, types string, list The main category and every category, in the language of hl
type_id, type_ids string, list Category keys that do not depend on the language (pizza_restaurant). In a category search type_id is the category Google matched with the query; the place’s main key is always type_ids[0]
address string The address without the name
address_components object street, street_line2, district, neighborhood, city, region, country_code
open_state, hours string Open · Closes 7 PM
operating_hours object Hours per day (English day keys); a closed day is Closed
phone, phone_international string As shown, and in international form (+33…)
website, website_domain string The website, and its domain
description, thumbnail, user_review string A short description, a picture, the review quote the list shows
extensions, unsupported_extensions list Amenities by group (service_options, accessibility …), and what the place does not offer
service_options object dine_in, takeout, delivery … as true or false
order_online, reserve_a_table, book_online string Links to order, to book a table, to book an appointment
amenities list A hotel’s amenities
unclaimed_listing boolean true when the owner has not claimed the listing
business_status string operational, closed_temporarily or closed_permanently
sponsored boolean The place is shown as an ad
plus_code, timezone, country_code string
owner object The owner’s name and id
photos_count integer How many photos the place has
hotel object A hotel’s card: class, prices and more
links list Every external link of the place, with its kind and label

GET /v1/maps/place

The full card of one place. Costs 1 credit per call; with cache=false (read live now) it costs 2 credits per call.

Parameter Required Type Default Description
place_id one of string, up to 256 characters Place ID (ChIJ…).
data_id one of string, up to 64 characters Data ID (0x…:0x…).
data_cid one of string, up to 32 characters CID: the decimal place number.
url one of string, up to 2048 characters A Google Maps link to the place, full or short (maps.app.goo.gl/…).
q one of string, up to 512 characters The place’s name with its address or city. Answered only when exactly one place matches.
cache no boolean: true or false true true: a recent copy of the place may answer (faster). false: read it live now.
hl no string, up to 12 characters en Language of the answer, such as en or pt-BR.
gl no string, up to 2 characters us Two-letter country code the search is made from.
google_domain no string, up to 64 characters Accepted for compatibility and echoed back; it does not change the answer.

Naming a place (the same for place, reviews and photos): pass exactly one of the parameters marked one of.

  • place_id, data_id or data_cid: the place is read directly.
  • url: a link to the place on Google Maps, full or short (the Share button’s maps.app.goo.gl/…, also goo.gl/maps/… and g.page/…). A link that names only a point on the map is link_not_a_place; a short link that leads nowhere is short_link_dead.
  • q: the place’s name with its address or city (Eiffel Tower Paris), or any of the above as text. A name is answered only when exactly one place matches; otherwise place_not_found lists up to five candidates, each with its data_id, to ask again with.

Fresh or recent. With cache=true (the default) a recent copy of the place may answer, which is faster; with cache=false the place is read live now. search_metadata.from_cache says which it was and observed_at when the copy was read. A copy older than an hour leaves out what goes stale within the hour (live busyness, “open now” and closing time, relative dates). Prices for dates (hotel rates, tickets) are always read live. A live read (cache=false) costs 2 credits, the default 1. For reviews and photos cache does not change the price.

When Google Maps cannot be read just then, an older copy of the card may answer instead of an error: search_metadata.stale is then true, observed_at says when the copy was read, and the call is not charged.

Example request (the Eiffel Tower in Paris: the identifiers in the request examples are real places, so they work as written):

curl -G https://api.placegrid.net/v1/maps/place \
  -H "Authorization: Bearer $PLACEGRID_API_KEY" \
  -d data_id=0x47e66e2964e34e2d:0x8ddca9ee380ef7e0

Example answer (shortened):

{
  "search_metadata": {
    "id": "req_2c7xk3m5q4v6w2z7b3n5p4ra6d",
    "status": "Success",
    "created_at": "2026-11-11 09:31:02 UTC",
    "processed_at": "2026-11-11 09:31:03 UTC",
    "total_time_taken": 0.41,
    "google_maps_url": "https://www.google.com/maps/place/data=!4m2!3m1!1s0x47e66e2964e34e2d:0x8ddca9ee380ef7e0",
    "from_cache": true,
    "observed_at": "2026-11-08T14:02:51Z"
  },
  "search_parameters": { "engine": "google_maps", "type": "place", "data_id": "0x47e66e2964e34e2d:0x8ddca9ee380ef7e0", "cache": true, "hl": "en", "gl": "us", "resolved_data_id": "0x47e66e2964e34e2d:0x8ddca9ee380ef7e0" },
  "place_results": {
    "title": "Eiffel Tower",
    "place_id": "ChIJLU7jZClu5kcR4PcOOO6p3I0",
    "data_id": "0x47e66e2964e34e2d:0x8ddca9ee380ef7e0",
    "type": ["Historical landmark", "Monument", "Tourist attraction"],
    "rating": 4.7,
    "reviews": 500919,
    "rating_summary": [{ "stars": 5, "amount": 401224 }, { "stars": 4, "amount": 63902 }],
    "address": "Av. Gustave Eiffel, 75007 Paris, France",
    "summary": "Gustave Eiffel's iconic, wrought-iron 1889 tower, with steps and elevators to observation decks.",
    "popular_times": { "monday": [{ "hour": 9, "busyness": 40 }, { "hour": 10, "busyness": 65 }] },
    "images": [{ "title": "All", "thumbnail": "https://lh5.googleusercontent.com/p/example=w224-h298", "category_id": "CgIgAQ" }],
    "plus_code_local": "V75V+8Q Paris",
    "topics": [{ "keyword": "elevator", "mentions": 4021 }]
  }
}

place_results has the fields of a search place (all but position, user_review and sponsored), and:

Field Type Meaning
type list Every category (a list here, a string in a search)
rating_summary list stars and amount per star, five stars first
summary, review_summary string Google’s long description, and its summary of the reviews
owner_description string The owner’s description
popular_times object hour and busyness per day (English day keys)
live_busyness, live_busyness_text, typical_visit How busy it is now, and how long people usually stay
images list Gallery tabs: title, thumbnail, category_id (for /v1/maps/photos)
photos_total integer Photos in the gallery
menu object link and source of the menu
menu_sections list The menu, products or services: title and items (name, description, price …)
user_reviews list Phrases from reviews the card shows (summary)
topics list Topics of the reviews: keyword, mentions, id (as in /v1/maps/reviews)
reviews_preview list Reviews the card itself shows, in the format of /v1/maps/reviews
posts list The owner’s posts
plus_code_local string The Plus Code with a town (V75V+8Q Paris)
price_details list What visitors spend: label, reported, share
hours_updated, opens_date, logo, canonical_url
admission_price, admission_url, street_view
department_hours, holiday_hours, fuel_prices list Hours of departments, holiday hours, fuel prices
hotel_rates, nearby_stays, ticket_offers, experiences list A hotel’s prices at partners, stays nearby, tickets, tours
people_also_search_for, at_this_place, nearby list Related places: title, data_id, data_cid, gps_coordinates, rating, reviews, type and more

GET /v1/maps/reviews

A place’s reviews, a page at a time. Costs 3 credits per page, whatever num is: ask for 20 to pay least per review.

Parameter Required Type Default Description
place_id one of string, up to 256 characters Place ID (ChIJ…).
data_id one of string, up to 64 characters Data ID (0x…:0x…).
data_cid one of string, up to 32 characters CID: the decimal place number.
url one of string, up to 2048 characters A Google Maps link to the place, full or short (maps.app.goo.gl/…).
q one of string, up to 512 characters The place’s name with its address or city. Answered only when exactly one place matches.
num no integer, 1 to 20 10 Reviews per page.
sort_by no one of relevant, qualityScore, newestFirst, ratingHigh, ratingLow relevant Order of the reviews. qualityScore is the same as relevant.
next_page_token no string, up to 4096 characters The pagination.next_page_token of the previous page.
cache no boolean: true or false true true: a recent copy of the place may answer (faster). false: read it live now.
hl no string, up to 12 characters en Language of the answer, such as en or pt-BR.
gl no string, up to 2 characters us Two-letter country code the search is made from.
google_domain no string, up to 64 characters Accepted for compatibility and echoed back; it does not change the answer.
  • sort_by: relevant (or qualityScore) is Google’s “Most relevant”; newestFirst, ratingHigh and ratingLow as named.
  • The first page (no token) also carries place_info (title, address, rating, reviews, type) and topics.
  • A page that comes with no reviews after a next_page_token is not charged.
  • A first page (no next_page_token) with no reviews on it, a place nobody reviewed yet, costs 1 credit instead of 3.
  • Some places, hotels most often, show reviews from a partner site instead of Google reviews: there is nothing to read, and the answer is reviews_not_available.
  • The place is named as for /v1/maps/place. Paging: see Pagination.

Example request:

curl -G https://api.placegrid.net/v1/maps/reviews \
  -H "Authorization: Bearer $PLACEGRID_API_KEY" \
  -d data_id=0x47e66e2964e34e2d:0x8ddca9ee380ef7e0 \
  -d sort_by=newestFirst -d num=20

Example answer (shortened):

{
  "search_metadata": { "id": "req_6v3qk2m7x4w5z3c2b7n6p5ra4e", "status": "Success", "total_time_taken": 2.37, "from_cache": false },
  "search_parameters": { "engine": "google_maps", "type": "reviews", "data_id": "0x47e66e2964e34e2d:0x8ddca9ee380ef7e0", "sort_by": "newestFirst", "num": 20, "cache": true, "hl": "en", "gl": "us", "resolved_data_id": "0x47e66e2964e34e2d:0x8ddca9ee380ef7e0" },
  "place_info": { "title": "Eiffel Tower", "address": "Av. Gustave Eiffel, 75007 Paris, France", "rating": 4.7, "reviews": 500919, "type": "Historical landmark" },
  "topics": [{ "keyword": "elevator", "mentions": 4021 }],
  "reviews": [
    {
      "position": 1,
      "review_id": "ChZDSUhNMG9nS0VJQ0FnSUNleGFtcGxl",
      "link": "https://www.google.com/maps/reviews/data=!4m8!14m7!1m6!2m5!1sChZDSUhNMG9nS0VJQ0FnSUNleGFtcGxl",
      "source": "Google",
      "rating": 5,
      "date": "2 days ago",
      "iso_date_of_last_edit": "2026-11-09T07:12:40Z",
      "snippet": "Book the tickets online, the view from the top is worth every step.",
      "likes": 3,
      "user": { "name": "Alex M.", "local_guide": true, "reviews": 87, "photos": 210 },
      "response": { "date": "a day ago", "iso_date_of_last_edit": "2026-11-10T08:01:00Z", "snippet": "Thank you for your visit!" },
      "language": "en"
    }
  ],
  "pagination": { "next_page_token": "CAESY0NBRVFBQnBBQ2hZS0RJQ0V4YW1wbGU" }
}

Fields of a review:

Field Type Meaning
position integer From 1 on each page
link, review_id, source string A link to the review, its ID, where it was written (Google)
rating integer Stars
date, iso_date_of_last_edit string 2 days ago as shown, and the exact time of its last version (ISO 8601)
iso_date string The exact time it was first written, when known
snippet string The text as its author wrote it
extracted_snippet object original, and translated: Google’s translation into hl when the review is in another language
likes, views integer
images list Photos in the review
user object name, link, contributor_id, thumbnail, local_guide, local_guide_level, badge, reviews, photos
details object Answers to Google’s questions (food: 5, what_did_you_get: "Dinner" …); keys in the language of hl
aspects list The same answers with language-free keys: key, label, rating, answer_key, answer
response object The owner’s reply: date, iso_date_of_last_edit, snippet, extracted_snippet, language, and iso_date when known
language string The review’s language
visit_date object When the author was there: year, month, label

GET /v1/maps/photos

A place’s photo gallery, page by page, one gallery tab or all of them. Costs 2 credits per page.

Parameter Required Type Default Description
place_id one of string, up to 256 characters Place ID (ChIJ…).
data_id one of string, up to 64 characters Data ID (0x…:0x…).
data_cid one of string, up to 32 characters CID: the decimal place number.
url one of string, up to 2048 characters A Google Maps link to the place, full or short (maps.app.goo.gl/…).
q one of string, up to 512 characters The place’s name with its address or city. Answered only when exactly one place matches.
category_id no string, up to 512 characters Gallery tab (categories[].id of the first page, or images[].category_id of the place). Omitted: all photos.
next_page_token no string, up to 4096 characters The pagination.next_page_token of the previous page.
cache no boolean: true or false true true: a recent copy of the place may answer (faster). false: read it live now.
hl no string, up to 12 characters en Language of the answer, such as en or pt-BR.
gl no string, up to 2 characters us Two-letter country code the search is made from.
google_domain no string, up to 64 characters Accepted for compatibility and echoed back; it does not change the answer.
  • The first page also lists the gallery’s tabs: categories, each with title and id.
  • photos_reported is how many photos Google counts for the gallery; it may change from page to page.
  • A page that comes with no photos after a next_page_token is not charged.
  • A first page (no next_page_token) with no photos on it, a gallery or tab with nothing in it, costs 1 credit instead of 2. A category_id the place has no tab for is refused (invalid_parameter) and not charged.
  • A photo: photo_id, thumbnail (as Google Maps shows it), image (the same photo at full size), width, height, and when known gps_coordinates, date, source.

Example request:

curl -G https://api.placegrid.net/v1/maps/photos \
  -H "Authorization: Bearer $PLACEGRID_API_KEY" \
  -d data_id=0x47e66e2964e34e2d:0x8ddca9ee380ef7e0

Example answer (shortened):

{
  "search_metadata": { "id": "req_5b2qk7m3x6v4w2z5c3n7p2ra5f", "status": "Success", "total_time_taken": 1.08, "from_cache": false },
  "search_parameters": { "engine": "google_maps", "type": "photos", "data_id": "0x47e66e2964e34e2d:0x8ddca9ee380ef7e0", "cache": true, "hl": "en", "gl": "us", "resolved_data_id": "0x47e66e2964e34e2d:0x8ddca9ee380ef7e0" },
  "categories": [{ "title": "All", "id": "CgIgAQ" }],
  "photos": [
    {
      "photo_id": "AF1QipExamplePhotoId",
      "thumbnail": "https://lh5.googleusercontent.com/p/AF1QipExamplePhotoId=w203-h270-k-no",
      "image": "https://lh5.googleusercontent.com/p/AF1QipExamplePhotoId=w3024-h4032-k-no",
      "width": 3024,
      "height": 4032,
      "date": "2026-10-02"
    }
  ],
  "photos_reported": 412,
  "pagination": { "next_page_token": "CAESBkNBb1FBZw" }
}

GET /v1/openapi.json

The OpenAPI 3.1 description of this API: every endpoint, parameter, field group, header and error code. It needs no key, costs nothing, and API tools in a browser may load it from any site (it is the one address under /v1 with CORS).


Regions

A scan takes regions from OpenStreetMap, each as { "type": "relation" | "node", "id": "<OSM id>" }:

  • a relation is an area with a boundary: a country, a region, a district;
  • a node is a city, town or village known as a point: a scan covers the area around it.

Find them by name, then walk down the tree. Region calls are free.

Fields of a region:

Field Type Meaning
type, id string What a scan takes: relation or node, and the OSM id as a string
name, name_en string The local name, and the English one when it differs
kind string country, region, district (areas); city, town, municipality, borough, suburb, village, quarter, neighbourhood, hamlet (points)
admin_level integer The OSM admin level of an area (2 country, 4 region, 6 district)
country_code string or null Two-letter code of its country
population integer When known
has_children boolean Regions lie inside it (see children)
scannable boolean false for the rare region a scan refuses (region_not_scannable): pick one above or below it
path list Where it lies, country first, itself left out: type, id, name

Regions by name, best first: the local name, the English one and its names in 12 more languages (Rom, Řím and Рим find Rome); a typo or a missing accent still finds the place. One page, so next_cursor is always null.

Parameter Required Type Default Description
q yes string, 2 to 200 characters The name to look for.
country no string, 2 letters Only regions of this country (fr, us).
limit no integer, 1 to 100 20 How many regions to return.
curl -G https://api.placegrid.net/v1/regions/search \
  -H "Authorization: Bearer $PLACEGRID_API_KEY" \
  -d q=lyon -d country=fr -d limit=5
{
  "regions": [
    {
      "type": "node",
      "id": "20626319",
      "name": "Lyon",
      "kind": "city",
      "country_code": "FR",
      "population": 522250,
      "has_children": false,
      "scannable": true,
      "path": [
        { "type": "relation", "id": "2202162", "name": "France" },
        { "type": "relation", "id": "3792877", "name": "Auvergne-Rhône-Alpes" },
        { "type": "relation", "id": "4850450", "name": "Métropole de Lyon" }
      ]
    },
    {
      "type": "relation",
      "id": "4850450",
      "name": "Métropole de Lyon",
      "kind": "district",
      "admin_level": 6,
      "country_code": "FR",
      "has_children": true,
      "scannable": true,
      "path": [
        { "type": "relation", "id": "2202162", "name": "France" },
        { "type": "relation", "id": "3792877", "name": "Auvergne-Rhône-Alpes" }
      ]
    }
  ],
  "next_cursor": null
}

GET /v1/regions/{type}/{id}

One region, with its path. type is relation or node; id the OSM id. An unknown one is region_not_found.

curl https://api.placegrid.net/v1/regions/relation/4850450 \
  -H "Authorization: Bearer $PLACEGRID_API_KEY"

GET /v1/regions/{type}/{id}/children

The regions inside a region, a page at a time.

Parameter Required Type Default Description
limit no integer, 1 to 100 100 Regions per page.
cursor no string The next_cursor of the previous page.
curl -G https://api.placegrid.net/v1/regions/relation/4850450/children \
  -H "Authorization: Bearer $PLACEGRID_API_KEY" -d limit=50

The answer is { "regions": [ … ], "next_cursor": "c32" }; next_cursor is null on the last page.


Scans

A scan finds every place of the types you name inside whole regions: countries, regions, districts, cities. A Maps search answers for one map window, at most about 120 places; a scan covers each region whole, however many places it holds, and keeps only the places inside its regions, each once.

  • Two steps. A free preview estimates how many places there are, what the full scan will cost and how long it will take. Then the full scan finds the places and pays for them. A scan may also go straight to the full scan (mode: "full").
  • Every place it finds. Closed places are kept too: business_status tells them apart.
  • Several countries may go in one scan.
  • Enriched, if you like. Emails, social profiles and phones from the places’ websites, a website check, full cards, reviews and photos, as the full scan finds the places or afterwards: see Enrichment.
  • The account’s, not the key’s. A scan belongs to the account: any of the account’s keys (or connected apps) sees, starts, enriches and cancels a scan another of them made, and GET /v1/scans lists them all.
  • In the app as well. A scan is a project of your PlaceGrid account, marked API: open it there (links.app) to see its places on the map, enrich them or export them.
  • Again later. Starting a scan again after a full scan makes a fresh full scan, and its places say what changed since the previous one: new, changed, or gone (result.missing).

A scan’s status:

status stage Meaning
previewing preview The preview is running
previewed preview The preview has ended: estimate holds the places, credits and time of the full scan
queued full The full scan waits for its turn
running full or enrich The full scan, or an enrichment of its result, is running; progress goes from 0 to 1
completed full or enrich Every region was searched, or every place picked was enriched; result counts the places
partial full or enrich It stopped before the end and kept what it found or made: stop_reason is budget (the cost limit or the balance ran out) or error
failed any The run could not be completed: error says what to do
cancelled any It was cancelled (stop_reason: user); a full scan keeps the places found and paid for, an enrichment the results made and paid for

stage: enrich is an enrichment of the scan’s latest full result (POST /v1/scans/{id}/enrich). It waits for no turn: it reads running from the start. A full scan with enrich reads running until the enrichment of its places is done too.

A scan from start to end

  1. Find the regions: GET /v1/regions/search?q=lyon&country=fr.
  2. Create the scan: POST /v1/scans with the regions and the place types. It answers 201 with status: previewing.
  3. Wait for the preview: the scan.previewed webhook, or GET /v1/scans/{id} every 10 to 30 seconds until status is previewed.
  4. Read estimate, then POST /v1/scans/{id}/start with a cost_limit.
  5. Wait for scan.completed (or poll until the status is completed, partial, failed or cancelled).
  6. Read the places: GET /v1/scans/{id}/places, page after page by next_cursor.
# 2. Create the scan (a preview), with a webhook
curl https://api.placegrid.net/v1/scans \
  -H "Authorization: Bearer $PLACEGRID_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: dentists-lyon-2026-11" \
  -d '{"regions":[{"type":"relation","id":"4850450"}],"place_types":["Dentist"],"webhook_url":"https://example.com/placegrid/webhook"}'

# 3. Its state
curl https://api.placegrid.net/v1/scans/SCAN_ID -H "Authorization: Bearer $PLACEGRID_API_KEY"

# 4. The full scan, spending at most 800 credits
curl https://api.placegrid.net/v1/scans/SCAN_ID/start \
  -H "Authorization: Bearer $PLACEGRID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"cost_limit":800}'

# 6. Its places, 500 a page
curl -G https://api.placegrid.net/v1/scans/SCAN_ID/places \
  -H "Authorization: Bearer $PLACEGRID_API_KEY" -d limit=500
import os
import time

import requests

API = "https://api.placegrid.net/v1"
session = requests.Session()
session.headers["Authorization"] = "Bearer " + os.environ["PLACEGRID_API_KEY"]


def wait(scan_id, done):
    """Poll the scan until its status is one of `done` (a webhook can replace this)."""
    while True:
        scan = session.get(f"{API}/scans/{scan_id}", timeout=90).json()
        if scan["status"] in done:
            return scan
        time.sleep(15)


scan = session.post(f"{API}/scans", timeout=90, json={
    "regions": [{"type": "relation", "id": "4850450"}],
    "place_types": ["Dentist", "Orthodontist"],
}).json()
scan = wait(scan["id"], {"previewed", "failed", "cancelled"})
print("about", scan["estimate"]["places"], "places for", scan["estimate"]["credits"], "credits")

session.post(f"{API}/scans/{scan['id']}/start", json={"cost_limit": "none"}, timeout=90).raise_for_status()
scan = wait(scan["id"], {"completed", "partial", "failed", "cancelled"})

places, cursor = [], None
while True:
    params = {"limit": 500, **({"cursor": cursor} if cursor else {})}
    page = session.get(f"{API}/scans/{scan['id']}/places", params=params, timeout=90).json()
    places += page["places"]
    cursor = page["next_cursor"]
    if not cursor:
        break
print(len(places), "places,", scan["result"]["credits_charged"], "credits")
// Node.js 18 or later
const API = 'https://api.placegrid.net/v1'
const headers = { Authorization: `Bearer ${process.env.PLACEGRID_API_KEY}`, 'Content-Type': 'application/json' }
const api = async (path, init = {}) => {
  const res = await fetch(`${API}${path}`, { headers, ...init })
  const body = await res.json()
  if (!res.ok) throw new Error(`${body.error}: ${body.message} (${body.request_id})`)
  return body
}
const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms))
async function wait(id, done) {
  for (;;) {
    const scan = await api(`/scans/${id}`)
    if (done.includes(scan.status)) return scan
    await sleep(15_000)
  }
}

let scan = await api('/scans', {
  method: 'POST',
  body: JSON.stringify({ regions: [{ type: 'relation', id: '4850450' }], place_types: ['Dentist'] }),
})
scan = await wait(scan.id, ['previewed', 'failed', 'cancelled'])
await api(`/scans/${scan.id}/start`, { method: 'POST', body: JSON.stringify({ cost_limit: 800 }) })
scan = await wait(scan.id, ['completed', 'partial', 'failed', 'cancelled'])

const places = []
for (let cursor = null; ;) {
  const page = await api(`/scans/${scan.id}/places?${new URLSearchParams({ limit: '500', ...(cursor ? { cursor } : {}) })}`)
  places.push(...page.places)
  cursor = page.next_cursor
  if (!cursor) break
}
console.log(places.length, 'places')

POST /v1/scans

Creates a scan and starts its first run: a preview (free), or the full scan. Free as a call; a full scan pays for its places (see Pricing).

The body is a JSON object, sent with Content-Type: application/json (at most 64 KB). A field it does not list is refused with invalid_parameter, naming it and the field it most likely meant, and nothing is created or charged; this holds for the bodies of /start and /enrich too:

Field Required Type Description
regions yes list of { "type", "id" } The regions to scan whole, as /v1/regions/* gives them.
place_types yes list of strings 1 to 200 place types, each 2 to 120 characters: Google Maps categories in English (Dentist, Coffee shop) or your own words.
language no string The language of the search, as hl (en, de, pt-BR). Default en.
mode no preview or full preview (the default) estimates; full scans.
cost_limit with full number or "none" The most the full scan may spend, in credits, or "none" for no maximum. Required with mode: "full"; not taken with a preview.
name no string Up to 120 characters. Default: the place types and the regions (Dentist in Métropole de Lyon).
webhook_url no string Where the scan’s events are posted: a public https:// address (see Webhooks).
enrich no object or null Enrich every place the full scan finds, as it finds it, under the same cost_limit: the types, each true or its options, such as { "contacts": { "level": "js" }, "website": true }. Kept with the scan for its later full scans. See Enrichment.

Idempotency-Key (a header, up to 200 characters): send one to make a retry safe. A repeat with the same key and the same body within 24 hours answers 200 with the scan the first request made, and starts nothing again; the same key with another body is idempotency_conflict. The body is compared as data: key order and spacing aside. A request that was refused leaves no scan behind, and its key free. Like the scans, an Idempotency-Key belongs to the account, not to the key that sent it: the same request with the same Idempotency-Key from another of the account’s keys answers with the scan the first one made.

It answers 201 with the new scan, or 200 on such a repeat.

GET /v1/scans

The scans of this account made through the API, newest first.

Parameter Required Type Default Description
limit no integer, 1 to 100 20 Scans per page.
cursor no string The next_cursor of the previous page.

The answer is { "scans": [ … ], "next_cursor": … }.

GET /v1/scans/{id}

A scan as it stands now.

{
  "id": "7d2f5c1e-3b8a-4c6d-9e0f-1a2b3c4d5e6f",
  "name": "Dentist in Métropole de Lyon",
  "status": "previewed",
  "stage": "preview",
  "regions": [{ "type": "relation", "id": "4850450", "name": "Métropole de Lyon" }],
  "place_types": ["Dentist"],
  "language": "en",
  "progress": 1,
  "estimate": {
    "places": 640,
    "places_low": 590,
    "places_high": 705,
    "credits": 640,
    "credits_low": 590,
    "credits_high": 705,
    "duration_sec": 420,
    "enrichment": null
  },
  "result": null,
  "cost_limit": null,
  "stop_reason": null,
  "error": null,
  "webhook_url": "https://example.com/placegrid/webhook",
  "enrich": null,
  "enrichment": null,
  "created_at": "2026-11-11T10:00:00.000Z",
  "updated_at": "2026-11-11T10:02:41.000Z",
  "started_at": "2026-11-11T10:00:01.000Z",
  "ended_at": "2026-11-11T10:02:40.000Z",
  "links": {
    "self": "https://api.placegrid.net/v1/scans/7d2f5c1e-3b8a-4c6d-9e0f-1a2b3c4d5e6f",
    "places": "https://api.placegrid.net/v1/scans/7d2f5c1e-3b8a-4c6d-9e0f-1a2b3c4d5e6f/places",
    "app": "https://placegrid.net/app/projects/7d2f5c1e-3b8a-4c6d-9e0f-1a2b3c4d5e6f/preview"
  }
}
Field Meaning
id, name The scan’s ID (also its project’s in the app) and name
status, stage See the table above; stage says which run the status is about: preview, full, or enrich (an enrichment of the result)
regions, place_types, language What it scans
progress 0 to 1 for the run in progress; 1 once it ended. For an enrichment, the share of its results that are settled
estimate After a preview: places with places_low and places_high, the full scan’s credits with credits_low and credits_high (at today’s prices), duration_sec, and enrichment: what the scan’s enrich adds to them, or null (see During the full scan); null before
result After a full scan: places in the result, how many are new, changed, missing since the previous full result (a first result: all new), and credits_charged: what the result cost in all, its full scan and every enrichment made on it; null before
cost_limit The limit of the run shown: the full scan’s, or the enrichment’s at stage: enrich; in credits, "none", or null before a full scan
stop_reason Why the run shown stopped early: budget, user, error; else null
error The run shown failed: its code (scan_failed) and message, in our words; else null
webhook_url Where its events go, or null
enrich The types its full scans enrich with, with the values in force (contacts with its level, reviews and photos with their max_per_place, the others true); null for none
enrichment The enrichment of the run in progress, or of the latest run that enriched: see Progress; null when no run enriched
created_at, updated_at, started_at, ended_at Times (ISO 8601, UTC) of the scan and of its latest run
links self, its places, and app: the scan in the PlaceGrid app

POST /v1/scans/{id}/start

Starts the full scan. The body: { "cost_limit": 800 } (credits) or { "cost_limit": "none" }, required, and enrich if you like: as on create, it sets the types the full scan enriches with; "enrich": null switches it off, and leaving it out keeps the scan’s. A start that is refused leaves the scan’s enrich as it was.

  • After a finished preview the full scan continues from it: what the preview searched is not searched again.
  • After a full scan it is a fresh full scan of the regions: its places are paid for again, and compared with the previous result (change of each place, result.new, changed, missing).
  • A scan whose preview failed or was cancelled, and that never had a full scan, has nothing to start from: scan_not_previewed. Create it again.
  • While a run goes: scan_busy.

It answers 200 with the scan, now queued or running.

POST /v1/scans/{id}/cancel

Stops the run in progress (a preview, a full scan or an enrichment); no body. A preview ends cancelled; a full scan ends cancelled and keeps the places it found and paid for, which places lists; an enrichment keeps the results it made and paid for. The status turns cancelled once the run has stopped, usually within seconds. With no run going, it answers the scan as it is. It answers 200 with the scan.

GET /v1/scans/{id}/places

The places of the scan’s latest full result, in the order they were found.

Parameter Required Type Default Description
limit no integer, 1 to 500 100 Places per page. With reviews or photos in include: 1 to 50, and 50 by default.
cursor no string The next_cursor of the previous page.
change no new, changed or same Only the places with this change.
include no contacts, website, details, reviews, photos or all, comma-separated Enrichment results to add to each place, as enrichment: see Results.

An example page (shortened; the scan and its places are made up):

{
  "scan_id": "7d2f5c1e-3b8a-4c6d-9e0f-1a2b3c4d5e6f",
  "places": [
    {
      "position": 1,
      "title": "Cabinet Dentaire Exemple",
      "place_id": "ChIJexampleExampleExample02",
      "data_id": "0x47f4ea5100000003:0x3c4d5e6f708192a3",
      "data_cid": "4345233048204317347",
      "gps_coordinates": { "latitude": 45.7640, "longitude": 4.8357 },
      "address": "8 Rue de l'Exemple, 69002 Lyon",
      "address_components": { "city": "Lyon", "country_code": "FR" },
      "phone": "04 00 00 00 00",
      "phone_international": "+33400000000",
      "website": "https://dentaire.example/",
      "website_domain": "dentaire.example",
      "rating": 4.8,
      "reviews": 212,
      "type": "Dentist",
      "types": ["Dentist", "Orthodontist"],
      "business_status": "operational",
      "change": "new",
      "first_seen_at": "2026-11-11T10:12:03.000Z"
    }
  ],
  "next_cursor": "N2QyZjVjMWUtM2I4YS00YzZkLTllMGYtMWEyYjNjNGQ1ZTZmLjEwMA",
  "total": 655
}
  • A place has the field names of a Maps search place where one exists; a field with no value is left out.
  • change is against the scan’s previous full result: new, changed (with changed_fields: title, address, phone, website, type, business_status, gps_coordinates) or same. In a first result every place is new.
  • Places of the previous result that this one did not find are not listed: result.missing counts them.
  • total is how many places the result holds (with change, how many of that kind).
  • No full result yet: an empty page, total: 0.
  • A cursor keeps to the result it was made on: paging goes on through it even when a newer full scan ends meanwhile.

Fields of a scan’s place:

Field Type Meaning
position integer From 1, running on across pages
title, place_id, data_id, data_cid string The name and the place’s IDs, as in a Maps search
gps_coordinates object latitude, longitude
address, address_components string, object The address, and its city and country_code
phone, phone_international string As shown, and in international form
website, website_domain string The website, and its domain
rating, reviews number, integer Rating and number of reviews
type, types string, list The main category and every category, in the scan’s language
type_id, type_ids, price, thumbnail When known
business_status string operational, closed_temporarily or closed_permanently
change, changed_fields string, list Against the previous full result
first_seen_at string When a scan of this project first found the place (ISO 8601)
enrichment object With include: the place’s latest result of each type asked for (see Results); absent when it has none

For a place’s full card, reviews or photos, ask /v1/maps/place, /v1/maps/reviews or /v1/maps/photos with its data_id; for those of every place, enrich the scan’s places and read them with include.


Enrichment

Enrichment adds what a scan does not bring: the emails, social profiles and phones on each place’s website, a check of the website, the full Google Maps card, reviews and photos. It is the enrichment of the PlaceGrid app, at the app’s prices (Enrichment prices), and a scan’s results show in the app too.

There are two ways to it:

  • As the full scan finds the places. Give the scan enrich (on POST /v1/scans or POST /v1/scans/{id}/start): each place is enriched as soon as it is found, under the scan’s own cost_limit, and the preview’s estimate prices it. See During the full scan.
  • Afterwards. POST /v1/scans/{id}/enrich enriches the places of the scan’s latest full result (all of them, the new or changed ones, or those you list) under a cost_limit of its own. With dry_run: true it gives the quote and starts nothing.

Either way the results come with the places: GET /v1/scans/{id}/places?include=contacts,website (see Results).

Types and levels

Type What it brings For Charged per
contacts Emails, each with its type, social profiles and phones found on the place’s website, each with the page it was found on; a booking link; where the website leads when it is not simply the business’s own site places with a website place where an email or a social profile is found
website A check of the website: whether it works and where it leads, HTTPS and its certificate, what it is built with, ad pixels, analytics, booking systems places with a website place checked
details The full Google Maps card: categories, description, opening hours, the menu or services with their prices, the owner’s posts, the rating by stars, booking and order links, the owner, the photo count, the amenities every place place
reviews Google reviews, newest first: text, rating, date, author and the owner’s reply, with the topics they mention and figures over them places with reviews review collected
photos Google Maps photos and the gallery’s tabs places with photos photo collected

contacts reads the website at one of four levels, cheapest first. A result made at a level stands for that level and the ones before it.

Level How the website is read
standard The home page, then its contact, imprint and about pages, as the site serves them. The default
js The same pages, shown in a browser first: finds contacts on sites built by scripts, which show nothing otherwise
ai Pages shown in a browser and read by AI, which picks the contacts and chooses the next pages to open
ai_social As ai, and the business’s own profiles on social networks, within a fixed budget per place

The choice of types

enrich (on a scan) and types (on POST /v1/scans/{id}/enrich) name the types to run: each true for its defaults, or an object of its options. A type left out, or false, is not run.

{ "contacts": { "level": "js" }, "website": true, "reviews": { "max_per_place": 50 } }
Option Of Values Default
level contacts standard, js, ai, ai_social standard
max_per_place reviews integer, 1 to 500 20
max_per_place photos integer, 1 to 100 10
redo every type, on POST /v1/scans/{id}/enrich only true or false false
  • A type or an option this API does not know is invalid_parameter, and param names the field (enrich.contacts.depth, types.menu).
  • A type or a level that cannot run at the moment is enrich_type_not_available. Nothing is started or changed.

During the full scan

With enrich on POST /v1/scans or POST /v1/scans/{id}/start, the full scan enriches every place as soon as it finds it. One hold, the scan’s cost_limit, pays for the places and their enrichment, and the scan ends (completed, the scan.completed webhook) once both are done.

  • enrich is kept with the scan: its later full scans enrich their places too. start with enrich changes it, "enrich": null switches it off, and a start without it keeps it. A start that is refused leaves it as it was.
  • {}, or types that are all false, is no enrichment: the scan’s enrich reads null.
  • A place may keep a result it already has from an earlier run instead of being enriched again: such a result is counted as reused in enrichment and is not charged.
  • GET /v1/scans/{id} shows the scan’s enrich with the values in force, and the enrichment’s progress in enrichment.

A preview made with enrich prices it. estimate.enrichment lists what each type adds, and estimate.credits, its range and duration_sec include it:

"estimate": {
  "places": 640,
  "places_low": 590,
  "places_high": 705,
  "credits": 1688,
  "credits_low": 1555.75,
  "credits_high": 1859.25,
  "duration_sec": 900,
  "enrichment": {
    "credits": 1048,
    "credits_low": 965.75,
    "credits_high": 1154.25,
    "types": [
      { "type": "contacts", "level": "standard", "places": 544, "credits": 408 },
      { "type": "details", "level": null, "places": 640, "credits": 640 }
    ]
  }
}
  • estimate.enrichment has credits, credits_low and credits_high, what the enrichment most likely costs and its range, and types: each type’s type, level, places and credits.
  • estimate.enrichment is there whenever estimate is: null without enrich, and when the preview’s sample of places could not be read (estimate.credits is then the scan’s alone).
  • For contacts it counts every place with a website: it is the most the type can cost, since only places where something is found are charged.

POST /v1/scans/{id}/enrich

Enriches the places of the scan’s latest full result under a hold of its own; nothing is scanned. It is the Enrich of the app’s results. Free as a call: the enrichment pays for its results.

Field Required Type Description
types yes object The types to run (the choice), each with redo besides its options. At least one.
places no object Which places of the latest full result: change (all, the default, or new, changed, same, against the previous full result) and ids (1 to 5000 places, by the data_id or place_id that /places gives). With both, the places that match both. Default: all of them.
cost_limit unless dry_run number or "none" The most it may spend, in credits, or "none" for no maximum.
dry_run no boolean true: the quote only. Nothing starts, nothing is held or charged. Default false.
  • redo: false (the default) leaves a place that already has a result of the type fit to keep (something found, or found that there was nothing, at this level and cap or more), and charges nothing for it. redo: true makes it again, and it is charged again.
  • An id that is not a place of the latest full result is invalid_parameter, naming it. types: {}, or only false types, is invalid_parameter too.
  • The scan has no full result yet: no_result_to_enrich. Nothing to do for the places picked: nothing_to_enrich. A run of the scan in progress, a preview or a full scan or another enrichment: scan_busy.
  • With a cost_limit it answers 200 with the scan, now stage: enrich and status: running, its cost_limit the enrichment’s. Wait for the enrichment.completed webhook, or poll GET /v1/scans/{id} until the status is completed, partial, failed or cancelled, then read the results with include. POST /v1/scans/{id}/cancel stops it and keeps what it made and paid for.
  • The hold works as a full scan’s: the credits are held when it starts and what is not spent comes back when it ends; with "none" a small amount is held and grows as the work goes, while your balance and limits allow. One that reaches its limit or the end of the balance ends partial with stop_reason: budget; the places it did not reach say stopped_by_cost_limit.
# The quote: nothing starts
curl https://api.placegrid.net/v1/scans/SCAN_ID/enrich \
  -H "Authorization: Bearer $PLACEGRID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"types":{"contacts":{"level":"js"},"website":true},"places":{"change":"new"},"dry_run":true}'

# The enrichment, spending at most 500 credits
curl https://api.placegrid.net/v1/scans/SCAN_ID/enrich \
  -H "Authorization: Bearer $PLACEGRID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"types":{"contacts":{"level":"js"},"website":true},"places":{"change":"new"},"cost_limit":500}'

# Once it has ended: the places with their results
curl -G https://api.placegrid.net/v1/scans/SCAN_ID/places \
  -H "Authorization: Bearer $PLACEGRID_API_KEY" -d change=new -d include=contacts,website

With dry_run: true it answers the quote:

{
  "scan_id": "7d2f5c1e-3b8a-4c6d-9e0f-1a2b3c4d5e6f",
  "places": 655,
  "places_enriched": 648,
  "types": [
    { "type": "contacts", "level": "standard", "max_per_place": null, "redo": false, "places_applicable": 590, "places_kept": 0, "places": 590, "credits": 442.5 },
    { "type": "reviews", "level": null, "max_per_place": 20, "redo": false, "places_applicable": 648, "places_kept": 0, "places": 648, "credits": 1968 }
  ],
  "credits": 2410.5,
  "duration_sec": 1260,
  "nothing_to_do": false,
  "busy": false
}
Field Meaning
scan_id The scan
places Places picked by places
places_enriched Of them, places some type would enrich
types Per type: type, level (contacts), max_per_place (reviews, photos), redo; places_applicable: the places it applies to (with a website for contacts and website, with reviews for reviews, with photos for photos, every place for details); places_kept: of them, those with a result fit to keep, left as they are; places: those it would enrich; credits
credits The total, at today’s prices (a running discount included). For contacts it is the most it can cost
duration_sec About how long it would take, in seconds; null when that is not known, 0 with nothing to do
nothing_to_do true: a start would be refused (nothing_to_enrich)
busy true: the scan has a run in progress (a preview, a full scan or an enrichment), so a start now would be refused (scan_busy); the quote itself stands

Progress

A scan’s enrichment follows the enrichment of the run in progress, or of the latest run that enriched: a full scan with enrich, or an enrichment of the result. It is null when no run of the scan enriched.

"enrichment": {
  "stage": "enrich",
  "types": [
    { "type": "contacts", "level": "js", "max_per_place": null, "places": 590, "done": 251, "empty": 188, "source_failed": 61, "failed": 4, "skipped": 0, "pending": 86, "reused": 0, "credits_charged": 1066.75 }
  ],
  "credits_charged": 1066.75
}
Field Meaning
stage The run it follows: full (a full scan with enrich) or enrich (an enrichment of the result)
types Per type: type, its level (contacts) or max_per_place (reviews, photos), and the counts below
places Places queued for the type so far (a full scan adds them as it finds them): the sum of done, empty, source_failed, failed, skipped and pending
done Results with something found
empty Nothing found
source_failed The place’s own source failed: its website does not work, or Google Maps no longer lists the place
failed Failed on our side: not charged, tried again by the next enrichment
skipped Left without a result because the run stopped first: its cost limit or the balance ran out, or it was cancelled. Not charged; these places carry skipped with the reason in Results
pending Still to do
reused Results kept from before: not made again, not charged
credits_charged What the type has charged so far; beside types, what they all have

Results

GET /v1/scans/{id}/places?include=… adds enrichment to each place: for each type asked for, the place’s latest result. include takes contacts, website, details, reviews and photos, comma-separated, or all.

  • A type the place has no result of is left out, and so is enrichment when the place has none.
  • With reviews or photos in include a page holds at most 50 places, and 50 when limit is not given: each place carries every review and photo collected.
  • The results are the ones the app shows for the same places: a place enriched in the app comes with its results here too.
{
  "position": 1,
  "title": "Cabinet Dentaire Exemple",
  "data_id": "0x47f4ea5100000003:0x3c4d5e6f708192a3",
  "website": "https://dentaire.example/",
  "change": "new",
  "enrichment": {
    "contacts": {
      "status": "done",
      "enriched_at": "2026-11-11T10:14:20.000Z",
      "credits_charged": 0.75,
      "data": {
        "level": "standard",
        "emails": [
          { "email": "contact@dentaire.example", "type": "general", "found_on": "https://dentaire.example/contact", "found_via": "link" },
          { "email": "marie.dupont@dentaire.example", "type": "person", "found_on": "https://dentaire.example/equipe", "found_via": "text" }
        ],
        "phones": [{ "phone": "+33 4 00 00 00 01", "found_on": "https://dentaire.example/contact", "found_via": "link" }],
        "social_profiles": [{ "network": "facebook", "url": "https://www.facebook.com/cabinetdentaireexemple", "found_on": "https://dentaire.example/", "found_via": "link" }],
        "booking_url": "https://booking.example/cabinet-dentaire-exemple"
      }
    },
    "website": {
      "status": "done",
      "enriched_at": "2026-11-11T10:14:05.000Z",
      "credits_charged": 2.25,
      "data": {
        "state": "ok",
        "url": "https://dentaire.example/",
        "http_status": 200,
        "https": { "state": "valid", "issuer": "Let's Encrypt", "valid_until": "2027-01-20T23:59:59.000Z", "protocol": "TLSv1.3", "redirects_to_https": true },
        "cms": "WordPress",
        "cms_version": "6.6",
        "ad_pixels": ["meta"],
        "analytics": ["google_analytics", "google_tag_manager"],
        "booking_systems": ["Example Booking"],
        "booking_url": "https://booking.example/cabinet-dentaire-exemple"
      }
    },
    "details": {
      "status": "done",
      "enriched_at": "2026-11-11T10:13:58.000Z",
      "credits_charged": 1,
      "data": {
        "primary_category": "Dentist",
        "categories": ["Dentist", "Orthodontist", "Teeth whitening service"],
        "description": "A family dental practice in the heart of Lyon.",
        "hours": [{ "day": "monday", "hours": "8:30 AM–7 PM" }, { "day": "sunday", "hours": "Closed" }],
        "menu": [{ "section": "Treatments", "items": [{ "name": "Scale and polish", "price": "€60" }, { "name": "Teeth whitening", "price": "From €250", "duration": "1 hr" }] }],
        "menu_items": 2,
        "menu_priced": true,
        "owner_posts": [{ "title": "Open on Saturdays in December", "published_at": "2026-11-02T09:00:00.000Z", "button_label": "Book", "button_url": "https://booking.example/cabinet-dentaire-exemple" }],
        "last_post_at": "2026-11-02T09:00:00.000Z",
        "rating_histogram": { "1": 6, "2": 2, "3": 4, "4": 18, "5": 182 },
        "popular_times": true,
        "booking_url": "https://booking.example/cabinet-dentaire-exemple",
        "owner_name": "Cabinet Dentaire Exemple",
        "photos_total": 48,
        "attributes": ["Wheelchair-accessible entrance", "Appointment required"]
      }
    },
    "reviews": {
      "status": "done",
      "enriched_at": "2026-11-11T10:14:31.000Z",
      "credits_charged": 4,
      "data": {
        "collected": 20,
        "average_rating": 4.7,
        "first_review_at": "2025-12-03T00:00:00.000Z",
        "last_review_at": "2026-11-08T00:00:00.000Z",
        "reviews_per_month": 1.8,
        "reply_rate": 0.65,
        "topics": [{ "keyword": "painless", "mentions": 21 }],
        "reviews": [
          {
            "review_id": "ChZDSUhNMG9nS0VJQ0FnSUNleGFtcGxl",
            "rating": 5,
            "date": "2026-11-08T00:00:00.000Z",
            "text": "Very gentle, and explained everything before starting.",
            "author": "Claire M.",
            "author_reviews": 14,
            "local_guide": true,
            "likes": 2,
            "language": "en",
            "owner_reply": { "date": "2026-11-09T00:00:00.000Z", "text": "Thank you, Claire!" }
          }
        ]
      }
    },
    "photos": {
      "status": "done",
      "enriched_at": "2026-11-11T10:14:12.000Z",
      "credits_charged": 2.5,
      "data": {
        "collected": 10,
        "total_reported": 48,
        "categories": ["All", "By owner", "Street View"],
        "photos": [
          { "photo_id": "AF1QipExampleExample01", "url": "https://lh5.googleusercontent.com/p/AF1QipExampleExample01=w4032-h3024", "thumbnail": "https://lh5.googleusercontent.com/p/AF1QipExampleExample01=w203-h152", "width": 4032, "height": 3024, "date": "2026-05-14" }
        ]
      }
    }
  }
}

A result that failed says why, and keeps where the website led when that is known:

"contacts": {
  "status": "failed",
  "enriched_at": "2026-11-11T10:16:41.000Z",
  "reason": { "code": "website_parked", "message": "The domain is parked, for sale or shows a placeholder. Nothing was charged." },
  "data": { "website_leads_to": { "kind": "parked" } }
}

Every result has:

Field Meaning
status done (something found), empty (nothing found), failed, skipped (left when the run stopped), pending (still to do, or being done)
enriched_at When it was made (ISO 8601): done, empty and failed
credits_charged What it was charged; absent when nothing
reason failed and skipped: its code and message (see Reasons)
data done: what was found. empty: only when something was found all the same (phones on the website, where the website led). failed: only where the website led, when known (website_leads_to of contacts, leads_to of the website check). Absent otherwise

A field with no value is left out, here as in every answer.

contacts

Field Meaning
level The level it was made at
emails email; type: general, person, department, branch, or other (the type is told from the address only where that is reliable; other otherwise); department for a department’s mailbox: orders, sales, service, events, management, finance, jobs, marketing or legal; found_on and found_via
phones Phones the website lists, with found_on and found_via (Google’s own number is the place’s phone)
social_profiles network (facebook, instagram, linkedin, x, youtube, tiktok, pinterest…), url, found_on, found_via
booking_url A booking link found
website_leads_to When the website is not simply the business’s own site: its kind, and the url it led to when that is another site

found_on is the page a contact was found on; found_via says how:

found_via Meaning
link A mailto: or tel: link, or a link to the profile or the booking page
text Written in the page’s text
obfuscated Written against harvesters (name [at] domain, or put together by a script)
markup In the page’s structured data, not shown on it
ai Read on the page by AI, and checked against the page
website The website Google Maps lists is this profile or booking page itself; found_on is the place on Google Maps

website_leads_to.kind:

kind Meaning
moved A new site of the same business: it was read there
linkpage A page of links: only its links were taken
social A social network’s page: not read further
booking A booking system’s page: not read further
messenger A chat link: not read further
maps Google Maps: not read further
directory A business directory’s page about the place: its contacts are the directory’s, so it was not read
parked A parked or for-sale domain, or a placeholder: the result is failed
elsewhere A site that is not this business’s: the result is failed

website

Field Meaning
state What the website turned out to be (below)
url The address checked
leads_to Where it led, when that is another site
platform With state: platform, whose page it is: social, booking, messenger, maps, directory or linkpage
error With state: error, which: no_page (no page at the address), server_error, not_a_page, not_rendered (the page never finished loading), blank
http_status The HTTP status its page answered with
https state (below), issuer, valid_until (when the certificate ends), protocol, and redirects_to_https: whether its http:// address leads to https://
cms, cms_version What the site is built with (a CMS, a site builder, a shop platform), and its version when the site says it
ad_pixels meta, google_ads, tiktok, linkedin, pinterest, snapchat, microsoft, x, reddit
analytics google_analytics, google_tag_manager, yandex_metrica, hotjar, clarity, matomo
booking_systems, booking_url The booking systems the site uses, by name, and a link to the place’s own page on one

ad_pixels, analytics and booking_systems are lists only when a page of the site could be read ([]: none found); absent, they are not known.

state Meaning
ok A working site of the place’s own
moved It leads to a new site of the same business, which works
blocked It answers, but closes itself to automated reading: its visitors see it
error It answers with an error (error says which)
down It does not answer
gone Its domain does not exist
parked A parked or for-sale domain, a host’s placeholder, or a site closed on its builder
elsewhere Another business’s site, such as an expired domain sold on
platform No site of its own: a social profile, a booking page, a chat link, Google Maps, a directory’s page or a page of links (platform says which)
invalid Not a public web address
https.state Meaning
valid A certificate browsers trust, for this name
incomplete_chain The server leaves out an intermediate certificate: most browsers show no warning, some clients fail
expired The certificate has expired
not_yet_valid The certificate is not valid yet
wrong_name A certificate for another name
self_signed A self-signed certificate
untrusted Another certificate no browser trusts
none No HTTPS at all

details

Field Meaning
primary_category, categories The main category and every category, in the scan’s language
description The card’s description
hours Per day: day (monday to sunday) and hours, as the card writes them
menu The card’s menu, services or products, by section: each item’s name, price, description, duration and booking_url, as Google writes them; at most 500 items
menu_items, menu_priced How many items the card lists, and whether one of them has a price
owner_posts Up to 10 of the owner’s posts, newest first: title, text, published_at (or date_text as Google shows it), button_label, button_url, image_url, url
last_post_at When the owner last posted
rating_histogram Reviews per star: { "1": n, … "5": n }
popular_times true when the card shows popular times
booking_url, order_url Where to book, and where to order online
claimed false when Google marks the listing as not claimed by its owner. Google marks only unclaimed listings, so true does not come today: absent means not marked so
owner_name The owner’s name as the card shows it
photos_total How many photos the place has on Google (Google’s own count; it drifts)
attributes What the card says the place has or offers, as Google words it in the scan’s language: only what it marks as present, without their groups, at most 60

reviews

Field Meaning
collected Reviews collected, up to max_per_place
average_rating Their average rating
first_review_at, last_review_at The dates of the oldest and the newest of them
reviews_per_month How many a month they come at
reply_rate The share of them the owner answered, 0 to 1
topics What the reviews mention, as Google lists it: keyword, mentions
reviews Newest first: review_id, rating, date (ISO 8601, when Google gives one) or date_text (as Google shows it), text, author, author_reviews, local_guide, likes, language, and owner_reply with its date and text

photos

Field Meaning
collected Photos collected, up to max_per_place
total_reported Google’s count of the gallery (it drifts)
categories The gallery’s tabs as Google names them
photos photo_id, url, thumbnail, width, height, date

Reasons

A failed or skipped result says why in reason, in these words. Nothing is charged for any of them. The place’s own marks a failure of the place’s website or of its listing, not ours: such a result stands as the place’s answer, as a result would, and redo: true makes it again. A result that failed on our side is tried again by the next enrichment.

reason.code The place’s own reason.message
website_does_not_exist yes The website’s domain does not exist. Nothing was charged.
website_page_not_found yes The website answers that the page does not exist. Nothing was charged.
website_unreachable yes The website does not answer, or answers only with an error. Nothing was charged.
website_refused yes The website refuses automated visits. Nothing was charged.
website_not_rendered yes The website’s pages never finished loading. A deeper contacts level may read it. Nothing was charged.
website_parked yes The domain is parked, for sale or shows a placeholder. Nothing was charged.
website_elsewhere yes The website leads to a site that is not this business’s. Nothing was charged.
website_not_a_page yes The website address is not a web page. Nothing was charged.
website_not_public yes The website address is not a public web address. Nothing was charged.
place_not_listed yes Google Maps no longer lists this place. Nothing was charged.
stopped_by_cost_limit no The run reached its cost limit or the balance ran out before this place. Nothing was charged.
stopped no The run was stopped before this place. Nothing was charged.
failed no This result could not be completed. Nothing was charged; it is tried again by the next enrichment.

Webhooks

Give a scan a webhook_url and we POST each end of its runs there, so your server need not poll.

Event When
scan.previewed The preview has ended: the estimate is ready
scan.completed The full scan has ended, whole (completed) or stopped early (partial): see data.scan.status
scan.failed A run could not be completed
scan.cancelled A run was cancelled
enrichment.completed An enrichment of the result (POST /v1/scans/{id}/enrich, or one started in the app) has ended, whole (completed) or stopped early (partial): see data.scan.status
enrichment.failed An enrichment of the result could not be completed
enrichment.cancelled An enrichment of the result was cancelled

A full scan with enrich sends scan.completed once the enrichment of its places is done too; an enrichment’s events carry the scan at stage: enrich.

The body is JSON: the event’s id, its type, created_at, and the scan as it stood at that moment (as GET /v1/scans/{id} shows it). Here the scan is shortened:

{
  "id": "evt_k2m7xv3wz6c5b2n7p3radt5eq4",
  "type": "scan.previewed",
  "created_at": "2026-11-11T10:02:41.000Z",
  "data": { "scan": { "id": "7d2f5c1e-3b8a-4c6d-9e0f-1a2b3c4d5e6f", "status": "previewed", "estimate": { "places": 640, "credits": 640 } } }
}

The request carries Content-Type: application/json, PlaceGrid-Signature (below), PlaceGrid-Event-Id (the event’s id) and User-Agent: PlaceGrid-Webhooks/1.0.

  • The address is a public https:// URL without a user name or password, up to 2048 characters. It is checked when the scan is created (webhook_url_not_allowed) and again before every delivery.
  • Answer with any 2xx within 10 seconds, then do the work: a slower answer counts as a failure. A redirect is not followed and counts as a failure too.
  • Retries. A delivery that failed is sent again after 1 minute, 5 minutes, 30 minutes, 2 hours, 6 hours and 12 hours, then given up. The API tab lists the deliveries with their outcome and can send one again.
  • Deduplicate by id. The same event can arrive more than once (a retry after an answer that was lost), with the same id every time. Events of different runs may also arrive out of order: for the scan as it is now, read GET /v1/scans/{id}.

The signing secret

Every delivery is signed with your account’s secret, whsec_…, made in the API tab of the app (section Webhooks). The whole string, whsec_ included, is the key: use it exactly as shown. It is shown whole once, when made; a new one replaces the old at once.

If a scan with a webhook_url ends before you ever made a secret, one is made for that delivery: make a new one in the API tab to see it whole.

Checking the signature

PlaceGrid-Signature: t=1762855361,v1=6a1f0c3e9b…
  1. Take t (unix seconds) and v1 (there may be more than one v1: one match is enough).
  2. Refuse a t more than 5 minutes from your clock: an old request replayed is refused that way.
  3. Compute HMAC-SHA256 of t, a dot and the raw body ("<t>.<body>"), with the whole secret as the key, and write it in hex.
  4. Compare it with v1 in constant time.

Check the body exactly as it arrived, before any JSON parsing: JSON read and written again is not the same bytes.

# Python (Flask)
import hashlib
import hmac
import os
import time

from flask import Flask, abort, request

SECRET = os.environ["PLACEGRID_WEBHOOK_SECRET"]  # the whole whsec_... string
TOLERANCE = 300  # seconds

app = Flask(__name__)


def verify(raw_body: bytes, header: str) -> bool:
    pairs = [part.strip().split("=", 1) for part in header.split(",") if "=" in part]
    t = next((value for key, value in pairs if key == "t"), "")
    signatures = [value for key, value in pairs if key == "v1"]
    if not t.isdigit() or not signatures:
        return False
    now = int(time.time())
    if max(now, int(t)) > min(now, int(t)) + TOLERANCE:
        return False
    expected = hmac.new(SECRET.encode(), t.encode() + b"." + raw_body, hashlib.sha256).hexdigest()
    return any(hmac.compare_digest(expected, signature) for signature in signatures)


@app.post("/placegrid/webhook")
def placegrid_webhook():
    raw = request.get_data()  # the raw bytes
    if not verify(raw, request.headers.get("PlaceGrid-Signature", "")):
        abort(400)
    event = request.get_json()
    # Skip an event.id you have seen; queue the work; answer at once.
    return "", 204
// Node.js (Express)
import crypto from 'node:crypto'
import express from 'express'

const SECRET = process.env.PLACEGRID_WEBHOOK_SECRET // the whole whsec_... string
const TOLERANCE = 300 // seconds

function verify(rawBody, header) {
  const pairs = String(header ?? '').split(',').map((part) => part.trim().split('='))
  const t = pairs.find(([key]) => key === 't')?.[1] ?? ''
  const signatures = pairs.filter(([key]) => key === 'v1').map(([, value]) => value)
  if (!/^\d+$/.test(t) || signatures.length === 0) return false
  const now = Math.floor(Date.now() / 1000)
  if (Math.max(now, Number(t)) > Math.min(now, Number(t)) + TOLERANCE) return false
  const expected = Buffer.from(crypto.createHmac('sha256', SECRET).update(`${t}.`).update(rawBody).digest('hex'))
  return signatures.some((signature) => {
    const given = Buffer.from(signature)
    return given.length === expected.length && crypto.timingSafeEqual(given, expected)
  })
}

const app = express()
// express.raw keeps the body as bytes: the signature is over them.
app.post('/placegrid/webhook', express.raw({ type: 'application/json' }), (req, res) => {
  if (!verify(req.body, req.get('PlaceGrid-Signature'))) return res.sendStatus(400)
  const event = JSON.parse(req.body.toString('utf8'))
  // Skip an event.id you have seen; queue the work; answer at once.
  res.sendStatus(204)
})
app.listen(3000)

Account

GET /v1/account

What the key in use (or the connected app) may spend now, and at what price. Free; it counts as a request to the key’s limits. Call it before anything that costs much, and have an agent call it first.

curl https://api.placegrid.net/v1/account -H "Authorization: Bearer $PLACEGRID_API_KEY"
{
  "unlimited": false,
  "credits_available": 8412.5,
  "credits_held": 800,
  "debt": 0,
  "paid_by": "account",
  "caller": {
    "id_prefix": "pg_abcd2345…",
    "name": "Production server",
    "kind": "api_key",
    "limits": { "requests_per_minute": 300, "concurrent_requests": 10, "daily_credits": null, "monthly_credits": 50000 },
    "spent_today": 112.75,
    "spent_this_month": 3270.5
  },
  "account_limits": { "requests_per_minute": 900, "concurrent_requests": 30 },
  "monthly_limit": null,
  "prices": {
    "maps": [
      { "endpoint": "maps.search", "path": "/v1/maps/search", "per": "one page of up to 20 places", "credits": 1 },
      { "endpoint": "maps.place", "path": "/v1/maps/place", "per": "one full place card", "credits": 1, "live_credits": 2 },
      { "endpoint": "maps.reviews", "path": "/v1/maps/reviews", "per": "one page of up to 20 reviews", "credits": 3, "empty_first_page_credits": 1 },
      { "endpoint": "maps.photos", "path": "/v1/maps/photos", "per": "one page of photos", "credits": 2, "empty_first_page_credits": 1 }
    ],
    "scan_place": 1,
    "enrich": [
      { "type": "contacts", "level": "standard", "per": "place", "credits": 0.75 },
      { "type": "contacts", "level": "js", "per": "place", "credits": 4.25 },
      { "type": "contacts", "level": "ai", "per": "place", "credits": 17.5 },
      { "type": "contacts", "level": "ai_social", "per": "place", "credits": 20 },
      { "type": "website", "per": "place", "credits": 2.25 },
      { "type": "details", "per": "place", "credits": 1 },
      { "type": "reviews", "per": "review", "credits": 0.2 },
      { "type": "photos", "per": "photo", "credits": 0.25 }
    ]
  },
  "discount": null
}
Field Meaning
unlimited true on an unlimited plan: the balance limits neither calls nor scans, while the key’s and the account’s spending limits and a scan’s cost_limit still apply. A member of an organization is never unlimited: the organization pays for a member’s work from its credits
credits_available Credits this key (or connected app) may spend now: the balance less what scans and enrichments in progress hold (for a member, what the organization allows), and never more than the key’s daily and monthly limits and the account’s monthly limit still leave. Your latest calls are counted at once
credits_held Credits held by scans and enrichments in progress
debt Credits owed: the balance below zero, after a Maps call that cost more than was left or a payment returned after its credits were spent. Calls that cost credits are refused while it is above 0 (account_in_debt); the next purchase pays it first
paid_by account, or organization when the account is a member whose work the organization pays for
caller The key or connected app in use: id_prefix (enough to recognise it), name, kind (api_key or connected_app), limits (requests_per_minute, concurrent_requests, and daily_credits and monthly_credits, null when it has no limit of its own), and what it spent spent_today and spent_this_month (the UTC day and month, credits held by its runs included)
account_limits What all of the account’s keys and connected apps may do together, over each one’s own limits: requests_per_minute and concurrent_requests (see Rate limits and capacity); 0 means no such limit
monthly_limit The account’s own monthly limit: credits, spent (this UTC month, counted like spent_this_month) and resets_at; null when none is set
prices Prices now, in credits, with any running discount: maps, each Maps endpoint per call (with live_credits for a place card read live, cache=false, and empty_first_page_credits for a first page of reviews or photos with nothing on it); scan_place, a place a full scan finds; enrich, each enrichment type and contacts level, per place, review or photo
discount A discount running now: its percent, and ends_at (null: no end set); null when none runs

Amounts are in credits to two decimals: credits_available rounded down, debt rounded up, the others to the nearest hundredth; prices are exact.


MCP server

AI agents use the API through its MCP server: they search Google Maps, read place cards, reviews and photos, scan whole regions and enrich their places, on your account’s credits, at the endpoints’ prices. Any client of the Model Context Protocol connects to it: Claude, Cursor and others.

https://api.placegrid.net/v1/mcp
  • Streamable HTTP. Every message is a POST of JSON-RPC to this address, and every answer is JSON. There are no sessions and no event stream: GET and DELETE are 405 method_not_allowed.
  • Your key, or a sign-in. A client that takes a header sends an API key, as the endpoints do (Authorization: Bearer pg_YOUR_API_KEY, or X-API-Key). A client that connects with OAuth signs in to your PlaceGrid account instead.

Connecting

Claude Code:

claude mcp add --transport http placegrid https://api.placegrid.net/v1/mcp \
  --header "Authorization: Bearer $PLACEGRID_API_KEY"

Cursor (~/.cursor/mcp.json, or .cursor/mcp.json in a project), and other clients that read an mcpServers file:

{
  "mcpServers": {
    "placegrid": {
      "url": "https://api.placegrid.net/v1/mcp",
      "headers": { "Authorization": "Bearer pg_YOUR_API_KEY" }
    }
  }
}

Clients that connect with OAuth, such as Claude’s custom connectors: add https://api.placegrid.net/v1/mcp as a custom connector. The client opens PlaceGrid’s sign-in; sign in and allow it. No key is needed.

  • An app connected this way acts for your account with the default limits of a key (Rate limits), and has its own line in the usage and the request log of the API tab.
  • The API tab lists the apps connected to your account, and disconnects any of them at once: the app’s token stops working on its next call (invalid_access_token), its scans and enrichments still in progress stop (what they found and paid for is kept), and the app has to be connected again.

What the agent sees

On connecting, the agent reads the server’s instructions: what PlaceGrid does, that almost every action costs credits from one balance, to call account_get first, never to start a full scan or an enrichment without a cost_limit the user agreed to, and the order of work for scans and enrichment. Then it sees one tool per endpoint, each described for an agent: what it does, what it costs, when to use it.

Tool Endpoint Cost
maps_search GET /v1/maps/search 1 credit per call
maps_place GET /v1/maps/place 1 credit per call; 2 with cache: false
maps_reviews GET /v1/maps/reviews 3 credits per call; 1 for an empty first page
maps_photos GET /v1/maps/photos 2 credits per call; 1 for an empty first page
regions_search GET /v1/regions/search free
region_get GET /v1/regions/{type}/{id} free
region_children GET /v1/regions/{type}/{id}/children free
scan_create POST /v1/scans free; a full scan pays for its places
scans_list GET /v1/scans free
scan_get GET /v1/scans/{id} free
scan_start POST /v1/scans/{id}/start free; the full scan pays for its places
scan_cancel POST /v1/scans/{id}/cancel free
scan_places GET /v1/scans/{id}/places free
scan_enrich POST /v1/scans/{id}/enrich free; the enrichment pays for its results
account_get GET /v1/account free

A tool that only reads is marked read-only, so a client may let the agent run it without asking each time; scan_create, scan_start, scan_cancel and scan_enrich are not.

  • Arguments are the endpoint’s parameters, by the same names: the query parameters of a GET, the body’s fields of a POST, and type and id for the {type} and {id} of its address. include of scan_places is a list. scan_create takes idempotency_key in place of the Idempotency-Key header, with the same effect.
  • Answers are the endpoint’s JSON, as the tool result’s text and as its structured content. A result’s _meta carries placegrid.net/request_id, placegrid.net/credits_charged and, when known, placegrid.net/credits_remaining. The X-Request-Id header of every answer is a request ID (req_…): for a message with one tool call, that call’s own.
  • A refused call is a tool result marked isError: true, whose text is the endpoint’s error body: error, message (what was wrong, whether anything was charged, what to do), request_id, and retry_after where waiting helps. The agent reads it like any answer. Only a message that is not valid JSON-RPC, or an unknown tool, is a protocol error.
  • Prices, limits and the request log are the endpoint’s: each tool call is charged as its endpoint, counts as one request to the key’s limits (requests a minute, calls at once), and is listed in the request log of the API tab under its endpoint, marked as coming through MCP. The messages of the protocol itself (connecting, listing the tools) cost nothing and are not logged.
  • No key, a wrong one or a token no longer valid is answered 401 with our error body (missing_api_key, invalid_api_key, invalid_access_token) and a WWW-Authenticate header, which shows a client that connects with OAuth where to sign in. A key switched off or an account not ready is 403, as at the endpoints.

Pagination

Search pages by start: 0, 20, 40… up to 500. Each page is a call. The number of places on a page does not tell whether another follows (a sponsored place may come on top of the 20): ask for the next page while the last one brought places, and stop at a page with none (local_results: []). Google Maps shows at most about 120 places for one query (six pages); for more, search smaller windows (a closer zoom, or several ll points across the area).

Reviews and photos page by token. While there is more, an answer carries pagination.next_page_token; pass it unchanged as next_page_token, with the same place, for the next page. An answer without pagination is the last. Sometimes the list ends with a page that has nothing in it: such a page is not charged.

  • A reviews token belongs to its place and its order: with it you may leave sort_by out, and a different one is invalid_page_token. Reviews written while you page cause no repeats and no gaps.
  • A photos token belongs to its place and its tab: leave category_id out or pass the same one.

Scans, a scan’s places and a region’s children page by cursor: pass next_cursor unchanged as cursor for the next page; null means there is none.


Errors

An error answers with its HTTP status and a JSON body:

{
  "error": "invalid_parameter",
  "message": "The `start` parameter is not valid: a multiple of 20 from 0 to 500. Nothing was charged.",
  "request_id": "req_3n7qk4m2x5v7w3z6c4b2p6ra3g",
  "docs_url": "https://placegrid.net/docs/api#error-invalid-parameter",
  "param": "start"
}
Field Meaning
error The error’s code: a stable string, one of the codes below. Branch on it, not on the message.
message What was wrong and what to do, in English. The wording may change.
request_id The request ID (also the X-Request-Id header). Quote it when you contact us.
docs_url This page, at the error’s own section
param The parameter at fault (missing_parameter, invalid_parameter)
retry_after Seconds to wait before asking again (429, 503)
candidates place_not_found: up to five places the name matched, with title, address, data_id
limit Which limit. spend_limit_reached: key_daily, key_monthly or account_monthly. rate_limited and too_many_concurrent_requests: key (the key’s or connected app’s own) or account (all of the account’s keys and connected apps together)
  • Errors are never charged. Only a successful answer (200) costs credits.
  • Retry only what the table marks yes: wait Retry-After seconds when it is given, otherwise back off (1, 2, 4, 8 seconds). The others will fail the same way until the request, the key or the account changes.
  • In a message, words in braces below ({param}) are filled in for each call.
Code HTTP Retry When
missing_api_key 401 no No key in the request
invalid_api_key 401 no The key is not one of ours, or was revoked
api_key_disabled 403 no The key is switched off
account_inactive 403 no The account is not ready to use the API
api_not_enabled 403 no The API is not open to this account
missing_parameter 400 no A required parameter is missing
invalid_parameter 400 no A value is not of its type or out of range
conflicting_parameters 400 no Parameters that cannot go together
invalid_page_token 400 no A page token from another request
link_not_a_place 400 no The link names a point, not a place
short_link_dead 400 no The short link leads nowhere
place_not_found 404 no No place, or several, match the request
not_found 404 no No such endpoint
method_not_allowed 405 no A method other than GET
insufficient_credits 402 no No credits left for a Maps call; for a scan or an enrichment, less than it must hold to start
account_in_debt 402 no The balance is below zero
spend_limit_reached 402 no A spending limit is used up
organization_credits_not_allowed 402 no Your organization does not let you spend its credits
organization_member_limit_reached 402 no Your monthly limit in the organization is used up
organization_balance_exhausted 402 no Your organization has no credits left
organization_in_debt 402 no Your organization’s balance is below zero
rate_limited 429 yes Too many requests this minute
too_many_concurrent_requests 429 yes Too many requests in progress at once
capacity_busy 503 yes All capacity is in use
temporarily_unavailable 503 yes Part of the data cannot be read just now
reviews_not_available 404 no The place has no Google reviews to read
invalid_json 400 no The body is not a JSON object
unsupported_media_type 415 no A body that is not JSON
region_not_found 404 no No region with this type and ID
region_not_scannable 400 no A region a scan cannot take
regions_mixed_countries 400 no Regions that cannot go in one scan
too_many_regions 400 no More regions than a scan takes
scan_not_found 404 no No scan with this ID
scan_busy 409 yes The scan has a run in progress
scan_archived 409 no The scan is archived in the app
scan_not_previewed 409 no Nothing to start the full scan from
too_many_scans 429 yes Too many scans running at once for this key
preview_limit_reached 429 yes The previews of the day are used up
webhook_url_not_allowed 400 no The webhook address is not allowed
idempotency_conflict 409 no An Idempotency-Key used with another body
no_result_to_enrich 409 no The scan has no full result to enrich
nothing_to_enrich 409 no Nothing to do for the places picked
enrich_type_not_available 400 no An enrichment type or level that cannot run now
invalid_access_token 401 no The MCP server’s access token is not valid, or its app was disconnected
access_token_not_accepted 401 no A connected app’s access token sent to an endpoint, not to the MCP server
source_unavailable 502 yes The place data could not be read just now
timeout 504 yes The answer took too long
internal_error 500 yes Something went wrong on our side

Error missing_api_key

HTTP 401, not retryable.

No API key was sent. Send your key in the Authorization: Bearer <key> header. Keys are created in the API tab of the app.

Send a key as shown in Authentication.

Error invalid_api_key

HTTP 401, not retryable.

The API key is not valid. Check that it was copied whole, or create a new key in the API tab of the app.

The key is mistyped, cut short, or was revoked. A revoked key never works again: create a new one.

Error api_key_disabled

HTTP 403, not retryable.

This API key is switched off. Switch it on, or use another key, in the API tab of the app.

Error account_inactive

HTTP 403, not retryable.

The account is not ready to use the API: {reason}

{reason} says what is missing, such as a confirmed e-mail address or accepting the terms. Sign in to the app and finish it there.

Error api_not_enabled

HTTP 403, not retryable.

The API is not available for this account yet.

Write to us from Support in the app.

Error missing_parameter

HTTP 400, not retryable.

The {param} parameter is required. Nothing was charged.

param names it. For place, reviews and photos it means that no way of naming the place was given; for a scan, regions, place_types, or the cost_limit of a full scan.

Error invalid_parameter

HTTP 400, not retryable.

The {param} parameter is not valid: {expected}. Nothing was charged.

param names the parameter, and the message says what it takes. The ranges are in each endpoint’s table. A field a request body does not take (a misspelt dry_run, say) is refused this way too, param naming it and the message the field it most likely meant: it is never passed over.

Error conflicting_parameters

HTTP 400, not retryable.

{detail} Nothing was charged.

Parameters that cannot go together: ll with lat and lng, more than one of z, m and radius, lat without lng, or more than one way of naming a place; for a scan, a cost_limit with a preview. The message names them.

Error invalid_page_token

HTTP 400, not retryable.

The next_page_token does not belong to this request: pass the token of the previous page unchanged, with the same place and order. Nothing was charged.

See Pagination.

HTTP 400, not retryable.

The link or text names a point on the map, not a place. Pass a link to the place itself, its ID, or its name with the address. Nothing was charged.

HTTP 400, not retryable.

The short link leads nowhere: it was removed or never existed. Nothing was charged.

Error place_not_found

HTTP 404, not retryable.

No single place matches the request. {detail}Nothing was charged.

No place has that ID or name, or several places match the name. In the second case candidates lists up to five of them: ask again with the data_id of the one you mean.

Error not_found

HTTP 404, not retryable.

There is no such endpoint. See the API reference for the list of endpoints.

Check the path against Endpoints: it starts with /v1/maps/.

Error method_not_allowed

HTTP 405, not retryable.

This endpoint does not accept {method} requests.

Every endpoint takes GET with query parameters.

Error insufficient_credits

HTTP 402, not retryable.

Not enough credits: this needs {price} credits and {available} are available. Buy credits in the app, then try again. Nothing was charged.

A Maps call is refused only once the balance is used up (0 or below): one that costs more than is left still goes through and takes the balance below zero (see Pricing). A scan or an enrichment must hold its starting credits in full.

Error account_in_debt

HTTP 402, not retryable.

The balance is below zero: the account owes {debt} credits. Calls resume once a purchase pays the debt. Nothing was charged.

Maps calls cost more than was left (the last call that went through on a positive balance), or a refunded or disputed payment took back credits that were already spent. Buying credits pays the debt first.

Error spend_limit_reached

HTTP 402, not retryable.

This does not fit in the {limit} spending limit. Raise it in the app, or wait until it resets at {resetsAt}. Nothing was charged.

limit says which: the key’s daily or monthly credit limit (set in the API tab), or the account’s monthly limit (set on the account page). Days and months are counted in UTC.

Error organization_credits_not_allowed

HTTP 402, not retryable.

Your organization does not let you spend its credits. Ask its owner to allow it. Nothing was charged.

Error organization_member_limit_reached

HTTP 402, not retryable.

You have used your monthly credit limit set by your organization. Nothing was charged.

Error organization_balance_exhausted

HTTP 402, not retryable.

Your organization has no credits left for this call. Nothing was charged.

Error organization_in_debt

HTTP 402, not retryable.

Your organization’s balance is below zero. Calls resume once a purchase pays the debt. Nothing was charged.

Error rate_limited

HTTP 429, retryable.

Too many requests: {who} may make {limit} requests a minute. Retry in {retryAfter} s. Nothing was charged.

{who} is “this key” (or “this connected app”) when its own limit refused the call, and the account (all its keys and connected apps together) when the account’s did; limit in the body says which (key or account). Wait Retry-After seconds. See Rate limits and capacity.

Error too_many_concurrent_requests

HTTP 429, retryable.

Too many requests at once: {who} may have {limit} in progress. Wait for one to finish. Nothing was charged.

{who} and limit as for rate_limited. Send fewer calls in parallel, or ask again once one of them has answered.

Error capacity_busy

HTTP 503, retryable.

All capacity is in use right now. Retry in {retryAfter} s. Nothing was charged.

Wait Retry-After seconds and ask again.

Error temporarily_unavailable

HTTP 503, retryable.

{what} cannot be read at the moment. Retry in a few seconds. Nothing was charged.

Error reviews_not_available

HTTP 404, not retryable.

This place has no Google reviews to read: its reviews come from a partner site. Nothing was charged.

The place shows reviews from a partner site (hotels most often), not Google reviews. Asking again will not change that.

Error invalid_json

HTTP 400, not retryable.

The request body is not valid JSON: {detail} Send a JSON object with Content-Type: application/json. Nothing was charged.

{detail} says what is wrong with it. Send one JSON object, in UTF-8, at most 64 KB, with Content-Type: application/json.

Error unsupported_media_type

HTTP 415, not retryable.

Send the request body as JSON with Content-Type: application/json. Nothing was charged.

A body was sent with another Content-Type. Send JSON with Content-Type: application/json.

Error region_not_found

HTTP 404, not retryable.

There is no region {region}. Find regions with /v1/regions/search. Nothing was charged.

Check the type (relation or node) and the id, or find the region again with /v1/regions/search.

Error region_not_scannable

HTTP 400, not retryable.

The region {region} cannot be scanned on its own: {detail} Nothing was charged.

The message says why. Pick a region above it (its path) or inside it (its children).

Error regions_mixed_countries

HTTP 400, not retryable.

These regions cannot be scanned together. Nothing was charged.

Split them into several scans.

Error too_many_regions

HTTP 400, not retryable.

A scan takes at most {limit} regions. Nothing was charged.

Split them into several scans, or pick a larger region that holds them.

Error scan_not_found

HTTP 404, not retryable.

There is no scan with this ID among the scans of this account.

The ID is not one of this account’s scans made through the API (a project made in the app is not a scan here).

Error scan_busy

HTTP 409, retryable.

This scan has a run in progress. Wait for it to end, or cancel it first. Nothing was charged.

Wait for the run to end (its webhook, or GET /v1/scans/{id}), or cancel it first.

Error scan_archived

HTTP 409, not retryable.

This scan is archived in the app. Unarchive it there to run it again. Nothing was charged.

Open it in the app (links.app) and unarchive it, or create a new scan.

Error scan_not_previewed

HTTP 409, not retryable.

There is no finished preview to start this scan from. Create the scan with mode: "full", or wait until its preview ends. Nothing was charged.

Its preview failed or was cancelled, and it never had a full scan. Create the scan again, with or without a preview.

Error too_many_scans

HTTP 429, retryable.

This key may have {limit} scans running at once. Wait for one to end. Nothing was charged.

Wait for one of them to end, then start this one.

Error preview_limit_reached

HTTP 429, retryable.

The daily number of previews is used up: this account may start {limit} previews{where} a day. More can be started from {resetsAt} (midnight UTC); or start a full scan with mode: "full" now. Nothing was charged.

An account may start 50 previews of its scans a day through the API (previews started in the app are not counted); {where} then reads “through the API”. retry_after is the seconds left to midnight UTC, when the count starts again. A preview made entirely of earlier ones (nothing new to scan) is not counted.

Error webhook_url_not_allowed

HTTP 400, not retryable.

The webhook URL must be a public https:// address. Nothing was charged.

Use a public https:// address, without a user name or password in it (see Webhooks).

Error idempotency_conflict

HTTP 409, not retryable.

This Idempotency-Key was already used with a different request body. Use a new key for a new request. Nothing was charged.

Each new request needs a new key; a retry sends the same body with the same key.

Error no_result_to_enrich

HTTP 409, not retryable.

This scan has no full result to enrich yet. Start its full scan, or pass enrich to it so places are enriched as they are found. Nothing was charged.

POST /v1/scans/{id}/enrich enriches the places of the latest full scan that ended, and this scan has none yet: it was only previewed, or its first full scan is still running. Start the full scan with enrich to enrich the places as they are found, or enrich once it has ended.

Error nothing_to_enrich

HTTP 409, not retryable.

Nothing to enrich: every place picked already has the results asked for, or none of them applies (no website, no reviews, no photos). Pass redo: true to make results again. Nothing was charged.

Each place picked already has a result of each type asked for, fit to keep, or no type applies to it: contacts and website need a website, reviews reviews, photos photos. The quote says so beforehand (dry_run: true answers nothing_to_do: true). To make results again, give the type redo: true.

Error enrich_type_not_available

HTTP 400, not retryable.

The {param} enrichment cannot run at the moment. Nothing was charged.

{param} is the type, with its level when the level is the one that cannot run (contacts (ai_social)); the body’s param names the field (types.website, enrich.contacts.level). Nothing was started or changed: choose another type or level, or ask again later.

Error invalid_access_token

HTTP 401, not retryable.

The access token is not valid or the app was disconnected. Connect the app again, or use an API key. Nothing was charged.

Only at the MCP server, for a client that connected with OAuth: its token is not valid, has expired, or belongs to an app that was disconnected in the API tab. The client signs in again to get a new one; a client that takes a header can use an API key instead.

Error access_token_not_accepted

HTTP 401, not retryable.

Access tokens of connected apps work only with the MCP server (/v1/mcp). To call this endpoint, send an API key; keys are created in the API tab of the app. Nothing was charged.

An endpoint got an OAuth access token, the kind a client connected with OAuth uses at the MCP server. Such a token is not a key: send an API key as shown in Authentication, or make the call through the MCP server’s tool for it.

Error source_unavailable

HTTP 502, retryable.

The place data could not be read right now. Retry in a few seconds. Nothing was charged.

Error timeout

HTTP 504, retryable.

The answer took too long. Retry in a few seconds. Nothing was charged.

Error internal_error

HTTP 500, retryable.

Something went wrong on our side. Retry in a few seconds; if it keeps failing, contact support with the request ID. Nothing was charged.


Rate limits and capacity

Per key. By default a key may make 300 requests a minute and have 10 in progress at once. A key can be given lower limits in the API tab, never higher ones: a figure above the default is refused. A key can also be given credit limits per UTC day and month; the account’s monthly limit counts too.

Per account. Over every key’s own limits, all the keys and connected apps of one account together may make 900 requests a minute and have 30 in progress at once (three times a key’s default). GET /v1/account shows them as account_limits.

  • Past the requests a minute: 429 rate_limited, with Retry-After; limit in the body says whether the key’s minute or the account’s ran out.
  • Past the calls at once: 429 too_many_concurrent_requests, with limit as well.
  • RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset show the minute that has fewer requests left, the key’s or the account’s.
  • Region, scan, enrichment and account calls, and every tool call of the MCP server, count as requests too; a key may also have only so many scans running at once (too_many_scans), and an account may start 50 previews of scans a day through the API (preview_limit_reached).

Capacity. The capacity behind the API is shared by everyone who uses it. When all of it is in use a call waits for its turn, up to 20 seconds, and is then answered 503 capacity_busy with Retry-After. Give your HTTP client a timeout of at least 90 seconds.

Nothing was charged for any 429 or 503, or any other error: ask again as the answer says, and only the call that succeeds is paid for.


Pricing

A successful call costs credits; one credit is €0.001.

Endpoint One call returns Credits per call Per 1,000 calls
GET /v1/maps/search one page of up to 20 places 1 €1.00
GET /v1/maps/place one full place card 1 €1.00
GET /v1/maps/place with cache=false one full place card read live (cache=false) 2 €2.00
GET /v1/maps/reviews one page of up to 20 reviews 3 €3.00
GET /v1/maps/photos one page of photos 2 €2.00
GET /v1/maps/reviews, GET /v1/maps/photos, an empty first page a first page of reviews or photos with nothing on it 1 €1.00
  • Only a successful answer (200) is charged. Errors never are, whatever the reason.
  • A search that finds nothing is an answer too: 200 with an empty local_results, and it costs 1 credit like any search. So does a further page of a search (start above 0) that comes back empty.
  • A place card read live (cache=false) costs 2 credits; the default (cache=true, a recent copy may answer) costs 1. For reviews and photos cache does not change the price.
  • A first page of reviews or photos (no next_page_token) that comes with nothing on it costs 1 credit instead of the page’s price.
  • A page of reviews or photos that comes with nothing in it after a next_page_token is not charged.
  • Reviews and photos cost the same per page however many a page holds: num=20 costs what num=1 costs.
  • A name that matches several places is place_not_found with its candidates, and is not charged.
  • A Maps call goes through while the balance is above zero, even when it costs more than is left: the balance then goes below zero (debt in GET /v1/account, a negative X-Credits-Remaining), and further calls are refused (account_in_debt) until a purchase pays it (a purchase pays the debt first, the rest goes to the balance). So a Maps call refused for credits always comes with credits_available at 0 in GET /v1/account. The spending limits are kept exactly: a call must fit what the key’s daily and monthly limits, the account’s monthly limit and an organization’s limit for you leave.
  • On an unlimited plan Maps calls take nothing from the balance (the key’s and the account’s spending limits still count them).
  • A place card answered from an older copy because Google Maps could not be read just then (search_metadata.stale is true, observed_at says when the copy was read) is not charged.
  • The credits are your PlaceGrid account’s, shared with the app: a new account starts with 1,000 free credits, and more are bought in the app in packages, from €5 for 5,000 credits. A member of an organization spends the organization’s credits, within the limits it sets.
  • The API tab shows each key’s calls and credits by day, and the Usage page lists API spending beside the rest.

Scans

Region and scan calls are free. A preview is free too (an account may start 50 a day through the API). A full scan pays for each different place it finds inside its regions: 1 credit a place (€1.00 per 1,000 places), the price of a place in the PlaceGrid app.

  • A place found by several place types or in several regions of the scan is paid once. Places outside the regions are not kept and not paid.
  • estimate.credits after a preview is what the full scan most likely costs, at today’s prices, with its range.
  • cost_limit is the most a full scan may spend. The credits are held when it starts and what is not spent comes back when it ends. With "none" a small amount is held and grows as the scan goes, while your balance and limits allow. A scan that reaches its limit or the end of the balance stops: status: partial, stop_reason: budget, and it keeps what it found.
  • Starting a scan again after a full scan makes a fresh full scan, which pays for its places again.
  • result.credits_charged is what the scan’s latest full result cost in all: its places, and every enrichment made on it.

Enrichment prices

Enrichment pays for its results, at the prices of the PlaceGrid app; the calls themselves are free.

Type Level You pay for each Credits Per 1,000
contacts standard place where an email or a social profile is found 0.75 €0.75
contacts js place where an email or a social profile is found 4.25 €4.25
contacts ai place where an email or a social profile is found 17.5 €17.50
contacts ai_social place where an email or a social profile is found 20 €20.00
website place checked 2.25 €2.25
details place 1 €1.00
reviews review collected 0.2 €0.20
photos photo collected 0.25 €0.25
  • contacts is charged only where an email or a social profile is found: a place where nothing is found, or only phones, costs nothing, and so does a website that cannot be read.
  • website charges every verdict, a site that is dead, parked or someone else’s included: that is what the check finds.
  • reviews and photos charge each review or photo collected, up to max_per_place.
  • Nothing is charged for a result that failed, on our side or the place’s own, for a place left when the run stopped, or for a result kept from before (redo: false, the default).
  • During a full scan its enrich is paid from the scan’s own cost_limit; an enrichment of the result has its own.
  • dry_run: true costs nothing and prices the places the run would enrich; for contacts its figure is the most the run can cost.

Examples

curl

# A search, its second page, a place (the Eiffel Tower, by its link), its newest reviews, its photos
curl -G https://api.placegrid.net/v1/maps/search -H "Authorization: Bearer $PLACEGRID_API_KEY" \
  --data-urlencode "q=pizza" --data-urlencode "ll=@40.7306,-73.9866,15z"
curl -G https://api.placegrid.net/v1/maps/search -H "Authorization: Bearer $PLACEGRID_API_KEY" \
  --data-urlencode "q=pizza" --data-urlencode "ll=@40.7306,-73.9866,15z" -d start=20
curl -G https://api.placegrid.net/v1/maps/place -H "Authorization: Bearer $PLACEGRID_API_KEY" \
  --data-urlencode "url=https://www.google.com/maps/place/data=!4m2!3m1!1s0x47e66e2964e34e2d:0x8ddca9ee380ef7e0"
curl -G https://api.placegrid.net/v1/maps/reviews -H "Authorization: Bearer $PLACEGRID_API_KEY" \
  -d place_id=ChIJLU7jZClu5kcR4PcOOO6p3I0 -d sort_by=newestFirst -d num=20
curl -G https://api.placegrid.net/v1/maps/photos -H "Authorization: Bearer $PLACEGRID_API_KEY" \
  -d place_id=ChIJLU7jZClu5kcR4PcOOO6p3I0

Python (requests)

import os
import time

import requests

API = "https://api.placegrid.net/v1"
RETRY = {429, 500, 502, 503, 504}

session = requests.Session()
session.headers["Authorization"] = "Bearer " + os.environ["PLACEGRID_API_KEY"]


def call(path, **params):
    """One call. Waits and asks again while the answer says it may work later."""
    for attempt in range(5):
        r = session.get(API + path, params=params, timeout=90)
        body = r.json()
        if r.ok:
            return body
        if r.status_code not in RETRY or attempt == 4:
            raise RuntimeError(f"{body['error']}: {body['message']} ({body['request_id']})")
        time.sleep(int(r.headers.get("Retry-After", 2 ** attempt)))


found = call("/maps/search", q="coffee", ll="@48.8566,2.3522,15z", hl="en")
for place in found["local_results"][:5]:
    card = call("/maps/place", data_id=place["data_id"])["place_results"]
    print(card["title"], card.get("phone", ""), card.get("website", ""))

# The newest reviews of the first place, 20 a page, at most max_pages pages.
# Each page of reviews costs 3 credits: a place with thousands of reviews has hundreds of pages.
data_id = found["local_results"][0]["data_id"]
max_pages = 5
reviews, token = [], None
for _ in range(max_pages):
    params = {"data_id": data_id, "sort_by": "newestFirst", "num": 20}
    if token:
        params["next_page_token"] = token
    page = call("/maps/reviews", **params)
    reviews += page["reviews"]
    token = page.get("pagination", {}).get("next_page_token")
    if not token:
        break
print(len(reviews), "reviews")

JavaScript (fetch)

// Node.js 18 or later: fetch is built in.
const API = 'https://api.placegrid.net/v1'
const RETRY = new Set([429, 500, 502, 503, 504])

async function call(path, params) {
  const url = `${API}${path}?${new URLSearchParams(params)}`
  for (let attempt = 0; ; attempt++) {
    const res = await fetch(url, {
      headers: { Authorization: `Bearer ${process.env.PLACEGRID_API_KEY}` },
      signal: AbortSignal.timeout(90_000),
    })
    const body = await res.json()
    if (res.ok) return body
    if (!RETRY.has(res.status) || attempt === 4) {
      throw new Error(`${body.error}: ${body.message} (${body.request_id})`)
    }
    const wait = Number(res.headers.get('Retry-After')) || 2 ** attempt
    await new Promise((resolve) => setTimeout(resolve, wait * 1000))
  }
}

const found = await call('/maps/search', { q: 'coffee', ll: '@48.8566,2.3522,15z', hl: 'en' })
for (const place of found.local_results.slice(0, 5)) {
  const { place_results: card } = await call('/maps/place', { data_id: place.data_id })
  console.log(card.title, card.phone ?? '', card.website ?? '')
}

Changelog

  • v1, November 2026: the first version: Maps search, place cards, reviews and photos; regions, whole-region scans and webhooks; the enrichment of a scan’s places; the account endpoint; the MCP server for AI agents.

There are no separate API terms: the Terms of Service apply to the API as to the app. Questions and problems: write to us from Support in the app, with the request_id of the call.