El Salvador
Corte Suprema de Justicia de El Salvador

Corte Suprema de Justicia de El Salvador Rulings Search

Search the jurisprudencia the Corte Suprema de Justicia de El Salvador publishes: every resolution since 1951 from the Corte Plena and its Salas to the Cámaras, Tribunales de Sentencia and Juzgados. Free text matches the reference number, the court, the decision, the facts, the headnotes and the full text. Filter by court_type, court, subject (the area of law), proceeding_type, type (the kind of resolution), crime, registration_number (the reference number), year and the ruling date (from_date/to_date). Each result carries the original document, kept by Croma, and links to the record and the document on the court'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/csj-sv/rulings-search/v1

Request

  • Base URL: https://api.croma.run
  • URL: https://api.croma.run/sv/csj-sv/rulings-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 reference number, the court, the decision, the facts, the headnotes and the full text.

court_type'' | 'corte_plena' | 'sala' | 'camara' | 'tribunal_de_sentencia' | 'juzgado'

Optional level of the court: corte_plena, sala (the Salas of the Corte Suprema), camara (the second-instance Cámaras), tribunal_de_sentencia or juzgado.

courtstring

Optional court as court names it, e.g. Sala de lo Constitucional, matched from the start of the name. Case and accents are ignored.

subjectstring

Optional area of law as subject names it, e.g. Penal, Familia, Civil y Mercantil, Constitucional, Laboral, matched from the start. Case and accents are ignored.

proceeding_typestring

Optional kind of proceeding as proceeding_type names it, e.g. Amparo, Hábeas corpus, Inconstitucionalidad, matched from the start. Case and accents are ignored.

typestring

Optional kind of resolution as type names it, e.g. Sentencias definitivas, Interlocutorias, Improcedencias, matched from the start. Case and accents are ignored.

crimestring

Optional crime as it appears in crimes, e.g. Homicidio agravado, matched in full. Case and accents are ignored.

registration_numberstring

Optional reference number (N°) as the court prints it, e.g. 49COMP2026 or 86-CAC-2026. Returns every resolution of that reference. Case, spaces and punctuation are ignored.

yearinteger

Optional year of the resolution. 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.