API for developers

One request, one photo with the license plate covered

Send a photo and get back the finished image plus the coordinates of plates and dealer plate frames. Built for classifieds sites, dealership CRMs and mobile apps.

REST + JSONJPEG, PNG, WebPPlateRecognizer-compatible in key fields
curl https://api.carblur.com/v1/redact \ -H "Authorization: Token $CARBLUR_KEY" \ -H "X-Site-Domain: shop.example.com" \ -F [email protected]
200 OK · 240 ms{ "id": "0b6f3c1e-…-3c1f5d8e7a90", "results": [{ "class": "plate", "dscore": 0.93, … }], "image": "<base64 of the processed photo>", "balance": 1249 }
Endpoints

Everything in the dashboard, also available through the API

Base URL https://api.carblur.com/v1/. Processing, settings, balance and error reports.

POST /redact Photo in → finished image (base64) + detected areas + remaining balance. 1 token
POST /detect Only the coordinates of plates and frames. The image is not stored or returned. 1 token
GET /account Whether the key is active, its domain, payment method, purchased features, balance. free
GET · PUT /settings How to cover: color, blur or logo; patch color; full cycle. The same settings as in the dashboard. free
POST /feedback Flag a processed photo as wrong: missed, extra, wrong place, other. Once confirmed, the token is returned. free
Response format

Familiar fields, plus two of ours

Each detected area is a separate object in results.

box

The area's bounding box: xmin, ymin, xmax, ymax in pixels. same as PlateRecognizer

dscore

How confident the model is that it found the area, from 0 to 1. same as PlateRecognizer

plate

The plate text. Text recognition isn't available yet, so this is an empty string. same as PlateRecognizer

score

Confidence in the plate text. For now, null. same as PlateRecognizer

class

plate is a license plate, dealer_frame is a dealer plate frame or dealer sign. CarBlur

polygon

The area's four corners, so the plate can be covered exactly along its edges even at an angle. CarBlur

Already using PlateRecognizer? The box, plate, score and dscore fields have the same names and structure, so code that reads coordinates moves over unchanged. Only the URL and the authorization headers differ.
// POST /v1/detect { "results": [ { "box": {"xmin": 412, "ymin": 298, "xmax": 539, "ymax": 337}, "plate": "", "score": null, "dscore": 0.93, "class": "plate", "polygon": [ [412.0, 300.0], [538.0, 298.0], [539.0, 334.0], [413.0, 337.0] ] } ], "processing_ms": 180 }
Access and limits

Each key is bound to a domain

Even if a key leaks, it can't be used from another domain.

Authorization

You create a key in the dashboard for a specific domain. Every request carries two headers:

Authorization: Token <your key> X-Site-Domain: shop.example.com

You can revoke a key in the dashboard with one click. It stops working immediately.

Limits

  • FormatsJPEG, PNG, WebP
  • File sizeup to 15 MB
  • Image sizeup to 40 MP
  • Requests per minute60 per key
  • Server overloaded503 busy, nothing charged
  • PlatesUkrainian best; EU/US supported, improving
Errors

Clear error codes, not «something went wrong»

Every error is JSON with a code, an explanation and a matching HTTP status.

invalid_key401

The key is unknown or revoked.

domain_mismatch403

The key was issued for a different domain.

insufficient_balance402

Out of tokens. The photo was not processed and nothing was charged.

unsupported_format415

Only JPEG, PNG and WebP are supported.

file_too_large413

The file is larger than 15 MB.

rate_limited429

Too many requests. Slow down.

busy503

The server is busy. Retry after Retry-After seconds; nothing was charged.

not_found404

The photo to flag was not found or has already been deleted (older than 2 months).

The full list of 19 codes is in the documentation →

Your first request in a few minutes

Sign up, create a key for your domain, top up your balance, and start sending photos.