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.
- मूल्य
- $0.01USD / कॉल
- मेथड
- POST
- प्रतिक्रिया
- Async JSON
- पैरामीटर
- 0 आवश्यक · 0 वैकल्पिक
प्लेग्राउंड
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर 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
| 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.
बिल्डिंग शुरू करें
अपना पहला अनुरोध भेजें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
curl -X POST "https://api.sandbase.ai/v1/api/kbb/years" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'2. प्रमाणीकरण
अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
3. पैरामीटर
इस API के लिए कोई parameter schema प्रकाशित नहीं किया गया है।
4. रिस्पॉन्स
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
संबंधित APIs
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Kelley Blue Book Yearsयह 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 का उपयोग कैसे करें?
https://api.sandbase.ai/v1/api/kbb/years पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
Kelley Blue Book Years API की लागत कितनी है?
$0.01 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
Kelley Blue Book Years API कौन-से parameters स्वीकार करती है?
Kelley Blue Book Years कोई input parameters नहीं लेता; एक खाली JSON body भेजें।
Kelley Blue Book Years API क्या लौटाती है?
एक JSON result। यह endpoint asynchronously चलता है, इसलिए response आपको बताता है कि तैयार result कैसे प्राप्त करना है। इस पेज का README एक sample response शामिल करता है।
क्या मुझे एक Kelley Blue Book developer account या API key चाहिए?
नहीं। Kelley Blue Book Years SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Kelley Blue Book API access के लिए आवेदन करने की आवश्यकता नहीं है।
