Generator · Portuguese data

Portuguese vehicle registration plate

Endpoint GET /v1/pt/vehicle-registration

What it covers

Returns a realistic Portuguese vehicle registration plate. `type` selects the kind: `standard` (default, current `LL-NN-LL`, e.g. AB-14-QT), `motorcycle` (same civilian mask), `military` (MG/ME/MX/AP/AM branch + `NN-NN`), `diplomatic` (CD/CC), `police` (GNR series), or `export` (yellow temporary series). For `standard`/`motorcycle`, `era` picks the mask: `current` (2020+ `LL-NN-LL`), `legacy` (an older still-valid mask), or `both` (mixed per call); the chosen era is echoed in the result. Portugal issues no vanity plates, encodes no region, and no plate carries a checksum. Use `format` to choose hyphen, space, or compact rendering.

Parameters

ParameterTypeDescription
countinteger1–1000Number of records to return, 1–1000 (your plan may lower this). Omitted returns a single record; set it for a batch.
edgebooleanRestrict output to edge-case plates from the rare corners of the format.
era"current" | "legacy" | "both"Civilian registration era: current (2020+ LL-NN-LL), legacy (an older still-valid mask), or both (mixed per call). Applies to standard/motorcycle only.
extremebooleanReturn a correct value wrapped in a hostile encoding (untrimmed whitespace, invisible/zero-width characters, BOM, or bidi/combining marks). Homoglyphs are excluded so the value stays machine-parseable; it still validates after normalisation.
format"with-hyphen" | "with-space" | "compact"Plate rendering: with a hyphen, with a space, or compact. Default with-hyphen.
invalidbooleanReturn a deliberately invalid value that fails validation, for testing rejection paths.
seedintegerInteger seed for reproducible output: the same seed always yields the same record.
type"standard" | "motorcycle" | "military" | "diplomatic" | "police" | "export"Plate kind: standard, motorcycle, military, diplomatic, police, or export.

Response fields

FieldTypeDescription
valuestringThe plate in the requested format, e.g. "AB-14-QT".
type"standard" | "motorcycle" | "military" | "diplomatic" | "police" | "export"Which kind of plate this is.
era?"current" | "2005-2020" | "1992-2005" | "pre-1992"The registration era whose mask produced this plate; present only for the civilian standard and motorcycle types.

Other generators for Portugal

See all generators for Portugal →

The same kind of identifier elsewhere

Try it

Generate a live example below — every response is valid by format and entirely synthetic.