---
title: "DOF Publications by Date"
method: POST
path: "/mx/dof/publications-by-date/v1"
tags: ["Mexico", "DOF"]
---

# DOF Publications by Date

`POST /mx/dof/publications-by-date/v1`

## Request

- Base URL: `https://api.croma.run`
- URL: `https://api.croma.run/mx/dof/publications-by-date/v1`
- Auth: HTTP bearer

Everything published in Mexico's official federal gazette (Diario Oficial de la Federación) on a given date: decrees, law reforms, and regulator disposiciones across the morning, evening, and extraordinary editions, each with its issuing branch and agency. The gazette is organised by day, so a date is the only way in; it publishes the decree that created or amended a law, never the consolidated current text of one. For that, use `diputados-federal-law`. The index reaches back to 1917, while machine-readable text starts with the 1973 volume: `has_text: true` marks publications retrievable with `dof-publication`, and every entry carries `scan_url` for the official scanned page.

## Headers

- `Idempotency-Key` string

## Request body

- object
  - `date` string, date, required: Gazette date (yyyy-mm-dd). The index reaches back to 1917; machine-readable text starts with the 1973 volume, and earlier publications are served as scans.

## Response `200`

Successful response

- DofPublicationsByDateResponse
  - `data` DofPublicationsByDateData, required
    - `date` string, required
    - `published` boolean, required: False on days with no gazette (weekends/holidays).
    - `total` number, required
    - `publications` object[], required
      - `id` string, required
      - `title` string, nullable, required: Null on agency section-header entries; regular notes carry one.
      - `edition` 'morning' | 'evening' | 'extraordinary', required
      - `section` string, nullable, required
      - `page` number, nullable, required
      - `page_end` number, nullable, required: Last page when the entry spans several; null for one-page entries.
      - `branch` string, nullable, required: Gazette section heading, a stable 8-value vocabulary (e.g. "PODER EJECUTIVO").
      - `agency` string, nullable, required: Publishing agency (e.g. "SECRETARIA DE HACIENDA Y CREDITO PUBLICO").
      - `has_text` boolean, required: Whether the full text is machine-readable (fetch the publication endpoint).
      - `has_pdf` boolean, required
      - `scan_url` string, nullable, required

## Other responses

- `400`: Invalid request body
- `401`: Missing or invalid API key
- `429`: Rate limit exceeded
- `500`: Internal error
- `502`: Upstream source returned an error

---

[API](https://skmtc.dev/usecroma/apis/croma-marketplace-api.md) · [All operations](https://skmtc.dev/usecroma/apis/croma-marketplace-api/llms.txt) · [OpenAPI document](https://skmtc.dev/usecroma/apis/croma-marketplace-api/revisions/df016cdb29d7?raw)
