# Jurisprudencia Tst — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Search and retrieve judicial decisions from Brazil's Superior Labor Court with filters by date, court body, and keywords to access decision summaries, outcomes, and full texts. Quickly find relevant labor law precedents and court rulings to support legal research and case analysis.

**Category:** Government & Public Data | **Website:** [jurisprudencia.tst.jus.br/](https://jurisprudencia.tst.jus.br/) | **Docs:** [parse.bot/marketplace/aa19bb38-544d-44bd-b5da-6cd4be50cab0/jurisprudencia-tst-jus-br-api](https://parse.bot/marketplace/aa19bb38-544d-44bd-b5da-6cd4be50cab0/jurisprudencia-tst-jus-br-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-jurisprudencia-tst-jus-br-api-aa19bb38/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_decision_detail

Retrieve detailed information for a specific TST decision by its unified process number. Returns the full inteiro teor text, ementa, dispositivo, parties, and auto-generated summary. Optional date range and judicial body filters narrow the search when the process number has multiple associated decisions.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `date_end` | string | No | End date to narrow search (YYYY-MM-DD) |
| `date_start` | string | No | Start date to narrow search (YYYY-MM-DD) |
| `orgao_sigla` | string | No | Judicial body sigla to narrow search. Accepted values: CSJT, OE, PLENO, SDC, SDI1, SDI2, SDIPLENA, SESEAD, T1, T2, T3, T4, T5, T6, T7, T8 |
| `process_number` | string | Yes | Process number in unified format (e.g., '0010535-70.2022.5.03.0078') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-jurisprudencia-tst-jus-br-api-aa19bb38/get_decision_detail \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"date_end":"<string>","date_start":"<string>","orgao_sigla":"<string>","process_number":"<string>"}'
```

### list_orgaos_judicantes

List all available judicial bodies (órgãos judicantes) at TST, with their numeric codes and siglas. Use the sigla values as filters in search_decisions and get_decision_detail.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-jurisprudencia-tst-jus-br-api-aa19bb38/list_orgaos_judicantes \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### search_decisions

Full-text search over TST jurisprudence decisions with flexible filters. Supports general query terms (OR logic), exact phrase, ementa-scoped and dispositivo-scoped terms, exclusion terms, judicial body filtering, date ranges, and document type filtering. Paginates via integer page counter. Each decision includes ementa, dispositivo, auto-generated summary, and optionally the full inteiro teor text.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `date_end` | string | No | End date in YYYY-MM-DD format |
| `date_start` | string | No | Start date in YYYY-MM-DD format |
| `dispositivo_term` | string | No | Search within dispositivo |
| `ementa_term` | string | No | Search within ementa |
| `exact_term` | string | No | Exact phrase search |
| `exclude_term` | string | No | Terms to exclude from results |
| `include_full_text` | string | No | Include full inteiro teor text (true/false) |
| `orgao_sigla` | string | No | Judicial body sigla. Accepted values: CSJT, OE, PLENO, SDC, SDI1, SDI2, SDIPLENA, SESEAD, T1, T2, T3, T4, T5, T6, T7, T8 |
| `page` | integer | No | Page number (1-indexed) |
| `page_size` | integer | No | Results per page (max 50) |
| `query` | string | No | General search terms (OR logic) |
| `tipos` | string | No | Document types, comma-separated (default: ACORDAO) |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-jurisprudencia-tst-jus-br-api-aa19bb38/search_decisions \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"date_end":"<string>","date_start":"<string>","dispositivo_term":"<string>","ementa_term":"<string>","exact_term":"<string>","exclude_term":"<string>","include_full_text":"<string>","orgao_sigla":"<string>","page":"<integer>","page_size":"<integer>","query":"<string>","tipos":"<string>"}'
```
