The API for Spanish legal and company data
Spanish companies from the BORME, consolidated legislation from the BOE, legal calculators and deadlines, and an assistant that never states anything without linking the article it comes from. One key and one prepaid balance for all of them.
- Data processed in the European Union
- Every fact with its official source
- The cost, in every response
- Balance that never expires
One call, one fact with its source
A key in the header and you are done. Switch language in the tabs: it is the same call, and the response says where each fact comes from and what it cost.
curl "https://api.jurilia.com/v1/dev/empresas?q=acme&provincia=Madrid" \
-H "Authorization: Bearer $JURILIA_API_KEY"const url = new URL("https://api.jurilia.com/v1/dev/empresas");
url.search = new URLSearchParams({"q":"acme","provincia":"Madrid"});
const r = await fetch(url, {
headers: { Authorization: `Bearer ${process.env.JURILIA_API_KEY}` },
});
if (!r.ok) throw new Error(`HTTP ${r.status}`);
console.log(await r.json());import os
import requests
r = requests.get(
"https://api.jurilia.com/v1/dev/empresas",
headers={"Authorization": f"Bearer {os.environ['JURILIA_API_KEY']}"},
params={"q":"acme","provincia":"Madrid"},
timeout=,
)
r.raise_for_status()
print(r.json())Response
{
"tipo": "nombre",
"sugerencia": null,
"empresas": [
{
"id": "1234567",
"denominacion": "ACME SOCIEDAD LIMITADA",
"provincia": "Madrid",
"hoja": "M 167931",
"titular": "sociedad",
"primeraPublicacion": "2010-03-15",
"ultimaPublicacion": "2026-06-02",
"concursalPublicadoEn": null,
"disolucionPublicadaEn": null,
"extincionPublicadaEn": null,
"nombreQueCasa": null
}
]
}The response values are illustrative, to show the exact shape; they are not data from a real query.
Visible cost
Every response carries, in headers, what it cost and your remaining balance.
With sources
Each fact links to the official gazette or article it comes from.
Errors that teach
A code, a message, a suggestion and a link to the fix.
What you can build
Five building blocks with one key and one balance. Use them apart or together: due diligence on a client, a deadline computed in your case manager, a company record in your CRM.
Companies and the Commercial Registry
Record, timeline of filings, officers and links of the companies in the Spanish Commercial Registry, with automatic alerts when they publish something.
See the API →Law library
The consolidated text of the Official State Gazette: an article by its citation, every version with its validity, and the rule as it stood on the day of the facts.
See the API →Legal calculators
Dismissal, severance, default interest, damages scales and more, as pure calculations with a step-by-step trace and the legal basis of every figure.
See the API →Procedural deadlines
Working days with the official calendars: the due date and why it comes out that way.
See the API →Legal assistant
Questions in Spanish with a cited answer, or "not found" when there is no source. Jurilia AI Lex 1.0 in the API; in the app, the in-depth analysis is Jurilia AI Pro Lex 1.0.
See the API →
Built to integrate well
The details that save afternoons of debugging and surprises on the bill.
Every fact with its official source
Nothing without a link to the gazette it comes from. If there is no source, the answer is "not found", not an invention.
The cost in every response
Headers with what the call cost and the remaining balance, and
?estimar=1to know the price before running it.Test mode
iuris_test_keys return fictional data with the exact shape of the real ones: they neither charge nor write.Automatic alerts
Signed webhooks when the Registry publishes an act for the companies you watch, with retries and a delivery log.
Errors that teach
application/problem+jsonresponses with code, message, suggestion and a link to the fix, plus anid_peticionto trace the call.Prepaid balance, no debt
You top up and pay for what you use. With no balance the paid APIs do not answer: debt is never created.
What it offers
What it offers
Jurilia is the legal assistant of a Spanish law firm: it answers by first searching the BOE articles it has loaded, and it states nothing it cannot find. Every citation is checked before it is shown, and if the search finds nothing, it says so instead of making something up.
The developer portal gives access to that same machinery from outside the application: APIs for companies, legislation, calculators, deadlines and the assistant, with a single prepaid balance that is debited according to real use, with no tiers, no packages and no subscription.
The APIs
One key and one balance for all of them.
Spanish company registry API (BORME)
Search Spanish companies by tax ID, sheet or name; get status, capital, officers and latest filing as JSON, gazette linked. 3 cents per query.
See the API →Spanish legislation API
Ask for an article by citation (“ET 59”) on a date; get the consolidated text with its validity and official link. Versions and search. From 2 cents.
See the API →Legal calculators API
Twenty legal calculators by API: dismissal severance, final settlement, child support by CPI, traffic scale… With trace and legal basis. 5 cents each.
See the API →Legal AI assistant API
Ask a question in Spanish and get an answer with checked BOE citations, or “no sources” if there are none. Charged per token, with no flat fee.
See the API →How to start
1. Read the documentation
The reference documents every operation, with parameters, responses and examples (in Spanish).
2. Create your account
An independent developer account: you do not need a Jurilia law-firm account. Mandatory two-factor authentication.
3. Create your key and try it
Everything is paid from a prepaid balance, per call or per token.
4. Top up when needed
Any amount from €10 to €1,000, with no expiry, or automatic top-up. With no balance the paid APIs do not respond (402).
Clear pricing
A prepaid balance you top up with any amount, with no packages, no subscription and no expiry. This is what each piece costs.
- Law library2 cents per article, 3 cents per search
- Legal calculators5 cents per calculation
- Procedural deadlines10 cents per deadline computation
- Companies and the RegistryFrom 3 cents per query
- Legal assistantPer token: €22 per million input tokens and €110 per million output tokens
- Ping, status, balance and cataloguesFree
Top-ups from €10 to €1,000 plus VAT, with optional automatic top-up. Every detail is on the pricing page.
Pricing: prepaid balance
A company profile costs 3 cents; the assistant is charged per token (€22 per million input tokens, €2.20 per million cached input tokens and €110 per million output and reasoning tokens), in fast mode only. All the detail, in Pricing.
Trust by design
An API over public sources and the assistant that reads them. There is no door to a law firm's data.
European Union
Processing happens on servers in the European Union, AI included.
Designed for the GDPR
Personal data is replaced by placeholders before the AI is called, and your data is not used for training.
Log without content
Your call log stores method, route, status, timing and cost. Never the body, the headers or your IP.
Keys under control
Rotate or revoke them instantly, restrict them by IP or network and see the last use of each one.
Security and trust
- Keys with an optional allow-list of IPs or networks (CIDR).
- A limit of 120 calls per minute per key, with the X-RateLimit-Limit/Remaining/Reset headers on every response.
- Company data is public and official: every profile links the BOE gazette it comes from.
Start today
Create your account, make a test key and send your first call in minutes.
Notify me when it opens
If you prefer to wait rather than create an account now, leave your email and we will let you know.