date-firme

Romanian company data for AI agents (ONRC/ANAF): CUI lookup, profile, financials, CAEN benchmark and KYB risk score. Pay per call in USDC via x402.

Hosted MCP Server

npx add-mcp 'https://date-firme.dev-box.ro/mcp'

Installs into Claude Code, Codex, Cursor and more

Documentation

date-firme

Romanian company data API + MCP server for AI agents. Look up any Romanian company (firma: SRL, SA, ...) by name or CUI/CIF (cod fiscal) and get its profile, yearly financial statements (bilant), a KYB risk score (insolventa, faliment, radiere, inactive at ANAF), CAEN industry benchmarks and administrators. Sources: ONRC (trade register) and ANAF. Pay per call with x402 v2 in USDC on base: no account, no API key.

Quick start

  1. Find the CUI: GET https://date-firme.dev-box.ro/v1/search?q=dedeman ($0.002)
  2. Check the company: GET https://date-firme.dev-box.ro/v1/risk/2816464 ($0.02)

An unpaid request returns HTTP 402 with a PAYMENT-REQUIRED header (x402 v2, scheme exact). Sign the payment and repeat the same request with a PAYMENT-SIGNATURE header. You are charged only for 2xx responses. CUI accepts an optional RO prefix.

Paid endpoints (HTTP GET = MCP tool)

  • GET https://date-firme.dev-box.ro/v1/search?q={name|cui} - search_companies - $0.002 - Use when you have a company name and need its CUI.
  • GET https://date-firme.dev-box.ro/v1/risk/{cui} - company_risk - $0.02 - Use before onboarding a supplier/customer, extending credit or paying an invoice: score 0-100, low/medium/high + reasons.
  • GET https://date-firme.dev-box.ro/v1/companies/{cui} - company_profile - $0.005 - Use when you need identity, address, status, VAT (TVA) status, CAEN, legal form, administrators.
  • GET https://date-firme.dev-box.ro/v1/companies/{cui}/financials - company_financials - $0.01 - Use when you need turnover, profit, debt, equity, employees by year (bilant ANAF) + Altman Z' and ratios.
  • GET https://date-firme.dev-box.ro/v1/caen/{code}/comparatie - caen_comparison - $0.02 - Use when you need the top companies of an industry (CAEN code) by turnover.
  • GET https://date-firme.dev-box.ro/v1/admins/{name}/companies - admin_companies - $0.01 - Use when you need the companies a person currently administers.

MCP

  • Endpoint: https://date-firme.dev-box.ro/mcp (Streamable HTTP, JSON responses)
  • Config: {"mcpServers":{"date-firme":{"url":"https://date-firme.dev-box.ro/mcp"}}}
  • Payment over MCP: x402 MCP transport. An unpaid tools/call returns isError with the PaymentRequired object in structuredContent; retry with the signed payment in params._meta["x402/payment"].

Free endpoints

/health, /llms.txt, /llms-full.txt, /openapi.json, /robots.txt, /.well-known/x402, /.well-known/mcp.json, /.well-known/mcp/server-card.json

Docs