Search for businesses and places near a specific location. Provide a search query along with optional geographic coordinates to find relevant businesses in the area. Returns a list of businesses with key details like name, address, rating, and contact information.
HTTP Request
| |
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
query | string | Yes | — | Search query (e.g., “coffee shops”, “dentist”, “Italian restaurant”) |
language | string | No | "en" | Language code for the response |
country | string | No | "us" | Country code for regional bias |
lat | number | No | — | Latitude of the center point for the search |
lng | number | No | — | Longitude of the center point for the search |
Response
| |
Response Fields
| Field | Type | Description |
|---|---|---|
status | string | Request status |
data | array | List of matching businesses |
data[].business_id | string | Unique business identifier (use with detail endpoints) |
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 |
data[].hours | string | Operating hours |
Code Examples
| |
| |
| |
Related Endpoints
- Query Locate — Geocode a location name to coordinates for use with this endpoint
- Business Details — Get full details for a business found in search results
- Locate and Search — Combine geocoding and search in a single call