DOF Mexico Official Gazette & Sanctions Scraper
Scrape Mexico's Diario Oficial de la Federacion (DOF), the official federal gazette, by keyword or date. Extract title, publication date, issuing body, agency, gazette ID, URL and full text for sanctions, insolvency and appointment notices. Export to JSON, CSV or Excel.
{ "title": "Circular por la que se comunica a las dependen…", "publicationDate": "30-07-2014", "organism": "PODER EJECUTIVO", "agency": "SECRETARIA DE LA FUNCION PUBLICA", "gazetteId": 259701, "id": "5354617", "url": "https://sidof.segob.gob.mx/notas/5354617", "edition": "Matutina", "section": "primera" }
Every run returns clean, typed records, ready for your CRM, spreadsheet or database.
- One clean record per result, deduped and normalized
- Stable schema in JSON, CSV or Excel, or read it via the Apify API
- Pay per use in the cloud, nothing to install or maintain
A real example record, exactly the shape you receive.
| Title | Publication Date | Organism | Agency |
|---|---|---|---|
| Circular por la que se comunica a… | 30-07-2014 | PODER EJECUTIVO | SECRETARIA DE LA FUNCION PUBLICA |
| Lineamientos del Servicio de Admi… | 13-06-2012 | ORGANISMOS DESCONCENTRADOS O DESC… | SERVICIO DE ADMINISTRACION Y ENAJ… |
{ "title": "Circular por la que se comunica a las dependen…", "publicationDate": "30-07-2014", "organism": "PODER EJECUTIVO", "agency": "SECRETARIA DE LA FUNCION PUBLICA", "gazetteId": 259701, "id": "5354617", "url": "https://sidof.segob.gob.mx/notas/5354617", "edition": "Matutina", "section": "primera" }
Frequently asked questions
What does this scraper cover and how far back does it go?
It searches the entire public archive of the Diario Oficial de la Federacion, Mexico's official federal gazette. Keyword searches return matching entries across all available years, and date searches let you target a specific publication window.
How many entries can I collect in one run?
You set the limit with Max Items. A keyword like inhabilitacion or concurso returns hundreds to thousands of matching entries, and the scraper pages through them until it reaches your limit.
Can I filter by date or by issuing body?
Yes. Set Date From and Date To (DD-MM-YYYY) to restrict a keyword search to a publication window, and pick an Issuing Body to narrow date searches to a single branch such as the Judicial Branch or Autonomous Bodies. A search term is always required.
How do I get the full text of an entry?
Turn on Fetch Full Content. The scraper then fetches the complete plain-text body of every matching entry and adds it to the content field, at the cost of one extra request per entry.
What happens when a field is not available?
Convocatorias and similar notices have no secondary agency, so the agency field is empty for those entries. When a request fails, the scraper writes a record with an error message instead of dropping it silently.
Ready when you are.
Run the scraper live on Apify right now, or have us build one tailored to exactly what you need.