Skip to main content
POST
SCJN Tesis Browse

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
query
string
default:""

Optional words to match in the title and text of the tesis.

Maximum string length: 300
tesis_type
enum<string>
default:any

Filter by tesis type: binding jurisprudencia, non-binding aislada, or any.

Available options:
any,
jurisprudencia,
aislada
subject
string
default:""

Optional subject filter (e.g. Civil, Constitucional).

Maximum string length: 60
epoch
string
default:""

Optional época number filter (5 through 12).

year
string
default:""

Optional 4-digit year filter.

instance
string
default:""

Optional deciding level, exactly as the source names it (e.g. Suprema Corte de Justicia de la Nación, Tribunales Colegiados de Circuito, Plenos Regionales).

Maximum string length: 80
court
string
default:""

Optional court or chamber, exactly as court reads in results (e.g. Primera Sala, Pleno).

Maximum string length: 200
formation
string
default:""

Optional way the criterion was formed, exactly as the source names it (e.g. Reiteración, Contradicción de criterios (antes contradicción de tesis)).

Maximum string length: 120
published_from
string<date>
default:""

Optional date filter in yyyy-mm-dd format.

published_to
string<date>
default:""

Optional date filter in yyyy-mm-dd format.

updated_after
string<date>
default:""

Optional date filter in yyyy-mm-dd format.

page
integer
default:1

1-based page number for paginated results.

Required range: 1 <= x <= 1000
per_page
integer
default:10

Results per page (1-20). Every result carries the full text of the tesis.

Required range: 1 <= x <= 20

Response

Successful response

data
object
required