Search Businesses
search_businessesSearch for local businesses and restaurants on Yelp by term and location. Returns matching businesses with star ratings, review counts, price, categories, address, and phone. Example: search_businesses({ term: "pizza", location: "San Francisco, CA" }).
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"term": "pizza",
"location": "San Francisco, CA"
},
"name": "search_businesses"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| term | No | Search term, e.g. "coffee", "pizza", "plumber". Optional. | |
| limit | No | Number of results to return (default 20, max 50). | |
| price | No | Price filter as comma-separated levels 1-4, e.g. "1,2,3" for $ to $$$. | |
| _apiKey | No | Required, your own Yelp Fusion key. Pipeworx fronts no platform key for Yelp (Fusion plan is $229/mo, #2275 open); every call is refused with none. | |
| sort_by | No | Sort order: "best_match" (default), "rating", "review_count", or "distance". | |
| latitude | No | Latitude of the search center. Use with longitude instead of location. | |
| location | No | Location to search, e.g. "San Francisco, CA" or "New York". Provide this OR latitude+longitude. | |
| open_now | No | If true, only return businesses currently open. | |
| longitude | No | Longitude of the search center. Use with latitude instead of location. |