AutoSync API
- 1 1. Legend
- 2 2. Authorization
- 3 3. Segments
- 4 4. API Key Configuration
- 5 5. Errors
- 6 6. Pagination
- 7 7. Rate Limiting
- 8 8. Vehicle Endpoints
- 8.1 GET /vehicles/years
- 8.2 GET /vehicles/makes
- 8.3 GET /vehicles/models
- 8.4 GET /vehicles/submodels
- 8.5 GET /vehicles
- 8.5.1 A. Filtering Vehicles
- 8.5.2 B. Fetching Vehicle by ID
- 8.5.3 C. Image URLs
- 8.5.4 D. Selecting a Preferred Color
- 8.5.5 E. Available colors
- 8.5.6 F. Fitment Data
- 8.5.7 G. Wheel coordinates
- 8.5.8 H. Sample Positioning Implementation
- 8.5.9 I. Suspensions
- 8.6 Rendering Workflow
- 8.7 GET /vehicles/vehicle/[vehicleId]/accessories
- 8.7.1 Base Accessories
- 8.7.2 Coordinates
- 8.7.3 Images
- 9 9. Wheel Endpoints
- 10 10. Tire Endpoints
- 10.1 GET /tires/brands
- 10.2 GET /tires/filters
- 10.3 GET /tires/models
- 10.4 GET /tires
- 11 11. Request for Quote Endpoint
API URL: https://api.autosyncstudio.com/
API keys may be generated in the portal: https://portal.autosyncstudio.com/
See also the auto-generated API Reference: https://api.autosyncstudio.com/docs/index.html
1. Legend
URL query parameter prefixes:
f-- (filter) denotes a parameter that narrows down the result set or specifies preferred records, e.g.f-yeari-- (include) denotes a parameter that adds optional data to the result, e.g.i-colorsp-- (page) denotes a parameter that pertains to pagination, e.g.p-numbers-- (sort) denotes a parameter that orders a collection by a specified field, e.g.s-price
2. Authorization
All vehicle and wheel endpoints require a valid key to pass authorization. Each key determines access to resources.
Append key parameter to a URL to specify a key:
/vehicles/years?key=secretIf key parameter is not specified or a provided key is invalid, the API will return the following response for endpoints requiring authorization:
{
"Error": "Invalid API key"
}GET /keys/validate
To test if an API key is valid, you can query the following endpoint:
/keys/validate?key=secretA successfully validated key passed to the endpoint will result in the following response:
{
"Status": "OK"
}3. Segments
The endpoints are divided into the following segments:
Accessories
Tires
Vehicles
Wheels
Each set of endpoints is guarded by a permission. An attempt to access an endpoint without appropriate permission assigned to an API key will result in the following error:
{
"Error": "Unauthorized access to segment: tires"
}If you see the error and believe this is a mistake, please contact AutoSync.
4. API Key Configuration
GET /keys/config
Configuration set for an API key. This includes theming and filtering.
/keys/config?key=secretSample response for a valid key:
{
"BrandIds": [130],
"Locations": [{
"Id": 100,
"Name": "Vancouver Premium Tire",
"Country": "Canada",
"Address": "2452 52 Ave",
"City": "Vancouver",
"State": "BC",
"Zip": "V2Y 4B4",
"Phone": "(604) 333-4444",
"Coordinates": [
45.133904,
-122.584391
]
},
...
],
"MakeIds": [],
"Segments": [
"tires",
"vehicles",
"wheels"
],
"VehicleTypes": [],
"Visualizer": {
"AlignHomeContentToTop": true,
"BgImg": "",
"BgImgOpacity": 1,
"BrandColor": "#ae1016",
"BrandLogo": "https://vvs.autosyncstudio.com/static/icons/Autosync-logo-grey.png",
"Ga4Key": "UA-213519920-3",
"ListVehicleModelsByYear": true,
"PaginationSize": 24,
"ScrollIntoView": true,
"TireLogo": "https://vvs.autosyncstudio.com/static/clients/11/product_logo.071c7.webp",
"VehicleLogo": "https://vvs.autosyncstudio.com/static/vehicles.png",
"VehicleThumbnails": "color",
"WheelLogo": "https://vvs.autosyncstudio.com/static/clients/11/product_logo.071c7.webp"
}
}BrandIds- IDs of allowed brandsLocations- a list of locations assigned to a retailer or manufacturer; empty if none specifiedCoordinates- latitude and longitude of the address;nullif not available
MakeIds- if vehicle makes are filtered, this array will list IDs of allowed makes; otherwise it will be emptySegments- see “3. Segments” for more informationVehicleTypes- if vehicle types are filtered, this array will list allowed types; otherwise it will be emptyVisualizer- configuration for visualizersAlignHomeContentToTop- home page content should be placed right at the top of the content containerBgImg- home page background image URLBgImgOpacity- home page background image opacityBrandColor- theme accent colorBrandLogo- URL of the brand logo shown on the home pageGa4Key- Google Analytics key for tracking eventsListVehicleModelsByYear- Separate vehicle models by yearPaginationSize- default pagination sizeScrollIntoView- scroll container into the viewport on user input when the embedded on a page with more contentTireLogo- “Shop by Tire” image URLVehicleLogo- “Shop by Vehicle” image URLVehicleThumbnails- eithercolorormonoWheelLogo- “Shop by Wheel” image URL
POST /keys/config
Update API key configuration. Propagating changes may take up to 5 minutes.
Data must be submitted in the body and be JSON-encoded:
{
"vehicleModels": {
"use": "include",
"modelIds": [44, 45, 46, 47]
}
}where (* - required):
*
vehicleModels- vehicle models filter*
use-includeorexcludeto either*
modelIds- an array of vehicle model IDs; empty array disables the filter
Example 1. JavaScript code for sending a sample request for quote:
const data = {
vehicleModels: {
use: "include",
modelIds: [44, 45, 46]
}
};
const resp = await fetch(API_URL + '/keys/config?key=' + API_KEY, {
method: 'POST',
headers: {
'Accept': 'application/json',
'Content-Type': 'application/json'
},
body: JSON.stringify(data)
});
console.log(await resp.json());Response:
{
"Status": "OK"
}5. Errors
In case of an error, HTTP status will be different than 200 and an error message will be included.
Example 1. Invalid path:
/wheels/unknownResponse (HTTP status 404):
{
"Error": "Unknown endpoint"
}
Example 2. Invalid parameter value:
/vehicles/makes?f-year=99999Response (HTTP status 400):
{
"Error": "Invalid value for query parameter: f-year"
}
Example 3. Implementation error that needs to be addressed by AutoSync (response HTTP status 500):
{
"Error": "Query error"
}
HTTP status 200 and no error property signify a successful response.
6. Pagination
Every endpoint returning a single collection includes pagination information:
MoreItems-trueorfalsedenoting the end of a collection or additional records on the next page
By default, collections are limited to 10 records per page.
Example 1. The first page of 10 Ford models (out of 51 in total):
/vehicles/models?f-make=FordResponse:
{
"Models": [{
"Id": 8791,
"Make": "Ford",
"Model": "Bronco"
}, {
"Id": 8070,
"Make": "Ford",
"Model": "E-150"
},
...
],
"MoreItems": true
}All endpoints may include query parameters for specifying pagination settings:
p-number- page number beginning at 1p-size- page size, i.e the number of collection items to be fetched (1-500)
Example 2. The last of three 25-item pages of Ford’s models:
/vehicles/models?f-make=Ford&p-size=25&p-number=2Response:
{
"Models": [{
"Id": 33175,
"Make": "Ford",
"Model": "F-150 Lightning"
},
...
]
}Endpoints containing objects with multiple collections, e.g. /wheels/filters, do not include pagination information.
Example 3. No page indicators for collections under filters (models and diameters):
/wheels/filters?i-models&i-diameters&f-brand=VisionResponse:
{
"Filters": {
"Models": ["Daytona", "Wizard", "Rage", ...],
"Diameters": [15, 17, 20, ...]
}
}7. Rate Limiting
The maximum permitted request rate is 20 requests per second per API key. If the rate limit is exceeded, a 429 Too Many Requests response will be returned.
8. Vehicle Endpoints
All endpoints in this section require authorization. For more information see “2. Authorization”.
GET /vehicles/years
A list of all supported vehicle years.
For a complete list of query parameters please visit the API reference:
https://api.autosyncstudio.com/docs/#get-/vehicles/years
Results are sorted by year in ascending order.
Supported vehicle types:
CarCUVSUVTruckUTVVan
Example 1. All supported years (page size increased to 100 to include all results):
/vehicles/years?p-size=100Response:
{
"Years": [2000, 2001, 2002, ...]
}
Example 2. Years for Audi A4 Sport:
/vehicles/years?f-make=Audi&f-model=A4&f-submodel=SportResponse:
{
"Years": [2010, 2011, 2012, 2013, 2014, 2015, 2016]
}GET /vehicles/makes
A list of vehicle makes.
For a complete list of query parameters please visit the API reference:
https://api.autosyncstudio.com/docs/#get-/vehicles/makes
Results are sorted by make in ascending order.
For more information on how to filter vehicle models by vehicle types, see /vehicles/years.
Example 1. A list of all makes:
/vehicles/makesResponse:
{
"Makes": [{
"Make": "Acura"
}, {
"Make": "Alfa Romeo"
},
...
]
}
Example 2. A list of Truck or Van makes:
/vehicles/makes?f-types=Truck,VanResponse:
{
"Makes": [{
"Make": "Buick"
}, {
"Make": "Cadillac"
},
...
]
}
Example 3. A list of makes that manufactured vehicles in 2012 with their logos and the total number of vehicles released that year:
/vehicles/makes?f-year=2012&i-logos&i-vehicleCountResponse:
{
"LogoUrlBase: "https://storage.googleapis.com/autosync-brand-logos/vehicles/",
Makes: [{
Make: "Audi",
Logo: "Audi.png",
VehicleCount": 49
},
...
]
}Appending Logo to LogoUrlBase composes a complete logo image URL, for example:
https://storage.googleapis.com/autosync-brand-logos/vehicles/Audi.pngDo not hardcode LogoUrlBase or parts of it as it may change.
GET /vehicles/models
A list of vehicle models.
For a complete list of query parameters please visit the API reference:
https://api.autosyncstudio.com/docs/#get-/vehicles/models
Results are sorted by make and model in ascending order.
For more information on how to filter vehicle models by vehicle types, see /vehicles/years.
Example 1. A list of models by year and make:
/vehicles/models?f-year=2012&f-make=AudiResponse:
{
"Models": [{
"Id": 2778,
"Make": "Audi",
"Model": "A3"
}, {
"Id": 4365,
"Make": "Audi",
"Model": "A3 Quattro"
},
...
]
}
Example 2. Mustang models:
/vehicles/models?f-query=MustangResponse:
{
"Models": [{
"Id": 1164,
"Make": "Ford",
"Model": "Mustang"
}, {
"Id": 7857,
"Make": "Ford",
"Model": "Mustang Mach-E"
}
]
}
Example 3. 2018 Mazda models with body types:
/vehicles/models?f-year=2018&f-make=Mazda&i-bodyResponse:
{
"Models": [{
"Id": 2487,
"Make": "Mazda",
"Model": "3",
"Body": "Hatchback"
}, {
"Id": 2487,
"Make": "Mazda",
"Model": "3",
"Body": "Sedan"
},
...
]
}
Example 4. 2009 Hummer H2 models with vehicle types:
/vehicles/models?f-query=2009 Hummer H2&i-typeResponse:
{
"Models": [{
"Id": 6700,
"Make": "Hummer",
"Model": "H2",
"Type": "SUV"
}, {
"Id": 6700,
"Make": "Hummer",
"Model": "H2",
"Type": "Truck"
}
]
}
Example 4. Ford Freestyle model split by year:
/vehicles/models?f-query=Ford Freestyle&i-yearResponse:
{
"Models": [{
"Id": 2619,
"Make": "Ford",
"Model": "Freestyle",
"Year": 2007
}, {
"Id": 2618,
"Make": "Ford",
"Model": "Freestyle",
"Year": 2006
},
...
]
}
Example 5. Filter by year (2016), make (“BMW”) and include images in the default color for each model together with the years of the vehicles in the images:
/vehicles/models?f-year=2016&f-make=bmw&i-img032&i-imgYearResponse:
{
"ImgUrlBase": "https://storage.googleapis.com/autosync-vehicles/",
"Models": [{
"Id": 2316,
"Make": "BMW",
"Model": "228i",
"ImgYear": 2016,
"Img032": {
"240": "10631/10631_240_032_B45.webp",
"350": "10631/10631_350_032_B45.webp",
"640": "10631/10631_640_032_B45.webp",
"960": "10631/10631_960_032_B45.webp",
"2400": "10631/10631_2400_032_B45.webp"
},
...
]
}Appending image path to ImgUrlBase composes a complete image URL, for example:
https://storage.googleapis.com/autosync-vehicles/10631/10631_2400_032_B45.webpDo not hardcode ImgUrlBase or parts of it as it may change.
GET /vehicles/submodels
A list of vehicle sub models.
For a complete list of query parameters please visit the API reference:
https://api.autosyncstudio.com/docs/#get-/vehicles/submodels
Results are sorted by make, model and sub model in ascending order.
For more information on how to filter vehicle sub models by vehicle types, see /vehicles/years.
Example 1. A list of 2012 Audi A4 sub models:
/vehicles/submodels?f-year=2012&f-make=Audi&f-model=A4Response:
{
"Submodels": [{
"Make": "Audi",
"Model": "A4",
"Submodel": "Base"
}
]
}
Example 2. A list of 2010 Honda Civic sub models:
/vehicles/submodels?f-year=2010&f-make=Honda&f-model=Civic&i-bodyResponse:
{
"Submodels": [{
"Make": "Honda",
"Model": "Civic",
"Submodel": "DX",
"Body": "Coupe"
}, {
"Make": "Honda",
"Model": "Civic",
"Submodel": "DX",
"Body": "Sedan"
},
...
]
}
Example 3. Full-text search results for “2020 jag I-Pace“:
/vehicles/submodels?f-query=2020%20jag%20I-PaceResponse:
{
"Submodels": [{
"Make": "Jaguar",
"Model": "I-Pace",
"Submodel": "HSE"
},
...
]
}
Example 4. A list of Ford F-150 sub models manufactured in 2020 with 032 angle images 960 px wide in the default color:
/vehicles/submodels?f-year=2020&f-make=Ford&f-model=F-150&i-img032Response:
{
"ImgUrlBase": "https://storage.googleapis.com/autosync-vehicles/",
"Submodels": [{
"Make": "Ford",
"Model": "F-150",
"Submodel": "King Ranch",
"Img032": {
"240": "14114/14114_240_032_N1-D1.webp",
"350": "14114/14114_350_032_N1-D1.webp",
"640": "14114/14114_640_032_N1-D1.webp",
"960": "14114/14114_960_032_N1-D1.webp",
"2400": "14114/14114_2400_032_N1-D1.webp"
},
...
]
}Appending image path to ImgUrlBase composes a complete image URL, for example:
https://storage.googleapis.com/autosync-vehicles/14112/14112_2400_032_JS.webpDo not hardcode ImgUrlBase or parts of it as it may change.
GET /vehicles
A list of vehicles.
For a complete list of query parameters please visit the API reference:
https://api.autosyncstudio.com/docs/#get-/vehicles
Results are sorted by year in descending order.
For more information on how to filter vehicles by types, see /vehicles/years.
A. Filtering Vehicles
Example 1. Vehicles filtered by year, make, model, and sub model:
/vehicles?f-year=2018&f-make=Mazda&f-model=3&f-submodel=TouringResponse:
{
"Vehicles": [{
"Bed": "",
"Body": "Hatchback",
"Doors": null,
"Drw": false,
"Id": 11693,
"Make": "Mazda",
"Model": "3",
"Submodel": "Touring",
"Type": "Car",
"Year": 2018
}, {
"Bed": "",
"Body": "Sedan",
"Doors": null,
"Drw": false,
"Id": 11695,
"Make": "Mazda",
"Model": "3",
"Submodel": "Touring",
"Type": "Car",
"Year": 2018
}
]
}
Example 2. Vehicles filtered by year, make, model, sub model, and body type:
/vehicles?f-year=2018&f-make=Mazda&f-model=3&f-submodel=Touring&f-body=SedanResponse:
{
"Vehicles": [{
"Bed": "",
"Body": "Sedan",
"Doors": null,
"Drw": false,
"Id": 11695,
"Make": "Mazda",
"Model": "3",
"Submodel": "Touring",
"Type": "Car",
"Year": 2018
}
]
}B. Fetching Vehicle by ID
Example. Vehicle with ID equal to 3635:
/vehicles?f-id=3635Response:
{
"Vehicles": [{
"Bed": "",
"Body": "Sedan",
"Doors": null,
"Drw": false,
"Id": 3635,
"Make": "Dodge",
"Model": "Charger",
"Submodel": "SRT Hellcat Widebody",
"Type": "Car",
"Year": 2021
}
]
}C. Image URLs
Supported sizes (width in pixels):
2400– 2400 px × 1250 px960- 960 px × 522 px640- 640 px × 348 px350- 350 px × 190 px240- 240 px × 130 px
Example. Including images of angles 001 and 014:
/vehicles?f-id=5851&i-img001&i-img014Response:
{
"ImgUrlBase": "https://storage.googleapis.com/autosync-vehicles/",
"Vehicles": [{
"Bed": "",
"Body": "Coupe",
"Doors": null,
"Drw": false,
"Id": 5851,
"Img001": {
"240": "13780/13780_240_001_E7.webp",
"350": "13780/13780_350_001_E7.webp",
"640": "13780/13780_640_001_E7.webp",
"960": "13780/13780_960_001_E7.webp",
"2400": "13780/13780_2400_001_E7.webp"
},
"Img014": {
"240": "13780/13780_240_014_E7.webp",
"350": "13780/13780_350_014_E7.webp",
"640": "13780/13780_640_014_E7.webp",
"960": "13780/13780_960_014_E7.webp",
"2400": "13780/13780_2400_014_E7.webp"
},
"ImgColorId": 130664,
"Make": "Ford",
"Model": "Mustang",
"Submodel": "Shelby GT350R",
"Type": "Car",
"Year": 2019
}
]
}Appending image path to ImgUrlBase composes a full resource URL, for example:
https://storage.googleapis.com/autosync-vehicles/13780/13780_2400_001_E7.webp
If an image in a given size is not available, null value will be returned.
Do not hardcode ImgUrlBase or parts of it as it may change.
ImgColorId indicates which color was selected for the images.
D. Selecting a Preferred Color
Image URL query parameters may be combined with f-colorId in order to specify a desired color.
Example. Vehicle ID 5851 in color ID 130664 (“Velocity Blue”):
/vehicles?f-id=5851&i-img032&f-colorId=130664Response:
{
"ImgUrlBase": "https://storage.googleapis.com/autosync-vehicles/",
"Vehicles": [{
"Bed": "",
"Body": "Coupe",
"Doors": null,
"Drw": false,
"Id": 5851,
"Img032": {
"240": "13780/13780_240_032_E7.webp",
"350": "13780/13780_350_032_E7.webp",
"640": "13780/13780_640_032_E7.webp",
"960": "13780/13780_960_032_E7.webp",
"2400": "13780/13780_2400_032_E7.webp"
},
"ImgColorId": 130664,
"Make": "Ford",
"Model": "Mustang",
"Submodel": "Shelby GT350R",
"Type": "Car",
"Year": 2019
}
]
}If f-colorId is not specified, the default color of a vehicle will be selected.
E. Available colors
To include a list of available colors for each vehicle, append i-colors parameter with no value.
Example. A vehicle with a list of its colors:
/vehicles?f-id=5851&i-colorsResponse:
{
"SwatchUrlBase": "https://storage.googleapis.com/autosync-colors/",
"Vehicles": [{
"Bed": "",
"Body": "Coupe",
"Colors": [{
"Id": 130662,
"Code": "AJ",
"Name": "Need For Green",
"ShortName": "Green",
"Rgb1": "1E7038",
"Rgb2": "",
"Swatch": "1E7038.png",
"Img001": true,
"Img014": true,
"Img032": true
},
...
]
}
]
}Appending Swatch to SwatchUrlBase composes a complete color swatch URL, e.g.:
https://storage.googleapis.com/autosync-colors/5E5D63.pngEach object under Colors includes Img001, Img014, and Img032 properties. They signify whether a vehicle image is available for a given angle and in the color.
F. Fitment Data
See Tire Endpoints section for the definitions of the nomenclature.
See Mapping Products to Vehicles guid for details on how to use the fitment data to filter products:
Mapping Products to Vehicles
Appending i-fitments and i-optionalFitments to the URL includes OE and OE optional fitments. i-fitments also adds the following fields:
BoltCircleBoreBoreRear-nullif the same asBoreDefaultChassisId- if multiple chassis are mapped to the vehicle, this value will represent the closest matchLoadRating- minimum tire load ratingLoadRatingRear-nullif the same asLoadRatingLugCountMaxWheelLoad- maximum weight the vehicle would exert on each wheel while in operationStaggereddeprecated - use StaggeredWidth and StaggeredDiameter insteadStaggeredWidth- the vehicle is commonly fitted with staggered width wheels and tiresStaggeredDiameter- the vehicle is commonly fitted with staggered diameter (and width) wheels and tires
i-tags includes tags, and niche tags.
Niche tags identify wheels (and their corresponding vehicles) that are made for specific vehicles only. They are used primarily for replica wheels made for specific vehicles.
Each OE fitment is compatible with the vehicle without a need for vehicle modifications (e.g. lift kits).
In addition to OE fitments, plus sizes may be requested with i-plusSizes parameter. Plus sizes will only be returned if fitments are requested. Plus sizes are intended for the tuning market. They can be used to show the aftermarket wheel fitment sizes, and tire sizes for that wheel size. Plus size notes provide information on special requirements.
Note. Plus sizes must be matched with fitments by ChassisId.
Each fitment is identified by Id, has ChassisId, and is often described by Name to differentiate it from other options. Typically, a vehicle would have a few fitments sharing the same chassis and multiple plus size for each chassis. Some vehicles may have fitments coming from chassis. This is because sub model alone doesn’t uniquely identify vehicle chassis. For example, vehicle ID 83184 has two chassis:
"ChassisId": 70429, "Name": "19\""- 2 fitments, 14 plus sizes"ChassisId": 92428, "Name": "Ceramic Brake Package"- 1 fitment, 9 plus sizes
Depending on which OE fitment is selected by the end user, either the 14 or the 9 plus sizes may be offered with additional wheel/tire sizes.
Example. A vehicle with OE fitments and plus sizes:
/vehicles?f-id=160890&i-fitments&i-plusSizes&i-tagsResponse:
{
"Vehicles": [{
"Bed": "",
"Body": "Coupe",
"BoltCircle": 120,
"Bore": 67.1,
"BoreRear": null,
"DefaultChassisId": 90851,
"Doors": null,
"Drw": false,
"Fitments": [{
"AspectRatio": 50,
"AspectRatioRear": null,
"ChassisId": 69829,
"Diameter": null,
"DiameterRear": null,
"Format": "M",
"Id": 69830,
"InchWidth": null,
"InchWidthRear": null,
"MaxOffset": 45,
"MaxOffsetRear": null,
"MinOffset": 32,
"MinOffsetRear": null,
"Name": "",
"Offset": 38,
"OffsetRear": null,
"RimDiameter": 18,
"RimDiameterRear": null,
"RimWidth": 8.5,
"RimWidthRear": null,
"SectionWidth": 245,
"SectionWidthRear": null,
"SpeedRating": "V",
"SpeedRatingRear": null,
"TireSize": "245/50R18",
"TireSizeRear": null
}
],
"Id": 160890,
"LugCount": 5,
"Make": "Chevrolet",
"MaxWheelLoad": 595,
"Model": "Camaro",
"NicheTag": "Camaro",
"PlusSizes": [{
"AspectRatio": 55,
"ChassisId": 69829,
"Diameter": null,
"Format": "M",
"InchWidth": null,
"MaxOffset": 42,
"MinOffset": 35,
"Notes": [],
"RimDiameter": 17,
"RimWidth": 7,
"SectionWidth": 245,
"TireSize": "245/55R17",
"Type": "FR"
},
...
],
"StaggeredDiameter": false,
"StaggeredWidth": true,
"Submodel": "LS",
"Tags": [
"Luxury",
"Replica"
],
"Type": "Car",
"Year": 2022
}
]
}Format identifies tire format:
M- metric, e.g. “245/70R17”;SectionWidth,AspectRatio, andRimDiameterwill be specifiedF- flotation, e.g. “37x12.50R17”;Diameter,RimWidth, andRimDiameterwill be specified.
Notes will take a form of an empty array if there are no special requirements for the fitment. Otherwise, a list of strings will be returned, for example:
"Notes": [
"Check fitment, possible clearance issues"
],StaggeredDiameter and StaggeredWidth indicate whether a vehicle is commonly fitted with staggered wheels (is a staggered fitment candidate). For example 2022 Chevrolet Camaro LS does not come with factory staggered wheels, but is often upgraded to staggered fitment.
G. Wheel coordinates
To include wheel coordinates append i-coordinates=<agnles> to the URL where <angles> is a comma-separated list of one or more of the following values:
001- side angle014- rear angle032- front angle
Example. A vehicle with coordinates for angles 014 and 032:
/vehicles?f-id=10030&i-coordinates=014,032Response:
{
"Vehicles": [{
"Bed": "",
"Body": "Sedan",
"Coordinates014": [
[0.46637, 0.54876, 0.54435, 0.76919],
[0.81365, 0.52738, 0.86377, 0.70683]
],
"Coordinates032": [
[0.44379, 0.54001, 0.5214, 0.76462],
[0.79236, 0.51067, 0.84276, 0.69037]
],
"Doors": null,
"Drw": false,
"Id": 10030,
"InImageWheelDiameters": {
"Front": 18,
"FrontMax": 20,
"Rear": 18,
"RearMax": 20
},
"Make": "Audi",
"Model": "A4 Quattro",
"Rotations014": [2, 1],
"Rotations032": [2, 1],
"Submodel": "Ultra sport",
"Type": "Car",
"WheelAngles014": ["0100", "0100"],
"WheelAngles032": ["0100", "0200"],
"Year": 2020
}
]
}Wheel coordinates include two sets of four values in the following order:
x1- top left corner’sxvaluey1- top left corner’syvaluex2- bottom right corner’sxvaluey2- bottom right corner’syvalue
Each value is expressed in percents, counting vehicle image’s top-left corner as the starting point.
Overlayed front and rear wheel images match original rims best when slightly rotated. Each set of coordinates (for each vehicle angle) will have a corresponding set of rotation values (in degrees):
"Rotations001": [-10, 10],
"Rotations014": [2, 1],
"Rotations032": [2, 1],In the example above, the left wheel should be rotated by -10 deg (counterclockwise) and the right wheel should be rotated by 10 deg (clockwise) for vehicle angle 001.
Wheel angles specify preferred wheel angles for each vehicle angle and each wheel. For example:
"WheelAngles032": ["0100", "0200"]indicates that the vehicle, when shown in angle 032, should have wheel angle 0100 layered on top of the first (counting from left to right) wheel and angle 0200 over the second wheel (on the right).