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" }).
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 | Optional — your own Yelp Fusion API key for higher limits; omit to use the shared Pipeworx key. | |
| 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. |