Skip to content

Get Autocheck HTML from VIN

GET /api/autocheck/vin/{vin}/html

Retrieve the complete Autocheck vehicle history report as HTML for a specific VIN. This endpoint returns the full report content that can be displayed directly in a web browser or processed programmatically.

Credit Usage

This endpoint consumes 1 credit from your account balance per request.

Testing

You can use JH4DC4360SS001610 as a test VIN to preview the response format without consuming credits.

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
yearMakeModelstringVehicle year, make, and model in a single string
idstringUnique report identifier
htmlstringComplete Autocheck report as HTML markup (can be embedded in an iframe or displayed directly)

Example Response

json
{
  "yearMakeModel": "2017 TOYOTA CAMRY",
  "id": "UAJNNC235345",
  "html": "<html>...</html>"
}

Error Responses

401 Unauthorized

Returned when the API key is missing or invalid.

json
{
  "message": "Unauthorized"
}

400 Bad Request

Returned when:

  • VIN is missing or invalid
  • Daily limit reached
  • Insufficient credits
  • Report not found (test VIN only)
json
{
  "message": "VIN is required"
}
json
{
  "message": "VIN must be 17 characters"
}
json
{
  "message": "You have reached your daily limit of 20 reports"
}
json
{
  "message": "Insufficient credits"
}

Examples

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