yelp
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseYelp API
Yelp API
Local business search, business details, and reviews as clean JSON — one
plain HTTP GET per call, paid as you go. No Yelp Fusion API app approval, no
daily call cap, no API key request form.
Base URL:
https://yelp.fetcher.sh本地商家搜索、商家详情及评论以简洁JSON格式返回——每次调用仅需一个简单的HTTP GET请求,按需付费。无需Yelp Fusion API应用审批,无每日调用上限,无需填写API密钥申请表单。
Base URL:
https://yelp.fetcher.shAuthentication
Authentication
Two ways to pay, same data — full mechanics in the
skill:
fetcherbash
undefined两种付费方式,获取相同数据——完整机制详见技能:
fetcherbash
undefined1. Prepaid credits (recommended — get a key at https://fetcher.sh/topup
1. 预付费额度(推荐——前往https://fetcher.sh/topup获取密钥
or via POST /api/credits/topup, see the fetcher skill)
或通过POST /api/credits/topup,详见fetcher技能)
export FETCHER_API_KEY="bby_live_xxxxxxxxxxxx"
curl -H "Authorization: Bearer $FETCHER_API_KEY"
"https://yelp.fetcher.sh/api/search?query=ramen&location=San+Francisco"
"https://yelp.fetcher.sh/api/search?query=ramen&location=San+Francisco"
export FETCHER_API_KEY="bby_live_xxxxxxxxxxxx"
curl -H "Authorization: Bearer $FETCHER_API_KEY"
"https://yelp.fetcher.sh/api/search?query=ramen&location=San+Francisco"
"https://yelp.fetcher.sh/api/search?query=ramen&location=San+Francisco"
2. x402 pay-per-call — omit the header; a GET with no payment returns 402
2. x402按调用付费——省略请求头;未付费的GET请求会返回402状态码,
with machine-readable payment requirements (USDC on Base, Polygon,
附带机器可读的支付要求(基于Base、Polygon、Arbitrum、Monad或Solana网络的USDC)。@x402/fetch会自动签名并重试请求。
Arbitrum, Monad, or Solana). @x402/fetch signs and retries automatically.
—
Every response is `{ "status": number, "message": string, "data": ... }`; the
HTTP status mirrors `status`.
所有响应格式均为`{ "status": number, "message": string, "data": ... }`;HTTP状态码与`status`字段值一致。Endpoints (4 — all GET, $0.003/call)
Endpoints (4 — all GET, $0.003/call)
| Endpoint | What it returns |
|---|---|
| Businesses matching a query and location |
| A business's full details by ID |
| A business's full details by its Yelp URL handle/slug |
| A business's reviews |
Required on search: , . Optional: (,
, ), . Reviews support .
querylocationsortByrecommendedratingreviewCountpagepage| 接口 | 返回内容 |
|---|---|
| 匹配查询内容和地点的商家列表 |
| 通过ID获取商家的完整详情 |
| 通过Yelp URL别名/短链接获取商家的完整详情 |
| 商家的评论列表 |
搜索接口必填参数:、。可选参数:(、、)、。评论接口支持参数。
querylocationsortByrecommendedratingreviewCountpagepageScenarios
Scenarios
Highest rated first:
bash
curl -H "Authorization: Bearer $FETCHER_API_KEY" \
--data-urlencode "query=ramen" -G \
--data-urlencode "location=San Francisco" \
--data-urlencode "sortBy=rating" \
"https://yelp.fetcher.sh/api/search"Most reviewed first:
bash
curl -H "Authorization: Bearer $FETCHER_API_KEY" \
--data-urlencode "query=tacos" -G \
--data-urlencode "location=Austin, TX" \
--data-urlencode "sortBy=reviewCount" \
"https://yelp.fetcher.sh/api/search"A business's details by ID, or by its Yelp URL handle/slug:
bash
curl -H "Authorization: Bearer $FETCHER_API_KEY" \
"https://yelp.fetcher.sh/api/place/gary-danko-san-francisco"
curl -H "Authorization: Bearer $FETCHER_API_KEY" \
"https://yelp.fetcher.sh/api/place/handle/gary-danko-san-francisco"A business's reviews, paginated:
bash
curl -H "Authorization: Bearer $FETCHER_API_KEY" \
--data-urlencode "page=2" -G \
"https://yelp.fetcher.sh/api/place/gary-danko-san-francisco/reviews"按评分从高到低排序:
bash
curl -H "Authorization: Bearer $FETCHER_API_KEY" \
--data-urlencode "query=ramen" -G \
--data-urlencode "location=San Francisco" \
--data-urlencode "sortBy=rating" \
"https://yelp.fetcher.sh/api/search"按评论数从多到少排序:
bash
curl -H "Authorization: Bearer $FETCHER_API_KEY" \
--data-urlencode "query=tacos" -G \
--data-urlencode "location=Austin, TX" \
--data-urlencode "sortBy=reviewCount" \
"https://yelp.fetcher.sh/api/search"通过ID或Yelp URL别名/短链接获取商家详情:
bash
curl -H "Authorization: Bearer $FETCHER_API_KEY" \
"https://yelp.fetcher.sh/api/place/gary-danko-san-francisco"
curl -H "Authorization: Bearer $FETCHER_API_KEY" \
"https://yelp.fetcher.sh/api/place/handle/gary-danko-san-francisco"分页获取商家评论:
bash
curl -H "Authorization: Bearer $FETCHER_API_KEY" \
--data-urlencode "page=2" -G \
"https://yelp.fetcher.sh/api/place/gary-danko-san-francisco/reviews"MCP
MCP
json
{
"mcpServers": {
"yelp": {
"url": "https://yelp.fetcher.sh/mcp",
"headers": { "Authorization": "Bearer bby_live_..." }
}
}
}Free: , , . Paid:
(any endpoint above), , plus the named shortcut
. Drop the block to pay per call with x402 instead —
see the skill for the full flow.
search_endpointsdescribe_endpointcheck_balancefetch_datatopup_creditsyelp_searchheadersfetcherjson
{
"mcpServers": {
"yelp": {
"url": "https://yelp.fetcher.sh/mcp",
"headers": { "Authorization": "Bearer bby_live_..." }
}
}
}免费接口:、、。付费接口:(上述任意接口)、,以及命名快捷方式。若要改用x402按调用付费,可移除配置块——完整流程详见技能。
search_endpointsdescribe_endpointcheck_balancefetch_datatopup_creditsyelp_searchheadersfetcherErrors
Errors
- — missing/invalid parameter (message names it)
400 - — unknown or rotated key
401 - — payment required (x402 challenge) or
402(credits exhausted)topup_required - — not a priced path
404 - No rate limits; no refunds on upstream failures (settlement precedes delivery)
- — 参数缺失/无效(返回信息会指明具体参数)
400 - — 密钥未知或已过期
401 - — 需要支付(x402验证挑战)或
402(额度耗尽)topup_required - — 路径未定价
404 - 无速率限制;上游服务故障时不予退款(结算优先于交付)
Reference
Reference
- Full agent setup: https://yelp.fetcher.sh/skill.md
- OpenAPI 3.1 contract: https://yelp.fetcher.sh/openapi.json
- Condensed catalog: https://yelp.fetcher.sh/llms.txt
- Payment, credits, and MCP deep dive: skill
fetcher - Site: https://yelp.fetcher.sh
- 完整Agent设置:https://yelp.fetcher.sh/skill.md
- OpenAPI 3.1契约:https://yelp.fetcher.sh/openapi.json
- 精简目录:https://yelp.fetcher.sh/llms.txt
- 支付、额度及MCP深度解析:技能
fetcher - 官网:https://yelp.fetcher.sh