Google Maps API
Complete documentation for the Google Maps API. 9 endpoints for business search, details, reviews, photos with upload metadata, and more.
Google Maps Scraper APIEndpoints
10 endpoints/query_locateGeocode a search query to latitude and longitude coordinates using Google Maps.
/search_nearbySearch for businesses and places near a specific location on Google Maps.
/locate_and_searchGeocode a location and search for nearby businesses in a single API call.
/business_detailsRetrieve comprehensive details for a specific business on Google Maps.
/business_reviewsRetrieve user reviews for a specific business on Google Maps with sorting and pagination.
/business_photosGet every photo and video of a Google Maps business in pages of 20, with dish labels, …
/business_photo_detailsGet one Google Maps photo or video with its upload date and hour, the date it was taken, …
/business_photos_categoriesList the photo categories of a Google Maps business (Menu, Food & drink, dishes, Videos, …
/business_questions_and_answersRetrieve questions and answers posted by users for a specific business on Google Maps.
/autocompleteGet place autocomplete suggestions from Google Maps for a given query.
Overview
The Google Maps API provides comprehensive access to Google Maps business data. Search for businesses, retrieve detailed information, reviews, photos and photo metadata, and more. All data is returned in structured JSON format, ready for integration into your applications.
This API includes 9 endpoints covering the full range of Google Maps data extraction needs, from location-based search to detailed business information and user-generated content.
Authentication
All requests require a valid RapidAPI key. Include the following headers with every request:
| Header | Value |
|---|---|
X-RapidAPI-Key | YOUR_API_KEY |
X-RapidAPI-Host | google-maps-extractor2.p.rapidapi.com |
You can obtain an API key by subscribing to the Google Maps API on RapidAPI .
Base URL
| |
Endpoints
| Endpoint | Method | Path | Description |
|---|---|---|---|
| Query Locate | GET | /query_locate | Geocode a query to latitude/longitude coordinates |
| Search Nearby | GET | /search_nearby | Search for businesses near a location |
| Locate and Search | GET | /locate_and_search | Geocode a query and search for businesses in one call |
| Business Details | GET | /business_details | Get full details for a specific business |
| Business Reviews | GET | /business_reviews | Retrieve reviews for a business |
| Business Photos | GET | /business_photos | Get photos and videos for a business, in pages of 20 |
| Business Photo Details | GET | /business_photo_details | Upload date and hour, date taken, coordinates and upload source of one photo |
| Business Photos Categories | GET | /business_photos_categories | List available photo categories for a business |
| Autocomplete | GET | /autocomplete | Get place autocomplete suggestions |
Billing
Every endpoint costs 1 request per call, except Business Photos
: it counts 1 request per page of 20 photos fetched, plus 1 per photo when you ask for details=true. limit=20 costs 1, limit=60 costs 3, limit=20&details=true costs 21.
Rate Limits
Rate limits depend on your RapidAPI subscription plan. Check your plan details on the RapidAPI listing for specific limits.