# Romanian Company Lookup (ANAF) (`fintina-lab/romania-company-lookup`) Actor

Look up Romanian companies by CUI/CIF: name, address, CAEN, VAT status, inactive status, e-Factura. Official ANAF public data.

- **URL**: https://apify.com/fintina-lab/romania-company-lookup.md
- **Developed by:** [Fintina Lab](https://apify.com/fintina-lab) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Romanian Company Lookup (ANAF)

Look up any Romanian company by its tax ID (CUI/CIF) and get clean, structured data straight from ANAF, the
Romanian tax authority: legal name, address, trade-register number, CAEN activity code, VAT status, inactive status,
VAT-on-cash-basis and split-VAT flags.

**Free while in beta. From November 2026: $0.01 per company found.**

### What you can use it for

- **KYC and onboarding:** check that a Romanian customer or supplier exists and is active before you sign.
- **Invoicing:** fill in the legal name, address and VAT status of a Romanian buyer from just their CUI.
- **Lead validation:** clean a list of Romanian companies and drop the inactive or deregistered ones.
- **AI agents:** give an agent reliable Romanian company facts instead of scraped guesses.

### Input

```json
{ "cuis": ["RO2816464", "14399840", "RO 9010105"], "date": "2026-10-22" }
```

- `cuis` (required): CUI/CIF numbers, with or without the `RO` prefix and spaces. Numbers that fail the official
  checksum are reported as invalid and not sent to ANAF.
- `date` (optional): the day the status is checked for. Defaults to today.

### Output (one record per CUI)

```json
{
  "cui": "14399840",
  "found": true,
  "name": "DANTE INTERNATIONAL SA",
  "address": "MUNICIPIUL BUCUREŞTI, SECTOR 2, STR. GARA HERĂSTRĂU, NR.6, ...",
  "county": "MUNICIPIUL BUCUREŞTI",
  "registration_number": "J2002000372404",
  "caen_code": "4754",
  "legal_form": "SOCIETATE COMERCIALĂ PE ACŢIUNI",
  "vat_registered": true,
  "vat_registered_since": "2002-02-01",
  "vat_on_cash_basis": false,
  "inactive": false,
  "e_factura_registered": false,
  "split_vat": false,
  "source_date": "2026-10-22",
  "fetched_at": "2026-10-22T06:27:32+00:00",
  "error": null
}
```

`e_factura_registered` is ANAF's own "RO e-Factura register" flag, as published. Not-found and invalid CUIs come back
with `found: false` and a reason in `error`, so your list stays aligned with the input.

### Limits

- ANAF accepts up to 100 CUIs per request and about 1 request per second; the Actor batches and paces for you, with
  retries on temporary errors. Roughly 5,000 companies a minute at best.
- Data is what ANAF publishes on the day you ask for. No enrichment, no guessing, nothing stored after the run.

### Data source and legal note

Official ANAF public web service, PlatitorTvaRest v9:
https://static.anaf.ro/static/10/Anaf/Informatii_R/Servicii_web/doc_WS_V9.txt

The data is public. Records of sole traders (PFA, II) include a person's name, which is personal data under the GDPR:
use it only for a lawful purpose such as checking a business partner. Not affiliated with ANAF.

# Actor input Schema

## `cuis` (type: `array`):

Romanian company tax IDs (CUI/CIF). Accepted forms: "RO2816464", "2816464", "RO 2816464", or a number. Numbers with a bad checksum are reported as invalid and skipped.

## `date` (type: `string`):

Date for which the VAT/registration status is checked. Defaults to today.

## Actor input object example

```json
{
  "cuis": [
    "RO2816464",
    "14399840",
    "RO 9010105"
  ]
}
```

# Actor output Schema

## `companies` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "cuis": [
        "RO2816464",
        "14399840",
        "RO 9010105"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("fintina-lab/romania-company-lookup").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "cuis": [
        "RO2816464",
        "14399840",
        "RO 9010105",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("fintina-lab/romania-company-lookup").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "cuis": [
    "RO2816464",
    "14399840",
    "RO 9010105"
  ]
}' |
apify call fintina-lab/romania-company-lookup --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,fintina-lab/romania-company-lookup"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/eyexuQG28KlFtxYOj/builds/RA8lKRER5s2NKEM1z/openapi.json
