Documentation Index
Fetch the complete documentation index at: https://docs.judit.io/llms.txt
Use this file to discover all available pages before exploring further.
New CNPJ format (IN 2229/24)Judit already accepts the new alphanumeric CNPJ format in compliance with the Brazilian Federal Revenue Normative Instruction No. 2229/2024.
- Zero effort: no changes are required in your integration.
- Test environment: use the document
A1B2C3D4/E5F6-68to validate the flow and receive a mock lawsuit in response.
🤖 Endpoint:POST https://lawsuits.production.judit.io/lawsuits/synthetic. Synchronous response with aggregated counts. To list each lawsuit, usePOST /lawsuits(Hot Storage). For a simple existence/count, usePOST /lawsuits/count.
When to use
Executive dashboards
Judicial-exposure panels: counts per court, phase, instance, area — without listing every lawsuit.
Quick risk analysis
Onboarding or credit decisions: discover in milliseconds the judicial profile of a counterpart (civil vs. labor vs. tax).
Pre-segmentation
Before deciding between full or sample queries, see the size and distribution of the set.
Periodic reports
Weekly/monthly reports aggregated by portfolio without trafficking large lawsuit volumes.
Step 1: Create the Grouped Query (POST)
POST https://lawsuits.production.judit.io/lawsuits/synthetic
Examples by document type
Payload parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
search.search_type | string | Yes | "cpf", "cnpj", "oab" or "name". |
search.search_key | string | Yes | Value to search. |
search.search_params.filter | object | No | Structural filters — same shape as the historical query. |
Examples with filters
Request example (POST)
Step 2: Read the response
The response is synchronous (HTTP 200) and aggregates the universe across multiple axes.lawsuits_count is the overall total; each axis is an array of { count, value }.
| Axis | What it groups |
|---|---|
classifications | Lawsuit classes (e.g. PROCEDIMENTO COMUM CÍVEL). |
subjects | Lawsuit subjects (e.g. ACIDENTE DE TRÂNSITO). |
areas | Areas of law (e.g. DIREITO CIVIL). |
tribunals | Court acronyms (e.g. TJSP, TRT1). |
justices | Branch (State, Federal, etc.). |
phases | Current procedural phase. |
states | State (UF) where the lawsuit runs. |
instances | Instance (1 or 2). |
sides | Side of the searched party (PASSIVE, ACTIVE, INTERESTED). |
person_types | Party type (REQUERENTE, AUTOR, RÉU, etc.). |
lawsuits_count | Overall total of lawsuits |