Search Yelp businesses
litescrape.yelp.business.searchReturns Yelp businesses in `organic_results`
- Price
- $0.00015/successプロバイダー原価
- Success rate
- —成功率データはまだありません成功率データはまだありません
- Latency p50
- ——
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/litescrape.yelp.business.search?find_loc=Austin%2C+TX&find_desc=coffeePreview- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
Four live requests returned upstream 503 service_unavailable. The documented request contract and price are retained; no successful result is verified yet.
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
l | 文字列 | 任意 | Yelp map-bounds token, up to 1,024 characters. | g:-97.80,30.20,-97.70,30.30 |
cflt | 文字列 | 任意 | Yelp category identifier, such as coffee. | coffee |
attrs | 文字列 | 任意 | Comma-separated Yelp attribute filters, such as OutdoorSeating; up to 4,096 characters. | OutdoorSeating |
start | 整数 | 任意 | Result offset from 0 through 10,000. | |
sortby | 文字列 | 任意 | Result order. | |
timeout | 数値 | 任意 | Optional budget for the entire request in seconds, measured from gateway receipt until the response is ready to send. Includes admission, queueing and settlement. Must be greater than 0 and at most 90. On expiry, the call is not billed and returns 503 request_deadline_exceeded with retryable=true and a request ID. Omit to retain the standard server deadline. | |
find_loc | 文字列 | 必須 | Search location, 1 to 500 characters. | Austin, TX |
find_desc | 文字列 | 任意 | Business name, category, or search terms, up to 500 characters. | coffee |
yelp_domain | 文字列 | 任意 | Supported first-party localized Yelp hostname, such as www.yelp.co.uk. Links in the response use this hostname. | www.yelp.com |
- クエリパラメータ
l文字列任意Yelp map-bounds token, up to 1,024 characters.
例:
g:-97.80,30.20,-97.70,30.30cflt文字列任意Yelp category identifier, such as coffee.
例:
coffeeattrs文字列任意Comma-separated Yelp attribute filters, such as OutdoorSeating; up to 4,096 characters.
例:
OutdoorSeatingstart整数任意Result offset from 0 through 10,000.
sortby文字列任意Result order.
timeout数値任意Optional budget for the entire request in seconds, measured from gateway receipt until the response is ready to send. Includes admission, queueing and settlement. Must be greater than 0 and at most 90. On expiry, the call is not billed and returns 503 request_deadline_exceeded with retryable=true and a request ID. Omit to retain the standard server deadline.
find_loc文字列必須Search location, 1 to 500 characters.
例:
Austin, TXfind_desc文字列任意Business name, category, or search terms, up to 500 characters.
例:
coffeeyelp_domain文字列任意Supported first-party localized Yelp hostname, such as www.yelp.co.uk. Links in the response use this hostname.
例:
www.yelp.com
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
curl -X GET 'https://toolswitch.dev/v1/tools/litescrape.yelp.business.search?find_loc=Austin%2C+TX&find_desc=coffee' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/litescrape.yelp.business.search?find_loc=Austin%2C+TX&find_desc=coffee",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/litescrape.yelp.business.search?find_loc=Austin%2C+TX&find_desc=coffee", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $0.00015/success です。サービス料を含みます。