Adrianhomelab

Leadgen API — Romanian business registry (ONRC)

Send your key as the X-API-Key header. Anonymous callers get 5 lookups a day; a free key (50/day) takes ten seconds at…

Finance & banking#business

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

Send your key as the X-API-Key header. Anonymous callers get 5 lookups a day; a free key (50/day) takes ten seconds at /start. Read-only JSON over Romania's official ONRC registry: 4.2M companies, CAEN activities, legal representatives, statuses and financial statements. Search is diacritic-insensitive.

Endpoints 41

Lookups

  • GETCounts By County/counts/category?category=stringHow many firms each county holds for an activity: the app's default list (companies SRL/SA, active, declared main activity), the same numbers…
  • GETHealth/healthLiveness, plus which ONRC snapshot is being served and how old it is. The data block is what a staleness monitor reads: the weekly refresh job reports…
  • GETLookup Business/lookup_business?query=stringCompany search by name or CUI. A name returns ranked candidates, each with score (0-1) and match (exact, phrase, words, prefix): whole-name and whole-word…
  • GETLookup Director/lookup_director?name=stringCompanies by the name of a director or legal representative. Whole names by default: every word must be a whole word of the person's name, in any order ('pop…
  • GETLookup By Category/lookup_by_categoryLead list by curated topic or by raw CAEN activity code. category takes a topic (artificial intelligence, cybersecurity, software, …) or a CAEN code /…
  • GETLookup Companies Get/lookup_companies?cuis=stringMany CUIs in one call, as a query string: the same answer and metering as POST /lookup_companies.
  • POSTLookup Companies Post/lookup_companiesMany CUIs in one call: up to 100, one result per input in input order. Body {"cuis": ["2816464", "RO14399840", …], "fields": "companyName,cui,risk",…
  • POSTMatch Companies/match_companiesMatch up to 500 records to firms: one answer per row, in input order. Body {"rows": [{"name": "Dedeman", "county": "Bacau"}, {"cui": "RO14399840"}, {"domain":…
  • GETFind Company By Domain/find_company_by_domain?domain=stringThe firm behind a website domain. One lookup. The registry's website field first (matchedOn: "registry_website"); else the site's home page and up to three…
  • GETExtract Contacts/extract_contacts?website=stringEmails, phone numbers and social profiles found on a website. One lookup. A breadth-first read of same-site links from website, at most max_pages pages,…
  • GETEnrich Company/enrich_company?cui=stringA whole-firm profile: the registry record plus the contacts found on its website. One lookup. Answer: {cui, company: {companyName, cui, registrationCode,…
  • GETLookup Domain/lookup_domain?domain=stringWHOIS, DNS records and an SPF/DMARC email-security audit for a domain. One lookup. Answer: {domain, whois: {registrar, creationDate, expirationDate,…
  • GETFinancials/financials/:cuiEvery annual financial statement on record for one firm (FY2008 onwards). Ministry of Finance filings, newest year first: revenue, profit or loss, average…
  • GETFinancial Ratios/financials/:cui/ratiosFinancial ratios, a health score and peer percentiles for one firm. Multi-year revenue trend, margins, solvency and liquidity ratios, a 0-100 health score…
  • GETCompany History Route/company_history?cui=stringWhat changed in the registry for one company, week by week. Built by diffing consecutive official ONRC snapshots: name, address, legal form and registration…
  • GETCheck Vat Route/check_vat?cui=stringIs this a live VAT number per the EU VIES register, and whose name is on it. Returns validity, the name and address the EU holds, and whether that name agrees…
  • GETContracts/contracts/:cuiPublic procurement contracts from SEAP, won by or awarded by one firm. Every contract carries the contracting authority, CPV code, contract number, date and…
  • GETCompany Changes/company/:cui/changesThe dated changes we hold for one firm, newest first (the app's Istoric). Not counted: it goes with the company page the caller already looked up. events[]:…
  • GETTopics List/topicsThe curated topics and the CAEN code sets behind them. Not counted (F175, the founder): the catalogue is the same for everyone, not a lookup; the per-IP…
  • GETCompany Record/record/:cuiA dated, sourced company record for the file: registry record, latest filing, risk reasons, sources with dates and licences, the ONRC snapshot, what is not…

Free key

  • POSTRegister/registerIssue a free API key for an email address. Idempotent per address.

Account

  • GETUsage/usageYour own allowance: plan, daily limit, lookups used today, remaining, when it resets (the next midnight in Romania, given in UTC) and your credit balance…

Alerts

  • GETAlerts Email Status/alerts/emailWhere this key's watchlist alerts go, and whether they are confirmed.
  • POSTAlerts Email/alerts/emailTurn on email digests for the watches of this key (double opt-in). Body: {"email": "...", "lang": "en"|"ro"}; email defaults to the address the key was issued…
  • DELETEAlerts Email Off/alerts/emailTurn this key's email alerts off, or cancel a request still waiting for its confirmation (status: cancelled, the mailed link stops working; F35). Only this…

Watchlist

  • GETWatches List/watchesYour key's watches, each with what changed since the last poll, most severe first (a firm that stopped being a lead or left the registry, then a risk, status…
  • POSTWatches Add/watchesWatch firms and/or CAEN codes in one call. Body: {"companies": ["14399840", "RO2816464", …], "caen": [{"code": "4321", "county": "Cluj"}]}. A caen code may be…
  • DELETEWatches Remove/watches?kind=string&target=stringStop watching one firm (kind=company&target=<CUI>) or one CAEN code (kind=caen&target=4321[&county=Cluj]). 404 when the key does not hold it. Not counted:…
  • GETAlerts Feed/alerts/feedYour alerts, newest first: what changed at the firms and CAEN codes you follow, each with a kind (insolvency, anaf_inactive, status_closing, gone, accounts,…
  • POSTAlerts Feed Read/alerts/feed/readMark alerts read: {"ids": [812]} marks those (yours only), {} marks them all. Not counted.
  • POSTWatches Seen/watches/seenMark every change as seen: the same drain as MCP poll_watchlist (company fingerprints and CAEN cursors slide; the email digest keeps its own). Returns the…

Feedback

  • POSTFeedback/feedbackReport what is missing or wrong: {message, kind, cui?, email?, page?, lang?}. kind is gap (default), wrong_record (pass the firm's cui), bug, idea or other.…

Billing

  • POSTSubscribe/api/subscribeStart a Pro or Business subscription (plan: pro|business, interval: month|year). The buyer is the holder of the key in X-API-Key, the key named by a signed…
  • GETBilling Intent/api/billing/intent?u=stringWhat a signed upgrade link names, for the checkout page: the key's prefix, its plan now, the plan offered and the address (masked).
  • GETBilling Company/api/billing/company/:cuiA company's invoice details from our own registry (name, address, VAT status) to prefill the checkout, and whether it may subscribe (can_subscribe: false for…
  • POSTBilling Portal/api/billing/portalOpen the Stripe Customer Portal for the subscription of the key in X-API-Key: cancel (at period end), switch plan or interval, change the card, billing…
  • POSTBilling Portal Link/api/billing/portal-linkEmail a one-time link to the subscription portal to an address that has a subscription. The answer is the same whether or not it has one. Open whether or not…
  • GETWithdrawals Available/api/withdrawals/availableWhether the withdrawal function is offered (the checkout's footer link and /withdraw ask this): true while paid plans are on sale and forever once a consumer…
  • GETFx Eur Ron/api/fx/eur-ronThe euro in RON at the BNR reference rate and its date, for showing RON next to EUR prices (F100); the charge is always in EUR. rate and date are null when no…
  • GETWithdrawals Link/api/withdrawals/link?w=stringWhat the signed link of a contract confirmation names, to pre-fill /withdraw: plan, key prefix, the subscription's address, the order reference and the end of…
  • POSTWithdrawal Statement/api/withdrawalsA statement of withdrawal from the contract (the checkout's /withdraw, "Confirmați retragerea"). Recorded first; the answer is the receipt (the statement as…

API details

Base URL
https://leadgen-api.adrianhomelab.com
https://leadgen.adrianhomelab.com
Authentication
An API key in the X-API-Key header
Operations
41 operations on 36 pathsGET 27POST 12DELETE 2
Main resources
Lookups 20Billing 9Watchlist 6Alerts 3Account 1Feedback 1Free key 1
Response formats
application/json
Description format
OpenAPI 3.1.0, API version 2.4.4

How to test the Leadgen API — Romanian business registry (ONRC) in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Leadgen API — Romanian business registry (ONRC) collection, without the publisher's secrets.
  3. Add your credentialsThis API uses an API key in the X-API-Key header. Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “Counts By County” (GET /counts/category?category=string), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Leadgen API — Romanian business registry (ONRC)?

Send your key as the X-API-Key header. Anonymous callers get 5 lookups a day; a free key (50/day) takes ten seconds at… It is listed under Finance & banking and has 41 endpoints.

Who publishes the Leadgen API — Romanian business registry (ONRC)?

It is listed from Adrianhomelab's public API description (an OpenAPI document), not published by Adrianhomelab on Swastik Codes. Anyone who controls leadgen.adrianhomelab.com can claim the profile by adding a DNS TXT record.

What is the base URL of the Leadgen API — Romanian business registry (ONRC)?

Its description lists 2 base URLs: https://leadgen-api.adrianhomelab.com, https://leadgen.adrianhomelab.com. The first is the usual one; the others are typically sandbox or regional servers.

How do I authenticate with the Leadgen API — Romanian business registry (ONRC)?

With an API key in the X-API-Key header.

How many endpoints does the Leadgen API — Romanian business registry (ONRC) have?

41 operations on 36 paths (27 GET, 12 POST, 2 DELETE). The largest groups are Lookups, Billing, Watchlist, Alerts.

Is forking the Leadgen API — Romanian business registry (ONRC) free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.