The ANAF API for company data: what the public service offers and what apifirme adds
ANAF, the Romanian tax administration, has a public web service, free and without an account, that returns a taxpayer's tax data by CUI as of a chosen date: the name, the address, the trade register number, the CAEN code, VAT registration, VAT on collection, split VAT payment, fiscal inactivity and registration in the RO e-Factura registry. It is also one of our sources. This page says how it is used, what its limits are and what apifirme adds to it, so that you can choose what suits you.
How it is used
You send a POST with a list of CUIs, each with the date you want its situation for:
curl -X POST https://webservicesp.anaf.ro/api/PlatitorTvaRest/v9/tva \
-H "Content-Type: application/json" \
-d '[{"cui": 13548146, "data": "2026-11-12"}]'
The response has the list found, with the taxpayers found, grouped by topic (date_generale, inregistrare_scop_Tva, inregistrare_RTVAI, stare_inactiv, inregistrare_SplitTVA, adresa_sediu_social, adresa_domiciliu_fiscal), and the list notFound, with the CUIs ANAF does not know. The official documentation is on ANAF's site: doc_WS_V9.txt.
The financial statements are in another ANAF service, with one request for each company and each year.
Its limits
- At most 100 CUIs in a request and at most one request a second, according to ANAF's documentation. Whoever sends more is refused for a while.
- By CUI only: a company cannot be searched for by name or by its trade register number.
- Tax data only: it does not have what the trade register publishes, that is the EUID, the date of incorporation, the states in the register and the authorised activities.
- Texts come as they are in the register, mostly in capitals, and the address as one text and in parts, in different fields.
- It does not say what changed at a company: you compare it yourself from one day to the next.
When ANAF's service is enough
If you only need the tax status of a few companies, for instance when issuing an invoice, and your program can wait a second between requests and repeat them when ANAF does not answer, ANAF's service is enough and free. You need nothing from us.
What apifirme adds
| ANAF's public service | apifirme | |
|---|---|---|
| Cost | free | a free plan and paid plans, on the prices page |
| Account and API key | no | yes |
| Tax data: VAT, VAT on collection, inactivity, e-Factura | yes | yes, from ANAF, with the day it was checked |
| The trade register's data: EUID, incorporation, states, authorised activities | no | yes, from ONRC's open data |
| Financial statements | another service, one request for each year | every year, from 2008, in one request |
| Fiscal obligations (the "vector fiscal") | no | yes, from the Ministry of Finance's yearly list |
| Search by name or register number | no | yes |
| The list of newly registered companies, by county and activity code | no | yes, usually from the day after registration |
| Changes seen at a company | no | yes, since we have followed it |
| Names and addresses written for a reader | no | yes, with the official form kept in oficial |
| AI assistants (MCP) | no | yes: Claude, ChatGPT and the others |
| Limits | 100 CUIs a request, one request a second | by plan, and batch takes 100 CUIs |
Every piece of information comes with its source and date (sources), and a company we do not have yet is looked up at ANAF on the spot. Which sources we use and how often we refresh them: where the data comes from.
The same company at apifirme
curl https://api.apifirme.dev/rest/v1/companies/13548146 \
-H "Authorization: Bearer af_live_..."
You create the key in your account. The check before invoicing, step by step: checking a company by its CUI. The same request in PHP, Python, JavaScript, Google Sheets and Excel: code examples.