GET
/api/v1/plate/{plate}Vehicle Number Plate Decoder API
Decode a Sri Lankan number plate into the province, vehicle class and approximate issue era encoded in the letters and digits. Pure parsing of the plate string — no vehicle register is queried and no owner information is returned.
Parameters
| Param | In | Required | Description |
|---|---|---|---|
| plate | path | yes | The number plate. Use hyphens for spaces, e.g. WP-CAB-1234 or CAR-4582. |
Request
curl "https://induwara.lk/api/v1/plate/WP-CAB-1234"JavaScript (SDK):
import { InduwaraLK } from "https://induwara.lk/sdk/induwaralk.js";
const api = new InduwaraLK();
const data = await api.plate(/* … */);