Postal lookup
Look up any 6-digit postal code for locality, county and street.
GET
/v1/postal-codes/{code}Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
code | string | yes | Six-digit Romanian postal code. |
Example request
curl https://api.posty.ro/v1/postal-codes/400151 \
-H "Authorization: Bearer psk_live_xxx"Example response
{
"code": "400151",
"localities": [
{
"name": "Cluj-Napoca",
"type": "municipiu",
"siruta": 54984,
"county_code": "CJ"
}
],
"streets": [
{
"name": "Piață Mihai Viteazu"
}
],
"source": "gov"
}