Locations v1 / Meteo
Weather station detail
A whole station: the WSI identifier, the position, how far back its data goes, how many days and which parameters. The identifier is then used in the daily series and the climate normals.
GET
https://oneapi.ro/api/locations/v1/meteo/statii/{wsi}
Path parameters
NameTypeDescriptionExample
wsirequired
string
WIGOS identifier of the weather station (e.g.
0-20000-0-15208).
Query parameters
This route accepts no query parameters.
How it behaves
- The code is the WSI (WIGOS Station Identifier), the form ANM uses. Do not invent codes: the full list is at
/locations/v1/meteo/statii.
What it is for
- Checking how far back a station's series goes before requesting a long interval.
- Finding which unit and county a station falls in, when you got it as a reference in another response.
Response structure
All fields below live inside data.
FieldTypeDescription
statie.wsi
string
The station's WMO identifier.
statie.nume
string
The station name.
null for stations with no catalogue record.
statie.latitudine
number
Latitude, in decimal degrees (WGS 84).
statie.longitudine
number
Longitude, in decimal degrees (WGS 84).
statie.fara_catalog
boolean
true if the station has a series but no catalogue record (no name, no coordinates, invisible in geographic searches).
statie.localitate
object
The administrative unit the station falls in (
{cod_siruta, nume}); null if it is outside every unit.
statie.localitate.cod_siruta
integer
SIRUTA code of the territorial unit.
statie.localitate.nume
string
The name, exactly as the source publishes it.
statie.judet
string
The county the value refers to.
statie.judet_cod
string
County code, two letters.
statie.primul_an
integer
The first year with measurements.
statie.ultimul_an
integer
The last year with measurements.
statie.zile_cu_date
integer
How many measured days the station has in total.
statie.parametri
array
The codes of the parameters published:
ta/tn/tx temperatures, r precipitation, ff wind, p sea-level pressure.
sursa
object
The data source: the National Meteorological Administration, official daily series, CC-BY-4.0 licence. It also carries the date of the last import.
sursa.nume
string
Name of the official source.
sursa.url
string
Public address of the source.
sursa.licenta
string
The licence under which the source allows reuse.
Response examples
GEThttps://oneapi.ro/api/locations/v1/meteo/statii/0-20000-0-15208
{
"data": {
"statie": {
"wsi": "0-20000-0-15208",
"nume": "Alba Iulia",
"latitudine": 46.063911,
"longitudine": 23.563402,
"fara_catalog": false,
"localitate": {
"cod_siruta": 1017,
"nume": "Alba Iulia"
},
"judet": "Alba",
"judet_cod": "AB",
"primul_an": 1881,
"ultimul_an": 2026,
"zile_cu_date": 43155,
"parametri": [
"ff",
"p",
"r",
"ta",
"tn",
"tx"
]
},
"sursa": {
"nume": "Administrația Națională de Meteorologie (ANM) — date climatologice zilnice, controlate calitativ",
"url": "https://odp.meteoromania.ro/",
"licenta": "CC BY 4.0, cu indicarea sursei."
}
}
}
GEThttps://oneapi.ro/api/locations/v1/meteo/statii/0-20000-0-15163
{
"data": {
"statie": {
"wsi": "0-20000-0-15163",
"nume": "Baisoara",
"latitudine": 46.535556,
"longitudine": 23.310278,
"fara_catalog": false,
"localitate": {
"cod_siruta": 55918,
"nume": "Băișoara"
},
"judet": "Cluj",
"judet_cod": "CJ",
"primul_an": 1941,
"ultimul_an": 2026,
"zile_cu_date": 30110,
"parametri": [
"ff",
"p",
"r",
"ta",
"tn",
"tx"
]
},
"sursa": {
"nume": "Administrația Națională de Meteorologie (ANM) — date climatologice zilnice, controlate calitativ",
"url": "https://odp.meteoromania.ro/",
"licenta": "CC BY 4.0, cu indicarea sursei."
}
}
}
GEThttps://oneapi.ro/api/locations/v1/meteo/statii/0-20000-0-15209
{
"data": {
"statie": {
"wsi": "0-20000-0-15209",
"nume": "Blaj",
"latitudine": 46.178333,
"longitudine": 23.935278,
"fara_catalog": false,
"localitate": {
"cod_siruta": 1348,
"nume": "Blaj"
},
"judet": "Alba",
"judet_cod": "AB",
"primul_an": 1929,
"ultimul_an": 2026,
"zile_cu_date": 33590,
"parametri": [
"ff",
"p",
"r",
"ta",
"tn",
"tx"
]
},
"sursa": {
"nume": "Administrația Națională de Meteorologie (ANM) — date climatologice zilnice, controlate calitativ",
"url": "https://odp.meteoromania.ro/",
"licenta": "CC BY 4.0, cu indicarea sursei."
}
}
}
GEThttps://oneapi.ro/api/locations/v1/meteo/statii/0-20000-0-15184
{
"data": {
"statie": {
"wsi": "0-20000-0-15184",
"nume": "Rosia Montana",
"latitudine": 46.3175,
"longitudine": 23.139167,
"fara_catalog": false,
"localitate": {
"cod_siruta": 6761,
"nume": "Roșia Montană"
},
"judet": "Alba",
"judet_cod": "AB",
"primul_an": 1983,
"ultimul_an": 2026,
"zile_cu_date": 15908,
"parametri": [
"ff",
"p",
"r",
"ta",
"tn",
"tx"
]
},
"sursa": {
"nume": "Administrația Națională de Meteorologie (ANM) — date climatologice zilnice, controlate calitativ",
"url": "https://odp.meteoromania.ro/",
"licenta": "CC BY 4.0, cu indicarea sursei."
}
}
}
Error codes
| Code | Slug | When it occurs |
|---|---|---|
| 401 | neautentificat | Token missing, invalid, expired or revoked. |
| 403 | feature_indisponibil | The current plan does not include the feature the route depends on. |
| 404 | negasit | There is no station with the given WSI code. |
| 429 | cota_depasita | The plan's monthly quota has been exceeded (see Retry-After). |
All errors share the same shape. eroare.cod is stable and is the value you should branch on in code — not the text in mesaj, which may change.
{
"eroare": {
"cod": "negasit",
"mesaj": "There is no station with the given WSI code."
}
}