Skip to main content
TrackJud TrackJud
TJBA BA ESAJPJE

TJBA

Bahia State Court (TJBA)

Search Bahia state court (TJBA) cases by Brazilian CPF in 60s. Both ESAJ and PJE systems queried in one call, full case history consolidated. Free signup credits.

State
Bahia
Region
Nordeste
Supported systems
ESAJ + PJE
Instances
Trial and appeals

Advertised coverage. Sealed cases are not accessed.

Open official portal

The Bahia State Court (TJBA) is one of the few Brazilian tribunals that keeps TWO systems simultaneously: ESAJ (older cases and some comarcas) and PJE (newer cases and most of the interior). This creates an important peculiarity: complete due diligence on a Bahia-based party requires querying BOTH systems. TJBA covers 417 municipalities and is among the largest Northeast tribunals by volume.

TJBA at a glance

  • Over 3.5 million active cases
  • 417 comarcas covering the entire state of Bahia
  • TWO active systems: ESAJ (legacy) + PJE (new)
  • Around 800 active judges
  • Strong concentration of corporate, agribusiness and family cases
  • Gradual ESAJ→PJE migration still underway in part of the interior

TJBA lawsuit search by CPF

To search TJBA cases by CPF, note that the tribunal runs TWO systems in parallel: ESAJ (esaj.tjba.jus.br) for older cases and some comarcas, and PJE (pje.tjba.jus.br) for newer cases and most of the interior. Complete due diligence requires querying BOTH — a CPF may have cases only on ESAJ, only on PJE, or both. On ESAJ, use /cpopg/open.do (1st) and /cposg/ (2nd) with CAPTCHA. On PJE, "Consulta Pública" without CAPTCHA. Coverage includes all 417 Bahia comarcas (Salvador, Feira de Santana, Vitória da Conquista, Ilhéus, Itabuna, Juazeiro, Barreiras). To avoid fragmentation, the Vigilant API queries BOTH systems in one call and consolidates without duplicates (CNJ-based deduplication).

How to search lawsuits at TJBA

Via the Vigilant API, a single REST call with a CPF returns the court's cases as structured JSON. You can also query through the web dashboard or via Google Sheets.

  1. 1

    Identify the correct system

    If the case is recent (post-2019), it's likely on PJE (pje.tjba.jus.br). If it's old or in a comarca not yet migrated, it's on ESAJ (esaj.tjba.jus.br). When unsure, query BOTH.

  2. 2

    Query TJBA ESAJ

    Open esaj.tjba.jus.br/cpopg/open.do for 1st instance or /cposg/ for 2nd. Use document search (CPF). ESAJ requires CAPTCHA on every query.

  3. 3

    Query TJBA PJE

    Open pje.tjba.jus.br. Choose "Public Search" and look up by CPF. Rarely asks for CAPTCHA. Allows filtering by comarca if needed.

  4. 4

    Consolidate results from both systems

    Cases may appear only in one of the systems — manual consolidation is required. For a unified view, Vigilant queries TJBA ESAJ and PJE in one call and returns combined results in chronological order.

  5. 5

    For bulk due diligence, use Vigilant

    A single API call with "TJBA" in the courts array queries both systems internally and returns structured JSON with no duplicates. Essential for M&A and compliance on Bahia-based companies.

Local quirks & calendar

TJBA suspends deadlines on Bahia state holidays: July 2 (Bahia Independence), plus national ones. The forensic recess follows the standard (Dec 20 to Jan 20). The central peculiarity is the coexistence of ESAJ and PJE — naive scraping grabs only one of them and misses cases. Some interior comarcas (e.g. Feira de Santana, Vitória da Conquista, Ilhéus) migrated to PJE earlier; others still keep ESAJ active.

Manual portal vs Vigilant API

Aspect Manual portal Vigilant API
System coverage Requires 2 searches (ESAJ + PJE) 1 call covers both
Time per query 10-15 min (summing the 2 systems) ~60s
Deduplication Manual Automatic (by CNJ)
Cost Staff cost R$ 0.10 per court (covers both)
Format Mixed HTML Structured consolidated JSON

Who queries TJBA

Related tools

Free utilities to validate CPF, decode CNJ numbers, and more before you call the API.

Related guides

Deeper reading on topics that matter for TJBA queries.

Frequently asked questions about TJBA

Does TJBA use ESAJ or PJE?

Both. It's one of the few Brazilian tribunals that keeps two active systems — ESAJ for legacy cases and comarcas not yet migrated, PJE for new cases and most of the interior. For full due diligence, query both.

How do I know which system a case is on?

By filing date and comarca. Recent cases (post-2019) tend to be on PJE. Older cases remain on ESAJ until full migration. When in doubt, query both — or use Vigilant which unifies them.

Does Vigilant query both TJBA ESAJ and PJE?

Yes — in a single API call. The result comes consolidated (no duplicates by CNJ) and chronologically ordered. You don't need to worry about which system has which case.

How does TJBA handle local holidays?

Suspends deadlines on July 2 (Bahia Independence) and national holidays. Forensic recess follows the standard. Check the [TJBA official calendar](https://www5.tjba.jus.br) before critical deadlines.

How many comarcas does TJBA cover?

417 comarcas across the state, from Salvador to inland cities like Juazeiro, Barreiras and Luís Eduardo Magalhães. A CPF query automatically covers all comarcas.

Is there an official labor-case search on TJBA?

No — labor cases in Bahia are tried at TRT-5 (Regional Labor Court of the 5th Region), a system independent from TJBA. Vigilant covers TJBA but not TRT-5 at this time.

How do I monitor new filings against a CPF on TJBA?

Via Vigilant continuous monitoring — receive alerts when new cases appear in ESAJ or PJE. Frequencies: 6h, 12h, daily, weekly.

What's coming

We are building the future of Vigilant

See what we shipped and what is next — and tell us the feature that would make a difference for you. We prioritize by listening to users.

Labor courts (TRTs)Search by case number (CNJ)Monitoring by CNPJWebhook / API

Integrate TJBA into your workflow

Free sign-up with 5 test credits. OpenAPI 3.1 documentation ready at vigilant.trackjud.com.br/api/docs.