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

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 serviceapifirme
Costfreea free plan and paid plans, on the prices page
Account and API keynoyes
Tax data: VAT, VAT on collection, inactivity, e-Facturayesyes, from ANAF, with the day it was checked
The trade register's data: EUID, incorporation, states, authorised activitiesnoyes, from ONRC's open data
Financial statementsanother service, one request for each yearevery year, from 2008, in one request
Fiscal obligations (the "vector fiscal")noyes, from the Ministry of Finance's yearly list
Search by name or register numbernoyes
The list of newly registered companies, by county and activity codenoyes, usually from the day after registration
Changes seen at a companynoyes, since we have followed it
Names and addresses written for a readernoyes, with the official form kept in oficial
AI assistants (MCP)noyes: Claude, ChatGPT and the others
Limits100 CUIs a request, one request a secondby 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.