Google Maps Scraper API

Send a keyword over HTTPS and get Google Maps businesses back as JSON: name, address, phone, website, rating, opening hours, coordinates, Place ID and fid — plus emails and social profiles on request.

Free plan: 20 requests / monthOne key for Search and ReviewsJSON over HTTPS
POST/search
curl https://api.mapexporter.app/api/external/maps/search \
  -H "Authorization: Bearer $MAPEXPORTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"q": "coffee shop in Portland, OR", "extra": true}'
Response · 200 OK · application/json
{
  "code": 10000,
  "data": {
    "places": [
      {
        "name": "Ember & Oak Coffee",
        "fid": "0x54950a2291f60bf1:0xbeb4a5f2c3d1e0ab",
        "categories": ["Coffee shop", "Espresso bar"],
        "full_address": "3021 SE Division St, Portland, OR 97202",
        "phone": "(503) 555-0142",
        "website": "emberandoak.coffee/",
        "average_rating": 4.7,
        "review_count": 1284,
        "latitude": 45.504912,
        "longitude": -122.635377,
        "place_id": "ChIJ8Qv2kSIKlVQRq-DRw_KltL4",
        "emails": ["[email protected]"],
        "medias": {"instagram": "https://www.instagram.com/emberandoak"},
        …
      },
      …
    ],
    "partial": false,
    "warnings": []
  },
  "msg": ""
}
Scraper API

What the Scraper API returns

A keyword and an optional location bias in; the places a Google Maps search shows out, as structured JSON.

Search by keyword and location

Send q with an optional ll location bias. page sets how many result pages to collect, 1–10, up to 20 places each, all in one response.

29 fields per place

Name, categories, full address, phone, website, rating and review count, opening hours, coordinates, Place ID, CID, fid, owner and more.

Email and social enrichment

Set extra to true to add emails and medias: Instagram, Facebook, YouTube, TikTok, LinkedIn and X profiles found on each business website.

Clean, predictable JSON

snake_case fields in one {code, data, msg} envelope. Values Google Maps doesn’t show come back as null or an empty list, never as empty strings.

Partial data is flagged

If some details can’t be filled in, you still get the places — with partial set to true and warnings saying what is missing.

Public data only

Results contain only what Google Maps shows publicly — the same details any visitor can read.

Chain endpoints

One ID takes you from search to reviews and photos

Every Search result carries its fid. Pass it to the Reviews or Photos API to read reviews and collect public business photo URLs.

Reference

Request in, JSON out

Send your key as Authorization: Bearer YOUR_API_KEY with a JSON body. Every response is wrapped in {code, data, msg}, and code 10000 means success.

Request

POST/search
Base URL https://api.mapexporter.app/api/external/maps
ParameterTypeDescription
qrequired string What to search for, up to 300 characters — a business type plus a place, e.g. coffee shop in Portland, OR.
page integer How many result pages to collect, 1–10, up to 20 places each, all returned in one response. Collection stops early when a page has fewer than 20 places or nothing new. Default 1.
hl string Result language, e.g. en or fr. Default en.
ll string Optional location bias as @lat,lng,zoom, zoom 1–21. It tells Maps where to search; results aren’t clipped to a radius.
extra boolean true adds emails and medias to every place. Default false.

Response

data: { places, partial, warnings }
FieldTypeExample
name string "Ember & Oak Coffee"
categories string[] ["Coffee shop", "Espresso bar"]
place_id string "ChIJ8Qv2kSIKlVQRq-DRw_KltL4"
cid string "13741790825100206251"
fid string "0x54950a2291f60bf1:0xbeb4a5f2c3d1e0ab"
kgmid string "/g/11c5x9_qk_"
google_maps_url string "https://www.google.com/maps?cid=13741790825100206251"
google_knowledge_url string "https://www.google.com/search?kgmid=/g/11c5x9_qk_"
search_keyword string "coffee shop in Portland, OR"
  • One request per successful call Successful Search and Reviews calls count once, including empty results. Photos partial delivery counts once regardless of photo count. Failed calls are not counted.
  • A 401 means check your key A missing or invalid key returns HTTP 401. Other errors return HTTP 200 with a non-10000 code and a msg.
  • Location is a bias, not a fence ll tells Maps where to search. Places outside that view can still appear.
  • Name the place Put a city, state or ZIP in q — “near me” has nothing to anchor to on a server.
API plans

Programmatic access, priced by requests

Search, Reviews, Photos and the MCP server share one monthly request quota. Every successful call counts as one request.

Free

Evaluate the API on a small scale

$0forever
20 requests / month
  • Business search by keyword and location
  • Reviews endpoint with sorting and paging
  • JSON responses
  • API key tied to your account
  • Community support
Start free

Trial

One-time payment. No auto-renewal.

$13 days
100 requests
  • Business search by keyword and location
  • Reviews endpoint with sorting and paging
  • JSON responses
  • Once per account for this product.
Get trial

Basic

For prototypes and light integrations

$151 month
1,000 requests / month
  • Everything in Free
  • 1,000 requests for 1 month
  • JSON responses
Get Basic

Business

For products built on MapExporter data

$1151 month
10,000 requests / month
  • Everything in Professional
  • 10,000 requests for 1 month
  • JSON responses
Get Business

Scale

For high-volume data operations

$3651 month
50,000 requests / month
  • Everything in Business
  • 50,000 requests for 1 month
  • JSON responses
Get Scale

Each successful API or MCP call counts as one request, including empty and partial results; failed calls are not counted. Usage resets on the 1st and unused requests do not roll over.

FAQ

Scraper API questions

The short answers. Anything else, support is one email away.

Contact support
What does the Scraper API return?

JSON with up to 20 places per collected page. Each place has 29 fields — name, categories, address, phone, website, rating, review count, opening hours, coordinates, Place ID, CID, fid and more — plus emails and social profiles when extra is true.

How do I authenticate?

Send your MapExporter API key as a bearer token in the Authorization header. Each account has one key. It is shown in full only when you generate it, and generating a new key disables the old one immediately.

How are requests counted?

Each successful call counts as one request, whatever its page value — including searches that return no places or partial data. Failed calls are not counted. Search, Reviews, Photos and the MCP server share one monthly quota.

What does page do?

page is how many result pages to collect in one call, from 1 to 10. Each page adds up to 20 places, and collection stops early when Google Maps has nothing new. It is not a page number.

Is the data public?

Yes. The API only returns information publicly displayed on Google Maps — the same details any visitor can read. It does not access private accounts or non-public data.

Get started

Put Maps data in your application

One HTTP request per search, structured JSON in the response — for CRMs, data pipelines and your own products.

Free monthly quota included. No credit card.