oneapi
Sign in
Business v1 / Statistici ONRC

Country profile — foreign capital

The companies with foreign participation and the subscribed capital for one country, at a given month (the latest by default). The country name is matched without diacritics and case-insensitively.

GET
https://oneapi.ro/api/business/v1/statistici/onrc/tari/{nume}

Path parameters

NameTypeDescriptionExample
numerequired string Country name, in Romanian, diacritics optional (e.g. italia).

Query parameters

NameTypeDescriptionAccepted values
perioadaoptional string | null The month you want, as YYYY-MM. Defaults to the last one in which the country appears. e.g. 2026-07e.g. 2025-09

How it behaves

  • How many companies with participation from this country exist in Romania, and with how much subscribed capital, in RON, USD and EUR. The name is matched without diacritics and case-insensitively: italia, Italia and ITALIA all work.
  • The bulletin lists only the top ~50 countries, so a smaller country is absent from some editions. Without perioada, the answer returns the last month in which the country actually appears — not an empty month.
  • These are historical cumulative stocks, not flows: the figure does not say what happened that month, but how many companies existed at the bulletin date.

What it is for

  • Analysing foreign investment by the capital's country of origin.
  • An article or report on capital from a particular country.
  • Comparing several countries' contributions, in the same currency.

Response structure

All fields below live inside data.

FieldTypeDescription
cheie string The country name, as the ONRC bulletin spells it.
perioada string The month the values belong to, as YYYY-MM.
indicatori[].indicator string The indicator code.
indicatori[].denumire string Its name.
indicatori[].natura string Always stoc here — the country ranking is a historical cumulative total, not a monthly flow.
indicatori[].unitate string The unit: companies, thousand RON, thousand USD or thousand EUR.
indicatori[].valoare number The value for that month.
indicatori[].valoare_an_anterior number|null The same period a year earlier, when the bulletin publishes it.
indicatori[].variatie number|null The percentage change against the previous year, or null.

Response examples

GEThttps://oneapi.ro/api/business/v1/statistici/onrc/tari/Italia
{
    "data": {
        "cheie": "ITALIA",
        "perioada": "2026-07",
        "indicatori": [
            {
                "indicator": "cap_strain_mii_eur",
                "denumire": "Capital social străin subscris",
                "natura": "stoc",
                "unitate": "mii EUR",
                "valoare": 2846050.8,
                "valoare_an_anterior": null,
                "variatie": null
            }
        ]
    }
}

Error codes

CodeSlugWhen it occurs
401neautentificatToken missing, invalid, expired or revoked.
403feature_indisponibilThe current plan does not include the feature the route depends on.
404negasitNothing exists for the nume in the path.
422validareA parameter failed validation (perioada); detalii says which and why.
429cota_depasitaThe plan's monthly quota has been exceeded (see Retry-After).
negasiteroareNo foreign-capital series exist for that country, or there is no data for the requested month.
perioada_invalidaeroareThe period is written as YYYY-MM.

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": "A parameter failed validation (perioada); detalii says which and why.",
        "detalii": {
            "nume": [
                "The value sent does not satisfy the parameter rule."
            ]
        }
    }
}