Google Maps API
maps.google.com
Google Maps - search restaurants and other places, place details, opening hours, ordering links and menu photos.
- Actions
- 3
- 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_menu_photos.
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_menu_photos",
"params": {
"place_id": "<place_id>",
"cid": "<cid>"
}
}'3 actions on maps.google.com
Read
Menu Photos
gmaps_menu_photosread2 credits / callGet the menu Google shows for a restaurant: the menu photos from its Menu tab (image URLs in full size and thumbnail, each marked is_menu_photo) and, when Google has one, the text menu as menu_items: sections with dish name, description, price and currency. Pass place_id or cid from Search Restaurants for an exact match (place_verified confirms the address), or a name and city as query. Places without a Menu tab return n=0 with a note; many menus list dishes without prices. US restaurants usually return in about 8-15 s; other countries take about 20-80 s.
- place_id
- string
- cid
- string
- query
- string
- gl
- string
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. Ordering links are best effort: order_links_status says ok, none, or unavailable (try again later). 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 any 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 3 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.