Authentication

In this guide, we’ll look at how authentication works. CarsXE offers one way to authenticate your API requests, Basic authentication.


You'll need to authenticate your requests to access any of the CarsXE API endpoints. In this guide, we'll look at how authentication works. CarsXE offers a very simple way to authenticate with an API key. You can find your API key on the dashboard.

To activate the API key, you must add a payment method in the billing dashboard. Some, but not all, APIs include a 7-day free trial.

API key

With basic authentication, you use your API key to authenticate your HTTP requests. Here's how to authenticate using cURL:

curl https://api.carsxe.com/specs \
  -d key=CARSXE_API_KEY \

Please don't commit your CarsXE API key to GitHub!