Romanian legislation API
Search Romanian laws by citation ("Legea 31/1990") or title, read the consolidated text in force article by article, see when each article was amended, and list acts that entered into force recently. Source: legislatie.just.ro.
curl example
curl -H "x-api-key: htr_demo" "https://api.howtoromania.io/v1/legislation/search?q=Codul%20fiscal"
curl -H "x-api-key: htr_demo" "https://api.howtoromania.io/v1/legislation/act/171282/article/291"
Free key: curl -X POST https://api.howtoromania.io/v1/keys -H "content-type: application/json" -d '{"email":"you@example.com","accept_terms":true}'
MCP example
{ "mcpServers": { "howtoromania": { "url": "https://api.howtoromania.io/mcp", "headers": { "Authorization": "Bearer htr_demo" } } } }
Ask your agent: “What VAT rates apply in Romania today per Codul fiscal art. 291, and when did they last change?”
Endpoints and prices
| Service | Endpoint | Credits | ≈ EUR |
|---|---|---|---|
| Search acts By citation ('Legea 31/1990') or title words | GET /v1/legislation/searchMCP search_legislation | 1 | €0.005 |
| Act (in force) Current consolidated text, split by article | GET /v1/legislation/act/{id}MCP get_legal_act | 1 | €0.005 |
| Article (in force) One article + dated amendment notes | GET /v1/legislation/act/{id}/article/{n}MCP get_legal_article | 1 | €0.005 |
| Amendment history Consolidation dates, dated amendments per article | GET /v1/legislation/act/{id}/historyMCP get_legal_act_history | 2 | €0.010 |
| New acts Acts in force since a date (max 35 days) | GET /v1/legislation/newMCP get_new_legal_acts | 1 | €0.005 |
Prepaid packs (VAT included): €5 = 1,000 · €20 = 5,000 · €100 = 30,000 credits. 100 free credits per key, no contract.
Why HowToRomania
- English JSON, ready for code and AI agents
- Companies, court cases, e-Factura and legislation in force in one API
- REST and a remote MCP server with the same key
- Pay per call (1 credit = €0.005), no contract; errors are not billed
- 100 free credits on every key
- Volume subscriptions available on request: hello@howtoromania.io.
FAQ
Is the text translated?
Metadata and structure are English JSON; the legal text itself stays in Romanian, as published.
Is it legal advice?
No. It is informational; only texts published in Monitorul Oficial are authentic.
How much does it cost?
Pay per successful call in credits (1 credit = €0.005). Every key gets 100 free credits. Packs: €5 = 1,000 credits, €20 = 5,000 credits, €100 = 30,000 credits. Prepaid, no contract; errors and not-found are not billed.
Can I try it without signing up?
Yes. The demo key htr_demo works on 1-credit endpoints with a small daily limit per IP. A free key with 100 credits is one POST to /v1/keys.
Is this an official ANAF or government service?
No. HowToRomania is an independent service that reads public sources (ANAF, ONRC open data, BNR, portal.just.ro, legislatie.just.ro) and returns them as English JSON. It is not affiliated with or endorsed by any public authority. Information only; not legal or credit advice.