REST · JSON & XML · JWT

The API layer for Romanian public data.

Companies from ANAF and the Trade Register, official BNR rates, Romanian geography, IBAN checks and IP geolocation - one account, JSON or XML, secured with JWT.

  • Free during beta
  • No card required
  • Responses in milliseconds
$ curl 'https://theapi.ro/api/vs1/RegcomCompanies/view/36145517.json' \
    -H 'Authorization: Bearer {token}'
● 200 OK
{
    "status": 200,
    "data": {
        "id": 36145517,
        "name": "DIGITAL WAP S.R.L.",
        "reg_com": "J40/7621/2016",
        "address": "București, Sector 3",
        "caen": 4791,
        "is_vat": true,
        "is_vat_on_collection": false,
        "is_efactura": true,
        "register_status": "ÎNREGISTRAT"
    }
}
5.5M
Romanian companies indexed
2005
BNR rates, full history since
16,900
Romanian localities & admin. units
16,500
API requests served

Six APIs, one account.

Companies, exchange rates, geography, IBAN, IP and reference data - everything an application operating in Romania needs.

Companies registered in Romania

Search by CUI/CIF or name: address, CAEN code, VAT status, VAT on collection, e-Invoice, registration status - straight from ANAF and the Trade Register.

GET /RegcomCompanies/view/{cui}.json Try it →

BNR exchange rates

The official National Bank of Romania rate for any currency, with the full history back to 2005.

GET /CurrencyRates/getRate.json Try it →

Romanian geography

Counties, municipalities, cities, communes and villages, with their full administrative hierarchy and coordinates.

GET /GeoEntities/index.json Try it →

IBAN validation

Validity plus a structured breakdown of any IBAN - catch broken account numbers before the payment leaves.

GET /Ibans/verify.json Try it →

IP geolocation

City, country, coordinates, ISP and timezone for any IP address - cached locally for fast answers.

GET /IpAddresses/info.json Try it →

Nomenclatures

Countries, currencies and timezones - the reference lists every registration form needs.

GET /Countries/index.json Docs →

Try it now, no account needed.

Query the live API straight from this page - real responses, no key, no signup. For more examples, please consult the documentation.

Get company info by CUI/CIF (VAT number).

Search for a company by VAT code. E.g.: 36145517.

The official RON exchange rates published by the National Bank of Romania (BNR).

If no value is selected, all coins in the system will be returned.
If value is provided, the most recent date will be returned.

Geolocation details for a given IP address: city, region, country, coordinates, ISP and timezone.

Get info about an IP address.

Validity, structured details and formatted representations for any IBAN.

Validate and get more information about an IBAN. E.g.: RO15INGB0000999905957120.

Select a locality from Romania based on administrative divisions. Every selection below is answered live by the API.

Request
curl 'https://theapi.ro/api/vs1/RegcomCompanies/view/{cui}.json' \
    -H 'Authorization: Bearer {token}'
Response
// Run an example to see the live JSON response here.

You can find more details and examples in the documentation.

Why TheAPI?

Integrate in minutes

Standard REST over HTTPS, responses in JSON or XML, copy-paste examples for every method. One header and you are in:

Authorization: Bearer {token}

Documentation you can run

A public Postman collection you can execute, plus plain-text references at api.md and llms.txt - documentation readable by humans and by your AI.

Security without friction

HTTPS everywhere and JWT tokens valid for 7 days, with optional per-project IP restrictions. No API keys in query strings.

Fast and always fresh

A local cache answers in milliseconds while scheduled jobs keep syncing with the official sources - ANAF daily, BNR every business day. The data is not scraped once a year.

First request in three steps

1

Sign up for free

Create your account for free and get instant access to all platform APIs.

2

Create a project

With your project credentials call the login method to obtain a JWT token:

POST /admins/login.json
3

Call any method

Use the JWT token in all calls that require authentication, as a header:

Authorization: Bearer {token}

Built on TheAPI

Battle-tested: our own products have been running on these endpoints in production since 2016.

ProBill

Invoicing platform: when a client is added, company data is filled in automatically from the CUI - name, address, VAT status.

OneGate

Business platform: BNR exchange rates synced daily for multi-currency pricing.

First request in 5 minutes.

Free during beta - no card required.

Pricing

Simple plans that scale with your request volume. Final pricing will be published when the beta ends - during beta everything is free.

Free

$0/mo

  • 100 requests/mo
  • 1 project
  • XML & JSON
  • Regular email support
  • Help center access

Startup

$10/mo

  • 1k requests/mo
  • 10 projects
  • XML & JSON
  • Priority email support
  • Help center access

Pro

$20/mo

  • 10k requests/mo
  • ∞ projects
  • XML & JSON
  • Priority email support
  • Help center access

Enterprise

$100/mo

  • 100k requests/mo
  • ∞ projects
  • XML & JSON
  • Priority email support
  • Help center access