Leadgen ONRC Romania

v1.0.4
com.adrianhomelab/leadgen-onrc Checked 3 days ago Published 8 days ago

Romanian company data for agents: 4.2M ONRC firms, ANAF status, financials 2008–2025.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

lookup_business Look up a Romanian company

Look up a Romanian company by name, CUI or hostname in the ONRC registry of 4.2M companies: a hostname ('emag.ro') resolves the firm that owns the domain, or says it could not identify it. Names are diacritic-insensitive ('paval' finds 'PAVAL'); a CUI matches exactly. Live companies rank first (exact name, then words), closed ones after; county lifts. For 'companies that do X in Y', search by activity and county.

ParameterTypeDescription
query *stringCompany name, CUI (tax ID) or website hostname to search for. Names are diacritic-insensitive ('paval' finds PAVĂL); a CUI ('2816464', 'RO2816464') matches exactly; a hostname ('emag.ro') resolves th…
compactbooleanOptional: true keeps a short preset per row (name, CUI, county, city, legal form, risk level and what it did not check, phone, website, latest revenue and headcount, record url).
countyOptional county hint (diacritic-insensitive): companies registered there rank higher. Not a filter.
fieldsOptional: keep only these company fields in each row, comma-separated (companyName,cui,county,risk; dotted paths such as risk.level work). Without it the full record is returned.
max_resultsintegerMaximum number of companies to return (1-100, default 10).

lookup_companies Look up many companies by CUI

Look up many Romanian companies by CUI in one call (up to 100): one result per input, in input order, each with found true/false and the company record. Each row is one lookup; rows past today's allowance come back not_processed (partial: true, remaining: rows to resend after the reset). fields or compact trims each record.

ParameterTypeDescription
cuis *Up to 100 CUIs, as a list or one comma-separated string ('RO', spaces and leading zeros accepted, as in lookup_business).
compactbooleanOptional: true keeps a short preset per row (name, CUI, county, city, legal form, risk level and what it did not check, phone, website, latest revenue and headcount, record url).
fieldsOptional: keep only these company fields in each row, comma-separated (companyName,cui,county,risk; dotted paths such as risk.level work). Without it the full record is returned.

find_company_by_domain Find the company behind a website

Find the Romanian company behind a website domain (dedeman.ro). Uses the registry's website field, else reads the site's home and legal/contact pages for the CUI or registration number it shows (matchedOn: registry_website, site_cui). Without one, it says so and offers name candidates from the page title or the domain name, each with a confidence (at most 0.7, never a match). One lookup.

ParameterTypeDescription
domain *stringThe website's domain ('dedeman.ro'); a URL or a www. host is reduced to it. Public domains only.
compactbooleanOptional: true keeps a short preset per row (name, CUI, county, city, legal form, risk level and what it did not check, phone, website, latest revenue and headcount, record url).
fieldsOptional: keep only these company fields in each row, comma-separated (companyName,cui,county,risk; dotted paths such as risk.level work). Without it the full record is returned.

match_companies Match a list of records to companies

Match a list of up to 500 records (name, optional county, domain or CUI) to Romanian companies: each row gets match {cui, companyName, confidence, matchedOn} and the record, or no_match with up to 3 candidates. A valid CUI wins (confidence 1.0). Each row is one lookup; rows past today's allowance come back not_processed (partial: true, remaining: rows to resend after the reset).

ParameterTypeDescription
rows *arrayUp to 500 records, each {name, county, domain, cui, ref} (any of them; ref is your own id, echoed back), or a bare string (a CUI, a domain or a name).
compactbooleanOptional: true keeps a short preset per row (name, CUI, county, city, legal form, risk level and what it did not check, phone, website, latest revenue and headcount, record url).
fieldsOptional: keep only these company fields in each row, comma-separated (companyName,cui,county,risk; dotted paths such as risk.level work). Without it the full record is returned.

lookup_by_category Find companies by activity

