ANAF API — company data, CAEN, BNR exchange rates and IBAN
REST API for public ANAF, ONRC and BNR data. Look up a company by CUI, retrieve balance sheets and financial data, search companies by name, check CAEN codes, the BNR exchange rate and treasury IBANs. Clean JSON responses — access with a Pro subscription.
Base: https://demoanaf.ro · Limit: 1,200 req/min (Pro key) · Format: { success, data, meta }
The free API tier has been retired
Every API endpoint needs a Pro key (dmn_live_…) — that is why all of them carry the Pro tag. Those marked x402 also accept per-request payment without a subscription; the rest are subscription features that x402 cannot buy. The demoanaf.ro web app stays free in the browser.
What you can do with the API
- • Look up a company by CUI (ONRC, VAT, directors)
- • Balance sheets and financial data for 8 years
- • Search companies by name (4M+ ONRC)
- • CAEN Rev.3 codes and activity descriptions
- • BNR exchange rate and currency conversion
- • Treasury IBANs for tax payments
MCP connector (AI agents)
Connect Claude, ChatGPT or Cursor to DemoANAF public data and manage the Pro subscription from your chat.
Connection guideAuthentication & limits
Programmatic API access requires a Pro key — the free tier was retired on 21 August 2026; metered endpoints also accept per-request x402 payment. A Pro key allows 1,200 requests/minute and bypasses IP blocks. Generate one in your Account.
| Tier | Limit |
|---|---|
| Browser (web app, no key) | 300/min |
| Pro (API key) | 1200/min |
| MCP (token) | 30–60/min |
Send the key as a header
X-API-Key: dmn_live_… Authorization: Bearer dmn_live_…
Authenticated request example
curl -H "X-API-Key: dmn_live_…" https://demoanaf.ro/api/company/14399840When you exceed the limit (429)
{ "success": false, "error": { "code": "RATE_LIMITED", "message": "…" } }Company
/api/company/:cuiProx402Full company information (ANAF data + directors, authorised CAEN, ONRC status)
Parameters: cui — 1–10 digits
curl https://demoanaf.ro/api/company/14399840/api/company/:cui/financialsProx402Financial data for the last 8 years (single request)
Parameters: cui — 1–10 digits
curl https://demoanaf.ro/api/company/14399840/financials/api/company/:cui/balance/:yearProx402Balance sheet for a specific year
Parameters: cui, year (YYYY)
curl https://demoanaf.ro/api/company/14399840/balance/2023/api/company/:cui/relatedProx402Related companies (shared administrators/shareholders or address)
Parameters: cui — 1–10 digits
curl https://demoanaf.ro/api/company/14399840/related/api/company/:cui/seapProx402SICAP preview for a company: latest contracts and direct purchases with totals
Parameters: cui — 1–10 digits
curl https://demoanaf.ro/api/company/14399840/seap/api/company/:cui/decisionsProx402Official Gazette (Monitorul Oficial) decisions for the company
Parameters: cui — 1–10 digits
curl https://demoanaf.ro/api/company/14399840/decisions/api/company/:cui/timelineProx402Company event timeline (registration, changes, MO mentions)
Parameters: cui — 1–10 digits
curl https://demoanaf.ro/api/company/14399840/timeline/api/company/:cui/leaderboardProx402The company's positions in the turnover, profit and headcount rankings
Parameters: cui — 1–10 digits
curl https://demoanaf.ro/api/company/14399840/leaderboard/api/company/:cui/healthProFinancial ratios, Altman Z′ score and solvency verdict
Parameters: cui — 1–10 digits
curl https://demoanaf.ro/api/company/14399840/health/api/company/:cui/networkProOfficer network: who runs the company and their other firms
Parameters: cui — 1–10 digits
curl https://demoanaf.ro/api/company/14399840/network/api/company/batchProx402Batch lookup (max 100 CUIs)
Parameters: body: { cuis: string[] }
Search & people
/api/searchProx402Search company by name across more than 4 million ONRC companies
Parameters: q (text), limit (1–50, default 20)
curl https://demoanaf.ro/api/search?q=emag/api/search/allProx402Unified search across companies, people and records
Parameters: q (text), limit (1–50, default 20)
curl https://demoanaf.ro/api/search/all?q=emag/api/search/peopleProSearch people (administrators/shareholders) by name — requires Pro
Parameters: q (text), limit (1–50, default 20)
curl https://demoanaf.ro/api/search/people?q=popescu/api/person/:idProx402A person's profile: roles held and associated companies
Parameters: id — the person identifier
curl https://demoanaf.ro/api/person/123/api/person/:id/companiesProx402Companies where the person holds a role (administrator, shareholder, representative)
Parameters: id — the person identifier
curl https://demoanaf.ro/api/person/123/companiesPublic procurement (SICAP)
/api/sicap/tenders/searchProx402Search SICAP public-procurement notices (99k+ notices)
Parameters: q — text, notice number, CPV code or CUI; cpv, authorityCui, from (YYYY-MM-DD), limit (1–50), offset
curl https://demoanaf.ro/api/sicap/tenders/search?q=montaj/api/sicap/tender/:noticeProx402A procurement notice, with the state of its documentation
Parameters: notice — the notice number (e.g. CN1084791)
curl https://demoanaf.ro/api/sicap/tender/CN1084791/api/sicap/proceduresProx402Most recent procedures with available documentation
curl https://demoanaf.ro/api/sicap/procedures/api/sicap/company/:cui/proceduresProx402A contracting authority's / company's procurement procedures
Parameters: cui — 1–10 digits
curl https://demoanaf.ro/api/sicap/company/14399840/procedures/api/sicap/procedure/:notice/documentsProx402A procedure's document list (document metadata; the content requires Pro)
Parameters: notice — the notice number (e.g. CN1084791)
curl https://demoanaf.ro/api/sicap/procedure/CN1084791/documents/api/sicap/procedure/:notice/signersProx402Document signers and cryptographic signature verification; the signer's identity requires Pro
Parameters: notice — the notice number (e.g. CN1084791)
curl https://demoanaf.ro/api/sicap/procedure/CN1084791/signers/api/sicap/procedure/:notice/searchProSearch within a procedure's document text
Parameters: q — search terms
curl https://demoanaf.ro/api/sicap/procedure/CN1084791/search?q=montaj/api/sicap/procedure/:notice/changesProChanges between documentation versions
Parameters: notice — the notice number (e.g. CN1084791)
/api/sicap/procedure/:notice/bundleProDownload all of a procedure's documents, unsealed
Parameters: notice — the notice number (e.g. CN1084791)
/api/sicap/document/:id/textProExtracted text of one document
Parameters: id — the document identifier
/api/sicap/document/:id/downloadProDownload one unsealed document
Parameters: id — the document identifier
Public procurement data (SICAP) — Pro
/api/seap/company/:cui/contractsProSICAP contracts for a company, newest first, up to 200 per page
Parameters: cui; role (authority|supplier|both), dateFrom, dateTo (YYYY-MM-DD), cpv, limit (1–200), offset
curl https://demoanaf.ro/api/seap/company/14399840/contracts?role=supplier&limit=50/api/seap/company/:cui/contracts/checkProWhether a company appears in SICAP contracts: counts as authority and supplier, latest contract date
Parameters: cui — 1–10 digits
curl https://demoanaf.ro/api/seap/company/14399840/contracts/check/api/seap/company/:cui/direct-purchasesProSICAP direct purchases for a company, with source and freshness metadata
Parameters: cui; role (authority|supplier|both), dateFrom, dateTo (YYYY-MM-DD), cpv, limit (1–200), offset
curl https://demoanaf.ro/api/seap/company/14399840/direct-purchases/api/seap/company/:cui/direct-purchase-awardsProSICAP direct-purchase award notices for a company
Parameters: cui; role (authority|supplier|both), dateFrom, dateTo (YYYY-MM-DD), cpv, limit (1–200), offset
curl https://demoanaf.ro/api/seap/company/14399840/direct-purchase-awards/api/seap/company/:cui/tendersProTender initiation announcements published by a contracting authority
Parameters: cui; limit (1–200), offset
curl https://demoanaf.ro/api/seap/company/4267117/tenders/api/seap/company/:cui/supplier-issuesProSICAP supplier-performance reports (documente constatatoare) for a supplier
Parameters: cui; onlyDamages (true|false), limit (1–200), offset
curl https://demoanaf.ro/api/seap/company/14399840/supplier-issues?onlyDamages=true/api/seap/supplier-issues/:ackDocIdProOne supplier-performance report in full
Parameters: ackDocId — the report identifier from supplier-issues
/api/seap/contracts/:numberProOne SICAP contract by contract number (parties, value, CPV, procedure, lots)
Parameters: number — URL-encoded contract number (1/32435 → 1%2F32435)
curl https://demoanaf.ro/api/seap/contracts/1%2F32435/api/seap/cpv/:cpv/contractsProSICAP contract rows for a CPV code prefix
Parameters: cpv (1–12 digit prefix); supplierCity (contracts only), dateFrom, dateTo, limit (1–200), offset
curl https://demoanaf.ro/api/seap/cpv/33183100/contracts?dateFrom=2025-01-01/api/seap/cpv/:cpv/direct-purchasesProSICAP direct purchases for a CPV code prefix
Parameters: cpv (1–12 digit prefix); supplierCity (contracts only), dateFrom, dateTo, limit (1–200), offset
curl https://demoanaf.ro/api/seap/cpv/33183100/direct-purchases/api/seap/cpv/:cpv/direct-purchase-awardsProSICAP direct-purchase award notices for a CPV code prefix
Parameters: cpv (1–12 digit prefix); supplierCity (contracts only), dateFrom, dateTo, limit (1–200), offset
curl https://demoanaf.ro/api/seap/cpv/33183100/direct-purchase-awards/api/seap/cpv/:cpv/top-suppliersProep.seap-cpv-top.description
Parameters: cpv; supplierCity, dateFrom, dateTo, limit (1–100)
curl https://demoanaf.ro/api/seap/cpv/33183100/top-suppliers?limit=20/api/seap/cpv/:cpv/analysisProep.seap-cpv-analysis.description
Parameters: cpv; dateFrom, dateTo
curl https://demoanaf.ro/api/seap/cpv/33183100/analysisStatistics & rankings
/api/statisticaProx402Market-level aggregates and indicators
curl https://demoanaf.ro/api/statistica/api/statistica/top-companiesProx402Top companies by year, metric and slice (national/county/CAEN)
Parameters: year, metric (cifra|profit|angajati), slice (national|judet|caen), limit
curl https://demoanaf.ro/api/statistica/top-companies?year=2023&metric=cifra&slice=national/api/statistica/leaderboard-yearsProx402Years available in the rankings
curl https://demoanaf.ro/api/statistica/leaderboard-years/api/statistica/advanced-rankingsProAdvanced rankings with financial indicators
Parameters: year
curl https://demoanaf.ro/api/statistica/advanced-rankings?year=2023Public data
/api/firme/:judetProx402Companies in a county
Parameters: judet — county name (e.g. cluj)
curl https://demoanaf.ro/api/firme/cluj/api/firme/:judet/:orasProx402Companies in a city
Parameters: judet, oras (e.g. cluj/cluj-napoca)
curl https://demoanaf.ro/api/firme/cluj/cluj-napoca/api/decisions/:idProx402A single Official Gazette decision record
Parameters: id — the decision identifier
curl https://demoanaf.ro/api/decisions/123/api/benchmarks/liveProx402Live sector benchmarks (CAEN medians)
curl https://demoanaf.ro/api/benchmarks/liveBNR exchange rates
/api/ratesProx402Today's BNR exchange rates (~34 currencies)
curl https://demoanaf.ro/api/rates/api/rates/historyProx402BNR rates for the last 10 days
curl https://demoanaf.ro/api/rates/history/api/rates/convertProx402Currency conversion at BNR rate
Parameters: from, to (3 letters), amount
curl https://demoanaf.ro/api/rates/convert?from=EUR&to=RON&amount=100CAEN codes
/api/caenProx402Search CAEN Rev.3 codes (651 codes)
Parameters: q (text), section (A–U)
curl https://demoanaf.ro/api/caen?q=software/api/caen/:codeProx402CAEN code details (activity description)
Parameters: code (4 digits)
curl https://demoanaf.ro/api/caen/6201/api/caen/:code/hubProx402A CAEN code hub page: representative companies and statistics
Parameters: code (4 digits)
curl https://demoanaf.ro/api/caen/6201/hubTreasury IBAN
/api/ibanProx402Search treasury IBANs for tax payments
Parameters: q (text), treasury (treasury code)
curl https://demoanaf.ro/api/iban?q=TVA&treasury=700ANAF press releases
/api/pressProx402Latest ANAF press releases
curl https://demoanaf.ro/api/press/api/press/pdfProx402Extract text from an ANAF press-release PDF
Parameters: url (PDF URL from static.anaf.ro)
/api/press-articlesProx402Indexed press articles
curl https://demoanaf.ro/api/press-articles/api/press-articles/:slugProx402A press article by slug
Parameters: slug — the article identifier
curl https://demoanaf.ro/api/press-articles/exemplu-slugSystem
/api/healthProx402Service status (ANAF, BNR)
curl https://demoanaf.ro/api/healthFrequently asked questions
No — the API’s free tier was retired on 21 August 2026. Programmatic access requires an active Pro subscription: generate an API key (dmn_live_…) from your Account, with a limit of 1,200 requests per minute and no IP blocks. The demoanaf.ro web app remains free to use in a browser.
Company lookup by CUI (ONRC data, VAT status, directors), balance sheets and financial data for 8 years, company search by name, CAEN Rev.3 codes, BNR exchange rates and treasury IBANs.
With an HTTP GET request, for example: curl https://demoanaf.ro/api/company/14399840. The response is JSON in the form { success, data, meta }.
Data comes from public sources (ANAF, ONRC, BNR) and is served from cache for speed. Each endpoint has its own freshness window, ranging from a few minutes to a few days.
Yes. Use /api/search?q=... to search by name across more than 4 million ONRC companies and /api/caen?q=... for CAEN Rev.3 codes.
From Account → API Keys, if you have an active Pro subscription. The key (dmn_live_…) is sent as an X-API-Key header or Authorization: Bearer, and raises the limit to 1,200 requests/min with no IP blocks.
See also: company search · BNR exchange rates · CAEN codes · treasury IBAN · DemoANAF Pro