Skip to main content
POST
Ley Chile Norm

Authorizations

Authorization
string
header
required

Use Authorization: Bearer YOUR_API_KEY

Headers

Idempotency-Key
string

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.

Maximum string length: 255
Example:

"0f8e9a42-6b7c-4d1e-9a3f-2c5d7e8f9a0b"

Body

application/json
norm_id
string
required

The norm's norm_id from a search result, e.g. 1176603. Its official_url, or its kind and number (Ley 21450, DFL 1, Decreto 100), work too; a kind and number shared by several norms answers the most recent.

Required string length: 1 - 300
offset
integer
default:0

Position of the first part of the text to return (0 is the heading). Pass the previous response's next_offset to read on.

Required range: 0 <= x <= 100000
limit
integer
default:100

How many parts of the text (headings, articles, transitory provisions) to return (1-500).

Required range: 1 <= x <= 500

Response

Successful response

data
object
required