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

# Mexican Federal Laws

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

## Request

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

The Cámara de Diputados catalog of federal laws and codes (315+), each with its official name, abbreviation, original DOF publication date, most recent reform date, consolidated PDF/DOC text, and whether it is still in force. Optional `query` filters by name or abbreviation. Paged, 100 per page; drill into one with `diputados-federal-law`.

## Headers

- `Idempotency-Key` string

## Request body

- object
  - `query` string: Optional name filter (case- and accent-insensitive substring).
  - `page` integer: 1-based page number for paginated results.

## Response `200`

Successful response

- DiputadosFederalLawsResponse
  - `data` DiputadosFederalLawsData, required
    - `laws` object[], 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
    - `pagination` object, required
      - `total` number, required
      - `page_size` number, required
      - `total_pages` number, required
      - `page` number, 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/74c745980c60?raw)
