BuscaLicitaçõesBrazilian public tenders in one search

Public API for Brazilian tenders

Query the same database as the site, in JSON, with no key and no sign-up. Fair use: 60 requests per minute per IP. Field names and tender descriptions are in Portuguese.

Search tenders

GET https://www.todaslicitacoes.com.br/api/licitacoes?q=notebook&uf=SP&situacao=abertas
ParameterValuesDescription
qtextKeywords (Portuguese) searched in the description, agency and city
ufstate codeState (SP, RJ, MG…)
municipiotextCity name
modalidade6, 8, 9, 4, 7, 5, 1, 13, 3PNCP method code (6 = electronic reverse auction, 8 = direct award…)
categoriaslugCategory (see /api/categorias)
cnpj14 digitsAgency tax ID
situacaoabertas, encerradas, todasopen, closed or all (default: open)
valorMin / valorMaxnumberEstimated value range, in BRL
ordemrelevancia, prazo, recentes, valor, valor_ascSort order
pagina1 to 2520 results per page

One tender

GET https://www.todaslicitacoes.com.br/licitacao/<slug>.json
GET https://www.todaslicitacoes.com.br/api/licitacao/<id>

Every tender page has a JSON version at the same address plus .json, announced with <link rel="alternate" type="application/json">: agency, description, values, dates, items, documents, source and the date of the agency's last update on the PNCP.

For AI assistants

Terms