Yelp Local Business Search & Ratings
Search local businesses on Yelp by category query and city/neighborhood with average rating, review counts, categories, and street address.
curl -sG "https://api.agentapigate.ai/v1/reviews/yelp/search" \ --data-urlencode "query=pizza" \ --data-urlencode "location=Chicago, IL" \ --data-urlencode "limit=10" \ --data-urlencode "format=md" \ -H "Authorization: Bearer aag_live_YOUR_KEY" \ -H "X-AAG-Max-Cost: 0.0100"
# Yelp Local Business Search & Ratings (`reviews.yelp.search`) **query**: pizza · **location**: Chicago, IL · **count**: 10 ## businesses - [1] id: DXwSYgiXqIVNdO9dazel6w, alias: pequods-pizza-chicago-3, name: Pequod's Pizza, avg_rating: 4, reviews_count: 9051 - [2] id: 8vFJH_paXsMocmEO_KAa3w, alias: lou-malnatis-pizzeria-chicago, name: Lou Malnati's Pizzeria, avg_rating: 4, reviews_count: 7990 - [3] id: Bxd9Y2PsdvIOGIKFQh53RQ, alias: giordanos-chicago-30, name: Giordano's, avg_rating: 4, reviews_count: 4448 - [4] id: aK_nSA7bnAkEFu8GZkmcAg, alias: pizzeria-gabbo-chicago, name: Pizzeria Gabbo, avg_rating: 4.5, reviews_count: 21 - [5] id: Rn3o8GcYBPFJX5MWJn0r1Q, alias: roberts-pizza-and-dough-chicago, name: Robert's Pizza and Dough, avg_rating: 4.5, reviews_count: 1261 - [6] id: Mud-L2vMAtmvWpjo3tDvaA, alias: zazas-pizzeria-chicago, name: Zazas Pizzeria, avg_rating: 4.5, reviews_count: 436 - [7] id: cxAkuwv7p4gm4Coixw7h9A, alias: lou-malnatis-pizzeria-chicago-9, name: Lou Malnati's Pizzeria, avg_rating: 4, reviews_count: 3498 - [8] id: z8G5AfXYbJD2jQpSEF633g, alias: michaels-original-pizzeria-and-tavern-chicago, name: Michael's Original Pizzeria & Tavern, avg_rating: 4.5, reviews_count: 999 - [9] id: SXRUKDBRsBoVKmtp8aU6qw, alias: zarella-pizzeria-and-taverna-chicago-2, name: Zarella Pizzeria & Taverna, avg_rating: 4.5, reviews_count: 310 - [10] id: QNbWTNuAEMWOurHN8rMXnA, alias: chicago-pizza-and-oven-grinder-company-chicago, name: Chicago Pizza And Oven Grinder Company, avg_rating: 4, reviews_count: 3313
Endpoint Parameters, Cost & Token Economy Reference
Endpoint ID:reviews.yelp.search · Method: GET| Parameter | Type | Req | Sample / Default | Description |
|---|---|---|---|---|
| query | string | required | pizza | Business keyword or category (e.g. pizza, coffee, dentist) |
| location | string | required | Chicago, IL | City, state, or postal code (e.g. Chicago, IL) |
| limit | number | optional | 10 | Max businesses (1-25) |
| format | enum | optional | json | compact | md | Response format; compact or md cuts LLM tokens. |
| dry_run | 0 | 1 | optional | 1 | Returns exact pre-flight price quote & validation at $0.00 cost. |
| Access Rail / Metric | Value | Policy & SLA |
|---|---|---|
| API Key (PAYG) | $0.0060 / call | $0/mo · Balance never expires |
| Remote MCP Tool | reviews_yelp_search | OAuth 2.1 Hub & /mcp/local |
| x402 Base USDC | $0.0060 / call | Zero-signup USDC enabled |
| P50 Latency | 2184 ms | $0 billed on empty or 4xx/5xx |
| Token Economy | 2276t → 406t (-82%) | Partner credit: paid_usd / x402 |
More Maps & Reviews Real-Time APIs
Search Google Maps places and local businesses with ratings, review counts, addresses, phones, and websites.
Inspect detailed place profile, operating hours, contact links, and coordinates for a business name and city.
Fetch recent customer ratings, review titles, app versions, and review text from the Apple iOS App Store.
Inspect company TrustScore rating, review count, and recent verified customer reviews on Trustpilot.
Search real-time hotel availability, total stay pricing, guest review scores, star class, and check-in windows by city destination and dates.
Inspect live FAA National Airspace System (NAS) airport ground stops, arrival/departure delays, and carrier flight-number routing metadata (commercial ADS-B live track feed in partner onboarding preview).
Frequently Asked Questions
How do I call Yelp Local Business Search & Ratings (reviews.yelp.search) over REST and Remote MCP?
Send GET requests to https://api.agentapigate.ai/v1/reviews/yelp/search with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool reviews_yelp_search on https://mcp.agentapigate.ai/mcp.
What does reviews.yelp.search cost per call and are failed calls billed?
Each successful HTTP 200 response costs $0.006 USD from a non-expiring PAYG balance ($0/month minimum). Upstream errors, empty responses, and ?dry_run=1 pre-flight quotes always bill $0.00.
How does ?format=md or ?format=compact optimize AI agent token usage on reviews.yelp.search?
Passing ?format=md transforms the response into normalized Markdown (~406 tokens vs ~2276 raw tokens, saving 82% of LLM context budget) while preserving structured JSON via ?format=json.
Can I restrict an AI agent key to only local endpoints with a daily USD cap?
Yes. Create a scoped aag_agent_* sub-key via POST /v1/keys with allowed_packs: ["local"], optional allowed_endpoints: ["reviews.yelp.search"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.