Guide · Romania · Lookup and validation
Romania company data API: look up and validate a CUI
A customer types a Romanian CUI, a Romanian VAT number or the first letters of a name; your form fills in the legal name, legal form, status, registered address and CAEN code from the National Trade Register Office. One key, and the same response shape as every other country the API covers.
Romania at a glance
Register: National Trade Register Office (ONRC)
Identifiers CUI / CIF
- Company recordsYes
- OfficersNo
- Insolvency noticesIn the status only
- Corporate eventsRegister changes
- MonitoringYes
- Financial statementsHeadline figures
- VAT numberBuilt from the number
- NACE classYes
- UpdatedMonthly
The guide below states the limits of every row. Financial statements are on the Scale plan and above; the other plans and the free trial get 10 calls a month.
Price From EUR 9.99 a month (Starter plan)
In other languagesRomână
Sign upTry Romania live
Look up a company in Romania with the shared demo key. No sign-up.
The demo key is shared and capped per page view; your own key has the limits of your plan.
What you get, and what you do not
Company records from the National Trade Register Office (ONRC): legal name, legal form, status (including dissolution, liquidation, insolvency, reorganisation, bankruptcy and deregistration), registered address with the county, CAEN activity codes, the J registration number and EUID, and dates; the VAT number is built from the CUI by rule (RO plus the CUI) and the registration is not confirmed; with register-change events and monitoring, but no officers, no registry-compliance signal, no share capital and no insolvency notices. Natural persons and sole traders (PF, PFA, II, IF, AF) are never served. Updated monthly.
That is the record of a Romanian company as an onboarding form, an invoice or a CRM row needs it. If you need administrators, shareholders, share capital or insolvency notices for Romania, this is not the API for it. If you want to know what the register itself is, start with What is the ONRC? (also în limba română).
Is there an official Romanian company registry API?
As at 5 Nov 2026, the National Trade Register Office (ONRC) links an open data section from its site, hosted on data.gov.ro, and its site mentions no API; the data is licensed CC BY 4.0. One API across the live countries adds a company record in the same response shape as every other country, with register-change events and monitoring; the Romanian source is read monthly. Scope limits for Romania: company records only (no officers, no share capital, no insolvency notices, although dissolution, insolvency and bankruptcy show in the status), legal persons of the trade register only (no sole traders or branches), and the VAT number is built from the CUI without confirming the registration.
What the Romanian record gives your product
- Exact match on the CUI.
company_number=5022670withcountry=RO. AnRO,CUIorCIFprefix is optional. The check digit is advisory, so a CUI that fails it is still looked up; a value that cannot be a CUI, such as letters, more than ten digits or a 13-digit personal number, is a 400 validation error. - A VAT alias. The Romanian VAT number is
ROplus the CUI.vat=RO5022670withcountry=ROresolves to the same company.vat_number_sourceisrule: the format is right, the registration is not confirmed. - Autocomplete by name.
?name=is a normalised, partial match ranked by a match score. Call it on every keystroke; each call is one request. - The fields a form needs. The legal name; the legal form; status; registered address, locality and postal code where the register gives it, with the county in
region; the J number and EUID; and the CAEN codes. - The register’s own state.
statusincludesin_dissolution,in_liquidation,insolvent,in_restructuring,in_liquidation_insolvent(bankruptcy),suspendedandderegistered, so a company in a procedure is not served as plain active. - One schema for every country. The same response shape as
country=ES|FR|GB|IE|PL|NO|FI|SE|BE|HR|DK|EE|SK|CH|LV|CY|RO|US|LT|CA|AU|JP|IL|SG|CO|TW|BR|CZ|DE|AR|UA|RS|SI|KR|MT|GR|NC|PE|HN|GT|MD|UY|DO|NZ|BG|GE|TZ|ZM|PY|EC|NL|CL|NL|MX.
| Field | What it holds for Romania |
|---|---|
company_number | The CUI, 2 to 10 digits: 5022670. |
company_name | The name as registered. |
legal_form, local_legal_form | The standard abbreviation where mapped (SRL, SA) and the register’s own form. |
status, stage | The standard reading of the register’s state; the register’s own status codes are kept in local_status. |
address, postal_code, city, region | The registered address; region holds the county (județ). The postal code is filled where the register gives it. |
activity_code, activity_code_scheme | The NACE code and the CAEN version when a company has exactly one CAEN code; all CAEN codes are in caen_codes. |
vat_number, vat_number_source | RO plus the CUI, source rule. |
registry_details | The J registration number and the EUID. |
Validate before you call
A CUI is 2 to 10 digits without a leading zero, with an advisory check on the last digit. The API accepts a CUI that fails the check, so use this for a hint in the form, not a rejection. The identifier validator runs the same arithmetic in the browser:
// Romanian CUI: 2-10 digits, no leading zero; RO / CUI / CIF prefix optional. A 13-digit number is a personal code (CNP), never a company.
export function checkCui(input) {
const t = String(input).toUpperCase().replace(/[\s.\-/]/g, '').replace(/^(?:RO|CUI|CIF)/, '')
if (!/^\d+$/.test(t) || t.length === 13) return null
const d = t.replace(/^0+/, '')
if (d.length < 2 || d.length > 10) return null
const key = [7, 5, 3, 2, 1, 7, 5, 3, 2]
const body = d.slice(0, -1).padStart(9, '0')
let c = (body.split('').reduce((s, ch, i) => s + Number(ch) * key[i], 0) * 10) % 11
if (c === 10) c = 0
return { cui: d, vat: 'RO' + d, checkOk: c === Number(d.slice(-1)) } // checkOk false is a warning, not a rejection
}
checkCui('5022670') // { cui: '5022670', vat: 'RO5022670', checkOk: true } (Banca Transilvania)
checkCui('RO34737997') // { cui: '34737997', vat: 'RO34737997', checkOk: true } (UiPath)
checkCui('1234567890123') // null: 13 digits is a personal codeA passing check says the number is well-formed, never that the company exists or is still registered. That is what the lookup is for.
Two calls and a list
# by CUI (2 to 10 digits; an RO prefix is optional)
curl -H "Authorization: Bearer rk_live_..." \
"https://api.prometiam.com/functions/v1/risk-api/companies/search?company_number=5022670&country=RO"
# by the Romanian VAT number: RO plus the CUI
curl -H "Authorization: Bearer rk_live_..." \
"https://api.prometiam.com/functions/v1/risk-api/companies/search?vat=RO5022670&country=RO"
# by name, for a type-ahead field
curl -H "Authorization: Bearer rk_live_..." \
"https://api.prometiam.com/functions/v1/risk-api/companies/search?name=banca%20transilvania&country=RO"To resolve a list, POST /companies/lookup takes up to 100 items in one call, each one counted as one request:
curl -X POST "https://api.prometiam.com/functions/v1/risk-api/companies/lookup" \
-H "Authorization: Bearer rk_live_..." \
-H "Content-Type: application/json" \
-d '{"items":[{"country":"RO","company_number":"5022670"},{"country":"RO","company_number":"34737997"},{"country":"RO","name":"Carrefour Romania"}]}'The search returns the record’s id; pass it to GET /companies/{id} for the detail.
An autocomplete endpoint in Node
Your server keeps the key and proxies the search; the form calls your server. A number that looks like a CUI goes to the company_number filter, anything else is a name:
// server: /api/ro-company?q=... (keep the key out of the browser)
app.get('/api/ro-company', async (req, res) => {
const q = String(req.query.q || '').trim()
const looksLikeId = /^(ro|cui|cif)?\s?\d[\d\s.-]{1,}$/i.test(q)
const id = looksLikeId ? checkCui(q) : null
const params = new URLSearchParams({ country: 'RO', limit: '6', ...(id ? { company_number: id.cui } : { name: q }) })
const r = await fetch('https://api.prometiam.com/functions/v1/risk-api/companies/search?' + params,
{ headers: { Authorization: 'Bearer ' + process.env.PROMETIAM_API_KEY } })
const { data } = await r.json()
res.json({
results: data.map(c => ({ id: c.id, name: c.company_name, cui: c.company_number, form: c.legal_form || c.local_legal_form,
status: c.status, city: c.city, county: c.region, address: c.address })),
})
})What Romania does not carry
- Officers and shareholders. Not part of the Romanian record.
- Share capital. The register data carries none, so the capital fields are null.
- Insolvency notices. Romania is not one of the sixteen insolvency markets. Insolvency, reorganisation and bankruptcy proceedings show in
status. - A confirmed VAT registration. The VAT number is RO plus the CUI by rule; whether the company is registered for VAT is a question for VIES (
GET /vat/). - Gazette notices as events. The register-change events are not gazette notices: they show a change to the name, status, legal form or registered address dated by the monthly update that first shows it, and none is dated before the first load in October 2026. Monitoring is available for every live country except Chile, South Korea, New Caledonia, Peru, Honduras, Guatemala, Uruguay, the Dominican Republic, New Zealand, Bulgaria, Georgia, Tanzania, Zambia and Paraguay.
- A registry-compliance signal. Not served for Romania.
- Natural persons and sole traders. PF, PFA, II, IF and AF are never served, so a lookup of one returns nothing even though it exists.
Pricing
Romania is included in every tier at no upcharge. Starter begins with a 14-day trial: 500 credits in total, 10 requests/minute, card required, nothing charged for 14 days. Subscribing keeps the same key working. Then Starter at €9.99/month (1,000 credits, 60 requests/minute), Professional at €29.99/month (10,000 credits, 120 requests/minute) and Scale at €99.99/month (50,000 credits, 300 requests/minute), monthly or annual; annual comes with two months free. A company record costs 1 credit, an autocomplete keystroke costs 1 credit, and error responses cost nothing.
FAQ
How do I look up a Romanian company by CUI from an API?
Call GET /companies/search?company_number=5022670&country=RO. An RO prefix is optional. The check digit is advisory: a CUI that fails it is still looked up and the answer says so; a value that cannot be a CUI (letters, more than ten digits, or 13 digits, which is a personal number) is a 400 validation error.
Can I look up a Romanian company by VAT number?
Yes. The Romanian VAT number is RO plus the CUI, for example RO5022670. Pass it as vat with country=RO and it resolves to the same company. The record builds the VAT number by rule, so the registration is not confirmed; to check it against VIES, use GET /vat/ followed by the number.
Is the CUI check digit enforced?
No. The check (weights 7, 5, 3, 2, 1, 7, 5, 3, 2) is advisory because a few genuine CUI fail it. Validate in your form for a warning, but do not reject on it.
Does the Romanian record include officers, company events or insolvency notices?
Company events yes; officers and insolvency notices no. Romania is company-level: legal name, legal form, status, registered address with the county, CAEN activity codes, the J registration number and EUID, and dates. There are no officers, no registry-compliance signal and no share capital. Register-change events (name, status, legal form and registered address, dated when the change first appears in the register data, none before the first load in October 2026) and monitoring are available. Insolvency, reorganisation and bankruptcy show in the status.
Which activity codes do Romanian records carry?
CAEN codes in caen_codes, in the revision the company holds (Rev. 2 or Rev. 3). When a company has exactly one CAEN code the NACE code is filled and activity_code_scheme names the version; with several codes the NACE code is null.
Which Romanian entities does it cover?
Companies and the other legal persons of the trade register. Natural persons, authorised natural persons and sole traders (PF, PFA, II, IF, AF) and branches are never served, so a lookup of one returns nothing even though it exists.
How fresh is the data?
Monthly: the register publishes once a month, so a change reaches the record with the next monthly update, and register-change events are dated by that update.
Can I call the API from the browser?
You can, but a key in the browser is public. Proxy the search through your server, as in the sample above. Rate limits are per key.
Is there a way to try it before signing up?
Yes: the free CUI lookup runs the same call with a shared key.
Everything about Romania
Free tools
In other languages
Română 10
- Ce este ONRC
- Căutare CUI
- Verificare cod TVA în VIES
- API pentru datele firmelor din România
- Verificare KYB pentru firme românești
- Verificarea furnizorilor și a partenerilor din România
- API CUI: date firme românești după CUI
- e-Factura: verifică clientul înainte să emiți factura
- Firme nou înființate și modificări ONRC
- România: formatele identificatorilor de firme (CUI / CIF)
Contains data from the National Trade Register Office (ONRC), CC BY 4.0