---
title: "Diario Oficial Issues"
method: POST
path: "/co/imprenta/diarios-search/v1"
tags: ["Colombia", "Imprenta Nacional"]
---

# Diario Oficial Issues

`POST /co/imprenta/diarios-search/v1`

## Request

- Base URL: `https://api.croma.run`
- URL: `https://api.croma.run/co/imprenta/diarios-search/v1`
- Auth: HTTP bearer

Browse the Diario Oficial, the gazette where Colombian law takes effect: every issue the Imprenta Nacional lists, from number 23,962 of 2 January 1939 to this week's, by number, edition and publication date.

**Dataset endpoint**: answers from the whole source in milliseconds and carries `as_of`.

## Headers

- `Idempotency-Key` string

## Request body

- object
  - `number` string: Optional Diario Oficial issue number. The thousands separator is ignored, so `53.609` and `53609` match the same issue.
  - `edition` 'any' | 'ordinaria' | 'extraordinaria' | 'especial' | 'oficio_tributario' | 'otra': Edition: `ordinaria` (the daily edition), `extraordinaria`, `especial`, `oficio_tributario`, `otra`, or `any`.
  - `published_from` string, date: Optional date filter in yyyy-mm-dd format.
  - `published_to` string, date: Optional date filter in yyyy-mm-dd format.
  - `page` integer: 1-based page number for paginated results.
  - `per_page` integer: Results per page (1-50).

## Response `200`

Successful response

- ImprentaDiariosResponse
  - `data` ImprentaDiariosData, required
    - `as_of` string, nullable, required: How current the data in this response is.
    - `total` number, required: Matches, counted up to 1000.
    - `total_is_exact` boolean, required: False when more than 1000 match: `total` is then 1000, and the pages go on.
    - `page` number, required
    - `per_page` number, required
    - `total_pages` number, required: Pages over `total`; there are more when `total_is_exact` is false.
    - `count` number, required
    - `number` string, nullable, required
    - `edition` string, nullable, required
    - `published_from` string, nullable, required
    - `published_to` string, nullable, required
    - `results` object[], required
      - `id` string, required: The issue number without its thousands separator, e.g. `53609`. The Imprenta prints the separator on recent issues (`53.609`) and not on older ones (`40254`).
      - `number` string, required: The issue number as the Imprenta prints it, e.g. "53.609" or "40254".
      - `number_key` string, required: The same number with the thousands separator dropped ("53.609" becomes "53609"). Filter on this to match an issue whichever way the caller writes it.
      - `edition` 'ordinaria' | 'extraordinaria' | 'especial' | 'oficio_tributario' | 'otra', required: `ordinaria` (the daily edition), `extraordinaria`, `especial`, `oficio_tributario`, or `otra`. Almost every issue is ordinaria.
      - `published_at` string, nullable, required: `yyyy-mm-dd` the issue was published.
      - `official_url` string, required: The Diario Oficial search, where the issue can be opened by its number.

## 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)
