Search Google Maps for local businesses and places API
Get Search Google Maps for local businesses and places data via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no proxies required. Compare 2 implementations (OpenAny and Search1API), pass parameters such as max_results, page, query, and retrieve structured data including name, address, returned categories field, returned category field, and returned coordinates field to search interfaces and source review, and integration reference.
- Selected price
- $0.003 / callPublished pricing
- Sellers / APIs
- 2 / 2
- Requests · 30d
- 1Selected implementation · last 30 days
- Success rate · 30d
- 100.00%Selected implementation · last 30 days
Search Google Maps for local businesses and places API
Prepare your request, then continue with your agent.
Selected price
$0.003 / call
- Provider
- API
- Pricing
On this page
Overview
Search Google Maps for local businesses and places API
Discover businesses and places with names, place IDs and public Maps links, plus addresses, contact details, ratings, review counts, coordinates and opening hours when available. Provide query in body. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.
Quick Facts
| Fact | Value |
|---|---|
| Access | OpenAny REST |
| Authentication | OpenAny API key in the Authorization header |
| Core inputs | body: query, country, language, location, page, max_results |
| Selected implementation | openany · Search Google Maps for local businesses and places |
| Billing | Follow the selected implementation pricing, billing unit, quantity and charge rules |
What You Can Build
- Search interfaces and source review: Keep returned sources and query context together.
- Integration reference: Use the selected request format and keep source identifiers with the returned result.
Documented Response Fields
| Field | Meaning |
|---|---|
results[].name |
Name |
results[].address |
Address |
results[].categories |
Returned categories field |
results[].category |
Returned category field |
results[].coordinates |
Returned coordinates field |
results[].description |
Description |
results[].maps_url |
Returned maps url field |
results[].open_state |
Returned open state field |
Quick Start
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the JSON body and supported fields shown in the request template.
- Check the HTTP response and business result before reading optional fields.
curl \
'https://api.openany.si/v1/agent-apis/openany/maps' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"max_results": 5,
"page": 1,
"query": "coffee in Manhattan"
}'
Request and Response Examples
The response illustration is a schema template, not a captured business response. Replace request placeholders and read actual returned values for your target resource.
Published Search Google Maps for local businesses and places API implementation contract.
Pricing and Billing
The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.
Frequently Asked Questions
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
Current Search Google Maps for local businesses and places · POST · View API reference | $0.003 / call | 1 | 100.00%successP502.04s | |
| Search1API Maps Places · POST · View API reference | $0.003 / call | —Select to load statistics | —successP50— |
- Unit price
- $0.003
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 5. Price update time: not supplied.
Total $0.3
API
- Method
- POST
- Endpoint
https://api.openany.si/v1/agent-apis/openany/maps- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
query | JSON request bodybody | string | Yes | Google Maps search phrase; leading and trailing whitespace is removed. minLength: 1 · maxLength: 1000 |
country | JSON request bodybody | string | No | Two-letter country code, normalized to lowercase. Defaults to us. |
language | JSON request bodybody | string | No | Result language, for example en, de or zh-CN. Defaults to en. |
location | JSON request bodybody | object | No | Search origin coordinates and map zoom (default 14). Required for page > 1. Latitude must be -90 to 90, longitude -180 to 180, and zoom 3 to 30. Example: {"latitude":40.7455,"longitude":-74.0083,"zoom":15}. |
page | JSON request bodybody | integer | No | Page number, 1–6; default 1. Accepts an integer or canonical integer string such as "2". Empty strings use the default. Pages after the first require location. minimum: 1 · maximum: 6 |
max_results | JSON request bodybody | integer | No | Maximum places to return from this page, 1–20; default 20. Accepts an integer or canonical integer string such as "10". Empty strings use the default. Truncation does not reduce the page charge or carry places to the next page. minimum: 1 · maximum: 20 |
Required markers inside a nested object or variant apply when that object or variant is used.
Response structure
resultsobject[]addressstringcategoriesstring[]categorystringcoordinatesobjectlatitudeintegerlongitudeinteger
descriptionstringmaps_urlstringnamestringopen_statestringopening_hoursobjectfridaystringmondaystringsaturdaystringsundaystringthursdaystringtuesdaystringwednesdaystring
phonestringplace_idstringpositionintegerpricestringratingintegerreview_countintegerthumbnailstringwebsitestring
searchParametersobjectcountrystringlanguagestringlocationobjectlatitudeintegerlongitudeintegerzoominteger
max_resultsintegerpageintegerquerystring
Agent integration
Copy the resource contract without sharing an API key.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Schema template · Basic request (HTTP assumed)
Response illustration only. Placeholder values and unknown business fields are not recorded API results. Replace request placeholders before use.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 6
Review these request fields before running. Keep the published provider and request method unchanged.
query- Google Maps search phrase; leading and trailing whitespace is removed.
country- Two-letter country code, normalized to lowercase. Defaults to us.
language- Result language, for example en, de or zh-CN. Defaults to en.
location- Search origin coordinates and map zoom (default 14). Required for page > 1. Latitude must be -90 to 90, longitude -180 to 180, and zoom 3 to 30. Example: {"latitude":40.7455,"longitude":-74.0083,"zoom":15}.
page- Page number, 1–6; default 1. Accepts an integer or canonical integer string such as "2". Empty strings use the default. Pages after the first require location.
max_results- Maximum places to return from this page, 1–20; default 20. Accepts an integer or canonical integer string such as "10". Empty strings use the default. Truncation does not reduce the page charge or carry places to the next page.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/openany/maps' \ -X POST \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json' \ --data-raw '{ "max_results": 5, "page": 1, "query": "coffee in Manhattan" }'Check the response
Response template · not a real response · Configured HTTP 200; actual status is unverified.
Response template · not a real response{ "results": [ { "address": "<address>", "categories": [ "<0>" ], "category": "<category>", "coordinates": { "latitude": -90, "longitude": -180 }, "description": "<description>", "maps_url": "<maps_url>", "name": "<name>", "open_state": "<open_state>", "opening_hours": { "friday": "<friday>", "monday": "<monday>", "saturday": "<saturday>", "sunday": "<sunday>", "thursday": "<thursday>", "tuesday": "<tuesday>", "wednesday": "<wednesday>" }, "phone": "<phone>", "place_id": "<place_id>", "position": 1, "price": "<price>", "rating": 0, "review_count": 0, "thumbnail": "<thumbnail>", "website": "<website>" } ], "searchParameters": { "country": "us", "language": "en", "location": { "latitude": -90, "longitude": -180, "zoom": 14 }, "max_results": 20, "page": 1, "query": "<query>" } }