Mobility · Bahia

# Traffic fines in Bahia: DETRAN-BA, authorities and API lookups

How traffic fines work in Bahia, which bodies apply them and how a fleet checks its plates and queries them by API.

![](/img/autores/francisco-orione/photo-240.ff6c48f047e6.webp)By [Francisco Orione](https://apinitro.com/en/authors/francisco-orione/)September 16, 2026

![An urban elevator over a bay with colonial houses and warm lights at blue hour](/img/articulos/br-traffic-fines-br-ba/hero-1200.8481d338a699.webp)

Jurisdiction

State of Bahia · Brazil

Bahia is the largest state of the Northeast: Salvador and its metropolitan region with Camaçari and the industrial pole, Feira de Santana as the crossing of BR-116 and BR-324, the tourist coast from Porto Seguro to the Linha Verde and the agricultural west of Barreiras on BR-242. Infractions are applied by DETRAN-BA in the registry, by Transalvador and the municipal bodies in the cities, by the military police on state roads and by the Federal Highway Police on federal ones.

## Context and authorities

The framework is the [Brazilian Traffic Code](https://www.planalto.gov.br/ccivil_03/leis/l9503compilado.htm), which classifies infractions as minor, medium, serious and very serious with fixed-value fines and points on the driver’s licence; the state DETRAN, the municipal traffic bodies and the Federal Highway Police on federal highways apply them, and [SENATRAN](https://www.gov.br/transportes/pt-br/assuntos/transito/senatran) integrates the national registries. An unpaid fine blocks the annual licensing and the transfer of the vehicle.

DETRAN-BA is the registry body: it enters the infraction against the plate and the RENAVAM and processes the notice, the defence and the appeal; Transalvador enforces the capital with cameras and agents, and Feira de Santana, Vitória da Conquista and Ilhéus have their own municipal bodies. The BR-324 concessionaire and the Federal Highway Police act on federal highways; the annual licensing stays blocked while an overdue fine exists.

## What the API returns for this jurisdiction

In Bahia a plate, with the RENAVAM when the source requires it, is sent to the [Brazil fines API](https://apinitro.com/en/apis/traffic-fines-brazil/), which walks its integrated sources and returns each infraction with the body that recorded it:

-   Issuing body and infraction notice number exactly as the source publishes them.
-   Date, location and infraction code under the traffic code.
-   Value, status (citation, penalty, paid) and points when the source reports them.
-   Coverage per source and a partial-result flag when any failed to answer.

The response splits the result by source and the partial-result flag shows whether any failed to answer; infractions in Bahia are also checked at the DETRAN, as described below.

## How to check a plate in Bahia

To check a plate by hand, the [DETRAN-BA portal](https://www.ba.gov.br/detran/) shows the infractions and the licensing status with the plate and the RENAVAM, and the Carteira Digital de Trânsito app, coordinated by [SENATRAN](https://www.gov.br/transportes/pt-br/assuntos/transito/senatran), concentrates the notices of every body. With ten units that is enough; with a hundred, the API walks the integrated sources by plate and returns the result split by body.

## What to watch if you run a fleet in Bahia

A distribution fleet leaving Camaçari or Feira de Santana for the interior crosses dozens of municipalities and piles up BR-116 camera and municipal-body infractions on plates passing from one driver to another; looking up the plates every month and filing the result per body lets you name the driver while the period is still open.

For a rent-a-car in Salvador or Porto Seguro, the plate lookup at the return of each rental charges the customer the Transalvador or Linha Verde infraction that would otherwise show up at licensing with the points on the company.

## How to integrate

The integration starts with one POST per vehicle, with the jurisdiction as an optional filter. Since sources answer at their own pace, the API accepts the job and delivers the result by status or webhook; store the idempotency key before sending, as the [asynchronous APIs](https://apinitro.com/en/articles/asynchronous-api-retries-without-duplicate-work/) guide describes. The [API page](https://apinitro.com/en/apis/traffic-fines-brazil/) details limits and fields.

JSONIllustrative example, not a contract.

```json
{
  "plate": "ABC1D23",
  "jurisdictions": [
    "BR-BA"
  ]
}
```

## Limits and considerations

-   Infractions on federal highways are recorded by the Federal Highway Police and are checked in the national channels, not at the state DETRAN.
-   Values are those of the traffic code current at the time of payment, with the applicable discount or surcharge; the final amount is set by the body.
-   A source that does not answer is reported as such, never as an absence of infractions.
-   The API neither pays fines nor files defences; it delivers information to decide.

## Sources and further reading

-   [DETRAN-BA — Departamento Estadual de Trânsito](https://www.ba.gov.br/detran/)
-   [SENATRAN — Secretaria Nacional de Trânsito](https://www.gov.br/transportes/pt-br/assuntos/transito/senatran)
-   [Código de Trânsito Brasileiro — Lei 9.503/1997 (Planalto)](https://www.planalto.gov.br/ccivil_03/leis/l9503compilado.htm)

Related API

## [Brazil traffic fines API](https://apinitro.com/en/apis/traffic-fines-brazil/)

Bring Brazilian traffic-fine lookups into vehicle processes and regional operations.

[Ask about this API](https://apinitro.com/en/contact/?api=br.mobility.traffic-fines&ref=article:br-traffic-fines-br-ba)

## Related articles

[![](/img/articulos/br-traffic-fines-br-se/hero-640.2ef2123855f5.webp)

Mobility

## Traffic fines in Sergipe: DETRAN-SE, authorities and API lookups

How traffic fines work in Sergipe, which bodies apply them and how a fleet checks its plates and queries them by API.

Read article ↗](https://apinitro.com/en/articles/traffic-fines-sergipe/)

[

Mobility

## How to assess the quality of a vehicle lookup

A useful vehicle lookup explains what was observed, where and when. These questions help teams turn records into clear product decisions.

Read article ↗](https://apinitro.com/en/articles/vehicle-data-quality/)

[

Integrations

## Asynchronous APIs: retry without duplicating work

A connection can fail after work has already started. Designing around the operation makes recovery clearer for users and integrations.

Read article ↗](https://apinitro.com/en/articles/asynchronous-api-retries-without-duplicate-work/)

[← All articles](https://apinitro.com/en/articles/)