Find companies by what they do, not by name: a curated topic ('software', 'retail'), plain words ('dentists', a CAEN class title; see matched) or CAEN codes ('4321,4322'; 6201 also finds Rev.3 6210). Narrow by one county or several; filter by revenue, headcount, VAT, main activity, registration date (registered_since/registered_until). active_only (default) drops dead and ANAF-inactive companies.

ParameterTypeDescription
topic *stringWhat the companies do: a curated topic ('software', 'retail'), plain words for a trade ('dentists', 'stomatologie'), a CAEN class title in Romanian or English, or CAEN codes ('6201' or '4321,4322'). C…
active_onlybooleanDefault true: drop companies that are not a lead (struck off, dissolving, in liquidation, insolvent or bankrupt, activity suspended, or ANAF fiscally inactive). false returns every company.
compactbooleanOptional: true keeps a short preset per row (name, CUI, county, city, legal form, risk level and what it did not check, phone, website, latest revenue and headcount, record url).
countyOptional county to narrow to (diacritic-insensitive: 'bucuresti', 'cluj'; a county town such as 'Cluj-Napoca' or a Bucharest sector is read as its county); omit for nationwide. Several counties: a lis…
fieldsOptional: keep only these company fields in each row, comma-separated (companyName,cui,county,risk; dotted paths such as risk.level work). Without it the full record is returned.
has_websitebooleantrue keeps only companies with a website on file in the registry (default false).
legal_formOptional legal form(s) to keep, comma-separated, case-insensitive: 'SRL', 'SA', 'PFA', 'II', or 'SRL,SA' (companies, no sole traders). Default: any form.
main_activity_onlybooleanDefault false: a company matches when the code is ANY of its authorised activities (ONRC lists a dozen per company, most never practised). true keeps only companies whose DECLARED main activity is one…
max_employeesOptional maximum average headcount on the latest filing.
max_resultsintegerMaximum number of companies to return (1-100, default 10).
max_revenueOptional maximum net turnover in RON on the latest filing.
min_employeesOptional minimum average headcount on the latest filing.
min_revenueOptional minimum net turnover in RON on the latest filing (FY2025, else FY2024). Companies without a filing never match a band.
registered_sinceOptional ISO date 'YYYY-MM-DD': keep only companies registered on or after that day, inclusive, on the registry date (firme.data_inmatriculare).
registered_untilOptional ISO date 'YYYY-MM-DD': keep only companies registered on or before that day, inclusive. With registered_since, a window.
sortstringOrder of the results: 'newest' registrations first (default), 'revenue' (latest filing's turnover, biggest first) or 'employees' (headcount, biggest first); companies without a filing come last.
vat_payerOptional: true keeps VAT-registered companies only, false only non-VAT payers (ANAF data). Omit for both.

lookup_director Find companies by director

Find Romanian companies by the name of a director or legal representative (ONRC). Diacritic-insensitive. Whole words: 'pop maria' finds POP MARIA, not POPA MARIANA; prefix=true matches prefixes. The registry has no personal ID, so one name can be several people: homonyms and byCounty say so. Use this when you know a person rather than a company.

ParameterTypeDescription
name *stringDirector / representative name to search for (e.g. 'Ion Popescu'); diacritic-insensitive, each word a whole word of the name.
compactbooleanOptional: true keeps a short preset per row (name, CUI, county, city, legal form, risk level and what it did not check, phone, website, latest revenue and headcount, record url).
fieldsOptional: keep only these company fields in each row, comma-separated (companyName,cui,county,risk; dotted paths such as risk.level work). Without it the full record is returned.
max_resultsintegerMaximum number of companies to return (1-100, default 10).
prefixbooleantrue matches each word as a prefix ('pop' also finds POPA, POPESCU); default false (whole words).

extract_contacts Extract contacts from a website

Crawl a company website and extract emails, phone numbers and social profiles. Accepts a bare domain or a full URL; max_pages (1-20, default 5) bounds the crawl.

ParameterTypeDescription
website *stringThe website to crawl: a bare domain ('example.com') or a full URL ('https://example.com').
max_pagesintegerMaximum number of pages to crawl (1-20, default 5).

enrich_company Company profile with website contacts

A whole-firm profile in one call: the ONRC registry record plus the contacts discovered on that company's website, each labelled with a confidence and a source. Prefer this over a registry lookup then a contact extraction when you want everything about one company. cui is its tax code; website overrides the registered one; max_pages bounds the crawl; refresh=true crawls now instead of answering from the cache.

ParameterTypeDescription
cui *stringRomanian tax identification number (CUI), e.g. '2816464'; 'RO' and leading zeros are accepted.
max_pagesintegerMaximum number of pages to crawl (1-20, default 5).
refreshbooleantrue crawls now even if a cached result exists (default false: answer from the cache when there is one).
websiteOptional website override (domain or URL). When omitted, the company's registered website is used (an error if none is on file).

lookup_domain Domain WHOIS, DNS and email audit

WHOIS plus DNS records (A, MX, NS, TXT) and an SPF/DMARC email-security audit for a domain. Use it to profile a company's web estate or check its email posture. include_dns and include_security toggle the two halves.

ParameterTypeDescription
domain *stringDomain name to look up (e.g. 'example.com'); a URL is reduced to its host.
include_dnsbooleanInclude DNS records (A, AAAA, MX, NS, TXT, SOA); default true.
include_securitybooleanInclude the SPF/DMARC email-security check; default true.

lookup_financials Annual financial statements

Annual financial statements for a Romanian company from Ministry of Finance filings, every fiscal year on record since 2008: revenue, profit, headcount and balance-sheet lines in RON with each year's ratios (growth, margins, equity ratio, liquidity), plus a summary (3/5/10-year CAGR, loss years, health score). If you only have a name, look the company up first to get its CUI.

ParameterTypeDescription
cui *stringRomanian tax identification number (CUI), e.g. '2816464'; 'RO' and leading zeros are accepted.

lookup_financial_ratios Financial ratios and health score

Financial analysis of a Romanian company: multi-year revenue trend (YoY, 3/5/10-year CAGR), margins, headcount, solvency and liquidity ratios, a 0–100 health score with its rule-by-rule breakdown, red flags, and peer percentiles within the same CAEN activity and county. Verdict: 'growing', 'stable' or 'distressed'. The raw yearly figures are in the annual financial statements.

ParameterTypeDescription
cui *stringRomanian tax identification number (CUI), e.g. '2816464'; 'RO' and leading zeros are accepted.

watch_company Watch a company for changes

Register a company (by CUI) to monitor. Stores a fingerprint of its current registry record as the baseline; each watchlist poll then reports changes between monthly ONRC snapshots - a new director, a new CAEN activity, an address or status change - and when ANAF declares it fiscally inactive or its VAT status flips.

ParameterTypeDescription
cui *stringRomanian tax identification number (CUI) of the company to watch, e.g. '2816464'. Watching a company you already watch changes nothing.

watch_caen Watch an activity for new companies

Watch a CAEN activity code, optionally scoped to one county, for newly registered companies. A registration-date cutoff is the baseline: only companies registered after it are reported, and each watchlist poll slides the cutoff forward so each new company surfaces once. A retired CAEN Rev.2 code (6201) also watches its Rev.3 successor (6210), with a warning.

ParameterTypeDescription
code *stringCAEN activity code to watch (e.g. '6210'); a retired Rev.2 code also watches its Rev.3 successor.
countyOptional county name to scope the watch to (diacritic-insensitive); omit to watch nationwide.

poll_watchlist Collect watchlist changes

Collect everything the watch tools have found: call it to drain the changeset for every watch owned by your API key, most severe first. Company watches return an 'updated' entry with the changed fields and risk; CAEN and county watches return the 'new' companies registered since the last poll (200 a poll, the rest next).

list_watches List my watches

List every company and CAEN activity your API key watches, each with what changed since the last watchlist poll, most severe first. A peek: nothing is marked as seen (only a poll does that). Free and never counted as a lookup, also with 0 left today.

unwatch Stop watching a company or activity

Stop tracking a company (CUI) or a CAEN code (including its county); the tracking and its reference status will be deleted; free of charge. Pass cui, or code (plus the county it was watched in, if any), on your API key. Unwatching something you do not watch changes nothing (removed: 0). Listing your watches shows what you hold. Not counted as a lookup.

ParameterTypeDescription
codeA watched CAEN activity code (e.g. '6210'); give this or cui.
countyWith code: the county the code was watched in (diacritic-insensitive); omit for a nationwide watch.
cuiCUI of a watched company (e.g. '2816464'); give this or code.

get_usage Show my daily allowance

Show your own allowance: plan, daily limit, lookups used today, how many remain, when it resets (midnight Romanian time, 00:00 Europe/Bucharest) and any credit balance. Free and never counted as a lookup. Limits: 30 anonymous MCP calls a day, 50 with a free API key from https://leadgen.adrianhomelab.com/start (an email address, no payment).

report_issue Report missing or wrong data

Report to the person who runs Leadgen what is missing or wrong: a missing field, company or source (kind 'gap'), a wrong company record ('wrong_record', pass its cui), a bug, an idea. Free, never counted. contact: optional reply address, never mailed automatically. Registry records are corrected at ONRC; the next snapshot brings the fix. rating (1-3): your user's own answer on how useful Leadgen is, never yours.

ParameterTypeDescription
contactOptional email address for a reply; nothing is mailed to it automatically.
cuiOptional CUI of the company the report is about (for 'wrong_record').
kindstringOne of 'gap' (a missing field, company or source; the default), 'wrong_record' (pass its cui), 'bug', 'idea', 'other'.
messagestringThe report, in plain words: what is missing or wrong. Optional with a rating (then: anything else your user said).
ratingOptional: your user's own answer to how useful Leadgen is to them: 1 (not at all), 2 (so-so) or 3 (very). Ask them; never answer for them. With a rating, kind is ignored.
reasonsOptional, with a rating: what your user named. For 1-2: 'missing_data', 'hard_to_use', 'limits_price', 'cant_find', 'other'; for 3: 'check_partners', 'find_clients', 'api_ai', 'other'.

company_history What changed in the registry for a company

Whether the registry record of one company changed between consecutive official ONRC snapshots, and when: one event per snapshot in which anything on the record moved (status, name, legal form, address, registration number). It reports that the record changed, not which field — for the field detail, compare two lookups. Empty for a company that has not changed since the ledger started.

ParameterTypeDescription
cui *stringRomanian tax identification number (CUI), e.g. '2816464'; 'RO' and leading zeros are accepted.
limitintegerHow many recent events to return (1-100).

check_vat Check a VAT number against EU VIES

Check a Romanian VAT number against the EU's VIES register in real time: is it a valid VAT number today, under which name and address (a company's; never a sole trader's), and does that name agree with the company registry. Use it before invoicing a new supplier or when a buyer asks whether the VAT number on file is still live.

ParameterTypeDescription
cui *stringRomanian tax identification number (CUI), e.g. '2816464'; 'RO' and leading zeros are accepted.

company_contracts Public contracts won or awarded

Public procurement contracts from SEAP, Romania's electronic procurement system: what a company won from public authorities, or what it awarded as a contracting authority. Each contract carries the contracting authority, CPV code, contract number, date and value in RON, plus a per-year summary and the top counterparties. Source: ANAP reports published by ADR on data.gov.ro (CC-BY 4.0), loaded quarterly.

ParameterTypeDescription
cui *stringRomanian tax identification number (CUI), e.g. '2816464'; 'RO' and leading zeros are accepted.
limitintegerContracts to return, newest first (1-200).
rolestring'supplier' = contracts the company won; 'authority' = contracts it awarded; 'both'.
sinceOnly contracts dated on or after this date (YYYY-MM-DD).
untilOnly contracts dated on or before this date (YYYY-MM-DD).