Data from Romanian public registries for AI agents, over REST and MCP. 15 services. Pay per successful call in prepaid credits: 1 credit = €0.005 (smallest pack), 100 free credits per key. Errors and not-found are never billed.
| Area | Service | Endpoint | Returns | Credits | ≈ EUR |
|---|---|---|---|---|---|
| Companies | Company lookup | GET /v1/company/{cui}MCP lookup_company | ANAF registry data by CUI/VAT id: name, address, status, VAT, e-Factura, BNR EUR/RON | 1 | €0.005 |
| Companies | Financial statements | GET /v1/company/{cui}/financialsMCP get_company_financials | Up to 5 years of filed accounts + ratios (RON) | 5 | €0.025 |
| Companies | Legal representatives (ONRC) | GET /v1/company/{cui}/representativesMCP get_company_representatives | Trade-register status, CAEN codes, representatives (name, role) | 2 | €0.010 |
| Companies | Risk report (KYB) | GET /v1/company/{cui}/risk-reportMCP get_company_risk_report | Status + financials + court cases + registry, score 0-100 with explained flags | 8 | €0.040 |
| Courts | Company court cases | GET /v1/company/{cui}/court-casesMCP get_company_court_cases | Cases where the company is a party (portal.just.ro), summary + list | 3 | €0.015 |
| Courts | Court case by number | GET /v1/court-cases/{caseNumber}MCP get_court_case | Parties, hearings, outcomes, appeals | 1 | €0.005 |
| e-Factura | Validate invoice XML | POST /v1/efactura/validateMCP validate_efactura | validated with ANAF's public validation service (CIUS-RO) + local checks, rule codes | 1 | €0.005 |
| e-Factura | Generate invoice XML | POST /v1/efactura/generateMCP generate_efactura | CIUS-RO UBL from simple JSON; parties auto-filled from CUI; validated with ANAF's public validation service | 2 | €0.010 |
| e-Factura | Parse invoice XML | POST /v1/efactura/parseMCP parse_efactura | UBL Invoice/CreditNote -> English JSON | 1 | €0.005 |
| e-Factura | Invoice PDF | POST /v1/efactura/pdfMCP efactura_to_pdf | rendered with ANAF's public PDF service | 1 | €0.005 |
| Legislation | Search acts | GET /v1/legislation/searchMCP search_legislation | By citation ('Legea 31/1990') or title words | 1 | €0.005 |
| Legislation | Act (in force) | GET /v1/legislation/act/{id}MCP get_legal_act | Current consolidated text, split by article | 1 | €0.005 |
| Legislation | Article (in force) | GET /v1/legislation/act/{id}/article/{n}MCP get_legal_article | One article + dated amendment notes | 1 | €0.005 |
| Legislation | Amendment history | GET /v1/legislation/act/{id}/historyMCP get_legal_act_history | Consolidation dates, dated amendments per article | 2 | €0.010 |
| Legislation | New acts | GET /v1/legislation/newMCP get_new_legal_acts | Acts in force since a date (max 35 days) | 1 | €0.005 |
Packs: €5 = 1,000 credits · €20 = 5,000 · €100 = 30,000. Links: OpenAPI 3.1 · llms.txt · llms-full.txt · /v1/pricing · MCP https://api.howtoromania.io/mcp
1. Try without signup: public demo key htr_demo (20 calls/day per IP; company.lookup, court.case, efactura.validate, efactura.parse, legislation.search, legislation.article, legislation.new).
curl -H "x-api-key: htr_demo" https://api.howtoromania.io/v1/company/14399840
2. Free key, 100 credits, all endpoints (shown once):
curl -X POST https://api.howtoromania.io/v1/keys -H "content-type: application/json" -d '{"email":"you@example.com","accept_terms":true}'
3. Send x-api-key: <key> or Authorization: Bearer <key>. Out of credits → HTTP 402 with checkout links. Balance: GET /v1/me.
Remote server, streamable HTTP: https://api.howtoromania.io/mcp. initialize and tools/list work without a key; tool calls need one. Replace htr_demo with your key.
{
"mcpServers": {
"howtoromania": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://api.howtoromania.io/mcp",
"--header",
"Authorization: Bearer ${HTR_KEY}"
],
"env": {
"HTR_KEY": "htr_demo"
}
}
}
}
Claude.ai / Claude Desktop custom connector: add URL https://api.howtoromania.io/mcp (Settings → Connectors) if your plan supports custom headers; otherwise use the config above.
{
"mcpServers": {
"howtoromania": {
"url": "https://api.howtoromania.io/mcp",
"headers": {
"Authorization": "Bearer htr_demo"
}
}
}
}
{
"mcpServers": {
"howtoromania": {
"type": "streamableHttp",
"url": "https://api.howtoromania.io/mcp",
"headers": {
"Authorization": "Bearer htr_demo"
}
}
}
}
{
"type": "mcp",
"server_label": "howtoromania",
"server_url": "https://api.howtoromania.io/mcp",
"headers": {
"Authorization": "Bearer $HTR_KEY"
},
"require_approval": "never"
}
ChatGPT app (developer mode): add a connector with URL https://api.howtoromania.io/mcp. Custom actions (GPTs): import https://api.howtoromania.io/openapi.json, auth API key header x-api-key.
ANAF registry data by CUI/VAT id: name, address, status, VAT, e-Factura, BNR EUR/RON. MCP tool lookup_company.
curl -H "x-api-key: htr_demo" "https://api.howtoromania.io/v1/company/14399840"
Up to 5 years of filed accounts + ratios (RON). MCP tool get_company_financials.
curl -H "x-api-key: $HTR_KEY" "https://api.howtoromania.io/v1/company/14399840/financials?years=3"
Trade-register status, CAEN codes, representatives (name, role). MCP tool get_company_representatives.
curl -H "x-api-key: $HTR_KEY" "https://api.howtoromania.io/v1/company/14399840/representatives"
Status + financials + court cases + registry, score 0-100 with explained flags. MCP tool get_company_risk_report.
curl -H "x-api-key: $HTR_KEY" "https://api.howtoromania.io/v1/company/14399840/risk-report"
Cases where the company is a party (portal.just.ro), summary + list. MCP tool get_company_court_cases.
curl -H "x-api-key: $HTR_KEY" "https://api.howtoromania.io/v1/company/14399840/court-cases?limit=20"
Parties, hearings, outcomes, appeals. MCP tool get_court_case.
curl -H "x-api-key: htr_demo" "https://api.howtoromania.io/v1/court-cases/9430%2F271%2F2025"
validated with ANAF's public validation service (CIUS-RO) + local checks, rule codes. MCP tool validate_efactura.
curl -X POST -H "x-api-key: htr_demo" -H "content-type: application/xml" --data-binary @invoice.xml https://api.howtoromania.io/v1/efactura/validate
CIUS-RO UBL from simple JSON; parties auto-filled from CUI; validated with ANAF's public validation service. MCP tool generate_efactura.
curl -X POST -H "x-api-key: $HTR_KEY" -H "content-type: application/xml" --data-binary @invoice.xml https://api.howtoromania.io/v1/efactura/generate
UBL Invoice/CreditNote -> English JSON. MCP tool parse_efactura.
curl -X POST -H "x-api-key: htr_demo" -H "content-type: application/xml" --data-binary @invoice.xml https://api.howtoromania.io/v1/efactura/parse
rendered with ANAF's public PDF service. MCP tool efactura_to_pdf.
curl -X POST -H "x-api-key: $HTR_KEY" -H "content-type: application/xml" --data-binary @invoice.xml https://api.howtoromania.io/v1/efactura/pdf
By citation ('Legea 31/1990') or title words. MCP tool search_legislation.
curl -H "x-api-key: htr_demo" "https://api.howtoromania.io/v1/legislation/search?q=Codul%20fiscal"
Current consolidated text, split by article. MCP tool get_legal_act.
curl -H "x-api-key: $HTR_KEY" "https://api.howtoromania.io/v1/legislation/act/171282?limit=5"
One article + dated amendment notes. MCP tool get_legal_article.
curl -H "x-api-key: htr_demo" "https://api.howtoromania.io/v1/legislation/act/171282/article/291"
Consolidation dates, dated amendments per article. MCP tool get_legal_act_history.
curl -H "x-api-key: $HTR_KEY" "https://api.howtoromania.io/v1/legislation/act/171282/history?article=291"
Acts in force since a date (max 35 days). MCP tool get_new_legal_acts.
curl -H "x-api-key: htr_demo" "https://api.howtoromania.io/v1/legislation/new"
curl -X POST -H "x-api-key: $HTR_KEY" -H "content-type: application/json" https://api.howtoromania.io/v1/efactura/generate -d '{"number":"INV-1","seller":{"vatId":"DE123456789","name":"Acme GmbH","street":"Hauptstr 1","city":"Berlin","country":"DE"},"buyer":{"cui":"14399840"},"currency":"EUR","vatToRonRate":5.09,"lines":[{"name":"Consulting","quantity":10,"unitCode":"HUR","unitPrice":120,"vatCategory":"AE","vatRate":0}]}'