El Salvador
Asamblea Legislativa de El Salvador

Asamblea Legislativa de El Salvador Decrees Search

Search every decree of El Salvador's Asamblea Legislativa. Its register holds the laws, codes and regulations and every other legislative decree, from loan authorizations and tax exemptions to elections of officials and honorary distinctions. Free text matches the title, the Asamblea's summary and the full text. Filter by type (Decreto, Ley, Código, Reglamento), subject, subtopic, area_of_law, number, year and the date the decree was issued (from_date/to_date). Each result carries Croma's copy of the decree's document and links to the record and the document on the Asamblea's own site. Served by Croma (as_of says how current the data is).

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

post/sv/asamblea-sv/decrees-search/v1

Request

  • Base URL: https://api.croma.run
  • URL: https://api.croma.run/sv/asamblea-sv/decrees-search/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

querystring

Optional search terms matched against the decree's title, the Asamblea's summary and the full text.

typestring

Optional kind of act as type names it: Decreto, Ley, Código or Reglamento. Case and accents are ignored.

subjectstring

Optional subject as subject names it, e.g. Hacienda y Presupuesto, Asamblea Legislativa, Seguridad Pública, matched from the start. Case and accents are ignored.

subtopicstring

Optional subtopic as subtopic names it, e.g. Autorizaciones para Préstamos, Exenciones (Franquicias), Distinciones Honoríficas, matched from the start. Case and accents are ignored.

area_of_lawstring

Optional area of law as area_of_law names it, e.g. Derecho Administrativo, Derecho Penal, Derecho Tributario o Fiscal, matched from the start. Case and accents are ignored.

numberstring

Optional decree number, e.g. 632. Numbers restart with each legislature, so combine it with year or dates.

yearinteger

Optional year the Asamblea issued the decree. 0 searches every year.

from_datestring date

Optional date filter in yyyy-mm-dd format.

to_datestring date

Optional date filter in yyyy-mm-dd format.

pageinteger

1-based page number for paginated results.

per_pageinteger

Results per page (1-50).

Response

Successful response

Changes

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