# 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 - [Full guide: payment flow, parameters, curl and response examples, limits](https://date-firme.dev-box.ro/llms-full.txt) - [OpenAPI 3.1 with x-payment-info prices](https://date-firme.dev-box.ro/openapi.json) - [x402 discovery](https://date-firme.dev-box.ro/.well-known/x402) - [MCP server card](https://date-firme.dev-box.ro/.well-known/mcp/server-card.json) - [Swagger UI](https://date-firme.dev-box.ro/docs)