ANAF API — company data, CAEN, BNR rates and IBAN

A free, public REST API for ANAF, ONRC and BNR public data. Check a company by CUI, get financial statements, search companies by name, look up CAEN codes, BNR exchange rates and treasury IBANs. Clean JSON responses — no account, no API key.

What you can do with the API

Available endpoints

Frequently asked questions

Is the DemoANAF ANAF API free?

Yes. It is a public REST API, free, with no account and no API key. There is a rate limit of 300 requests per minute. For higher volumes and extended tools there is the Pro plan via the MCP connector.

What data does the API provide?

Company check by CUI (ONRC data, VAT status, directors), financial statements for 8 years, company search by name, CAEN Rev.3 codes, BNR exchange rates and treasury IBANs.

How do I call the API for company data?

Via an HTTP GET request, for example: curl https://demoanaf.ro/api/company/14399840. The response is JSON in the form { success, data, meta }.

Is the data real-time?

Data comes from public sources (ANAF, ONRC, BNR) and is served from cache for speed. Each endpoint has its own freshness period, from a few minutes to a few days.

Can I search companies by name or CAEN code?

Yes. Use /api/search?q=... to search by name across over 4 million ONRC companies and /api/caen?q=... for CAEN Rev.3 codes.