Județe și localități
List / search Romanian counties (județe)
GRATUIT fără cheie necesară
MCP: search_counties
GET https://api.datero.ro/v1/counties
The 41 counties + Bucharest, with slug, plate code (e.g. "CJ"), ANAF and SIRUTA codes. No filters returns the full list; "q" is a fuzzy, diacritics-insensitive name match. Free of charge.
Parametri
| Nume | În | Descriere |
|---|---|---|
q | query | County name, fuzzy (e.g. "cluj", "Bucuresti"). |
id | query | Exact ids, comma-separated. |
limit | query | 1–100, default 50. |
offset | query | 0–999999, default 0. |
Exemple de răspuns
Căutare județ după nume
Match fuzzy, fără diacritice — "cluj" găsește județul CLUJ.
curl "https://api.datero.ro/v1/counties?q=cluj" {
"totalCount": 1,
"limit": 50,
"offset": 0,
"items": [
{
"id": 12,
"name": "CLUJ",
"slug": "cluj",
"shortCode": "CJ",
"anafCode": 12,
"sirutaCode": 13
}
]
} Același endpoint, prin MCP
Agenții AI pot apela această operație ca tool-ul search_counties
pe serverul MCP Datero — aceeași validare, același cost, același contor de credite.
curl "https://api.datero.ro/v1/counties?q=cluj" Încearcă live
direct din browser