Kelley Blue Book Years
https://api.sandbase.ai/v1/api/kbb/yearsRetrieve 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.
- Prezzo
- $0.01USD / chiamata
- Metodo
- POST
- Risposta
- JSON asincrono
- Parametri
- 0 obbligatori · 0 opzionali
Playground
Il tuo output apparirà qui
Completa gli input, poi fai clic su Esegui.
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
| Field | Meaning |
|---|---|
status | Result 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
statusiscompleted, then readoutputs[0].data.
Pricing
$0.01 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Inizia a costruire
Invia la tua prima richiesta
Endpoint API della piattaforma con autenticazione unificata e tracciamento dell'utilizzo.
curl -X POST "https://api.sandbase.ai/v1/api/kbb/years" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'2. Autenticazione
Imposta la tua SandBase API key nell'ambiente del server. Le richieste usano l'autenticazione Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserva la tua key sul server. Non esporla nel codice del browser.
3. Parametri
Non è stato pubblicato alcuno schema dei parametri per questa API.
4. Risposta
Risposta di esempio salvata per questa API; durante la visualizzazione non viene eseguita alcuna richiesta live.
Nessuna risposta salvata è stata pubblicata. Esegui l'API in Playground per ispezionarne la risposta.
Esplora altro
API correlate
| API | Prezzo | Risposta |
|---|---|---|
Kelley Blue Book YearsQuesta API Kelley Blue Book | $0.01 per chiamata | JSON asincrono |
Kelley Blue Book | $0.01 per chiamata | JSON asincrono |
Kelley Blue Book | $0.01 per chiamata | JSON asincrono |
Domande
FAQ
Come uso l'API Kelley Blue Book Years?
Invia una richiesta POST a https://api.sandbase.ai/v1/api/kbb/years con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.
Quanto costa l'API Kelley Blue Book Years?
$0.01 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.
Quali parametri accetta l'API Kelley Blue Book Years?
Kelley Blue Book Years non accetta parametri di input; invia un body JSON vuoto.
Cosa restituisce l'API Kelley Blue Book Years?
Un risultato JSON. Questo endpoint viene eseguito in modo asincrono, quindi la risposta indica come recuperare il risultato completato. Il README di questa pagina include una risposta di esempio.
Mi serve un account sviluppatore o una chiave API Kelley Blue Book?
No. Kelley Blue Book Years funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API Kelley Blue Book.
