Maps API
Extract comprehensive local business data, reviews, and geographic information from Google Maps.Basic Maps Request
Endpoint
Search Local Businesses
Response
Request Types
Local Search
Find businesses by category and location:Place Details
Get detailed information about a specific place:Coordinates Search
Search by geographic coordinates:Parameters
Required Parameters
| Parameter | Type | Description |
|---|---|---|
query | string | Search query (e.g., “restaurants”, “hotels”) |
location | string | Location name or address |
Optional Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
limit | integer | 20 | Maximum number of results |
radius | string | 5km | Search radius (e.g., “1km”, “5mi”) |
min_rating | float | 0 | Minimum rating filter (0-5) |
price_level | string | any | Price filter: $, $$, $$$, $$$$ |
open_now | boolean | false | Only show currently open businesses |
include_reviews | boolean | false | Include customer reviews |
include_photos | boolean | false | Include business photos |
language | string | en | Response language |
Response Data
Business Information
Operating Hours
Reviews and Ratings
Photos and Media
Use Cases
Local Business Directory
Build comprehensive business directories:Competitor Analysis
Research competitors in your area:Market Research
Analyze market density and opportunities:Review Monitoring
Track reviews for your business:Advanced Features
Multi-Location Search
Search multiple locations in one request:Category Filtering
Filter by specific business categories:Trending Places
Find trending or popular places:SDK Examples
Node.js
Python
Rate Limits
| Plan | Requests/Hour | Data Points/Request |
|---|---|---|
| Free | 50 | 10 |
| Starter | 500 | 25 |
| Professional | 5,000 | 100 |
| Enterprise | Custom | Custom |
Pricing
- Basic search: $0.002 per result
- With reviews: $0.005 per result
- With photos: $0.008 per result
- Place details: $0.001 per request
Error Handling
Location Not Found
No Results
Rate Limit Exceeded
Best Practices
Query Optimization
- Use specific business categories for better results
- Include location context for accurate targeting
- Combine filters to narrow down results
Data Management
- Cache frequently accessed business data
- Update business information regularly
- Handle closed/moved businesses gracefully
Cost Optimization
- Request only needed data fields
- Use appropriate result limits
- Implement smart caching strategies
Compliance
- Google Maps Terms: Respect Google’s terms of service
- Rate Limiting: Stay within API limits
- Data Usage: Follow data usage guidelines
- Attribution: Provide proper attribution when required
Next Steps
- Learn about SERP API for search data
- Explore Batch Processing for multiple locations
- Check Page Interaction for dynamic content

