Skip to main content
Everything published in the Diario Oficial de la Federación: decrees, law reforms, and regulator disposiciones across the morning, evening, and extraordinary editions. List a day first, then fetch the full text of any entry you care about. History reaches back to at least 1995.

Publications by date

POST /mx/dof/publications-by-date/v1
Each publication carries id, title, edition, section, page, page_end, branch (e.g. PODER EJECUTIVO), agency, has_pdf, and has_text.
has_text: true means the full text is machine-readable and worth fetching with the lookup below. Entries with has_text: false are scanned images.

One publication

POST /mx/dof/publication/v1
Returns found, publication_id, and publication. The publication carries the day-listing metadata (except the has_* flags), plus sub_agency, content, is_image_only, and official_url. Publications range from a few hundred characters to entire decrees, so the text comes back in ranges under content: text, offset, total_length, has_more, and next_offset. Read content.total_length for the full size, and while content.has_more is true request the next range with offset set to content.next_offset.
Scanned publications return is_image_only: true with content null. The metadata and official_url are still populated.

Full reference

Schemas, response fields, and an interactive playground.