Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Welcome to the developer hub, this is your reference to integrate with all aspects of the system. We've got guides and reference materials to support and accelerate your development.
/v2/vehicles?region=nz&search=2019 Volkswagen Polo Scurl "https://api.autograb.com.au/v2/vehicles/vins/WVWZZZ6RZAU020000?region=nz" \
-H 'ApiKey: {API_KEY}'{
"success": true,
"vehicle": {
"id": "5233518187642880",
"region": "nz",
"title": "2010 Volkswagen Polo Comfortline Automatic",
"year": "2010",
"make": "Volkswagen",
"model": "Polo",
"badge": "Comfortline",
"series": "6R",
"model_year": "MY10",
"release_month": 1,
"release_year": 2010,
"body_type": "Hatchback",
"body_config": null,
"transmission": "Dual Clutch Automatic (DCT)",
"transmission_type": "Automatic",
"wheelbase": null,
"wheelbase_type": null,
"fuel": "Petrol",
"fuel_type": "Petrol",
"engine": "Piston",
"engine_type": "Piston",
"drive": "FWD",
"drive_type": "Front Wheel Drive",
"num_doors": 5,
"num_seats": 5,
"num_gears": 7,
"num_cylinders": 4,
"capacity_cc": 1390,
"power_kw": 63,
"torque_nm": 132,
"range": null,
"options": []
},
"upstream_vehicle": "2010 Volkswagen POLO Polo Hatchback Automatic Petrol 1,380cc",
"confidence": "standard",
"additional_vehicles": []
}Authorization: ApiKey {your API key}{
"success": true,
"vehicles": [
{
"id": "4664292750131200",
"legacy_id": "4664292750131200",
"badge": "TSI",
"make": "Volkswagen",
"model": "Polo",
"series": null,
"title": "2019 Volkswagen Polo TSI Manual",
"year": "2019",
"body_config_type": null,
"body_type": "Hatchback",
"drive_type": "Front Wheel Drive",
"engine_type": "Piston",
"fuel_type": "Petrol",
"transmission_type": "Manual",
"wheelbase_type": null,
"capacity_cc": 999,
"power_kw": 70,
"torque_nm": 175,
"range": null,
"num_cylinders": 3,
"num_doors": 5,
"num_gears": 5,
"num_seats": 5,
"model_year": "MY19",
"release_month": 7,
"release_year": 2019
},
{
"id": "4814155836030976",
"legacy_id": "4814155836030976",
"badge": "TSI",
"make": "Volkswagen",
"model": "Polo",
"series": null,
"title": "2019 Volkswagen Polo TSI Automatic",
"year": "2019",
"body_config_type": null,
"body_type": "Hatchback",
"drive_type": "Front Wheel Drive",
"engine_type": "Piston",
"fuel_type": "Petrol",
"transmission_type": "Automatic",
"wheelbase_type": null,
"capacity_cc": 999,
"power_kw": 70,
"torque_nm": 175,
"range": null,
"num_cylinders": 3,
"num_doors": 5,
"num_gears": 7,
"num_seats": 5,
"model_year": "MY19",
"release_month": 1,
"release_year": 2019
},
{
"id": "5855535618326528",
"legacy_id": "5855535618326528",
"badge": "TSI",
"make": "Volkswagen",
"model": "Polo",
"series": null,
"title": "2019 Volkswagen Polo TSI Automatic",
"year": "2019",
"body_config_type": null,
"body_type": "Hatchback",
"drive_type": "Front Wheel Drive",
"engine_type": "Piston",
"fuel_type": "Petrol",
"transmission_type": "Automatic",
"wheelbase_type": null,
"capacity_cc": 999,
"power_kw": 70,
"torque_nm": 175,
"range": null,
"num_cylinders": 3,
"num_doors": 5,
"num_gears": 7,
"num_seats": 5,
"model_year": "MY20",
"release_month": 10,
"release_year": 2019
},
{
"id": "5958589734715392",
"legacy_id": "5958589734715392",
"badge": "TSI",
"make": "Volkswagen",
"model": "Polo",
"series": null,
"title": "2019 Volkswagen Polo TSI Manual",
"year": "2019",
"body_config_type": null,
"body_type": "Hatchback",
"drive_type": "Front Wheel Drive",
"engine_type": "Piston",
"fuel_type": "Petrol",
"transmission_type": "Manual",
"wheelbase_type": null,
"capacity_cc": 999,
"power_kw": 70,
"torque_nm": 175,
"range": null,
"num_cylinders": 3,
"num_doors": 5,
"num_gears": 5,
"num_seats": 5,
"model_year": "MY20",
"release_month": 10,
"release_year": 2019
}
],
"total": 4,
"confidence": "standard"
}POST https://api.autograb.com.au/auth-broker/request-token
Post body
{ grant_type: client_credentials }
Headers
Content-Type: application/x-www-form-urlencoded
Authorization
Basic Auth of form client_id:client_secret Base64 encoded
Sample success response body
{
"access_token": "[obfuscated-token-string]",
"expires_in": 3599,
"scope": "",
"token_type": "bearer"
}Use this to utilise a single API key but track usage by passing a unique param per use-case or customer.
curl "https://api.autograb.com.au/v2/vehicles/registrations/{number_plate}?region=nz"
-H 'ApiKey: {API_KEY}'{
"success": true,
"vehicle": {
"id": "5233518187642880",
"region": "nz",
"title": "2010 Volkswagen Polo Comfortline Automatic",
"year": "2010",
"make": "Volkswagen",
"model": "Polo",
"badge": "Comfortline",
"series": "6R",
"model_year": "MY10",
"release_month": 1,
"release_year": 2010,
"body_type": "Hatchback",
"body_config": null,
"transmission": "Dual Clutch Automatic (DCT)",
"transmission_type": "Automatic",
"wheelbase": null,
"wheelbase_type": null,
"fuel": "Petrol",
"fuel_type": "Petrol",
"engine": "Piston",
"engine_type": "Piston",
"drive": "FWD",
"drive_type": "Front Wheel Drive",
"num_doors": 5,
"num_seats": 5,
"num_gears": 7,
"num_cylinders": 4,
"capacity_cc": 1390,
"power_kw": 63,
"torque_nm": 132,
"range": null,
"options": []
},
"upstream_vehicle": "2010 Volkswagen POLO Polo Automatic Petrol Hatchback 1,380cc",
"vin": "WVWZZZ6RZAU020000",
"colour": "SILVER",
"confidence": "standard",
"additional_vehicles": []
}Understand how we match vehicles and the expected outcomes.
Find the right market data to inform your decision making
Get the level of detail you need on the vehicle you want.
Enhance your requests with additional data.
Predict all potential values across many conditions for a vehicle.
Set and update your max offer config to refine your price predictions.
v2/sourcing/market_overlay/statistics/5655899674771456&minimum_days=60®ion=nz{
"success": true,
"sample_size": 282,
"days_checked": 60,
"outlier_count": 9,
"avg_days_to_sell": 14.310300431547615,
"price_when_new": 56390
}{
"success": true,
"prediction": {
"id": "8b8663c6-fa04-4a77-9f31-fd2fc32cefa9",
"vehicle_id": "4648873456828416",
"kms": 30000,
"price": 15986,
"score": 0.6676,
"retail_price": 15986,
"adjustment": null,
"conditions": [
{
"condition_score": 1,
"trade_price": 8740.2
},
{
"condition_score": 2,
"trade_price": 9988.8
},
{
"condition_score": 3,
"trade_price": 11237.4
},
{
"condition_score": 4,
"trade_price": 11861.7
},
{
"condition_score": 5,
"trade_price": 12486
}
]
}
}Predict the future value of a vehicle.
{
"region": "au",
"vehicle_id": "5804870883868672",
"initial_kms": 30000,
"yearly_kms": 20000
}{
"success": true,
"predictions": [
{
"year": 0,
"kms": 30000,
"valuation": 23103,
"score": 0.818203282
},
{
"year": 1,
"kms": 50000,
"valuation": 20601,
"score": 0.81823397
},
{
"year": 2,
"kms": 70000,
"valuation": 18323,
"score": 0.818168287
},
{
"year": 3,
"kms": 90000,
"valuation": 16250,
"score": 0.818181818
},
{
"year": 4,
"kms": 110000,
"valuation": 14365,
"score": 0.818124288
},
{
"year": 5,
"kms": 130000,
"valuation": 12655,
"score": 0.818175287
}
]
}Get summary data on a vehicle by searching for its ID
{
"vehicle": {
"id": "5233518187642880",
"region": "nz",
"title": "2010 Volkswagen Polo Comfortline Automatic",
"year": "2010",
"make": "Volkswagen",
"model": "Polo",
"badge": "Comfortline",
"series": "6R",
"model_year": "MY10",
"release_month": 1,
"release_year": 2010,
"body_type": "Hatchback",
"body_config": null,
"transmission": "Dual Clutch Automatic (DCT)",
"transmission_type": "Automatic",
"wheelbase": null,
"wheelbase_type": null,
"fuel": "Petrol",
"fuel_type": "Petrol",
"engine": "Piston",
"engine_type": "Piston",
"drive": "FWD",
"drive_type": "Front Wheel Drive",
"num_doors": 5,
"num_seats": 5,
"num_gears": 7,
"num_cylinders": 4,
"capacity_cc": 1390,
"power_kw": 63,
"torque_nm": 132,
"range": null,
"options": []
},
"success": true
} "max_offer": {
"reconditioning": 1250,
"profit_margin": 3116.04,
"lot": 1000,
"transport": 300,
"admin": 150,
"price": 20150.96
} "max_offer": {
"reconditioning": 1250,
"profit_margin": 3116.04,
"lot": 1000,
"transport": 300,
"admin": 150,
"price": 20150.96
}/v2/valuations/max_offer_configuration{
"success": true,
"max_offer_configuration": {
"reconditioning_percentage": 0,
"reconditioning_fixed": 0,
"profit_margin_percentage": 0,
"profit_margin_fixed": 0,
"lot_percentage": 0,
"lot_fixed": 0,
"transport_percentage": 0,
"transport_fixed": 0,
"admin_percentage": 0,
"admin_fixed": 0
}
}{
"reconditioning": {
"amount": 1000,
"type": "fixed"
},
"profit_margin": {
"amount": 1000,
"type": "fixed"
},
"lot": {
"amount": 1000,
"type": "fixed"
},
"transport": {
"amount": 1000,
"type": "fixed"
},
"admin": {
"amount": 1000,
"type": "fixed"
}
} "bounds": {
"retail": {
"lower": 24408.98,
"upper": 28044.36
},
"trade": {
"lower": 21072,
"upper": 23322
}
}Generate upper and lower bounds on each valuation.
{
"success": true,
"prediction": {
"id": "e2813b16-1012-41b5-9ea3-3b65675c50fd",
"vehicle_id": "5804870883868672",
"kms": 57306,
"price": 20622,
"score": 0.9239,
"retail_price": 20622,
"trade_price": 17122,
"adjustment": null
},
"bounds": {
"retail": {
"lower": 19622,
"upper": 21872
},
"trade": {
"lower": 16122,
"upper": 18372
}
}
}Generate a valuation with a Registration Plate or VIN
{
"region": "nz",
}{
"success": true,
"prediction": {
"id": "bc3df5a9-0488-4486-acb9-ca22482f127c",
"vehicle_id": "5804870883868672",
"kms": 57306,
"price": 20622,
"score": 0.9239,
"retail_price": 20622,
"trade_price": 17122,
"adjustment": null
}
}Create your own price indication and benchmarking gauge.
{
"region": "nz",
"odometer": 10000,
"listing_price": 30000,
"vehicle_id": "5257788510961664",
"vin": "2T1BY32E95C347786",
"rego": "BMT038",
"vehicle_description": "2015 Toyota Corolla Ascent Automatic",
"marketplace": "autotrader.co.nz",
"marketplace_id": "13495712"
}{
"success": true,
"gauge": {
"id": "b2824bfd-d4a4-45e4-a81a-bed7b92c5cd9",
"fill": 0.5,
"listing_price": 24000,
"market_range_min": 21000,
"market_range_max": 26000,
"confidence": 0.85,
"sample_size": 10,
"vehicle_title": "2015 Toyota Corolla Ascent Automatic"
}
}These are frequently asked questions about AutoGrab and our products.
"confidence": "standard", "confidence": "reduced",{
"success": true,
"prediction": {
"id": "8ff23a62-110e-48d7-8205-672af45f6103",
"vehicle_id": "5016997049925632",
"kms": 30000,
"price": 56083,
"score": 0.858,
"retail_price": 56083,
"trade_price": 47671,
"adjustment": null
},
"max_offer": {
"reconditioning": 1250,
"profit_margin": 6729.96,
"lot": 1000,
"transport": 300,
"admin": 150,
"price": 46653.04
}
}{
"region": "nz",
"kms": 216000
}/v2/vehicles/marketplace/?marketplace=autotrader.co.nz&marketplace_id=808159®ion=nz{
"success": true,
"vehicle": {
"id": "4969003601429068",
"region": "au",
"title": "2023 GWM Haval H6GT Ultra Auto 4WD",
"year": "2023",
"make": "GWM",
"model": "Haval H6GT",
"badge": "Ultra",
"series": "B03",
"model_year": null,
"release_month": 8,
"release_year": 2022,
"body_type": "SUV",
"body_config": null,
"transmission": "Dual Clutch Automatic (DCT)",
"transmission_type": "Automatic",
"wheelbase": null,
"wheelbase_type": null,
"fuel": "Petrol",
"fuel_type": "Petrol",
"engine": "Piston",
"engine_type": "Piston",
"drive": "AWD",
"drive_type": "Four Wheel Drive",
"num_doors": 5,
"num_seats": 5,
"num_gears": 7,
"num_cylinders": 4,
"capacity_cc": 1998,
"power_kw": 150,
"torque_nm": 320,
"range": 714,
"options": [
{
"detail": "Metallic Paint",
"price": 495
},
{
"detail": "Standard Paint",
"price": 0
}
]
}
}{
"error": true,
"message": "Vehicle via marketplace drive.com.au/969515013 not found in database"
}{
"success": true,
"prediction": {
"id": "efa792e6-8071-4289-a5b6-c098ac041702",
"vehicle_id": "4871414033154048",
"kms": 216000,
"price": 9546,
"score": 0.5407,
"retail_price": 9546,
"trade_price": 6205,
"adjustment": null
}
}{
"region": "nz",
"odometer": 10000,
"listing_price": 30000,
"marketplace": "example.co.nz",
"marketplace_id": "53445712"
}{
"region": "nz",
"odometer": 10000,
"listing_price": 30000,
"vehicle_id": "5257788510961664",
"vehicle_description": "2015 Toyota Corolla Ascent Automatic",
}{
"region": "nz",
"odometer": 10000,
"listing_price": 30000,
"vin": "2T1BY32E95C347786",
"rego": "BMT038",
"vehicle_description": "2015 Toyota Corolla Ascent Automatic",
}Enrich your market overlay payloads with additional data.
The Market Insights Snapshot system provides insights into the marketability of a given car in a marketplace.




