---
title: "Top active Romanian companies in a CAEN activity code by turnover (competitors, market leaders) ($0.01 per call)"
method: GET
path: "/v1/caen/{code}/comparatie"
tags: ["v1"]
---

# Top active Romanian companies in a CAEN activity code by turnover (competitors, market leaders) ($0.01 per call)

`GET /v1/caen/{code}/comparatie`

## Request

- Base URL: `https://date-firme.dev-box.ro`
- URL: `https://date-firme.dev-box.ro/v1/caen/{code}/comparatie`
- Auth: one of:
  - none
  - HTTP bearer

Romania industry benchmark: ranks active Romanian companies with a given main CAEN code (NACE-based activity code) by turnover (cifra de afaceri) from their latest balance sheet, with employees, net profit and year. Returns top N (5-20, default 15), total with data and, if cui is given and in the top N, its rank (rang_ref). Use when you need market leaders or competitors in a Romanian industry, or to place a company against its peers.

## Path parameters

- `code` string, required

## Query parameters

- `cui` string
- `limit` integer

## Response `200`

- CaenComparatie
  - `caen` string, required
  - `firme` CaenComparatieFirm[], required
    - `activa` boolean, required
    - `an` integer, nullable
    - `angajati` integer, nullable
    - `ca` integer, nullable
    - `cui` integer, required
    - `denumire` string, required
    - `is_ref` boolean, required
    - `judet` string, nullable
    - `localitate` string, nullable
    - `profit` integer, nullable
    - `rank` integer, required
    - `stare` string, nullable
  - `rang_ref` integer, nullable
  - `total` integer, required

## Other responses

- `402`: Payment required (x402 v2). Body = PaymentRequired JSON (also base64-encoded in the PAYMENT-REQUIRED header): x402Version, error, resource {url, description, mimeType}, accepts[] {scheme: exact, network, amount (USDC atomic units, 6 decimals), asset, payTo, maxTimeoutSeconds, extra}, extensions.bazaar. Pay and retry the same request with the PAYMENT-SIGNATURE header.

---

[API](https://skmtc.dev/dev-box/apis/date-firme-api-romanian-company-data-onrc-anaf.md) · [All operations](https://skmtc.dev/dev-box/apis/date-firme-api-romanian-company-data-onrc-anaf/llms.txt) · [OpenAPI document](https://skmtc.dev/dev-box/apis/date-firme-api-romanian-company-data-onrc-anaf/revisions/ef416462a7f8?raw)
