Spain legal data from official sources, structured for AI and legaltech.
Access 331,153+ 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.
331,153+
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 (LOPDGDD) — Spain's organic law that implements the GDPR and guarantees digital rights.
Source: Agencia Estatal Boletín Oficial del Estado — https://www.boe.es/buscar/doc.php?id=BOE-A-2018-16673
Retrieved: 2026-10-02 · 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 official state gazette and consolidated legislation · parliament · courts and the judiciary · the Constitutional Court · regulators · tax and finance authorities · government and ministry portals
- Agencia Estatal Boletín Oficial del Estado (boe.es)
- Congreso de los Diputados
- Poder Judicial de España (CGPJ / CENDOJ)
- Tribunal Constitucional de España
- Agencia Española de Protección de Datos (AEPD)
- Agencia Tributaria (AEAT)
- Tribunal de Cuentas
- Gobierno de España (administracion.gob.es)
- Gobierno de España — La Moncloa
- Secretaría General del Tesoro y Financiación Internacional
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-leyes, órdenes ministeriales, and other official instruments, taken directly from the Boletín Oficial del Estado (boe.es) and its consolidated legislation.
Legislative History
Bills (proyectos y proposiciones de ley), parliamentary papers, and amendment records from the Congreso de los Diputados where available, version by version, each tied to its source.
Regulatory Guidance & Enforcement
Resolutions, instructions, guidelines, and enforcement decisions from Spanish regulators such as the Agencia Española de Protección de Datos and the Agencia Tributaria.
Case Law
Court and tribunal decisions from official Spanish sources, including judgments of the Tribunal Constitucional and rulings published through the Poder Judicial (CENDOJ), 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, consolidated legislation, parliament, ministries, regulators, the courts, the Constitutional Court, and the legal frameworks of the autonomous communities. 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. State legislation is published in the Boletín Oficial del Estado (boe.es), which also maintains consolidated texts, while laws are debated and adopted by the Cortes Generales — the Congreso de los Diputados and the Senado. Case law is published through the Poder Judicial and the CENDOJ database, with constitutional rulings issued by the Tribunal Constitucional and leading decisions from the Tribunal Supremo. Regulatory guidance sits with bodies such as the Agencia Española de Protección de Datos and the Agencia Tributaria, with budgetary oversight by the Tribunal de Cuentas. Records are published in Spanish (Castilian), alongside co-official languages in several autonomous communities.
Spanish law moves quickly: the BOE publishes daily, reales decretos-leyes and reforms arrive on short timelines, EU-derived rules — the GDPR alongside the Ley Orgánica 3/2018 (LOPDGDD) — keep evolving, and the autonomous communities legislate in parallel across many fields. 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 autonomous communities covered separately: Andalusia, Catalonia, and 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.

