Optional parameters
Modify the WD API response with optional query parameters.
&photo_url=SRP — return an SRP image
Returns an SRP (Search Results Page) image as the photo_url value when available. Falls back to the first extracted exterior image if no SRP image exists.
?raw=y — return raw data
Returns raw spin data in a structured format, including images, videos, hotspots and other assets. When found, the response model is:
{
"created_on": "string",
"is_sold": "boolean",
"last_modified": "string",
"make": "string",
"media": {
"spin": {
"external_url": "string",
"data": {
"assets": [
{
"label": "string",
"url": [
{
"resolution": "string",
"url": "string"
}
],
"location": [
{
"view": "number",
"index": "number"
}
],
"contentType": "string"
}
],
"hotspots": [
{
"label": "string",
"icon": "string",
"coords": [
{
"type": "string",
"view": "number",
"iframe": "number",
"ifactor": "number",
"x": "number",
"y": "number"
},
{
"type": "string",
"view": "number",
"theta": "number",
"rho": "number"
}
],
"target": {
"type": "string",
"url": "string"
}
}
],
"views": [
{
"view": "string",
"type": "string",
"label": "string",
"index": "number"
}
]
}
}
},
"model": "string",
"stock_number": "string",
"url": "string",
"vin": "string",
"year": "string"
}Impel reserves the right to change the format of the image and spin URLs found in the API response. Avoid writing code that depends on URL patterns. The response data object contains all the information required to build spins. If you have questions, contact support@impel.ai.
?nospin200=y — prevent 400 responses
Forces a 200 HTTP status even when no spin is found. The response includes a status attribute set to "ok" when a spin is found. When found, the response model is:
{
"created_on": "string",
"last_modified": "string",
"photo_url": "string",
"status": "string",
"url": "string"
}When not found, the response model is:
{
"status": "string"
}?filter=y — filter widgets
Excludes widgets that:
- Belong to inactive customers
- Don't have at least one exterior photo
The API response model is not affected by this option.
&dealer_id=nnnnn — filter by dealership
Filters results to records from a specific dealership. Useful when identical vehicle IDs exist across multiple dealerships.