oneapi
Sign in
Mediu v1 / Mediu

Seismic exposure of a place

A profile across four radii (25, 50, 100 and 200 km): how many recorded events, by magnitude band, plus the largest and the most recent significant one.

GET
https://oneapi.ro/api/mediu/v1/seism/expunere

Query parameters

NameTypeDescriptionAccepted values
latoptional number | null Latitude of the point. Requires lng. 41 – 50
lngoptional number | null Longitude of the point. Requires lat. 19 – 32
sirutaoptional integer | null SIRUTA code of the locality or UAT. 1

How it behaves

  • This is NOT a seismic hazard study. It is a count of recorded events around a point, not an estimate of ground acceleration or return period. Design work uses the P100-1 code, not this response. The nu_este field repeats the warning inside the response body, so it is not lost when the data is integrated automatically.
  • The counts are recorded events, not events that occurred. The catalogue has 1 event in the 10th century and over 33,000 in the 21st — the difference is instrumentation, not seismicity. Below magnitude 3 it only becomes complete from the 1980s, with the modern seismic network. Do not compare counts across eras.
  • The four radii are not decorative: at 25 km you see local seismicity, at 200 km the deep Vrancea events enter, which are felt over very large areas. A point in Moldova will show completely different figures from one in Banat.
  • "Significant" means magnitude at least 4 — the threshold at which an earthquake is clearly felt by the population. It is our convention, declared in prag_semnificativ, not a physical truth.
  • The point is given as in /seism/langa: either siruta, or lat + lng.

What it is for

  • Build a risk score for a property portfolio from the history around each address.
  • Put a verifiable summary of an area seismicity in a property file.
  • Compare the exposure of two candidate sites for an investment.

Response structure

All fields below live inside data.

FieldTypeDescription
punct object Punctul folosit, cu aceleași câmpuri ca la /seism/langa.
prag_semnificativ number Magnitudinea de la care un eveniment e considerat semnificativ.
raze[].raza_km integer Raza cercului: 25, 50, 100 sau 200.
raze[].evenimente integer Câte evenimente înregistrate cad în cerc.
raze[].fara_magnitudine integer Din care, câte n-au magnitudine determinată.
raze[].magnitudine_maxima number Cea mai mare magnitudine înregistrată în cerc.
raze[].primul_an_inregistrat integer Anul celui mai vechi eveniment din cerc — indicator de cât de departe merge acoperirea acolo.
raze[].pe_magnitudine object How many events in each magnitude band.
raze[].pe_magnitudine.sub_3 integer Evenimente sub magnitudinea 3.
raze[].pe_magnitudine.3_4 integer Evenimente între 3 și 4.
raze[].pe_magnitudine.4_5 integer Evenimente între 4 și 5.
raze[].pe_magnitudine.5_6 integer Evenimente între 5 și 6.
raze[].pe_magnitudine.6_plus integer Evenimente de magnitudine 6 sau peste.
raze[].cel_mai_mare object Cel mai puternic eveniment din cerc, cu toate câmpurile unui eveniment.
raze[].ultimul_semnificativ object Cel mai recent eveniment peste pragul semnificativ, sau null dacă nu există.
observatie string Avertismentul de completitudine.
nu_este string Precizarea că răspunsul nu e un studiu de hazard seismic.
sursa object The ROMPLUS catalogue of the National Institute for Earth Physics, with its licence.
sursa.nume string Catalogul și instituția care îl publică.
sursa.url string Pagina oficială a catalogului.
sursa.licenta string Temeiul reutilizării.

Response examples

GEThttps://oneapi.ro/api/mediu/v1/seism/expunere?siruta=174744
{
    "data": {
        "punct": {
            "lat": 45.699761469685924,
            "lng": 27.203407406407322,
            "sursa": "siruta",
            "cod_siruta": 174744,
            "nume": "Focșani",
            "nivel": "uat_centroid"
        },
        "prag_semnificativ": 4,
        "raze": [
            {
                "raza_km": 25,
                "evenimente": 1543,
                "fara_magnitudine": 47,
                "magnitudine_maxima": 6.7,
                "primul_an_inregistrat": 1894,
                "pe_magnitudine": {
                    "sub_3": 1397,
                    "3_4": 83,
                    "4_5": 7,
                    "5_6": 7,
                    "6_plus": 2
                },
                "cel_mai_mare": {
                    "cod": "19120525T180154",
                    "data_ora": "1912-05-25 19: 46: 18+01: 44: 24",
                    "an": 1912,
                    "latitudine": 45.7,
                    "longitudine": 27.2,
                    "adancime_km": 90,
                    "adancime_fixata": false,
                    "magnitudine": 6.7,
                    "tip_magnitudine": "Mw",
                    "magnitudini": {
                        "Mw": 6.7
                    },
                    "solutie": {
                        "calitate": "C"
                    }
                },
                "ultimul_semnificativ": {
                    "cod": "20141122T191417",
                    "data_ora": "2014-11-22 21: 14: 17+02",
                    "an": 2014,
                    "latitudine": 45.8683,
                    "longitudine": 27.1517,
                    "adancime_km": 40.9,
                    "adancime_fixata": false,
                    "magnitudine": 5.4,
                    "tip_magnitudine": "Mw",
                    "magnitudini": {
                        "Mw": 5.4,
                        "Mw_eroare": 0.7,
                        "ML": 5.7,
                        "ML_eroare": 0.5
                    },
                    "solutie": {
                        "eroare_orizontala_km": 0.11,
                        "rms": 0.57,
                        "elipsa_smaj_km": 1.2,
                        "elipsa_smin_km": 1,
                        "elipsa_azimut": 37,
                        "nr_faze": 121,
                        "nr_statii": 88,
                        "nr_magnitudini": 66,
                        "gap_azimutal": 63,
                        "calitate": "C"
                    }
                }
            }
        ],
        "observatie": "Numerele sunt evenimente ÎNREGISTRATE, nu evenimente produse. Catalogul are 1 eveniment în secolul X și peste 33.000 în secolul XXI — diferența e instrumentație, nu seismicitate. Sub magnitudinea 3, catalogul devine complet abia din anii 1980, odată cu rețeaua seismică modernă. Nu compara numărătorile între epoci.",
        "nu_este": "Acesta NU este un studiu de hazard seismic. E o numărătoare de evenimente înregistrate în jurul unui punct, nu o estimare de accelerație la sol sau de perioadă de revenire. Pentru proiectare se folosește codul P100-1, nu datele astea.",
        "sursa": {
            "nume": "Catalogul ROMPLUS — Institutul Naţional de Cercetare-Dezvoltare pentru Fizica Pământului (INCDFP)",
            "url": "https://www.infp.ro/index.php?i=romplus",
            "licenta": "Date de sector public, reutilizabile conform Legii 109/2007, cu indicarea sursei."
        }
    }
}

Error codes

CodeSlugWhen it occurs
401neautentificatToken missing, invalid, expired or revoked.
403feature_indisponibilThe current plan does not include the feature the route depends on.
404negasitThe SIRUTA code could not be resolved to a coordinate.
422validareNo point given, both forms given at once, or coordinates outside the area the catalogue covers.
429cota_depasitaThe 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": "validare",
        "mesaj": "No point given, both forms given at once, or coordinates outside the area the catalogue covers.",
        "detalii": {
            "lat": [
                "The value sent does not satisfy the parameter rule."
            ]
        }
    }
}