BuyCarfaxBuyCarfax

BuyCarfax API Documentation

  • Getting started
  • Authentication
  • Account
  • CARFAX reports
  • AutoCheck reports
  • Record counts
  • Error responses
BuyCarfaxBuyCarfax
BuyCarfax / Vehicle recordsAPI reference / REST
Loading...

AutoCheck is a registered trademark of Experian Information Solutions, Inc. All other product names and brands are the property of their respective owners. BuyCarfax is an independent reseller and is not affiliated with, endorsed by, or sponsored by any vehicle history report provider. Product names are used only to describe the reports we sell.

DEVELOPER HANDBOOK / 01

Add vehicle history reports to your app.

The BuyCarfax REST API lets you check VIN record counts and request a CARFAX or AutoCheck report from your own code.

Quick start
Find your API key and read the access requirements before you send a request.
Authentication
Read how to authenticate each request with your API key.
Base URL
Send every API request to this base URL.
https://api.buycarfax.com/v1
API access and IP allowlist

Email us at [email protected] with your static IP address to request API access.

Available endpoints
The API has four groups of endpoints.
User

Read your account, reports, and usage limits

CARFAX

Request a report by VIN or report ID

Autocheck

Request an AutoCheck report by VIN or report ID

Records

Get available CARFAX and Autocheck record counts by VIN

Implementation notes
  • Use environment variables for your API key: BUYCARFAX_API_KEY
  • Include the x-api-key header in all requests
  • Check the VIN and report ID before you send a request
  • Handle these status codes: 401 (unauthorized), 404 (not found), 429 (rate limited), and 5xx (server error)