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.

API key

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

Example request with basic auth

curl \
  -d key=CARSXE_API_KEY \

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