Read the number plates in an image given by URL.
POST/v1/plate-reader/
- Takes: Image
- Passive: the target is not contacted
Reads all licence plates in an image. Send the image link in upload_url (or the image bytes or base64 in upload, not described here). regions narrows the plate patterns to expected states or countries; config changes the engine (for example detection_mode vehicle, detection_rule strict, region strict); mmc turns on make, model and colour prediction, which is an extra-fee feature.
Request body (JSON) · 7ShowHide
upload_url
URL of the image to read; use instead of upload
regions
Plate patterns of expected states or countries, as codes from the country code list; accepts several values
camera_id
Unique camera identifier
timestamp
ISO 8601 timestamp in UTC, for example 2019-08-19T13:11:25
config
Engine configuration as JSON, for example {"detection_mode":"vehicle"}
mmc
Predict vehicle make, model, orientation, colour and year (extra fee); default true
direction
Predict direction of travel; needs mmc=true; default true
Response fields · 22ShowHide
processing_time
Processing time in milliseconds
filename
Name of the image
timestamp
Time of the request
camera_id
Camera identifier sent, or null
image_width
Image width in pixels
image_height
Image height in pixels
plate
Plate text
score
Confidence of the plate reading
dscore
Confidence of the plate detection
xmin
Left edge of the plate box (ymin, xmax and ymax are also returned)
code
Region code of the plate
score
Confidence of the region
type
Vehicle type, for example Sedan
score
Confidence of the vehicle detection
plate
Alternative plate reading
score
Confidence of the alternative
make
Predicted make, when mmc is on
model
Predicted model, when mmc is on
color
Predicted colour, when mmc is on
orientation
Vehicle orientation, when mmc is on
year_range
Predicted year range, when mmc is on
direction
Direction of travel in degrees, when mmc and direction are on
curl -X POST 'https://api.platerecognizer.com/v1/plate-reader/' \
-H 'Authorization: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"upload_url":"https://example.com/images/car.jpg","regions":["gb"]}'{
"processing_time": 120.5,
"results": [
{
"box": {
"xmin": 100,
"ymin": 200,
"xmax": 240,
"ymax": 280
},
"plate": "abc1234",
"region": {
"code": "gb",
"score": 0.9
},
"vehicle": {
"score": 0.9,
"type": "Sedan"
},
"score": 0.9,
"candidates": [
{
"score": 0.9,
"plate": "abc1234"
}
],
"dscore": 0.95
}
],
"filename": "car.jpg",
"version": 1,
"camera_id": null,
"timestamp": "2025-01-01T12:00:00.000000Z",
"image_width": 1080,
"image_height": 720
}