Google Maps API
maps.google.com
Real-time driving route duration and distance between two coordinate pairs via Google Maps preview/directions API.
- Actions
- 2
- Category
- Travel
- Login
- Not required
- Output
- JSON
Call the Google Maps API
Submit a task, then poll the job until it settles. This example runs gmaps_place_details.
curl -X POST https://api.anakin.io/v1/wire/task \
-H "X-API-Key: $ANAKIN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"action_id": "gmaps_place_details",
"params": {
"place_id": "ChIJxcCceAi1RIYR9AqXT8eWDyc",
"cid": "<cid>"
}
}'2 actions on maps.google.com
Read
Place Details
gmaps_place_detailsread2 credits / callGet Google Maps details for one place by place_id, cid or Maps URL: name, address, coordinates, categories, rating, review count, phone, website, business status (including closed), weekly opening hours, current open state, online-ordering links Google shows (e.g. DoorDash, Uber Eats, the restaurant's own site) and the dishes/topics Google highlights from reviews. Google does not publish a priced text menu or price level here.
- place_id
- string
- cid
- string
- maps_url
- string
Search Restaurants
gmaps_search_placesread2 credits / callFind restaurants, bars, cafés, bakeries, food trucks and other food & drink places on Google Maps around a US location. Returns up to 20 places per page with place_id, name, address, coordinates, categories, rating, review count, phone, website and business status (operational / temporarily closed / permanently closed). Closed listings are included by default. Use next_page to page through results and place_id with Place Details for hours and more.
- query
- string · required
- location
- string
- latitude
- number
- longitude
- number
- zoom
- integer
- page
- integer
- limit
- integer
- include_closed
- boolean
Google Maps API questions
- Is there an API for Google Maps?
- Google Maps does not offer a public data API for this, but Anakin Wire provides 2 maintained endpoints for maps.google.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
- How do I scrape Google Maps data?
- POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when maps.google.com changes its markup, Anakin updates the action.
- Do I need a Google Maps account?
- No. Every Google Maps action listed here runs anonymously — no account and no credentials required.
- What does the Google Maps API cost?
- Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.
More Travel APIs
ADS-B Exchange
ADS-B Exchange - live flight tracking, aircraft positions, route history, and details.
Aeromexico
Aeromexico - flight and fare search, schedules, flight status, and destinations.
Afar
Travel destination guides, articles, and curated itineraries.
Agoda
Agoda - travel platform for hotels, vacation rentals, flights, and tours.
Airbnb
Airbnb - stay search by destination and dates with full property details.
Airbnb Portugal
Airbnb Portugal - stay search, listings, pricing, availability, and reviews.