What is a Romanian postal code?
Romania uses six-digit postal codes, introduced by Poșta Română. The structure is:
- First two digits: the county (e.g.
40xxxx= Cluj,01xxxx= Bucharest S1) - Digits 3–6: the distribution zone and delivery point
A postal code does not identify a single street. It may cover several streets in a neighbourhood. Through SIRUTA, every code is linked to an administrative-territorial unit (UAT): commune, town or municipality.
Just need the postal code for one address, no API involved? Look it up with our postal code lookup by address.
The lookup endpoint
GET /v1/postal-codes/{code} returns everything Posty knows about a postal code:
curl https://api.posty.ro/v1/postal-codes/400151 \
-H "Authorization: Bearer psk_live_xxx"
Response:
{
"code": "400151",
"localities": [
{ "name": "Cluj-Napoca", "type": "municipiu", "siruta": 54975, "county_code": "CJ" }
],
"streets": [
{ "name": "Strada Mihai Viteazu" },
{ "name": "Strada Alexandru Vaida-Voevod" }
]
}
Common use cases
Pre-filling at checkout
When the user enters the postal code, pre-fill the county and locality fields. This reduces friction and eliminates a whole class of spelling errors.Batch validation on import
If you are importing a list of customers or addresses, run a lookup on each postal code before saving. Addresses with a non-existent code or one that does not match the declared county are flagged for review.Indirect geocoding
If you don't need exact coordinates but want to place orders on a county map, the postal code + SIRUTA gives you the UAT, which has a centroid published by INS.Why SIRUTA matters
SIRUTA (Sistemul Informatic al Registrului Unităților Teritorial-Administrative) is the official INS nomenclature. Every UAT in Romania has a unique, stable SIRUTA code, regardless of renames or administrative reorganisations.
Posty includes the integer siruta field in each localities[] entry, where known. If you work with INS data or government APIs, this is the identifier you use for JOINs with INS datasets.
Edge cases to know
- Rural codes: a small village may share the postal code of its commune. The
localityfield reflects the UAT, not necessarily the village. - Data edition: codes come from the May 2016 Infocod edition. Codes that Poșta Română added or changed after that may be missing.