Brazil
Presidência da República (Planalto)

Planalto Law

Retrieve one Brazilian federal act by the law_id the search returns (lei-13105-2015, cf-1988): its current consolidated text, whole or one article, its ementa, signature and publication dates, whether it was revoked and by what, a medida provisória's standing and the law it became, the later acts that amended it article by article, and the earlier acts it amended in turn. The text comes back a character range at a time (offset, limit); follow next_offset until has_more is false.

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

post/br/planalto/law/v1

Request

  • Base URL: https://api.croma.run
  • URL: https://api.croma.run/br/planalto/law/v1
  • Auth: HTTP bearer

Headers

Idempotency-Keystring
Example:0f8e9a42-6b7c-4d1e-9a3f-2c5d7e8f9a0b

Optional client-chosen key for this request (any string up to 255 characters, e.g. a UUID). Every Croma operation is an idempotent lookup: repeating a request with the same body returns the same result and creates nothing, so retrying after a timeout or network failure is always safe. The key is echoed back in the Idempotency-Key response header so you can correlate a retry with its first attempt. Each attempt that reaches the API counts against the rate limit.

Request body

law_idstring required

Id del acto, p. ej. lei-13105-2015 o cf-1988, como lo devuelve la búsqueda.

articlestring

Número de un artículo, p. ej. 12, 1.029 u 8-A, para devolver solo ese artículo (opcional).

offsetinteger

First character of the range to return. Pass the previous response's next_offset to continue reading.

limitinteger

Maximum characters to return (1000-1000000).

Response

Successful response

Changes

No recorded changes to this operation across all 1 revision of this API.