---
title: "Mexican Federal Law"
method: POST
path: "/mx/diputados/federal-law/v1"
tags: ["Mexico", "Cámara de Diputados"]
---

# Mexican Federal Law

`POST /mx/diputados/federal-law/v1`

## Request

- Base URL: `https://api.croma.run`
- URL: `https://api.croma.run/mx/diputados/federal-law/v1`
- Auth: HTTP bearer

One Mexican federal law in full by its `law_id`: current consolidated text (PDF/DOC), original DOF publication with its scan, and every reform decree that amended it, newest first, each with its DOF date, headline, documents, and any fe de erratas.

## Headers

- `Idempotency-Key` string

## Request body

- object
  - `law_id` string, required: Law identifier returned by the federal-laws list (`id`).

## Response `200`

Successful response

- DiputadosFederalLawResponse
  - `data` DiputadosFederalLawData, required
    - `found` boolean, required
    - `law_id` string, required
    - `law` object, nullable, required
      - `id` string, required: Slug of the law's reform-history page (e.g. "lic", "cpeum").
      - `name` string, required
      - `abbreviation` string, nullable, required: Official short code (e.g. "LIC") when the library uses one; else null.
      - `publication_date` string, nullable, required: Original DOF publication date.
      - `last_reform_date` string, nullable, required: Null when unreformed, or when the latest entry is a court event.
      - `last_reform_note` string, nullable, required: Verbatim SCJN qualifier when the latest listed event is judicial, not a reform.
      - `status_note` string, nullable, required: Verbatim legal-status annotation: invalidity declarations, pending abrogation, entry into force.
      - `abrogated` boolean, required: True when the library lists the law as abrogated (no longer in force).
      - `reformed` boolean, required
      - `pdf_url` string, nullable, required: Current consolidated text (official documents on diputados.gob.mx).
      - `doc_url` string, nullable, required
      - `original_publication` object, nullable, required
        - `dof_date` string, nullable, required
        - `scan_pdf_url` string, nullable, required: Scan of the original DOF publication.
      - `reforms` object[], required: Reform decrees, newest first.
        - `number` number, nullable, required: Reform ordinal as numbered by the library (newest first, highest number).
        - `dof_date` string, nullable, required
        - `description` string, required: Decree headline ("DECRETO por el que se reforman ...").
        - `pdf_url` string, nullable, required
        - `doc_url` string, nullable, required
        - `errata` object[], required: Fe de erratas published for this decree, if any.
          - `dof_date` string, nullable, required
          - `pdf_url` string, nullable, required
          - `doc_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)
