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.
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.
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}' import os
import requests
resp = requests.post(
"https://api.mapexporter.app/api/external/maps/search",
headers={"Authorization": f"Bearer {os.environ['MAPEXPORTER_API_KEY']}"},
json={"q": "coffee shop in Portland, OR", "extra": True},
)
body = resp.json()
if body["code"] != 10000:
raise RuntimeError(body["msg"])
places = body["data"]["places"] const res = await fetch("https://api.mapexporter.app/api/external/maps/search", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.MAPEXPORTER_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({ q: "coffee shop in Portland, OR", extra: true }),
});
const { code, data, msg } = await res.json();
if (code !== 10000) throw new Error(msg);
const { places } = data; {
"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": ""
} Search for places, then pass any result’s fid to the Reviews or Photos API. All three share one API key and monthly request quota.
POST/search Businesses for any keyword and optional location — 29 fields per place, plus emails and social profiles with extra.
POST/reviews Public reviews of one business by fid — up to 60 per page, sorted your way, paged with a cursor.
POST/photos Public business photo URLs by fid, with a max_results limit and explicit partial delivery status.
A keyword and an optional location bias in; the places a Google Maps search shows out, as structured JSON.
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.
Name, categories, full address, phone, website, rating and review count, opening hours, coordinates, Place ID, CID, fid, owner and more.
Set extra to true to add emails and medias: Instagram, Facebook, YouTube, TikTok, LinkedIn and X profiles found on each business website.
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.
If some details can’t be filled in, you still get the places — with partial set to true and warnings saying what is missing.
Results contain only what Google Maps shows publicly — the same details any visitor can read.
Every Search result carries its fid. Pass it to the Reviews or Photos API to read reviews and collect public business photo URLs.
POST/search 0x5495…e0ab 0x5495…8f7a 0x5495…3a5c POST/reviews “Best cortado on Division. Friendly crew.”
Maya R. · 2 weeks ago Owner: Thanks Maya — see you soon!“Great beans. Cozy but small — come early on weekends.”
Daniel K. · 3 weeks agoPOST/photos Public photo URLs with partial delivery; a complete album is not guaranteed.
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.
POST/search https://api.mapexporter.app/api/external/maps | Parameter | Type | Description |
|---|---|---|
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. |
data: { places, partial, warnings } | Field | Type | Example |
|---|---|---|
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" |
| Field | Type | Example |
|---|---|---|
phone | string | "(503) 555-0142" |
phones | string[] | ["(503) 555-0142", "+1 503-555-0142"] |
website | string | "emberandoak.coffee/" |
domain | string | "emberandoak.coffee" |
emailsextra | string[] | ["[email protected]"] |
mediasextra | object | {"instagram": "https://www.instagram.com/emberandoak", …} |
| Field | Type | Example |
|---|---|---|
full_address | string | "3021 SE Division St, Portland, OR 97202" |
street | string | "3021 SE Division St" |
municipality | string | "Portland, OR 97202" |
latitude | number | 45.504912 |
longitude | number | -122.635377 |
time_zone | string | "America/Los_Angeles" |
| Field | Type | Example |
|---|---|---|
average_rating | number | 4.7 |
review_count | integer | 1284 |
review_url | string | "https://search.google.com/local/reviews?placeid=ChIJ…" |
| Field | Type | Example |
|---|---|---|
about | string | "Service options: [Dine-in, Takeout], Highlights: [Great coffee]" |
opening_hours | object[] | [{"name": "Thursday(2026-10-15)", "values": ["7 AM–6 PM"]}, …] |
claimed | boolean | true |
owner | string | "Ember & Oak Coffee (Owner)" |
owner_id | string | "104287731665220398123" |
owner_link | string | "https://www.google.com/maps/contrib/1042877316…" |
featured_image | string | "https://lh5.googleusercontent.com/p/AF1Qip…" |
| Field | Type | Example |
|---|---|---|
places | place[] | [{…}, …] |
partial | boolean | false |
warnings | string[] | [] |
code and a msg. ll tells Maps where to search. Places outside that view can still appear. q — “near me” has nothing to anchor to on a server. Search, Reviews, Photos and the MCP server share one monthly request quota. Every successful call counts as one request.
Evaluate the API on a small scale
One-time payment. No auto-renewal.
For prototypes and light integrations
For production integrations
For products built on MapExporter data
For high-volume data operations
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.
The short answers. Anything else, support is one email away.
Contact supportJSON 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.
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.
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.
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.
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.
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.
Website Access
By signing in, you agree to the Terms Privacy Policy