GET
1 token
Years for Brand
/v1/pc/years
List of production years by brand
Parameters
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
brand_id
|
integer query | required | Brand ID (`id`) from /v1/pc/brands |
22
|
Example Request
GET https://cdn.plan.parts/api/v1/pc/years?brand_id=22
Authorization: Bearer your_api_key
Example Response
{
"success": true,
"data": {
"years": [
{
"id": 4850,
"year": "Utility 2019"
},
{
"id": 4851,
"year": "Utility 2018"
}
],
"breadcrumbs": []
}
}
Try in Sandbox
Test this endpoint with real data in the Developer Portal sandbox.
Try in Sandbox →No credit card required
Token cost
Each successful call to this endpoint deducts 1 token from your balance. Tokens are only deducted on 2xx responses.