Combine geocoding and business search into a single API call. This endpoint first resolves your query to geographic coordinates, then searches for businesses in that area. Supports pagination with limit and offset parameters for retrieving large result sets.
HTTP Request
| |
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
query | string | Yes | — | Search query including location context (e.g., “restaurants in Chicago”) |
language | string | No | "en" | Language code for the response |
country | string | No | "us" | Country code for regional bias |
zoom | integer | No | 7 | Map zoom level (3-21). Higher values narrow the search area |
limit | integer | No | 20 | Maximum number of results to return |
offset | integer | No | 0 | Number of results to skip for pagination |
Response
| |
Response Fields
| Field | Type | Description |
|---|---|---|
status | string | Request status |
data | array | List of matching businesses |
data[].business_id | string | Unique business identifier |
data[].name | string | Business name |
data[].address | string | Full address |
data[].phone | string | Phone number |
data[].rating | number | Average rating (1-5) |
data[].reviews_count | integer | Total number of reviews |
data[].category | string | Primary business category |
data[].latitude | number | Business latitude |
data[].longitude | number | Business longitude |
data[].website | string | Business website URL |
location | object | Resolved coordinates for the query location |
location.latitude | number | Latitude of the resolved location |
location.longitude | number | Longitude of the resolved location |
Code Examples
| |
| |
| |
Related Endpoints
- Query Locate — Geocode a location separately
- Search Nearby — Search with explicit coordinates
- Business Details — Get full details for a business from the results