{
"region": "nz",
"vehicle_id": "5804870883868672"
"kms": 30000,
"condition_score": 2
}{
"success": true,
"prediction": {
"id": "a2955915-9611-40ef-8b98-b827dad76ff4",
"vehicle_id": "5804870883868672",
"kms": 57306,
"price": 20622,
"score": 0.9239,
"retail_price": 20622,
"trade_price": 17122,
"adjustment": null
}
}{
"success": true,
"prediction": {
"id": "d028809e-0ef5-42de-9699-8b71fd1aee65",
"vehicle_id": "5631424535199744",
"price": 12347,
"score": 0.81820,
"retail_price": 14847,
"trade_price": 2042.46,
"adjustment": {
"vehicle_id": "5631424535199744",
"enabled": true,
"retail_adjustment": {
"type": "fixed",
"amount": 2500,
"overridden": false
},
"trade_adjustment": {
"type": "percentage",
"amount": 0.2,
"overridden": false
},
"overrides": []
}
}
}{
"success": true,
"prediction": {
"id": "faa847f1-d428-46e1-b2d6-b47a00173d6e",
"vehicle_id": "5631424535199744",
"price": 11697,
"score": 0.81820,
"retail_price": 12000,
"trade_price": 1700,
"adjustment": {
"vehicle_id": "5631424535199744",
"retail_adjustment": {
"type": "fixed",
"amount": 2500,
"overridden": true
},
"trade_adjustment": {
"type": "percentage",
"amount": 0.2,
"overridden": false
},
"overrides": [
{
"id": "1ef42b79-c580-4055-a39b-e5257f81d0d9",
"min_kms": 80000,
"max_kms": 90000,
"trade_price": null,
"retail_price": 12000
}
]
}
}
}"starting_price": 73990,"price_drop_count": 2,"price_when_new": 46990, "listing_url": "https://www.autotrader.co.nz/used-cars-for-sale/volkswagen/polo/781308",
"is_outlier": false,
"listing_details": [
{
"source": "autotrader.co.nz",
"url": "https://www.autotrader.co.nz/used-cars-for-sale/volkswagen/polo/781308"
}
]"cover_image_url": "https://storage.googleapis.com/download/storage/v1/b/ag-img/o/1700380596629%2F402495842_660380.jpg?generation=1700380597213918&alt=media""all_images": [
"https://storage.googleapis.com/download/storage/v1/b/ag-img/o/1713129285535%2Fd7ec39ad-671b-4b.jpg?generation=1713129287041771&alt=media",
"https://storage.googleapis.com/download/storage/v1/b/ag-img/o/1713129291498%2Fd3c1928d-a0f4-4f.jpg?generation=1713129292538543&alt=media",
"https://storage.googleapis.com/download/storage/v1/b/ag-img/o/1713129296398%2Ff982ef2b-a25f-47.jpg?generation=1713129297432084&alt=media",
"https://storage.googleapis.com/download/storage/v1/b/ag-img/o/1713129300707%2Fb4350079-4f04-4c.jpg?generation=1713129302187962&alt=media",
"https://storage.googleapis.com/download/storage/v1/b/ag-img/o/1713129306170%2F2a88d686-c4b7-4a.jpg?generation=1713129307655700&alt=media"
] "primary_description": "Near new condition 2022 Jeep Grand Cherokee Limited 4x4 <br> <br> <br> * Panormaic roof <br> * All Wheel Drive <br> * 20-inch Alloy Wheels <br> * 10.1-inch Touchscreen Display <br> * Wireless Apple CarPlay and Android Auto <br> * Leather Seats <br> * Heated & Ventillated front seats <br> * Heated steering wheel <br> * 9 Speaker Premium Audio System <br> * Power liftgate with adjustable height settings <br> * Automatic LED headlamps with Automatic highbeam <br> * Automatic Windscreen Wipers <br> * 10.25\" Multiview Display cluster <br> * 360 ParkView Rear Back-up Camera <br> * Front and Rear Park Assist with Stop <br> * Tyre Pressure Monitoring <br> * Keyless Entry with Push Button Start <br> * Blind Spot Monitoring with Rear Cross-Path Detection <br> * Adaptive Cruise Control with Stop and Go <br> * Active Lane Management <br> * Pedestrian Automatic Emergency Braking (with cyclist detection) <br> <br> We also accept trade ins, So bring down your pride and joy and we can price it on the spot! <br> <br> With easy onsite finance pre approvals available you can be in your new car in no time. <br> <br> WE ARE A PRIVATE OWNED DEALERSHIP JUST 20 MINUTES NORTH OF PERTH CITY,<br/><strong>Motor Mall WA</strong><br/>41 Buckingham Drive Wangara, WA 6065<br/>License number: 29875""rego": "FDT46H","vin": "MR0BA3CD900173054","stock_no": 123ABC,/v2/vehicles/vins/SALWA2KE5EA312255/build-data?region=nz{
"success": true,
"vehicle": {
"vin": "WVWZZZAWZKU065305",
"build_date": "2019-03-19",
"make": "VOLKSWAGEN",
"model": "POLO",
"features": [
{
"code": "00A",
"value": "Rear overhang, short"
},
{
"code": "0A2",
"value": "4 doors"
},
{
"code": "0AR",
"value": "Front stabilizer bar"
},
{
"code": "0B1",
"value": "Wheelbase"
},
{
"code": "0EG",
"value": "Dual-clutch transmission DSG DQ200"
},
{
"code": "0FV",
"value": "South Africa manufacturing sequence"
},
{
"code": "0K0",
"value": "Without alternative drive system"
}
]
}
}
```{
"error": true,
"message": "Invalid or Unsupported VIN"
}{
"error": true,
"message": "Invalid VIN, must be 17 characters."
}<iframe
src="http://localhost:3000/?region=nz&odometer=10000&vehicle_description=2017%20Mazda%20CX-3%20Maxx&vin=123ABC®istration_plate=ABC123&api_key={yourkey}"
/>/v2/sourcing/history?region=nz®istration_plate=BMT038&year=2019&make=Volkswagen&features=price_changes&model=Polo&vin=KL3TA48E9CB053071{
"success": true,
"id": "dfe4d117-74e1-4545-9e79-a0baac8208a7",
"events": [
{
"type": "listing",
"odometer": 100000,
"price": 100000,
"marketplace": "Gumtree",
"timestamp": "2022-09-20T10:22:07.072",
"seller_type": "string"
}
]
} {
"type": "listing",
"odometer": 100000,
"price": 100000,
"marketplace": "Gumtree",
"timestamp": "2022-09-20T10:22:07.072",
"seller_type": "string"
} {
"type": "delisting",
"odometer": 100000,
"price": 100000,
"marketplace": "Gumtree",
"timestamp": "2022-09-20T10:22:07.072",
"seller_type": "string"
}curl '/v2/sourcing/history?region=nz&vin=KL3TA48E9CB053071' \
-H 'ApiKey: {API_KEY}'{
"success": true,
"id": "dfe4d117-74e1-4545-9e79-a0baac8208a7",
"events": [
{
"type": "listing",
"odometer": 100000,
"price": 100000,
"marketplace": "Gumtree",
"timestamp": "2022-09-20T10:22:07.072",
"seller_type": "string"
}
]
}curl '/v2/sourcing/history?region=nz®istration_plate=BMT038&year=2019&make=Volkswagen&features=price_changes&model=Polo&vin=KL3TA48E9CB053071'
-H 'ApiKey: {API_KEY}'<iframe
src="http://localhost:3000?region=nz&odometer=10000&listing_price=100
00&vin=MM0DK2W7A0W207162&api_key={yourkey}"
/><iframe
src="http://localhost:3000?region=nz&odometer=10000&listing_price=100
00®o=AOM964&api_key={yourkey}"
/><iframe
src="http://localhost:3000/?region=nz&odometer=10000&listing_price=10
000&marketplace=carsales.com.au&marketplace_id=OAG-AD-21662144&api_ke
y={yourkey}"
/><iframe
src="http://localhost:3000/?region=nz&odometer=10000&listing_price=10
000&vehicle_description=2017%20Mazda%20CX-3%20Maxx&api_key={yourkey}"
/><!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width,
initial-scale=1.0" />
<title>Iframe Test</title>
</head>
<body>
<iframe
src="https://gauge.autograb.com.au?region=nz&odometer=10000&listing_p
rice=26005&vin=MM0DK2W7A0W207162&api_key={yourkey}"
width="100%"
height="600px"
></iframe>
</body>
</html>window.addEventListener('message', event => {
if (
event.data === 'AUTOGRAB_GAUGE_SHOW' &&
event.origin === 'https://gauge.autograb.com.au'
) {
// show the gauge iframe element
}
});
If there is a redirect to the 500 page, we send a message via the iframes postMessage
function.. The 500 page is used for any error that occurs server side, as well as if the gauge
valuation is below the threshold defined in your configuration (this is per API key).
The way for a client to listen for the event is as follows:
window.addEventListener('message', event => {
if (
event.data === 'AUTOGRAB_GAUGE_HIDE' &&
event.origin === 'https://gauge.autograb.com.au'
) {
// hide the gauge iframe element
}
});





Get a view of the market as it relates to a specific vehicle.












"contact_name": "Example Motors",
"contact_number": "+61 3 2568 6587","starting_price": 73990,"price_drop_count": 2,"listing_details": [
{
"source": "gumtree.com.au",
"url": "https://www.gumtree.com.au/s-ad/1319103332/"
},
{
"source": "autotrader.com.au",
"url": "https://www.autotrader.com.au/car/13462144/toyota/hilux/sa/cheltenham/dual-cab/"
}
]"cover_image_url": "https://storage.googleapis.com/download/storage/v1/b/ag-img/o/1700380596629%2F402495842_660380.jpg?generation=1700380597213918&alt=media""all_images": [
"https://storage.googleapis.com/download/storage/v1/b/ag-img/o/1713129285535%2Fd7ec39ad-671b-4b.jpg?generation=1713129287041771&alt=media",
"https://storage.googleapis.com/download/storage/v1/b/ag-img/o/1713129291498%2Fd3c1928d-a0f4-4f.jpg?generation=1713129292538543&alt=media",
"https://storage.googleapis.com/download/storage/v1/b/ag-img/o/1713129296398%2Ff982ef2b-a25f-47.jpg?generation=1713129297432084&alt=media",
"https://storage.googleapis.com/download/storage/v1/b/ag-img/o/1713129300707%2Fb4350079-4f04-4c.jpg?generation=1713129302187962&alt=media",
"https://storage.googleapis.com/download/storage/v1/b/ag-img/o/1713129306170%2F2a88d686-c4b7-4a.jpg?generation=1713129307655700&alt=media"
]"listing_details": [
{
"source": "tradingpost.com.au",
"url": "https://www.tradingpost.com.au/cars-for-sale/hyundai/getz/in-nsw/beresfield-suburb/ad-zkz9kh",
"price": 3500,
"drive_away_price": null,
"price_before_govt_charges": null,
"price_includes_govt_charges": null
},
{
"source": "autotrader.com.au",
"url": "https://www.autotrader.com.au/car/14770667/hyundai/getz/nsw/beresfield/hatchback",
"price": 3500,
"drive_away_price": 3640,
"price_before_govt_charges": 3500,
"price_includes_govt_charges": false
},
{
"source": "gumtree.com.au",
"url": "https://www.gumtree.com.au/s-ad/1338080856",
"price": 3500,
"drive_away_price": 3640,
"price_before_govt_charges": 3500,
"price_includes_govt_charges": false
}
] "primary_description": "Near new condition 2022 Jeep Grand Cherokee Limited 4x4 <br> <br> <br> * Panormaic roof <br> * All Wheel Drive <br> * 20-inch Alloy Wheels <br> * 10.1-inch Touchscreen Display <br> * Wireless Apple CarPlay and Android Auto <br> * Leather Seats <br> * Heated & Ventillated front seats <br> * Heated steering wheel <br> * 9 Speaker Premium Audio System <br> * Power liftgate with adjustable height settings <br> * Automatic LED headlamps with Automatic highbeam <br> * Automatic Windscreen Wipers <br> * 10.25\" Multiview Display cluster <br> * 360 ParkView Rear Back-up Camera <br> * Front and Rear Park Assist with Stop <br> * Tyre Pressure Monitoring <br> * Keyless Entry with Push Button Start <br> * Blind Spot Monitoring with Rear Cross-Path Detection <br> * Adaptive Cruise Control with Stop and Go <br> * Active Lane Management <br> * Pedestrian Automatic Emergency Braking (with cyclist detection) <br> <br> We also accept trade ins, So bring down your pride and joy and we can price it on the spot! <br> <br> With easy onsite finance pre approvals available you can be in your new car in no time. <br> <br> WE ARE A PRIVATE OWNED DEALERSHIP JUST 20 MINUTES NORTH OF PERTH CITY,<br/><strong>Motor Mall WA</strong><br/>41 Buckingham Drive Wangara, WA 6065<br/>License number: 29875""rego": "FDT46H","vin": "MR0BA3CD900173054","stock_no": 123ABC,"avg_odo": 123000,
"avg_kms":2300,"avg_price": 67664,Read a step by step example guide on how to work with Facets.
{
"success": true,
"make": [
{
"value": "Abarth",
"count": 47
},
{
"value": "Acura",
"count": 1
},
{
"value": "Alfa Romeo",
"count": 713
},
{
"value": "AM General",
"count": 2
},
{
"value": "Aston Martin",
"count": 169
// trimmed - this would show all makes in the NZ region{
"success": true,
"model": [
{
"value": "4Runner",
"count": 41
},
{
"value": "86",
"count": 72
},
{
"value": "Allex",
"count": 26
// trimmed - this would show all models in the NZ region{
"success": true,
"badge": [
{
"value": "SE Ltd",
"count": 6
},
{
"value": "SE LTD",
"count": 2
},
{
"value": "Sprint",
"count": 3
},
{
"value": "Sprinter",
"count": 5
},
{
"value": "Sprinter SR",
"count": 1
},
{
"value": "SR",
"count": 4
},
// trimmed - this would show all badges in the NZ region{
"success": true,
"vehicles": [
{
"id": "5364630897557504",
"region": "nz",
"title": "1997 Toyota Corolla Sprint Manual",
"year": "1997",
"make": "Toyota",
"model": "Corolla",
"badge": "Sprint",
"series": null,
"model_year": null,
"release_month": 9,
"release_year": 1995,
"body_type": "Hatchback",
"body_config": null,
"transmission": "Manual",
"transmission_type": "Manual",
"wheelbase": null,
"wheelbase_type": null,
"fuel": "Petrol",
"fuel_type": "Petrol",
"engine": "Piston",
"engine_type": "Piston",
"drive": "FWD",
"drive_type": "Front Wheel Drive",
"num_doors": 5,
"num_seats": 5,
"num_gears": 5,
"num_cylinders": 4,
"capacity_cc": 1587,
"power_kw": null,
"torque_nm": null,
"range": null,
"options": []
},
{
"id": "6033133967245312",
"region": "nz",
"title": "1999 Toyota Corolla Sprint Manual",
"year": "1999",
"make": "Toyota",
"model": "Corolla",
"badge": "Sprint",
"series": null,
"model_year": null,
"release_month": 9,
"release_year": 1995,
"body_type": "Hatchback",
"body_config": null,
"transmission": "Manual",
"transmission_type": "Manual",
"wheelbase": null,
"wheelbase_type": null,
"fuel": "Petrol",
"fuel_type": "Petrol",
"engine": "Piston",
"engine_type": "Piston",
"drive": "FWD",
"drive_type": "Front Wheel Drive",
"num_doors": 5,
"num_seats": 5,
"num_gears": 5,
"num_cylinders": 4,
"capacity_cc": 1587,
"power_kw": null,
"torque_nm": null,
"range": null,
"options": []
},
{
"id": "6563011892346880",
"region": "nz",
"title": "1998 Toyota Corolla Sprint Manual",
"year": "1998",
"make": "Toyota",
"model": "Corolla",
"badge": "Sprint",
"series": null,
"model_year": null,
"release_month": 9,
"release_year": 1995,
"body_type": "Hatchback",
"body_config": null,
"transmission": "Manual",
"transmission_type": "Manual",
"wheelbase": null,
"wheelbase_type": null,
"fuel": "Petrol",
"fuel_type": "Petrol",
"engine": "Piston",
"engine_type": "Piston",
"drive": "FWD",
"drive_type": "Front Wheel Drive",
"num_doors": 5,
"num_seats": 5,
"num_gears": 5,
"num_cylinders": 4,
"capacity_cc": 1587,
"power_kw": null,
"torque_nm": null,
"range": null,
"options": []
}
],
"total": 3
}{
"error": true,
"message": "Too many vehicles, you must return at least make, model, badge, series, year"
}

monitor_start_date: An optional default date from which Customers in this upload should start being monitored. Applied to any Customer that does not specify its own monitor_start_date.curl -XPOST -H 'ApiKey: {API_KEY}' \
-H "Content-Type: application/json" \
-d '{
"name": "June 2022 New Customers",
"enable_rego_lookups": false,
"monitor_start_date": "2022-06-01",
"monitor_end_date": "2023-06-01",
"customers": [
{
"rego": "ZEN407",
"external_id": "CUST-4821",
"sale_date": "2022-06-15",
"additional_fields": {
"market_source": "dealer_crm",
"customer_type": "vip"
}
}
]
}' 'https://api.autograb.com.au/v2/recapture/upload?region={REGION}'{
"success": true,
"upload": {
"id": "99aa2d8e-348b-4321-beeb-f2fa67bab3eb",
"created_at": "2022-07-21T08:07:16.580Z",
"enable_rego_lookups": false,
"name": "June 2022 New Customers",
"total_uploaded_customers": 1,
"total_processed_customers": 0,
"total_errors": 0
}
}curl "https://api.autograb.com.au/v2/recapture/upload/{UPLOAD_ID}?region={REGION}" \
-H 'ApiKey: {API_KEY}'{
"success": true,
"upload": {
"id": "80230301-9d26-45d7-85d6-fbb8c519c014",
"created_at": "2022-07-16T06:22:05.289Z",
"enable_rego_lookups": false,
"name": "August 2022 New Customers",
"total_uploaded_customers": 1000,
"total_processed_customers": 800,
"total_errors": 0
}
}curl -XDELETE "https://api.autograb.com.au/v2/recapture/upload/{UPLOAD_ID}?region={REGION}" \
-H 'ApiKey: {API_KEY}'{
"success": true,
"upload": {
"id": "80230301-9d26-45d7-85d6-fbb8c519c014",
"created_at": "2022-07-16T06:22:05.289Z",
"enable_rego_lookups": false,
"name": "August 2022 New Customers",
"total_uploaded_customers": 1000,
"total_processed_customers": 850,
"total_errors": 0
}
}curl "https://api.autograb.com.au/v2/recapture/customers?region={REGION}&limit=100&offset=0" \
-H 'ApiKey: {API_KEY}'{
"success": true,
"total": 2,
"customers": [
{
"id": "000005cb-6d2f-49bc-a5a3-b596ede9202b",
"last_updated": "2022-07-21T05:41:02.941Z",
"rego": "ABC123",
"vin": "1N4AL11D16N337720",
"external_id": "CUST-4821",
"sale_date": "2022-01-07T00:00:00.000Z",
"monitor_start_date": "2022-06-01T00:00:00.000Z",
"monitor_end_date": "2023-06-01T00:00:00.000Z",
"vehicle_title": "2019 Toyota Camry Ascent",
"sightings": [
{
"at": "2022-08-15T14:23:01.000Z",
"lead_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"listing_url": "https://www.carsales.com.au/cars/details/OAG-AD-123456/",
"listing_title": "2019 Toyota Camry Ascent Sport",
"listing_price": 28500,
"seller_type": "private"
}
],
"additional_fields": {
"market_source": "dealer_crm",
"customer_type": "vip"
}
},
{
"id": "0000993c-f21a-445e-9829-21786098df16",
"last_updated": "2022-07-21T05:45:05.174Z",
"rego": "DEF456",
"vin": "4T1BE46K28U742135",
"external_id": "CUST-7964",
"sale_date": "2020-03-31T00:00:00.000Z",
"monitor_start_date": null,
"monitor_end_date": null,
"vehicle_title": "2017 Mazda 3 Maxx",
"sightings": [],
"additional_fields": {
"market_source": "dealer_crm",
"customer_type": "vip"
}
}
]
}curl -XPUT -H 'ApiKey: {API_KEY}' \
-H "Content-Type: application/json" \
-d '{
"enable_rego_lookups": true,
"customer": {
"rego": "ZEN407",
"external_id": "CUST-4821",
"sale_date": "2022-06-01",
"monitor_start_date": "2022-06-01",
"monitor_end_date": "2023-06-01",
"additional_fields": {
"market_source": "dealer_crm",
"customer_type": "vip"
}
}
}' 'https://api.autograb.com.au/v2/recapture/customers?region={REGION}'{
"success": true,
"customer": {
"id": "0000c339-1fb4-4d15-9b46-6509f2c5a2a4",
"last_updated": "2022-07-21T02:27:03.543Z",
"rego": "ZEN407",
"vin": "1N4AL11D16N337720",
"external_id": "CUST-4821",
"sale_date": "2022-06-01T00:00:00.000Z",
"monitor_start_date": "2022-06-01T00:00:00.000Z",
"monitor_end_date": "2023-06-01T00:00:00.000Z",
"vehicle_title": "2019 Toyota Camry Ascent",
"sightings": [],
"additional_fields": {
"market_source": "dealer_crm",
"customer_type": "vip"
}
}
}curl "https://api.autograb.com.au/v2/recapture/customers/{CUSTOMER_ID}?region={REGION}" \
-H 'ApiKey: {API_KEY}'{
"success": true,
"customer": {
"id": "0000c339-1fb4-4d15-9b46-6509f2c5a2a4",
"last_updated": "2022-07-21T02:27:03.543Z",
"rego": "1EW2WA",
"vin": "1N4AL11D16N337720",
"external_id": "CUST-4821",
"sale_date": "2020-07-18T00:00:00.000Z",
"monitor_start_date": "2022-06-01T00:00:00.000Z",
"monitor_end_date": "2023-06-01T00:00:00.000Z",
"vehicle_title": "2019 Toyota Camry Ascent",
"sightings": [
{
"at": "2022-08-15T14:23:01.000Z",
"lead_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"listing_url": "https://www.carsales.com.au/cars/details/OAG-AD-123456/",
"listing_title": "2019 Toyota Camry Ascent Sport",
"listing_price": 28500,
"seller_type": "private"
}
],
"additional_fields": {
"market_source": "dealer_crm",
"customer_type": "vip"
}
}
}curl -XPATCH -H 'ApiKey: {API_KEY}' \
-H "Content-Type: application/json" \
-d '{
"external_id": "CUST-5673",
"sale_date": "2022-06-15",
"monitor_start_date": "2022-06-01",
"monitor_end_date": "2023-06-01",
"additional_fields": {
"market_source": "dealer_crm",
"customer_type": "vip"
}
}' 'https://api.autograb.com.au/v2/recapture/customers/{CUSTOMER_ID}?region={REGION}'{
"success": true,
"customer": {
"id": "0000c339-1fb4-4d15-9b46-6509f2c5a2a4",
"last_updated": "2022-07-21T02:27:03.543Z",
"rego": "1EW2WA",
"vin": "1N4AL11D16N337720",
"external_id": "CUST-5673",
"sale_date": "2022-06-15T00:00:00.000Z",
"monitor_start_date": "2022-06-01T00:00:00.000Z",
"monitor_end_date": "2023-06-01T00:00:00.000Z",
"vehicle_title": "2019 Toyota Camry Ascent",
"sightings": [
{
"at": "2022-08-15T14:23:01.000Z",
"lead_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"listing_url": "https://www.carsales.com.au/cars/details/OAG-AD-123456/",
"listing_title": "2019 Toyota Camry Ascent Sport",
"listing_price": 28500,
"seller_type": "private"
}
],
"additional_fields": {
"market_source": "dealer_crm",
"customer_type": "vip"
}
}
}curl -XDELETE "https://api.autograb.com.au/v2/recapture/customers/{CUSTOMER_ID}?region={REGION}" \
-H 'ApiKey: {API_KEY}'{
"success": true,
"customer": {
"id": "0000c339-1fb4-4d15-9b46-6509f2c5a2a4",
"last_updated": "2022-07-21T02:27:03.543Z",
"rego": "1EW2WA",
"vin": "1N4AL11D16N337720",
"external_id": "CUST-4821",
"sale_date": "2020-07-18T00:00:00.000Z",
"monitor_start_date": "2022-06-01T00:00:00.000Z",
"monitor_end_date": "2023-06-01T00:00:00.000Z",
"vehicle_title": "2019 Toyota Camry Ascent",
"sightings": [
{
"at": "2022-08-15T14:23:01.000Z",
"lead_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"listing_url": "https://www.carsales.com.au/cars/details/OAG-AD-123456/",
"listing_title": "2019 Toyota Camry Ascent Sport",
"listing_price": 28500,
"seller_type": "private"
}
],
"additional_fields": {
"market_source": "dealer_crm",
"customer_type": "vip"
}
}
}{
"success": true,
"stockFeed": {
"id": "ff7ff637-e4c1-40f2-9f9d-8f76d6c201fb",
"display_name": "ff7ff637-e4c1-40f2-9f9d-8f76d6c201fb",
"stock_feed_api_keys": [
"YOUR_API_KEY"
]
}
}{
region: {
type: 'string',
required: true,
description: 'The stock item region',
},
created_at: {
type: 'string',
required: true,
description: 'ISO 8601 created at utc date and time string',
},
updated_at: {
type: 'string',
required: true,
description: 'ISO 8601 updated at utc date and time string',
},
checked_at: {
type: 'string',
required: true,
description: 'ISO 8601 checked at utc date and time string',
},
stocked_at: {
type: 'string',
required: true,
description: 'ISO 8601 stocked at utc date and time string',
},
removed_at: {
type: 'string',
required: false,
description:
'ISO 8601 removed at utc date and time string, only to be supplied for items that have been removed',
},
condition: {
type: 'string',
required: true,
description: 'The stock condition',
example: 'New',
},
stock_no: {
type: 'string',
required: false,
description: 'The stock number',
},
rego: {
type: 'string',
required: false,
description: 'The registration plate',
},
rego_expiry: {
type: 'string',
required: false,
description: 'ISO 8601 rego_expiry utc date and time string',
},
vin: {
type: 'string',
required: false,
description: 'The Vehicle Identification Number',
},
year: {
type: 'number',
required: false,
description: 'The vehicle year',
},
kms: {
type: 'number',
required: false,
description: 'The vehicle odometer reading',
},
color: {
type: 'string',
required: false,
description: 'The vehicle body colour',
},
description: {
type: 'string',
required: false,
description: 'The vehicle description',
},
make: {
type: 'string',
required: false,
description: 'The vehicle make',
},
model: {
type: 'string',
required: false,
description: 'The vehicle model',
},
series: {
type: 'string',
required: false,
description: 'The vehicle series',
},
badge: {
type: 'string',
required: false,
description: 'The vehicle badge',
},
tranmission: {
type: 'string',
required: false,
description: 'The vehicle tranmission',
},
location: {
type: 'string',
required: false,
description: 'The vehicle location',
},
suburb: {
type: 'string',
required: false,
description: 'The vehicle suburb',
},
postcode: {
type: 'string',
required: false,
description: 'The vehicle postcode',
},
lat: {
type: 'number',
required: false,
description: 'The vehicle latitude',
},
lng: {
type: 'number',
required: false,
description: 'The vehicle longtitude',
},
price_egc: {
type: 'number',
required: false,
description: 'The vehicle price excluding government charges',
},
price_dap: {
type: 'number',
required: false,
description: 'The vehicle drive away price',
},
purchase_price: {
type: 'number',
required: false,
description: 'The vehicle purchase price',
},
video_url: {
type: 'string',
required: false,
description: 'The vehicle video url',
},
images: {
type: 'array',
items: {
type: 'object',
properties: {
url: {
type: 'string',
required: true,
},
},
},
},
}{
"success": true,
"stockItemResult": {
"id": "3842b20f-423b-4eab-b87a-69bed4582725",
"region": "nz",
"lead_id": "3f026858-5b0e-4221-8338-af40fb5d3865",
"listing_id": null,
"external_id": "000000001",
"stock_feed_account_id": "1798a10c-977a-4ba8-b15b-0d9cb581b36b",
"source": "ff7ff637-e4c1-40f2-9f9d-8f76d6c201fb",
"listing_source": null,
"listing_source_id": null,
"external_vehicle_catalogue": null,
"created_at": "2023-09-28T17:53:33.000Z",
"updated_at": "2023-09-28T17:53:33.000Z",
"checked_at": "2023-09-28T17:53:33.000Z",
"stocked_at": "2023-09-28T17:53:33.000Z",
"removed_at": null,
"condition": "Used",
"stock_no": "8567",
"rego": "1REGOYG",
"vin": "6FPAAAAAAAAAAAA5",
"rego_expiry": "2023-09-28T00:00:00.000Z",
"vehicle_id": "agv-ford-3399971153459088",
"year": 2023,
"compliance_year": null,
"compliance_month": null,
"build_year": null,
"build_month": null,
"make": "Ford",
"model": "Transit",
"badge": "350L",
"series": "VO",
"vehicle_title": null,
"vehicle_rrp": null,
"vehicle_age_years": null,
"model_year": "MY23",
"release_year": 2022,
"release_month": 9,
"body_type": "Van",
"engine_type": "Piston",
"transmission_type": "Automatic",
"drive_type": "Front Wheel Drive",
"fuel_type": "Diesel",
"wheelbase_type": null,
"body_config_type": null,
"range": null,
"power_kw": 125,
"torque_nm": 390,
"num_doors": 4,
"num_seats": 3,
"num_gears": 6,
"num_cylinders": 4,
"capacity_cc": 1995,
"matcher_input": "year 2023 make FORD model TERRITORY series SZ badge transmission 6 SP AUTOMATIC ",
"matcher_inputs": {
"make": "FORD",
"year": 2023,
"badge": "",
"model": "TERRITORY",
"series": "SZ",
"transmission": "6 SP AUTOMATIC"
},
"kms": 150000,
"color": null,
"description": null,
"purchase_price": null,
"costs": null,
"acquisition_channel": null,
"purchaser": null,
"est_retail": 35266,
"est_trade": 29976,
"price_egc": 36999,
"price_dap": 55000,
"price_includes_govt_charges": null,
"price_egc_rel_to_est_trade": 1.234287429943955,
"price_egc_diff_to_est_trade": 0.2342874299439552,
"price_egc_rel_to_est_retail": 1.049140815516361,
"price_egc_diff_to_est_retail": 0.04914081551636129,
"video_url": null,
"is_certified": null,
"location_input": "",
"state": null,
"suburb": "Bluewood",
"suburb_input": "Bluewood",
"postcode": "3200",
"postcode_input": "3200",
"lat": 55.4324,
"lng": -42.432,
"formatted_location": null,
"raw_payload": {
"kms": 150000,
"lat": 55.4324,
"lng": -42.432,
"vin": "6FPAAAAAAAAAAAA5",
"make": "FORD",
"rego": "1REGOYG",
"year": 2023,
"badge": "",
"model": "TERRITORY",
"images": [],
"region": "nz",
"series": "SZ",
"suburb": "Bluewood",
"location": "",
"postcode": "3200",
"stock_no": "8567",
"condition": "Used",
"price_dap": 55000,
"price_egc": 36999,
"checked_at": "2023-09-28T17:53:33Z",
"created_at": "2023-09-28T17:53:33Z",
"stocked_at": "2023-09-28T17:53:33Z",
"updated_at": "2023-09-28T17:53:33Z",
"rego_expiry": "2023-09-28T17:53:33Z",
"transmission": "6 SP AUTOMATIC"
},
"pipeline_state_id": 19
}
}Receive notifications from AutoGrab system on events to power your own experiences.
format: The format that you want the PUSH events to be sent in (Currently, only json is supported)curl -XPOST -H 'ApiKey: {API_KEY}' \
-H "Content-type: application/json" \
-d '{
"region": "nz",
"name": "Sandbox Webhook",
"format": "json",
"endpoint": "https://sandbox.webhook.new"
}' 'https://api.autograb.com.au/v2/webhooks'{
"success": true,
"webhook": {
"id": "a9fb47f6-3d1d-4945-9f4d-f45b12a63797",
"created_at": "2022-07-15T03:53:59.872Z",
"name": "Sandbox Webhook",
"format": "json",
"events": ["recapture_new"],
"endpoint": "https://example.com/push"
}
}curl "https://api.autograb.com.au/v2/webhooks?region=nz" \
-H 'ApiKey: {API_KEY}'{
"success": true,
"webhooks": [
{
"id": "9a275d4f-5476-4d86-b691-f0f37d985909",
"created_at": "2022-07-15T03:54:07.431Z",
"name": "Sandbox Webhook",
"format": "json",
"events": ["recapture_new", "recapture_delist"],
"endpoint": "https://sandbox.example.com/push"
},
{
"id": "a9fb47f6-3d1d-4945-9f4d-f45b12a63797",
"created_at": "2022-07-15T03:53:59.872Z",
"name": "Production Webhook",
"format": "json",
"events": ["recapture_new"],
"endpoint": "https://example.com/push"
}
]
}curl "https://api.autograb.com.au/v2/webhooks/{WEBHOOK_ID}?region=au" \
-H 'ApiKey: {API_KEY}'{
"success": true,
"webhook": {
"id": "a9fb47f6-3d1d-4945-9f4d-f45b12a63797",
"created_at": "2022-07-15T03:53:59.872Z",
"name": "Sandbox Webhook",
"format": "json",
"events": ["recapture_price_change"],
"endpoint": "https://example.com/push"
}
}curl -XPATCH -H 'ApiKey: {API_KEY}' \
-H "Content-type: application/json" -d '{
"name": "Updated Sandbox Webhook",
"endpoint": "https://sandbox.example.com/push",
"events": ["recapture_new"]
}' 'https://api.autograb.com.au/v2/webhooks/{WEBHOOK_ID}?region=au'{
"success": true,
"webhook": {
"id": "a9fb47f6-3d1d-4945-9f4d-f45b12a63797",
"created_at": "2022-07-15T03:53:59.872Z",
"name": "Updated Sandbox Webhook",
"format": "json",
"events": ["recapture_new"],
"endpoint": "https://example.com/push"
},
"updates": {
"name": "Updated Sandbox Webhook",
"endpoint": "https://sandbox.example.com/push",
"events": ["recapture_new"]
}
}curl -XDELETE "https://api.autograb.com.au/v2/webhooks/{WEBHOOK_ID}?region=au" \
-H 'ApiKey: {API_KEY}'{
"success": true,
"webhook": {
"id": "a9fb47f6-3d1d-4945-9f4d-f45b12a63797",
"created_at": "2022-07-15T03:53:59.872Z",
"name": "Sandbox Webhook",
"format": "json",
"events": ["recapture_price_change"],
"endpoint": "https://example.com/push"
}
}curl -XPOST "https://api.autograb.com.au/v2/webhooks/{WEBHOOK_ID}/ping?region=au" \
-H 'ApiKey: {API_KEY}'{
"success": true,
"ping": {
"webhook_id": "a9fb47f6-3d1d-4945-9f4d-f45b12a63797",
"at": "2022-07-15T03:53:59.872Z",
"format": "json",
"endpoint": "https://example.com/push",
"response_time_ms": 83,
"response_status": 200
}
}{
// The Webhook Event type (required)
"event": "ping",
// The webhook event payload (required)
"data": {
"webhook_id": "a9fb47f6-3d1d-4945-9f4d-f45b12a63797",
"at": "2022-09-03T00:37:57.095Z"
}
}{
// The Webhook Event type (required)
"event": "recapture_new",
// The Webhook Event payload (required)
"data": {
// The Recapture record which has been seen online
"customer": {
// The internal ID of the Recapture client (required)
"id": "05df2f33-1d03-404c-b0c2-dfbecaa65fff", // Required
// The ISO timestamp when the event took place (required)
"last_updated": "2022-09-03T00:37:57.095Z",
// The registration plate that you were tracking (nullable)
"rego": "BMT038",
// The VIN uploaded for the Recapture customer (nullable)
"vin": null,
// The name uploaded for the Recapture Customer (nullable)
"client_name": "Raph",
// The mobile number uploaded for the Recapture Customer (nullable)
"mobile_number": "+61 123 456 789",
// The ISO formatted sale date uploaded alongside the customer record, if applicable (nullable)
"sale_date": "2022-03-02T00:00:00.000Z",
// The ISO formatted expiry date for the Recapture customer record, if applicable (nullable)
"expiry_date": "2022-11-20T00:00:00.000Z",
// The vehicle title, determined by a registration or listing lookup (nullable)
"vehicle_title": "2019 Volkswagen Polo 85TSI Comfortline",
// Any additional data that was uploaded alongside the customer record (required)
"additional_fields": {
"notes": "Three free services included in the package"
},
// An array including details for each time one of the customer's vehicles was spotted online (required)
"sightings": [
{
// The date when the vehicle was spotted online (required)
"at": "2022-09-03T00:37:57.095Z",
// The Lead ID that includes the listing where the vehicle was spotted online (required)
"lead_id": "nz_volkswagen_bmt038",
// The URL where the vehicle was listed online (required)
"listing_url": "https://autotrader.co.nz/used-cars-for-sale/volkswagen/polo/806849",
// The title of the listing (required)
"listing_title": "2019 Volkswagen Polo 85TSI Comfortline AW Auto MY19",
// The price that the vehicle was listed for at the time of capture (nullable)
"listing_price": 26890,
}
]
}
}
}{
// The Webhook Event type (required)
"event": "valuation_change",
// The webhook event payload (required)
"data": {
// The pricing record which has changed in value
"pricing_record": {
// The unique Pricing Record ID (required)
"id": "a9fb47f6-3d1d-4945-9f4d-f45b12a63797",
// The AutoGrab Vehicle ID associated with the pricing record (required)
"vehicle_id": "5478860653068288",
// The ISO timestamp when the pricing record was first created (required)
"created_at": "2022-08-20T07:20:32.412Z",
// The registration plate associated with the pricing record (nullable)
"rego": "ZXX678",
// The registration state associated with the pricing record, if applicable (nullable)
"state": "VIC",
// The VIN associated with the pricing record (nullable)
"vin": null,
// The odometer input for the pricing record (required)
"kms": 32000,
// The current price prediction for the given vehicle at the kilometers entered (required)
"price": 36782,
// The current predicted retail price (required)
"retail_price": 36782,
// The current predicted trade price (required)
"trade_price": 32100,
// The adjustments and overrides that are currently applied to the pricing record (nullable)
// Matches the adjustment schema from the `/v2/valuations/predict` endpoint
"adjustment": null,
// An array of all the recorded valuation changes that this pricing record has had (required)
"changes": [
{
// The unique change ID (required)
"id": "ba4b3912-ae25-44c1-8a66-36ca68fac859",
// The change type (valuation or configuration) (required)
// A valuation change implies that the market has shifted,
// whereas a configuration change is simply a result of your
// adjustments/overrides configuration changing
"type": "valuation",
// The ISO timestamp when the change occurred (required)
"at": "2022-09-03T01:03:55.382Z",
// The new price (required)
"new_price": 36782,
// The new retail price (required)
"new_retail_price": 36782,
// The new trade price (required)
"new_trade_price": 32100,
// The old price (required)
"old_price": 38520,
// The old retail price (required)
"old_retail_price": 38520,
// The old trade price (required)
"old_trade_price": 34200
},
{
// Any previous changes to the pricing record will also be
// included here, following the same schema as above
"id": "46610b56-f3c7-4744-8adf-021c0aba1cc4",
"type": "configuration",
"at": "2022-09-01T03:12:32.524Z",
"new_price": 38520,
"new_retail_price": 38520,
"new_trade_price": 34200,
"old_price": 38520,
"old_retail_price": 37520,
"old_trade_price": 33900
}
]
},
// This is a copy of the specific valuation change that caused the webhook to trigger (required)
// in case many changes occur in a short time span, this is the source of truth for the
// exact change that triggered the event.
"change": {
"id": "ba4b3912-ae25-44c1-8a66-36ca68fac859",
"type": "valuation",
"at": "2022-09-03T01:03:55.382Z",
"new_price": 36782,
"new_retail_price": 36782,
"new_trade_price": 32100,
"old_price": 38520,
"old_retail_price": 38520,
"old_trade_price": 34200
}
}
}The minimum number of days to show listings for
If enabled, vehicles that were manufactured up to one year before and one year after your chosen vehicle will also be included in the results.
If enabled, leads that are considered outliers will be excluded from the results.
If enabled, leads that are not currently on the market will be excluded from the results.
If enabled, all listings that are currently on the market will be returned, instead of only listings which were uploaded within the specified timeframe (minimum_days). Additionally, if this is enabled, delisted leads will be returned based on the number of days since they were sold, rather than the number of days since they were listed.
If enabled, leads that are considered trash, written off, damaged, or missing details will be included in the results. The tag_ids array can then be used to determine if a lead is trash, damaged, etc.
Comma separated array of additional overlay feature codes as specified in your contract
The minimum range observed against similar vehicles
The maximum range observed against similar vehicles
The region to perform this request in
An optional reference id which will be stored against usage records if supplied
Success
The number of leads in the given market overlay
The number of days checked when going back to retrieve relevant leads
The average number of days to sell for delisted leads in this overlay. If there are no delisted leads in time timespan selected, this will be null.
The count of outliers detected in similar vehicles.
The sale rate of vehicles of the sample time period.
The average price of the analysed similar vehicles.
The minimum price of the analysed similar vehicles.
The maximum price of the analysed similar vehicles.
The average odometer of the analysed similar vehicles.
The minimum odometer of the analysed similar vehicles.
The maximum odometer of the analysed similar vehicles.
The AutoGrab Lead ID
The color of the vehicle, if applicable
The drive-away price
Is the lead considered an outlier
The odometer reading for the listed vehicle
The URL where the vehicle was listed for sale
A list of marketplaces where the vehicle was listed for sale
The timestamp when the lead was posted online
The latest listing price
The price before government charges
Indicates whether the price includes government charges
The year when the vehicle or the vehicle's body design was released
The calendar month as a number (1-12) when the vehicle or the vehicle's body design was released
The timestamp when the lead was sold or the listing was removed, or null when the listing is still active
The type of seller that posted the listing
The state or province where the vehicle was listed for sale in, or null when no location is specified
An array of the tags applied to the lead on AutoGrab
The AutoGrab Vehicle ID
The manufacturer year of the vehicle
All images in the overlay lead
The primary description of the overlay lead
Bad Request
trueError message
Unauthorized
trueError message
GET /v2/sourcing/market_overlay/{vehicle_id} HTTP/1.1
Host: api.autograb.com.au
ApiKey: YOUR_API_KEY
Accept: */*
{
"success": true,
"sample_size": 1,
"days_checked": 1,
"avg_days_to_sell": 1,
"outlier_count": 1,
"days_supply": 1,
"avg_price": 1,
"min_price": 1,
"max_price": 1,
"avg_odometer": 1,
"min_odometer": 1,
"max_odometer": 1,
"leads": [
{
"id": "text",
"color": "text",
"drive_away_price": 1,
"is_outlier": true,
"kms": 1,
"listing_url": "text",
"listing_sources": [
"text"
],
"listed_at": "text",
"price": true,
"price_before_govt_charges": [
1
],
"price_includes_govt_charges": [
true
],
"release_year": 1,
"release_month": 1,
"removed_at": "text",
"seller_type": "private",
"state": "text",
"tag_ids": [
"text"
],
"vehicle_id": "text",
"year": 1,
"all_images": [
"text"
],
"primary_description": "text"
}
]
}