Skip to content

Get Reports Information

GET /api/reports/{vin}

Retrieve comprehensive report information for a specific vehicle using its VIN (Vehicle Identification Number). This endpoint provides a summary of available data from both Carfax and Autocheck services, including the number of historical records and vehicle details.

This is a lightweight endpoint that doesn't consume credits - use it to check report availability before requesting the full HTML reports.

Path Parameters

ParameterTypeRequiredDescription
vinstringYesThe 17-character Vehicle Identification Number

Query Parameters

None.

Headers

KeyValue
x-api-keyYour API Key

Response

Status Code: 200 OK

Response Fields

FieldTypeDescription
vehicleobjectVehicle information
vehicle.makestringVehicle manufacturer
vehicle.modelstringVehicle model name
vehicle.yearnumberVehicle year
carfax_recordsnumberNumber of historical records available in Carfax
autocheck_recordsnumberNumber of historical records available in Autocheck
stickerstringWhether a window sticker is available ("true" or "false")

Example Response

json
{
  "vehicle": {
    "make": "ACURA",
    "model": "INTEGRA RS",
    "year": 1995
  },
  "carfax_records": 39,
  "autocheck_records": 41,
  "sticker": "false"
}

Error Responses

401 Unauthorized

Returned when the API key is missing or invalid.

json
{
  "message": "Unauthorized"
}

400 Bad Request

Returned when the VIN is invalid.

json
{
  "message": "VIN is required"
}
json
{
  "message": "VIN must be 17 characters"
}

500 Internal Server Error

Returned when there's an error fetching report information.

json
{
  "message": "Error fetching reports information"
}

Examples

python
import requests
response = requests.get('https://panel.cheapcarfax.net/api/reports/{VIN_NUMBER}', headers={'x-api-key': 'YOUR_API_KEY'})
print(response.json())
bash
curl -X GET 'https://panel.cheapcarfax.net/api/reports/{VIN_NUMBER}' \
    -H 'x-api-key: YOUR_API_KEY'