Google Maps Enrich Business API
Match a business name, with an optional city and state, to its Google Maps listing and get its address, phone, website, hours, rating and a confidence for the match.
- 1 credit per call
- Failed calls are free
- Updated
- googlemaps.enrich
{ "name": "Apple Park", "rating": 4.3, "review_count": 8237, "address": "One Apple Park Way, Cupertino, CA 95014", "cid": "4255201883087866096", "confidence": "high", "feature_id": "0x808fb596e9e188fd:0x3b0d8391510688f0", "lat": 37.334643799999995, "lng": -122.008972, "maps_url": "https://www.google.com/maps/place/?q=place_id:ChIJ_Yjh6Za1j4AR8IgGUZGDDTs", "phone": "(408) 996-1010", "place_id": "ChIJ_Yjh6Za1j4AR8IgGUZGDDTs", "website": "http://www.apple.com/", "types": [ "Corporate campus", "Computer repair service" ]}
What you send
The input
object of the request, with every field the endpoint accepts.
| Field | Type | Required | What it does | Example |
|---|---|---|---|---|
| business_name | string | yes | The business to find, such as Apple Inc. | Apple Inc |
| city | string | no | The city it is in, to pick the right branch or company. | Cupertino |
| country | string | no | Two-letter country code, such as us or gb. | |
| lang | string | no | Language for names and labels, such as en or en-US. | |
| state | string | no | The state or region it is in. | CA |
Fields it returns
What each record in the response holds, with the values from the sample above.
| Field | Type | What it is | Example |
|---|---|---|---|
| name | string | The place's name on Google Maps. | Apple Park |
| confidence | string | How well the place matched your input: high for a name match, medium for Google's top result. | high |
| address | string | The place's address as Google Maps shows it. | One Apple Park Way, Cupertino, CA 95014 |
| phone | string | The place's phone number as listed. | (408) 996-1010 |
| website | string | The website the place links to. | http://www.apple.com/ |
| rating | number | The place's average star rating. | 4.3 |
| review_count | integer | How many reviews the place has. | 8237 |
| cid | string | Google Maps' numeric ID (CID) for the place. | 4255201883087866096 |
| feature_id | string | Google Maps' feature ID for the place; the reviews endpoint accepts it. | 0x808fb596e9e188fd:0x3b0d8391510688f0 |
| lat | number | The place's latitude. | 37.33 |
| lng | number | The place's longitude. | -122.01 |
| maps_url | string | A link to the place on Google Maps. | https://www.google.com/maps/place/?q=place_id:ChIJ_Yjh6Za1j4AR8… |
| place_id | string | Google's place ID for this place. | ChIJ_Yjh6Za1j4AR8IgGUZGDDTs |
| types | array | The categories Google Maps lists for the place. | Corporate campus, Computer repair service, Electronics store |
Call it from your code, or ask your agent
Set UPSCRAPE_API_KEY to your key and copy a working request.
curl --request POST \ --url https://data.upscrape.com/execute \ --header "Authorization: Bearer $UPSCRAPE_API_KEY" \ --header "Content-Type: application/json" \ --header "Prefer: wait=30" \ --data '{ "capability": "googlemaps.enrich", "input": { "business_name": "Apple Inc", "city": "Cupertino", "state": "CA" }}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "googlemaps.enrich", "input": { "business_name": "Apple Inc", "city": "Cupertino", "state": "CA" }}''')response = requests.post( "https://data.upscrape.com/execute", headers={ "Authorization": f"Bearer {os.environ['UPSCRAPE_API_KEY']}", "Content-Type": "application/json", "Prefer": "wait=30", }, json=payload,)response.raise_for_status()print(json.dumps(response.json(), indent=2))
const response = await fetch("https://data.upscrape.com/execute", { method: "POST", headers: { "Authorization": `Bearer ${process.env.UPSCRAPE_API_KEY}`, "Content-Type": "application/json", "Prefer": "wait=30", }, body: JSON.stringify({ "capability": "googlemaps.enrich", "input": { "business_name": "Apple Inc", "city": "Cupertino", "state": "CA" }}),});if (!response.ok) { throw new Error(`Upscrape request failed: ${response.status}`);}console.log(JSON.stringify(await response.json(), null, 2));
https://data.upscrape.com/mcp
Use Upscrape to find Apple Inc in Cupertino, CA on Google Maps and give me its address, phone, website and rating. Tell me how confident the match is.
More from the Google Maps API
Google Maps Enrich Business API FAQ
The short answers. The docs have the long ones.
How much does the Google Maps Enrich Business API cost?
1 credit per successful call, shown before it runs. You buy credits once, and paid credits never expire.
What do I send?
Send business_name. The input fields below list every option with its type and limits.
Do I need a Google Maps login?
No. It reads public Google Maps data; nothing runs on your account.
Can my AI agent call it?
Yes, over MCP: the agent finds googlemaps.enrich, checks its price and runs it with the same credits as the REST API.
Your first Google Maps call is free.
Up to 100 free credits to start, no card needed.