API
Google Local API
Local businesses with rating, reviews, category, address, phone, hours and website.
What you get
- name
- rating
- reviews
- category
- address
- phone
- hours
- website
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| query | string | Yes | Search term. |
| country | string | No | 2-letter country code, one of: us, gb, uk, ca, au, de, fr, nl, it, es, pt, be, at, ch, se, no, dk, fi, ie, pl, cz, il, ae, in, jp, kr, sg, mx, br, nz, za, tr ("uk" = "gb"). Default "us". |
| language | string | No | 2-letter language code. Default "en". |
| page | integer | No | Results page, 1-10. Default 1. |
Example
curl -X POST https://api.crawlerdata.com/v1/jobs \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"endpoint":"google-local","params":{"query":"coffee shops in austin tx","country":"us"},"queue":"live"}'const res = await fetch('https://api.crawlerdata.com/v1/jobs', {
method: 'POST',
headers: { Authorization: 'Bearer YOUR_API_KEY', 'Content-Type': 'application/json' },
body: JSON.stringify({
"endpoint": "google-local",
"params": {
"query": "coffee shops in austin tx",
"country": "us"
},
"queue": "live"
}),
});
const { job, result } = await res.json();import requests
res = requests.post(
"https://api.crawlerdata.com/v1/jobs",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={
"endpoint": "google-local",
"params": {
"query": "coffee shops in austin tx",
"country": "us",
},
"queue": "live",
},
)
data = res.json(){
"search_parameters": {
"engine": "google_local",
"query": "coffee shops in austin tx",
"country": "us",
"language": "en",
"page": 1
},
"local_results": [
{
"position": 1,
"title": "Epoch Coffee",
"rating": 4.5,
"reviews": 2500,
"type": "Coffee shop",
"address": "221 W N Loop Blvd, Austin, TX 78751",
"phone": "(512) 454-3762",
"hours": "Open 24 hours",
"website": "http://www.epochcoffee.com/"
},
{
"position": 2,
"title": "Flora Coffee & Culture",
"rating": 4.9,
"reviews": 411,
"type": "Coffee shop",
"address": "3300 W Anderson Ln. Ste 300, Austin, TX 78757",
"phone": null,
"hours": "Closed ยท Opens 7 AM",
"website": "http://floracoffee.co/"
}
]
}Pricing
1 credit per request, the same on the live, fast, regular queues. $1.00 per 1,000 requests, down to $0.30 with larger packs.
| Pack | Credits | Price per 1,000 requests |
|---|---|---|
| Starter | 50,000 | $1.00 |
| Standard | 500,000 | $0.75 |
| Scale | 2,500,000 | $0.50 |
| Ultimate | 12,500,000 | $0.30 |
Failed requests are not charged. Prices exclude sales tax/VAT. See full pricing →
Related APIs
Google Search API
Organic results with real destination links, ads, AI Overview, People Also Ask, local pack, top stories, knowledge panel and related searches. Desktop or mobile.
from $0.30 / 1,000 requests
Google Autocomplete API
Google search suggestions for what someone has typed so far.
from $0.30 / 1,000 requests