Skip to main content
POST
/
api
/
onrc
/
companies
/onrc/companies
curl --request POST \
  --url https://api.anysite.io/api/onrc/companies \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "cui": 123,
  "timeout": 300
}
'
[
  {
    "cui": 123,
    "name": "<string>",
    "@type": "@onrc_company",
    "reg_com_number": "<string>",
    "status": "<string>",
    "registered_at": "<string>",
    "caen": "<string>",
    "legal_form": "<string>",
    "organization_form": "<string>",
    "ownership_form": "<string>",
    "address": "<string>",
    "phone": "<string>",
    "fax": "<string>",
    "fiscal_authority": "<string>",
    "registered_office_address": {
      "@type": "@onrc_address",
      "street": "<string>",
      "street_number": "<string>",
      "locality": "<string>",
      "county": "<string>",
      "county_code": "<string>",
      "county_plate": "<string>",
      "details": "<string>",
      "postal_code": "<string>",
      "country": "<string>"
    },
    "fiscal_address": {
      "@type": "@onrc_address",
      "street": "<string>",
      "street_number": "<string>",
      "locality": "<string>",
      "county": "<string>",
      "county_code": "<string>",
      "county_plate": "<string>",
      "details": "<string>",
      "postal_code": "<string>",
      "country": "<string>"
    },
    "is_vat_registered": false,
    "vat_periods": [
      {
        "@type": "@onrc_vat_period",
        "start_date": "<string>",
        "end_date": "<string>",
        "message": "<string>"
      }
    ],
    "is_vat_on_collection": false,
    "is_split_vat": false,
    "is_inactive": false,
    "inactivated_at": "<string>",
    "reactivated_at": "<string>",
    "is_e_factura": false
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
cui
integer
required

Romanian fiscal code (CUI). May be sent as an integer or a string; a leading 'RO' VAT prefix is accepted and stripped.

Example:

14837428

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

cui
integer
required
name
string
required
@type
string
default:@onrc_company
reg_com_number
string | null
status
string | null
registered_at
string | null
caen
string | null
organization_form
string | null
ownership_form
string | null
address
string | null
phone
string | null
fax
string | null
fiscal_authority
string | null
registered_office_address
OnrcAddress · object
fiscal_address
OnrcAddress · object
is_vat_registered
boolean
default:false
vat_periods
OnrcVatPeriod · object[]
is_vat_on_collection
boolean
default:false
is_split_vat
boolean
default:false
is_inactive
boolean
default:false
inactivated_at
string | null
reactivated_at
string | null
is_e_factura
boolean
default:false