Skip to Content
APIQuickstart

API

https://api.paintbase.app · JSON · Bearer token

Server-side only: your key is secret and browsers are blocked (no CORS). For websites, use the Embed.

Authenticate

curl https://api.paintbase.app/v1/test \ -H "Authorization: Bearer $PAINTBASE_API_KEY"
{ "id": "4b1c2d3e-0000-4000-8000-000000000000", "label": "Acme", "created_at": "2026-01-15T09:30:00.000Z", "remaining_quota": 500 }

First lookup

curl https://api.paintbase.app/v1/vehicle/TEST1/SE \ -H "Authorization: Bearer $PAINTBASE_API_KEY"
{ "display_name": "Citroën C3 (2020)", "vin": "VF7SAHMZ0EW512345", "license_plate": "TEST1", "make": "Citroën", "model": "C3", "color_code": "KKN (Elixir red)", "year": "2020", "remaining_quota": 500 }

TEST1 is a test plate. It’s free.

Quota

Every authenticated response includes remaining_quota for the current month (UTC).

CountsFree
Lookups sent to the data provider, including not-found results and provider errorsVehicles already looked up (cached forever), invalid requests, test plates

Rate limits

ScopeLimit
Per key100 / min (default)
Per IP300 / min

Over the limit → 429 with a Retry-After header.

Response times

Usually a few seconds. Up to 3 minutes when the data provider is slow.

  • Set client and proxy timeouts to ≥ 240 s.
  • Show a loading state, and block duplicate submits.
  • Don’t retry while a lookup is in flight. After 502/504, retrying is safe.
  • Repeat lookups of a known vehicle are instant.

Simulate slow lookups with TEST5 (25 s) and TEST8 (3 min).

Last updated on