# Romania New Company Registrations (ONRC) by County & CAEN (`dontknow07/ro-new-companies`) Actor

Fresh lead list of companies newly registered in Romania: name, CUI, registration number, date, county, locality, status and authorized CAEN activities. Filter by date, county, legal form and industry. Official trade register open data (ONRC, CC BY 4.0); natural persons excluded.

- **URL**: https://apify.com/dontknow07/ro-new-companies.md
- **Developed by:** [Paul Purcaras](https://apify.com/dontknow07) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 companies

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## 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

## Romania New Company Registrations (ONRC) by County & CAEN

A fresh list of **companies newly registered in Romania**, straight from the official trade register
(ONRC) open data: name, CUI, registration number, registration date, county, locality, legal form,
status and, if you want, every **authorized CAEN activity**. Filter by date range, county, legal form
and industry.

Built on the ONRC "firme" dataset published on data.gov.ro under **CC BY 4.0**. No scraping, no login,
no proxies. About 4,000 new legal entities are registered in Romania every month.

*Firme noi înființate în România, filtrate după județ, cod CAEN și formă juridică, din datele deschise
ale Registrului Comerțului (ONRC).*

### Who uses it

- **Accountants and payroll firms**: new SRLs in your county need bookkeeping from day one.
- **Banks, fintech, insurers, leasing**: business accounts, POS, policies for new companies.
- **Web agencies, software and telecom vendors**: new companies need a website, e-invoicing (e-Factura), phones.
- **Market research**: how many new companies per county and industry, week by week.
- **Office space, coworking, logistics**: new companies in a city or sector.

Run it weekly or monthly on a schedule; each run returns the companies registered in the period you ask for.

### Input

| Field | Example | Notes |
|---|---|---|
| `daysBack` | `30` | Used when `registeredFrom` is empty. |
| `registeredFrom` / `registeredTo` | `2026-10-01` | Optional exact dates (YYYY-MM-DD). |
| `counties` | `["Cluj", "B", "IF"]` | Names or codes; Bucharest is `B`. Empty = whole country. |
| `caenCodes` | `["62", "4120"]` | Keeps companies authorized for at least one matching activity. New companies use CAEN Rev.3. |
| `legalForms` | `["SRL"]` | Empty = all legal entities. Natural persons are never included. |
| `onlyActive` | `true` | Status includes "funcțiune" (operating). |
| `includeActivities` | `false` | Adds the authorized CAEN activities with names. |
| `maxItems` | `1000` | Newest first. You pay per company returned. |
| `useCache` | `true` | See "Speed and cache". |

```json
{
  "daysBack": 30,
  "counties": ["Bucuresti", "Ilfov"],
  "caenCodes": ["62"],
  "includeActivities": true,
  "maxItems": 500
}
```

### Output

One item per company. Example from a real run:

```json
{
  "cui": 55793132,
  "name": "ROMANENKO SOFTWARE S.R.L.",
  "legalForm": "SRL",
  "registrationNumber": "J2026060652003",
  "euid": "ROONRC.J2026060652003",
  "registeredOn": "2026-11-03",
  "county": "Bucuresti",
  "countyCode": "B",
  "locality": "Bucureşti Sectorul 5",
  "website": null,
  "isActive": true,
  "status": ["funcțiune"],
  "authorizedActivities": [
    {"code": "6210", "rev": 3, "name": "Activități de realizare a soft-ului la comandă (software orientat client)"},
    {"code": "6220", "rev": 3, "name": "Activități de consultanță în tehnologia informației ..."}
  ],
  "authorizedActivityCount": 5,
  "onrcSnapshot": "firme-04-11-2026",
  "snapshotDate": "2026-11-04",
  "source": "Source: Oficiul National al Registrului Comertului (ONRC), data.gov.ro, CC BY 4.0. ..."
}
```

### Freshness

ONRC publishes a new snapshot of the register on data.gov.ro about every two weeks. Each item says
which snapshot it comes from (`onrcSnapshot`, `snapshotDate`). Companies registered after the newest
snapshot appear in the next one. Contact details (email, phone) are not in the register and are not
provided.

### Speed and cache

The register is large (about 1.2 GB across three files) and data.gov.ro serves part of it slowly. The
first run per snapshot reads it (about 1-2 minutes, plus about 4 minutes the first time you ask for
activities or filter by CAEN). With `useCache` on, the companies registered in the last 400 days are kept
in your named key-value store `ro-open-data-cache` (a few MB) until the next snapshot, so later runs take
seconds. Periods older than 400 days are read from the full register.

### Pricing

Pay per result: a small start fee plus a price per company returned (see the Pricing tab). `maxItems`
caps the cost.

### Data and privacy

- Only legal entities (SRL, SA, SNC, SCS, cooperatives, ...). Natural persons and family businesses
  (PF, PFA, II, IF, AF) are removed, and so are street addresses: the output stops at county and locality.
- Legal representatives and shareholders are not read or output.

**Attribution (CC BY 4.0):** Oficiul Național al Registrului Comerțului (ONRC), via data.gov.ro. The
data were filtered and reformatted. Each item carries a `source` field you can keep when you republish it.

### Disclaimer

This is a data tool. If you contact the companies, follow the marketing rules of your country; in
Romania, commercial emails and SMS need the recipient's prior consent (Law 506/2004), companies
included. Phone calls by a person and postal mail are the usual channels.

# Actor input Schema

## `daysBack` (type: `integer`):

Used when 'Registered from' is empty. Counted back from 'Registered to' (default today). The register is published about every 2 weeks, so the newest days may not be in it yet.

## `registeredFrom` (type: `string`):

Optional start date. Overrides 'Registered in the last N days'.

## `registeredTo` (type: `string`):

Optional end date. Empty = today.

## `counties` (type: `array`):

County names or codes: Cluj or CJ, Bucuresti or B, Ilfov or IF. Empty = whole country.

## `caenCodes` (type: `array`):

Keep companies authorized for at least one activity starting with these codes, e.g. 6210, 62, 4120, 56. New companies use CAEN Rev.3 codes. Empty = all activities.

## `legalForms` (type: `array`):

Optional: SRL, SA, SNC, SCS, CA (cooperative), ... Empty = all legal entities. Natural persons (PFA, II, IF) are never included.

## `onlyActive` (type: `boolean`):

Keep only companies whose register status includes 'functiune' (operating).

## `includeActivities` (type: `boolean`):

Adds the list of authorized CAEN activities with their names. The first run per register snapshot then takes ~4 minutes longer (the activity file is large and served slowly); later runs read it from the cache. A CAEN filter reads it anyway.

## `maxItems` (type: `integer`):

Newest first. You pay per company returned.

## `useCache` (type: `boolean`):

Keeps the companies registered in the last 400 days (~5 MB) in your named key-value store 'ro-open-data-cache', refreshed when ONRC publishes a new snapshot. Later runs take seconds. Turn off to read the full register every time.

## `proxyConfiguration` (type: `object`):

data.gov.ro refuses direct connections from Apify's cloud, so the downloads go through Apify Proxy (automatic datacenter IPs, included in every plan). Keep it on.

## `probe` (type: `boolean`):

Debug: test the connection to data.gov.ro directly and through Apify Proxy, save the results, and stop.

## Actor input object example

```json
{
  "daysBack": 14,
  "counties": [
    "Cluj"
  ],
  "onlyActive": true,
  "includeActivities": false,
  "maxItems": 20,
  "useCache": true,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "probe": false
}
```

# Actor output Schema

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

All companies matching the filters, one item per company, from the run's default dataset.

# 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 = {
    "daysBack": 14,
    "counties": [
        "Cluj"
    ],
    "maxItems": 20,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("dontknow07/ro-new-companies").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 = {
    "daysBack": 14,
    "counties": ["Cluj"],
    "maxItems": 20,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("dontknow07/ro-new-companies").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 '{
  "daysBack": 14,
  "counties": [
    "Cluj"
  ],
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call dontknow07/ro-new-companies --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,dontknow07/ro-new-companies"
        }
    }
}
```

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/upPqGFJkWakEID4OZ/builds/9rofQQ1e5HStQ2vuD/openapi.json
