Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

Kelley Blue Book Years

Dokumentacja 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.

Cena
$0.01USD / wywołanie
Metoda
POST
Odpowiedź
Asynchroniczny JSON
Parametry
0 wymaganych · 0 opcjonalnych

Playground

Wejście
Brak dostępnego schematu wejścia
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

README API

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.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
Kelley Blue Book$0.01 za wywołanieAsynchroniczny JSON
Kelley Blue Book$0.01 za wywołanieAsynchroniczny JSON
Kelley Blue Book$0.01 za wywołanieAsynchroniczny JSON

Pytania

FAQ

Jak używać API Kelley Blue Book Years?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/kbb/years z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API Kelley Blue Book Years?

$0.01 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API Kelley Blue Book Years?

Kelley Blue Book Years nie przyjmuje żadnych parametrów wejściowych; wyślij pustą treść JSON.

Co zwraca API Kelley Blue Book Years?

Wynik JSON. Ten endpoint działa asynchronicznie, więc odpowiedź informuje, jak pobrać gotowy wynik. README na tej stronie zawiera przykładową odpowiedź.

Czy potrzebuję konta deweloperskiego Kelley Blue Book lub klucza API?

Nie. Kelley Blue Book Years działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Kelley Blue Book.