Catalonia DOGC Legislation Scraper avatar

Catalonia DOGC Legislation Scraper

Pricing

from $3.50 / 1,000 provisions

Go to Apify Store
Catalonia DOGC Legislation Scraper

Catalonia DOGC Legislation Scraper

Get Catalan laws, decrees and orders from the DOGC via the official Generalitat open data API. Catalan and Spanish titles, in force or repealed status, ELI links. Archive since 1977. Filter by keyword, rank and department.

Pricing

from $3.50 / 1,000 provisions

Rating

0.0

(0)

Developer

Roberto Valera Calatrava

Roberto Valera Calatrava

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Categories

Share

Catalonia DOGC Legislation Scraper (Diari Oficial de la Generalitat de Catalunya)

Get Catalan laws, decree-laws, decrees and ministerial orders published in the DOGC (Diari Oficial de la Generalitat de Catalunya), as clean structured data. Everything comes from the official open data API of the Generalitat de Catalunya, updated daily.

Each provision comes with its title in Catalan and Spanish, legal rank, official number, publication date, validity status (in force or repealed) and links to the ELI, HTML, PDF and XML versions in both languages. The archive goes back to 1977 (more than 31,000 provisions).

Normativa catalana del DOGC: lleis, decrets llei, decrets i ordres, en català i castellà, amb vigència i enllaços ELI.

What does Catalonia DOGC Legislation Scraper do?

  • Queries the official open data dataset "Normativa del DOGC i del Portal Jurídic de Catalunya" (no fragile HTML scraping).
  • Returns laws, decree-laws, legislative decrees, decrees and orders from Section 1 of the DOGC (general provisions).
  • Lets you filter by keyword (Catalan or Spanish), legal rank, department, validity and date range.
  • Gives you links to the consolidated latest version on the Portal Jurídic de Catalunya (ELI) and to the original publication in HTML, PDF and XML.

Who is it for?

You are...Use it to...
A law firm or legal department working in CataloniaTrack new Catalan legislation in your practice areas.
A compliance team or company operating in CataloniaGet an alert when the Generalitat regulates your sector (housing, tourism, environment, health...).
A legal tech or AI companyBuild a bilingual corpus of Catalan legislation since 1977.
A consultancy, association or public affairs teamMonitor decrees and orders by department.
A researcher or journalistAnalyse Catalan regulatory activity over time.

How to use it

  1. Click Try for free (or Start).
  2. Optionally enter keywords (Catalan or Spanish), choose legal ranks or department codes.
  3. Choose Days back (default 30) or set a date range.
  4. Click Start and download the results as JSON, CSV, Excel or HTML, or connect an integration.
  1. Save your filters as a Task with Days back = 7.
  2. Add a weekly Schedule.
  3. Connect an integration (Google Sheets, Slack, email, Zapier, Make or a webhook).

Input examples

All new Catalan laws and decree-laws from the last 3 months:

{
"ranks": ["Llei", "Decret llei"],
"daysBack": 90
}

Housing legislation in force (any date), for a legal AI corpus:

{
"keywords": ["habitatge", "vivienda"],
"status": "Vigent",
"startDate": "1977-01-01",
"maxItems": 5000
}

Orders from the Department of Health in 2026:

{
"ranks": ["Ordre"],
"departmentCodes": ["SLT"],
"startDate": "2026-01-01"
}

Input fields

FieldDescription
KeywordsWords to look for in the Catalan or Spanish title (accents ignored).
Exclude keywordsSkip provisions containing these words.
Legal rankLaw, decree-law, legislative decree, decree, order.
Department codesDepartment code in the order number, e.g. SLT (Health), ECF (Economy), JUS (Justice), ARP (Agriculture), EDU (Education), TER (Territory).
ValidityAll, in force (Vigent) or repealed (Derogada).
Days backProvisions published in the last N days (default 30).
Start / end dateOptional publication date range (archive since 1977).
Maximum resultsStop after N provisions.

Output example

{
"id": "26295001",
"titol": "Llei 14/2026, de 21 d'octubre, de les cambres oficials de comerç, indústria, serveis i navegació i del Consell General de les Cambres Oficials de Comerç, Indústria, Serveis i Navegació de Catalunya",
"tituloEs": "Ley 14/2026, de 21 de octubre, de las cámaras oficiales de comercio, industria, servicios y navegación y del Consejo General de las Cámaras Oficiales de Comercio, Industria, Servicios y Navegación de Cataluña",
"rang": "Llei",
"numeroOficial": "14/2026",
"codiDepartament": null,
"dataDocument": "2026-10-21",
"dataPublicacio": "2026-10-23",
"numeroDogc": "9779",
"vigencia": "Vigent",
"derogada": false,
"urlEli": "https://portaljuridic.gencat.cat/eli/es-ct/l/2026/10/21/14",
"urlHtml": "https://portaljuridic.gencat.cat/eli/es-ct/l/2026/10/21/14/dof/cat/html",
"urlPdf": "https://portaljuridic.gencat.cat/eli/es-ct/l/2026/10/21/14/dof/cat/pdf",
"urlXml": "https://portaljuridic.gencat.cat/eli/es-ct/l/2026/10/21/14/dof/cat/xml",
"urlHtmlEs": "https://portaljuridic.gencat.cat/eli/es-ct/l/2026/10/21/14/dof/spa/html",
"urlPdfEs": "https://portaljuridic.gencat.cat/eli/es-ct/l/2026/10/21/14/dof/spa/pdf",
"urlXmlEs": "https://portaljuridic.gencat.cat/eli/es-ct/l/2026/10/21/14/dof/spa/xml"
}

How much does it cost?

You pay only for the provisions you get: $5 per 1,000 results (half a cent per provision), with discounts on Apify's paid plans. Platform usage is included.

Typical useApproximate cost
Weekly alert (~5 new provisions)about $0.03 per week
All 2026 legislation (~200 provisions)about $1
Full archive since 1977 (~31,000 provisions)about $155

Apify's free plan includes monthly credits, so you can try it at no cost.

FAQ

Where does the data come from? From the official open data dataset "Normativa del DOGC i del Portal Jurídic de Catalunya", published by the Generalitat de Catalunya (EADOP) on its open data portal and updated daily.

Which provisions are included? Laws, decree-laws, legislative decrees, decrees and orders from Section 1 of the DOGC (general provisions), in force and repealed, since 5 December 1977. Resolutions, notices and announcements are not included in the source dataset.

Is the full text included? Each item links to the HTML, PDF and XML text in Catalan and Spanish, and to the consolidated latest version on the Portal Jurídic de Catalunya.

Does it include personal data? No. The source dataset only contains general provisions (laws, decrees and orders).

Data source

Data: open data portal of the Generalitat de Catalunya (Dades obertes de Catalunya), dataset "Normativa del DOGC i del Portal Jurídic de Catalunya". Attribution: Entitat Autònoma del Diari Oficial i de Publicacions de la Generalitat de Catalunya (EADOP). Reuse is subject to the portal's terms of use.

This Actor is not affiliated with or endorsed by the Generalitat de Catalunya.

Feedback

Found a bug or need a new field or filter? Open an issue in the Issues tab and it will be looked at quickly.


Resum en català: obtén les lleis, decrets llei, decrets i ordres del DOGC des de l'API oficial de dades obertes de la Generalitat, amb títols en català i castellà, vigència i enllaços ELI. Arxiu des de 1977.

Resumen en español: obtén las leyes, decretos ley, decretos y órdenes del DOGC desde la API oficial de datos abiertos de la Generalitat, con títulos en catalán y castellano, vigencia y enlaces ELI. Archivo desde 1977.