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

Kelley Blue Book Years

APIドキュメント
https://api.sandbase.ai/v1/api/kbb/years

Retrieve all available vehicle model years from Kelley Blue Book in one round trip. Returns an array of integer years in descending order, from the newest model year the site currently lists (one year beyond the next.

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

プレイグラウンド

入力
利用可能な入力スキーマがありません
出力準備完了

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

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

API README

Kelley Blue Book Years

Returns the list of vehicle model years that Kelley Blue Book currently lists, newest first. The call needs no input.

Use cases

  • Fill a model year dropdown in a car search form.
  • Check the newest model year Kelley Blue Book lists before you run other vehicle lookups.
  • Validate a user-supplied model year against the years the site supports.

Request

curl -X POST "https://api.sandbase.ai/v1/api/kbb/years" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

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

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": {
    "years": [
      2028
    ]
  },
  "status": "success"
}

Response fields

FieldMeaning
statusResult of the call. The value is success when the request worked.
data.years[]Model years as integers, sorted from newest to oldest. The first item is the newest model year listed.

Notes

  • Send an empty JSON object {} as the request body. The API has no parameters.
  • The API runs asynchronously. Poll the run endpoint until status is completed, then read outputs[0].data.

Pricing

$0.01 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

さらに探索

関連 APIs

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

質問

FAQ

Kelley Blue Book Years API はどのように使いますか?

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

Kelley Blue Book Years API の料金はいくらですか?

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

Kelley Blue Book Years API はどのパラメータを受け付けますか?

Kelley Blue Book Years は入力パラメータを取りません。空の JSON ボディを送信してください。

Kelley Blue Book Years API は何を返しますか?

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

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

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