Sand AISand AI MAGI-2ตอนนี้ MAGI-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 / คำขอ
Method
POST
การตอบกลับ
Async JSON
พารามิเตอร์
0 จำเป็น · 0 ไม่บังคับ

Playground

อินพุต
ไม่มี schema ของอินพุต
เอาต์พุตพร้อมใช้งาน

เอาต์พุตของคุณจะแสดงที่นี่

กรอกอินพุตให้ครบ แล้วคลิก Run

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 ต่อการเรียกAsync JSON
Kelley Blue Book$0.01 ต่อการเรียกAsync JSON
Kelley Blue Book$0.01 ต่อการเรียกAsync JSON

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ Kelley Blue Book Years API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/kbb/years โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

Kelley Blue Book Years API ราคาเท่าไร?

$0.01 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

Kelley Blue Book Years API รับพารามิเตอร์อะไรบ้าง?

Kelley Blue Book Years ไม่รับพารามิเตอร์อินพุต ส่ง JSON body ว่างเปล่า

Kelley Blue Book Years API ส่งคืนอะไร?

ผลลัพธ์ JSON จุดเชื่อมต่อนี้ทำงานแบบอะซิงโครนัส ดังนั้นการตอบกลับจะบอกวิธีดึงผลลัพธ์ที่เสร็จแล้ว README บนหน้านี้มีตัวอย่างการตอบกลับ

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ Kelley Blue Book ไหม?

ไม่จำเป็น Kelley Blue Book Years ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Kelley Blue Book API แยกต่างหาก