Skip to main content

Using the USDOT Cloud API

The Cloud API lets you integrate USDOT OCR into your application without hosting your own infrastructure. Send an image, receive a structured JSON response.

Authentication​

All requests require your API token in the Authorization header:

Authorization: Token YOUR_API_TOKEN
danger

Replace YOUR_API_TOKEN with your token from your USDOT account page. Never commit this value to source control.

API Request​

Send a POST request to the API endpoint with your image:

# Get a sample image
curl -o usdot.jpg https://app.platerecognizer.com/static/usdot_demo.jpg

curl -X POST \
-H "Authorization: Token YOUR_API_TOKEN" \
-F "image=@usdot.jpg" \
https://usdot.parkpow.com/api/v1/predict/

Parameters​

The Cloud API supports the same parameters as the On-premises version. For a full list of parameters, see the Parameters page.