Sand AISand AI MAGI-2MAGI-2 が SandBase に登場しました: ネイティブ音声付き 1080p 動画今すぐ試す

Yelp Business Search

APIドキュメント
https://api.sandbase.ai/v1/api/yelp/search

Search Yelp businesses by keyword and location: name, rating, review count, price level, categories and address.

料金
$0.00015USD / 回
メソッド
POST
レスポンス
JSON
パラメータ
必須 1 件 · 任意 8 件
毎日 100 回まで無料1日あたり最初の 100 回は無料です(組織内で共有)· 00:00 UTC にリセットされます。それ以降は従量課金です。

プレイグラウンド

入力
Search location, 1 to 500 characters.
Business name, category, or search terms, up to 500 characters.
Supported first-party localized Yelp hostname, such as www.yelp.co.uk. Links in the response use this hostname.
Yelp map-bounds token, up to 1,024 characters.
Yelp category identifier, such as coffee.
Result order.
Comma-separated Yelp attribute filters, such as OutdoorSeating; up to 4,096 characters.
Result offset from 0 through 10,000.
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 an
出力準備完了

出力はここに表示されます

入力を完了してから[実行]をクリックしてください。

API README

Yelp Business Search API

Search Yelp businesses by keyword and location: name, rating, review count, price level, categories and address.

Request

curl -X POST "https://api.sandbase.ai/v1/api/yelp/search" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"find_desc": "coffee", "find_loc": "Austin, TX"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
find_locstringYesSearch location, 1 to 500 characters.
attrsstringNoComma-separated Yelp attribute filters, such as OutdoorSeating; up to 4,096 characters.
cfltstringNoYelp category identifier, such as coffee.
find_descstringNoBusiness name, category, or search terms, up to 500 characters.
lstringNoYelp map-bounds token, up to 1,024 characters.
sortbystringNoResult order.
startintegerNoResult offset from 0 through 10,000.
timeoutnumberNoOptional 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 t
yelp_domainstringNoSupported first-party localized Yelp hostname, such as www.yelp.co.uk. Links in the response use this hostname.

Pricing

Flat price per call. Failed calls are not charged.

さらに探索

関連 APIs

すべての APIs
API価格レスポンス
Yelp$0.00015 / 回JSON
Yelp$0.01 / 回JSON
Yelp$0.00015 / 回JSON

質問

FAQ

Yelp Business Search API はどのように使いますか?

Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/yelp/search に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。

Yelp Business Search API の料金はいくらですか?

1回あたり $0.00015。各組織には UTC 日ごとに 100 回の無料呼び出しが付与され、この API を含む対象の SandBase API 全体で共有されます。それ以降は、各呼び出しが SandBase 残高からこの料金で課金されます。サブスクリプションはありません。

Yelp Business Search API はどのパラメータを受け付けますか?

必須: find_loc (string)。 任意: find_desc (string), yelp_domain (string), l (string), cflt (string), sortby(recommended, rating, review_count のいずれか) と attrs (string) と他 2 件。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。

Yelp Business Search API は何を返しますか?

同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。

Yelp の開発者アカウントまたは API key は必要ですか?

いいえ。Yelp Business Search は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Yelp の API アクセスを別途申請する必要はありません。