Spain legal data from official sources, structured for AI and legaltech.
Access 309,074+ Spanish laws, regulations, court decisions and regulatory materials from Spanish government, judicial and regulatory institutions across 11 official portals. Search Spanish legal data directly or connect it to your AI agent, legaltech product or research workflow through Lawstronaut's API and MCP server. Every record is linked to its official source and structured in the same format used across more than 150 jurisdictions.
309,074+
Spain legal records
11
official Spanish source portals
11
issuing authorities
Daily
updates
SEE IT ANSWER
Which Spanish law implements the GDPR at national level?
Ley Orgánica 3/2018, de 5 de diciembre, de Protección de Datos Personales y garantía de los derechos digitales (enacted 5 December 2018).
Source: Congreso de los Diputados — congreso.es/constitucion/ficheros/leyes_espa/lo_003_2018.pdf
Retrieved: 2026-06-10 · Version: 1 · Cited in-turn
The official Spanish sources we cover
Lawstronaut collects Spanish legal materials from official government, parliamentary, court, and regulator sources. Each record links back to its original source, with metadata such as issuing authority, publication date, legal link, portal, content type, and version where available.
Source categories: the state gazette and legislation portal · parliament · courts · regulators · government and ministry portals · tax and finance authorities
- Boletín Oficial del Estado (BOE)
- Congreso de los Diputados
- Poder Judicial España
- Tribunal Constitucional de España
- Agencia Española de Protección de Datos (AEPD)
- Agencia Tributaria
- Tribunal de Cuentas
- Government of Spain (La Moncloa)
- Tesoro Público
- administracion.gob.es
Spanish legal source types covered
Spanish legal coverage includes primary legislation, secondary legislation, regulatory materials, court decisions, guidance, enforcement documents, and legislative history where available.
Legislation & Regulations
Leyes orgánicas, leyes ordinarias, reales decretos, reales decretos-ley, órdenes ministeriales, and other official legal instruments, taken directly from the BOE and official publications.
Legislative History
Bills, parliamentary materials from the Congreso de los Diputados, and amendment records where available, version by version, each tied to its source.
Regulatory Guidance & Enforcement
Instructions, resolutions, circulars, consultations, decisions, and enforcement materials from Spanish regulators such as the AEPD and the Agencia Tributaria.
Case Law
Court decisions from official and authoritative Spanish sources, including the Tribunal Constitucional and the Poder Judicial España, where available.
One Spanish legal data layer. Four ways to use it.
Lawstronaut API
Query Spanish laws, regulations, court decisions, regulatory guidance, and enforcement materials through a REST API. Use structured metadata, full text, Markdown, source links, and version history to power legaltech products, compliance workflows, and internal research tools.
GET /v2/contents?iso=ES&limit=20Lawstronaut MCP
Connect ChatGPT, Claude, Gemini, Cursor, and other AI agents to Spanish legal sources. Questions become live searches against the corpus and return citation-ready answers grounded in official Spanish materials — deployable in minutes, with no integration work.
AI Agent Integration
Give your legal AI agent same-turn provenance: it retrieves current Spanish legal materials — official source links, metadata, and full text — before generating an answer, with a citation and timestamp on every response.
Build with Lawstronaut
Build Spanish legal search, monitoring, compliance, research, and legal AI features without crawling, parsing, normalizing, and updating official sources yourself. We handle source discovery, ingestion, normalization, versioning, and change detection; you build the product.
What you can do with Spanish legal data
- Retrieve legal metadata, full text, Markdown, source links, and original source files where available
- Filter by jurisdiction, portal, issuing authority, authority type, language, status, and dates
- Access official legal links for citation and audit trails — citation, timestamp, and source link returned in the same turn
- Track point-in-time versions and article-level changes across Spanish legal materials
- Run Horizon Scanning — track what changed in Spanish law, when, and where, without manual monitoring
- Connect AI agents to official Spanish sources through MCP; use the API for search, monitoring, compliance, and AI ingestion workflows
- Build internal Spanish legal research tools without maintaining your own crawler stack
Why Lawstronaut for Spanish legal research
Spanish legal information is spread across the state gazette, parliament, ministries, regulators, courts, and publication sources. For humans, that means slow research. For AI systems, it's a bigger problem: fragmented source access, inconsistent formats, missing provenance, and weak citation trails.
Lawstronaut turns those sources into one structured legal data layer — source links, metadata, full text, versioning, and API/MCP access. Your product or agent retrieves the legal source directly instead of relying on generic web search or unverified model memory. Every answer carries a citation, a timestamp, and a link to the official document — the provenance that makes a legal research platform defensible to auditors and regulators.
About Spain legal coverage
Spain is a civil-law jurisdiction with a decentralized structure: alongside national law published in the Boletín Oficial del Estado, seventeen autonomous communities hold legislative powers and publish their own official gazettes. Lawstronaut also covers Andalusia, Catalonia, and Madrid as separate jurisdictions. Case law spans the Tribunal Constitucional and the ordinary courts under the Poder Judicial, and regulatory guidance sits with bodies such as the AEPD, the Agencia Tributaria, and the Tribunal de Cuentas. Records are published in Spanish, with some government content available in English.
Spanish law moves quickly: reales decretos-ley amend the statute book frequently, consolidated texts on the BOE change continuously, and EU-derived rules — the GDPR alongside Ley Orgánica 3/2018 (LOPDGDD) — keep evolving. Point-in-time data straight from the source is what keeps a Spanish legal research answer correct today.
Built for
Legaltech companies
Build Spanish legal search, monitoring, drafting, compliance, and AI research features without maintaining your own legal source pipeline.
Compliance & GRC teams
Monitor Spanish regulatory materials, guidance, enforcement updates, and legal changes across official sources — without a manual monitoring rota.
AI builders
Ground legal AI answers in official Spanish legal text, source links, and metadata — answers that survive an auditor.
Internal legal teams
Give lawyers and business users faster access to Spanish legal sources through AI agents and internal tools, without hiring a researcher per jurisdiction.
Frequently asked questions
Related jurisdictions
Portugal
Europe
View jurisdiction →
France
Europe
View jurisdiction →
Italy
Europe
View jurisdiction →
European Union
Europe
View jurisdiction →
Spanish sub-jurisdictions: Andalusia · Catalonia · Madrid
Related products: Lawstronaut API · Lawstronaut MCP · Legal AI agents · Pricing
Start building with Spanish legal data today
Connect your AI to Spain's legislation, regulations, and case law through MCP or the API.

