This is the API documentation for the Carfax and Autocheck reports.
Every request to the API must include the x-api-key
header with your API key. You can get your API
key in your profile.
By default, your account comes with a limit of 20 requests per day. You can contact us to increase the limit.
The x-api-limit
header on the response indicates the number of requests you have left for the day.
Each report will count towards your credit balance. You can purchase more Here.
The base URL for the API is https://panel.cheapcarfax.net/api
.
Get the user information.
Key | Value |
---|---|
x-api-key | Your API Key |
{
"_id": "6603fcf18adc9203718db05b",
"email": "[email protected]",
"role": "USER"
}
import requests
response = requests.get('https://panel.cheapcarfax.net/api/user', headers={'x-api-key': 'YOUR_API_KEY'})
print(response.json())
curl -X GET 'https://panel.cheapcarfax.net/api/user' \
-H 'x-api-key: YOUR_API_KEY'
Get the user's current limit information.
Key | Value |
---|---|
x-api-key | Your API Key |
{
"daily_limit": 20,
"carfax_reports_left_today": 15,
"autocheck_reports_left_today": 19,
"credits": 5
}
import requests
response = requests.get('https://panel.cheapcarfax.net/api/user/limits', headers={'x-api-key': 'YOUR_API_KEY'})
print(response.json())
curl -X GET 'https://panel.cheapcarfax.net/api/user/limits' \
-H 'x-api-key: YOUR_API_KEY'
Get the Carfax report as HTML for a VIN.
NOTE: You can use `JH4DC4360SS001610` as a test VIN to not use up your credits.Key | Value |
---|---|
x-api-key | Your API Key |
Key | Value |
---|---|
vin | The VIN of the vehicle |
{
"yearMakeModel": "2017 TOYOTA CAMRY",
"id": "UAJNNC235345",
"html": "..."
}
import requests
response = requests.get('https://panel.cheapcarfax.net/api/carfax/vin/{YOUR_VIN}/html', headers={'x-api-key': 'YOUR_API_KEY'})
print(response.json())
curl -X GET 'https://panel.cheapcarfax.net/api/carfax/vin/YOUR_VIN/html' \
-H 'x-api-key: YOUR_API_KEY'
Get the Autocheck report as HTML for a VIN.
NOTE: You can use `JH4DC4360SS001610` as a test VIN to not use up your credits.Key | Value |
---|---|
x-api-key | Your API Key |
Key | Value |
---|---|
vin | The VIN of the vehicle |
{
"yearMakeModel": "2017 TOYOTA CAMRY",
"id": "UAJNNC235345",
"html": "..."
}
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())
curl -X GET 'https://panel.cheapcarfax.net/api/autocheck/vin/YOUR_VIN/html' \
-H 'x-api-key: YOUR_API_KEY'