Using the USDOT Cloud API
Our Cloud API provides an easy way to integrate USDOT OCR into your application without the need to host your own infrastructure.
API Request​
To use the Cloud API, you need to send a POST request to our API endpoint with your API token in the headers.
Here is an example of how to call the API using curl
:
# Get a picture
curl -o usdot.jpg https://app.platerecognizer.com/static/usdot_demo.jpg
curl -X POST \
-H "Authorization: Token YOUR_API_TOKEN" \
-F "[email protected]" \
https://usdot.parkpow.com/api/v1/predict/
Replace YOUR_API_TOKEN
with your actual API token. You can find your API token in your USDOT account.
Parameters​
The Cloud API supports the same parameters as the On-Premise version. For a full list of parameters, see the Parameters page.