Skip to content

ANTT Toll

Source

ANTT publishes CSV resources and metadata in its official open-data catalogue. Availability depends on year and frequency. Monthly resources exist from 2010; current daily resources cover 2024 onward.

Traffic contract 3.0

The output preserves 13 columns and the published collection modality, tariff category and frequency. Its key is data, concessionaria, praca, sentido, tipo_veiculo, categoria_eixo, tipo_cobranca, frequencia. Collection modalities are not merged. n_eixos requires explicit textual evidence; historical category codes are not universal physical axle counts. Labels come out as published, without outer spaces, and sentido is upper case (Crescente, Crescente and CRESCENTE become CRESCENTE): in the 2023 monthly CSV, total volume and volume per direction do not change.

frequencia="mensal" and "diaria" select separate resource families. The client does not replace a missing frequency with another. The catalogue determines the selected year/revision; bytes, hashes and parsing statistics describe the actual acquisition.

Known source anomalies

In the monthly CSVs, 2020, 2021 and 2023 carry mes_ano values on a day other than 1 (month end, fill series, typing errors; 56, 3,258 and 734 rows), assigned to their month; 2013, 2015 and 2023 carry fractional or negative volumes (4, 3 and 36 rows), which are dropped; ECOSUL December 2021 is published twice with identical rows and counts once. CONCEBRA 2021–2023 publishes daily rows labelled with day 1 of the month, which are summed into the month. Each case raises a warning and is reported in source_details.

Plaza registry

The current registry can supply state, highway and municipality through an unambiguous match of operator and plaza, ignoring case and spaces (accents count; no approximation): Ecosul, as the April 2021 traffic file publishes it, matches the registry's ECOSUL. An operator's former name matches the registry's current name when ANTT publishes the change and the plazas keep their names: CRO (Nova Rota do Oeste), MSVIA (Pantanal), ECO050 (Ecovias Minas Goiás), ECO101 (Ecovias Capixaba), ECOPONTE (Ecovias Ponte), ECORIOMINAS (Ecovias Rio Minas) and AUTOPISTA FERNÃO DIAS (Motiva Minas SP). The concessionaria column comes out as the traffic file publishes it, and geography comes from the plaza: CRO has plazas on BR-163 and BR-364. It does not reconstruct historical geography; in 2023, 35 pairs (CONCEBRA, VIA 040, VIA BAHIA and plazas missing from the registry, such as ECO050's DELTA) remain unlinked. With a state/highway filter, a plaza without that link (15 pairs in GO, MG and PR in 2026) is dropped from the result with a warning. If no plaza in the registry has the requested state/highway, the result is empty with a separate warning that says so, not a transport error. At monthly frequency, inicio and fim use day 1 of the month, and the error names which of the two and the value. The official municipal header supplies municipio; the canonical column takes precedence if both exist. In pracas_pedagio, the municipal column still comes out, with a FutureWarning and a MetaInfo warning, and is dropped in the next major version: use municipio. Registry contract: 2.0.

Transport and budgets

Downloads stream to temporary disk files. CSV: 512 MiB; retained spool: 1 GiB; transferred bytes across attempts: 3 GiB. A session is reused within an acquisition, with no persistent CSV cache. Redirects are rejected; HTTP 200 WAF/maintenance HTML raises SourceUnavailableError. Files are closed on success, failure and cancellation. Parser row/memory limits are documented in the API reference.

Heavy vehicle counts may support transport studies, but do not identify the cargo carried.

Licence and dictionary

CC-BY as declared in CKAN; no authentication is required. See data licences and the official dictionary.