LogoLogo
API StatusSupportPostmanContact Us
๐Ÿ‡ฌ๐Ÿ‡ง UK AutoGrab API Doc
๐Ÿ‡ฌ๐Ÿ‡ง UK AutoGrab API Doc
  • AutoGrab Basics
    • AutoGrab Developer Hub
    • Integration Overview
    • API Test Cases
    • FAQ
  • Authentication
    • API Key
    • OAuth Authentication
  • Vehicle Search
    • Vehicle Searching Basics
    • Plain-text Search
    • VRM Search
    • VIN Search
    • Facet Search
    • Vehicle ID Search
    • Marketplace ID Lookup
  • Sourcing
    • Sourcing Basics
    • Market Overlay
    • Market Statistics
    • Stock Feeds
  • Vehicle Data
    • Vehicle Data Basics
    • Recall Search
    • MOT & Tax Search
    • Vehicle History
    • Factory Build Data
    • Factory Fitted Options
  • Valuation
    • Valuation Basics
    • Valuation Predictions
    • Residual Valuations
    • Max Offer Configuration
    • Gauge API
  • Embeddable Products
    • Embeddable Basics
    • Gauge Widget
    • Valuation Widget
    • Market Overlay Widget
  • Customer Recapture
    • Customer Recapture
    • Webhooks Integration
  • Insurance
    • Pre-Accident Valuation
Powered by GitBook
LogoLogo

Links

  • Terms of Use

2024 ยฉ AutoGrab Pty Ltd. ABN 79 638 468 569

On this page

Was this helpful?

Export as PDF
  1. Vehicle Data

Vehicle History

Request a vehicles history on marketplaces

PreviousMOT & Tax SearchNextFactory Build Data

Last updated 3 months ago

Was this helpful?

Overview

The Vehicle History API allows you to access historical lead listing data from a variety of used car marketplaces. This API requires authentication and an appropriate license attached to it.

The Endpoint operates on a tiered system of queries:

VIN - The first initial call can be made to VIN + Region. However, if VIN does not return any history information, the following data is required as a fallback.

  • Year

  • Make

  • Model

  • Registration

It is recommended to provide all available data points when doing a Vehicle History call, only use VIN if no other data is available.

Title
Parameter
Example

Year

year

2019

Make

make

Volkswagen

Model

model

Polo

Registration Plate

registration_plate

BMT038

Vin

VIN

KL3TA48E9CB053071

The Make, Model fields are format-sensitive and rely on AutoGrabs Vehicle Search or ID lookup formatting. If using unsupported make and model descriptions, the vehicle history will not be returned when otherwise it could have been using the correct formatting.

Vehicle History Events

The Vehicle History endpoint delivers detailed information on events related to a listing. The following events are possible on a given listings.

Listing - the detection of a listing being added to its relevant marketplace.

  {
      "type": "listing",
      "odometer": 100000,
      "price": 100000,
      "marketplace": "Gumtree",
      "timestamp": "2022-09-20T10:22:07.072",
      "seller_type": "string"
    }

Delisting - the detection of a listing being removed from its relevant marketplace, this is frequently and reliably related to a sale of the vehicle.

  {
      "type": "delisting",
      "odometer": 100000,
      "price": 100000,
      "marketplace": "Gumtree",
      "timestamp": "2022-09-20T10:22:07.072",
      "seller_type": "string"
    }

Price Change - the detection of a movement in the price, see the features section below for more information.

Example

To perform an example request:

curl '/v2/sourcing/history?region=au&vin=KL3TA48E9CB053071u' \
      -H 'ApiKey: {API_KEY}'

An example payload is included below to illustrate a potential response.

{
  "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"
    }
  ]
}

Features

You can opt to enrich your vehicle history payload by passing in a feature or features separated by commas.

curl '/v2/sourcing/history?region=au&registration_plate=BMT038&state=VIC&year=2019&make=Volkswagen&features=price_changes&model=Polo&vin=KL3TA48E9CB053071'
      -H 'ApiKey: {API_KEY}'

Price Changes

Currently we support the price_changes feature that will show you fluctuations in the price. Passing this feature will return upward on downward movements in the listings price.

Contact your sales rep to understand your commercial rate card for each feature.

Get a listing of vehicle history events

get

Get a listing of vehicle history events

Authorizations
Query parameters
vinstringOptional

The vehicle VIN

registration_platestringOptional

The vehicle registration plate

yearnumberOptional

The vehicle year

makestringOptional

The vehicle make

modelstringOptional

The vehicle model

vehicle_history_idstringOptional

The vehicle history id

marketplacestringOptional

The vehicle marketplace

marketplace_idstringOptional

The vehicle marketplace id

start_datestringOptional

Vehicle history events start date filter as UTC or Unix timestamp string in seconds

end_datestringOptional

Vehicle history events end date filter as UTC or Unix timestamp string in seconds

featuresstringOptional

Comma separated array of additional vehicle history feature codes as specified in your contract

regionstring ยท enumOptional

The region to perform this request in

Possible values:
reference_idstringOptional

An optional reference id which will be stored against usage records if supplied

Responses
200
Success
application/json
400
Bad Request
application/json
401
Unauthorized
application/json
get
GET /v2/sourcing/history HTTP/1.1
Host: api.autograb.com.au
ApiKey: YOUR_API_KEY
Accept: */*
{
  "success": true,
  "message": "text",
  "vehicle_history": {
    "id": "text",
    "events": [
      {
        "type": "listing",
        "odometer": 1,
        "price": 1,
        "marketplace": "text",
        "timestamp": "text",
        "seller_type": "text"
      }
    ]
  }
}
  • Overview
  • GETGet a listing of vehicle history events
  • Vehicle History Events
  • Example