Skip to main content
POST
TTA Rulings Search

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 matched against the caption, the case's RUC and RIT, the court, the procedure, the subject, the court's extract and the sentencia's text, e.g. crédito fiscal IVA or avalúo. Every word must appear.

Maximum string length: 300
case_ruc
string
default:""

Optional RUC of the case (rol único de causa), e.g. 13-9-0000546-0. Case and spaces are ignored.

Maximum string length: 30
registration_number
string
default:""

Optional RIT of the case (rol interno del tribunal), e.g. GR-14-00071-2013. Case and spaces are ignored.

Maximum string length: 30
court_id
integer
default:0

Optional court, by its number: 1 Arica y Parinacota, 2 Tarapacá, 3 Antofagasta, 4 Atacama, 6 Coquimbo, 14 Valparaíso, 15 to 18 the first to fourth of the Región Metropolitana, 19 O'Higgins, 7 Maule, 10 Ñuble y Biobío, 8 Araucanía, 11 Los Ríos, 12 Los Lagos, 13 Aysén, 9 Magallanes. 0 searches every court.

Required range: 0 <= x <= 99
agency
enum<string>
default:""

Optional office whose act is challenged: sii (Servicio de Impuestos Internos, tax cases) or sna (Servicio Nacional de Aduanas, customs cases).

Available options:
,
sii,
sna
jurisprudence_only
boolean
default:false

When true, only the sentencias the TTA publishes in its jurisprudence collection (about three in four).

from_date
string<date>
default:""

Optional date filter in yyyy-mm-dd format.

to_date
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:20

Results per page (1-50).

Required range: 1 <= x <= 50

Response

Successful response

data
object
required