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

AAA Search News Articles

APIドキュメント
https://api.sandbase.ai/v1/api/aaa/search-news-articles

Searches the AAA gas price news archive (weekly national reports and state-specific releases going back years) by keyword, optionally restricted to a publication date range, and returns one page of matching articles.

料金
$0.01USD / 回
メソッド
POST
レスポンス
非同期 JSON
パラメータ
必須 1 件 · 任意 5 件

プレイグラウンド

入力
Keyword or phrase to search article titles and bodies for, e.g. a state name such as Indiana.
1-based page number of the match set. 範囲: -9007199254740991 から 9007199254740991 まで。
Articles per page, 1 to 100. 範囲: -9007199254740991 から 9007199254740991 まで。
Sort direction by publication date.
Latest publication date to include, ISO date YYYY-MM-DD (inclusive). Omitting places no upper bound, i.e. results run until now.
Earliest publication date to include, ISO date YYYY-MM-DD (inclusive). Omitting places no lower bound.
出力準備完了

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

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

API README

AAA Search News Articles

Searches the AAA gas price news archive (weekly national reports and state-specific releases going back years) by keyword, optionally restricted to a publication date range, and returns one page of matching articles.

Request

curl -X POST "https://api.sandbase.ai/v1/api/aaa/search-news-articles" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "gas prices"}'

This API runs asynchronously. The call returns a task id with status pending; poll GET https://api.sandbase.ai/v1/run/{id} until status is completed and read the result from outputs[0].data.

Parameters

NameTypeRequiredDescription
querystringYesKeyword or phrase to search article titles and bodies for, e.g. a state name such as Indiana.
end_datestringNoLatest publication date to include, ISO date YYYY-MM-DD (inclusive). Omitting places no upper bound, i.e. results run until now.
limitintegerNoArticles per page, 1 to 100.
orderstringNoSort direction by publication date.
pageintegerNo1-based page number of the match set.
start_datestringNoEarliest publication date to include, ISO date YYYY-MM-DD (inclusive). Omitting places no lower bound.

Pricing

Flat price per call. Failed calls are not charged.

さらに探索

関連 APIs

すべての APIs
API価格レスポンス
AAA$0.01 / 回非同期 JSON
AAA$0.01 / 回非同期 JSON
AAA$0.01 / 回非同期 JSON
AAA$0.01 / 回非同期 JSON
AAA$0.01 / 回非同期 JSON
AAA$0.01 / 回非同期 JSON

質問

FAQ

AAA Search News Articles API はどのように使いますか?

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

AAA Search News Articles API の料金はいくらですか?

1回あたり $0.01、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。

AAA Search News Articles API はどのパラメータを受け付けますか?

必須: query (string)。 任意: page (integer), limit (integer), order (string), end_date (string) と start_date (string)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。

AAA Search News Articles API は何を返しますか?

JSON 結果です。このエンドポイントは非同期で実行されるため、レスポンスには完了した結果の取得方法が含まれます。

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

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