PNCP API – Brazil Public Tenders (Licitações) Scraper avatar

PNCP API – Brazil Public Tenders (Licitações) Scraper

Pricing

from $3.00 / 1,000 tender delivereds

Go to Apify Store
PNCP API – Brazil Public Tenders (Licitações) Scraper

PNCP API – Brazil Public Tenders (Licitações) Scraper

Search Brazilian public tenders (licitações) from the official PNCP API by keyword (accent-insensitive), state, city, modality and estimated value. Monitor mode returns only new tenders since the last run. Clean JSON with official links.

Pricing

from $3.00 / 1,000 tender delivereds

Rating

0.0

(0)

Developer

Brasil Data

Brasil Data

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

19 days ago

Last modified

Features

Limited permissions

Share

Search and monitor Brazilian public tenders (licitações) published in the PNCP – Portal Nacional de Contratações Públicas, the official national procurement portal created by Brazil's procurement law (Lei 14.133/2021). Federal, state and municipal buyers must publish their tenders there.

What does it do?

The official PNCP API has no keyword search, requires one query per modality and paginates in blocks of 50. This Actor does the tedious part for you:

  • Keyword search in the tender object, case- and accent-insensitive (manutencao finds MANUTENÇÃO), whole words, singular/plural, constru* prefix search.
  • Filters: states (UF), IBGE municipality codes, official modality codes, publication window, estimated value range (BRL), only tenders still open for proposals.
  • Monitor mode: give it a monitor_id, schedule it daily, and it returns only tenders that are new since the last run (deduplicated by the PNCP control number).
  • Clean JSON in English snake_case, money as decimal strings (never floats), ISO 8601 dates, direct link to the official tender page and (optionally) to every tender document.
  • Personal data protection (Brazil's LGPD): CPF numbers of natural persons are removed from the output.

It runs without any configuration: with an empty input it lists the newest tenders still open for proposals across Brazil (published in the last 3 days, up to 100). In the Console the form comes prefilled with the keyword software and 10 results.

Who is it for?

  • Companies and consultants that sell to the Brazilian government and need daily tender alerts by theme.
  • Developers and data teams building procurement dashboards, lead lists or market studies.
  • AI agents that need fresh, structured Brazilian procurement data (see Use with AI agents).

Input example

{
"mode": "search",
"keywords": ["software", "licença de uso"],
"states": ["SP", "MG"],
"modalities": ["6", "4"],
"only_open_for_proposals": true,
"last_n_days": 7,
"min_estimated_value_brl": 50000,
"max_results": 200
}

Monitor (schedule it once a day in Apify Schedules):

{
"mode": "monitor",
"monitor_id": "software-sp",
"keywords": ["software"],
"states": ["SP"],
"last_n_days": 3
}
FieldDescription
modesearch (default) or monitor
monitor_idRequired in monitor mode; each ID keeps its own memory of delivered tenders
keywordsWords searched in the tender object; any keyword matches; empty = no keyword filter
only_open_for_proposalsDefault true: only tenders whose proposal deadline is in the future (fast path). false searches the publication history (one API query per modality, slower)
statesUF codes (SP, RJ...)
municipality_ibge_codes7-digit IBGE codes; overrides states
modalitiesOfficial PNCP codes: 1 Leilão Eletrônico, 2 Diálogo Competitivo, 3 Concurso, 4 Concorrência Eletrônica, 5 Concorrência Presencial, 6 Pregão Eletrônico, 7 Pregão Presencial, 8 Dispensa, 9 Inexigibilidade, 10 Manifestação de Interesse, 11 Pré-qualificação, 12 Credenciamento, 13 Leilão Presencial, 14 Inaplicabilidade, 15 Chamada Pública, 16-19 international Concorrência/Pregão
last_n_days / published_from / published_toPublication window (Brasília time), 1 to 365 days per run. Default: last 3 days
min_estimated_value_brl / max_estimated_value_brlEstimated total value range; tenders without a public estimate are excluded when set
max_resultsMax tenders delivered (and charged) per run. Default 100
include_file_linksAlso list the tender documents with download URLs (1 extra request per tender)
max_pagesSafety limit of API pages (50 records each) per run

Output example

One dataset item per tender (real record, shortened):

{
"pncp_control_number": "04005179000120-1-000076/2026",
"title": "Edital 60/2026",
"object": "REGISTRO DE PREÇOS PARA EVENTUAL AQUISIÇÃO DE MATERIAIS ELÉTRICOS, DUTOS E TUBOS DE CONCRETO ARMADO...",
"matched_keywords": ["aquisicao"],
"buyer_cnpj": "04005179000120",
"buyer_name": "MUNICIPIO DE FEIJO",
"buyer_sphere": "Municipal",
"state": "AC",
"municipality": "Feijó",
"municipality_ibge_code": "1200302",
"modality_code": 6,
"modality_name": "Pregão - Eletrônico",
"modality_name_en": "Electronic reverse auction (pregão)",
"estimated_value_brl": "16859395.35",
"currency": "BRL",
"published_at": "2026-10-23T20:52:31-03:00",
"proposals_open_at": "2026-10-27T10:00:00-03:00",
"proposals_close_at": "2026-11-10T10:00:00-03:00",
"status": "Divulgada no PNCP",
"open_for_proposals": true,
"tender_url": "https://pncp.gov.br/app/editais/04005179000120/2026/76",
"files_api_url": "https://pncp.gov.br/api/pncp/v1/orgaos/04005179000120/compras/2026/76/arquivos",
"files": [{"title": "10. EDITAL ATUALIZADO retificado.pdf", "document_type": "Edital", "url": "https://pncp.gov.br/pncp-api/v1/orgaos/04005179000120/compras/2026/76/arquivos/1"}],
"source_url": "https://pncp.gov.br/api/consulta/v1/orgaos/04005179000120/compras/2026/76",
"source_name": "PNCP - Portal Nacional de Contratações Públicas (Brazil, Lei 14.133/2021)",
"retrieved_at": "2026-10-25T03:10:19Z",
"data_license": "Brazilian open government data (Lei 14.133/2021 art. 174 §4; Decreto 8.777/2016 art. 4)"
}

Other fields: additional_info, buyer_power, buying_unit_code/name, dispute_mode, instrument_type, purchase_number, process_number, is_price_registration, legal_basis, awarded_value_brl, updated_at, status_code, origin_system_url, electronic_process_url, terms_note.

A run summary is saved as OUTPUT in the run's key-value store (status, stop_reason, delivered, records_scanned, pages_fetched, warnings).

How much does it cost?

Pay per event. You pay only for what the Actor delivers; Apify platform compute is included in these prices.

EventPriceWhen
apify-actor-startUSD 0.00005once per run (per GB of memory; default 1 GB)
tender-resultUSD 0.003per tender delivered to the dataset
monitor-new-tendersUSD 0.02once per monitor run that found at least one new tender

You are never charged per tender for empty runs, errors, source outages or tenders a monitor already delivered. Examples:

  • 10 tenders: about USD 0.03
  • 100 tenders: about USD 0.30
  • Daily monitor with 5 new tenders: about USD 0.035/day (about USD 1/month)
  • Monitor run with no news: USD 0.00005

The Actor stops as soon as the maximum charge per run that you set is reached. Apify's free plan includes monthly credit that covers small tests.

Integrations: API, n8n, Make, Zapier

  • API: one HTTP call runs the Actor and returns the tenders as JSON: POST https://api.apify.com/v2/acts/brasil-data~brazil-public-tenders-radar/run-sync-get-dataset-items with your Apify token in the Authorization: Bearer header and the input JSON as the body.
  • n8n: use the official Apify node, operation Run an Actor and get dataset, Actor brasil-data/brazil-public-tenders-radar. Put a Schedule Trigger in front of it with mode: "monitor" to send new tenders to Slack, e-mail, Google Sheets or a CRM.
  • Make and Zapier: use the Apify app (Run an Actor, then Get dataset items), or trigger your scenario when an Apify Schedule run finishes.

Use with AI agents (MCP)

Every Apify Actor is available to AI agents through the Apify MCP server. Add https://mcp.apify.com?tools=brasil-data/brazil-public-tenders-radar to Claude, ChatGPT, Cursor or any MCP client and the agent gets this Actor as a tool. It can send a plain JSON input such as {"keywords": ["software"], "states": ["SP"], "max_results": 20} and receive structured tenders with stable English field names, decimal-string money and official links, ready for summarising, ranking or alerting. Monitor mode with a fixed monitor_id lets an agent ask "what is new since yesterday?" without keeping its own memory.

Limitations (please read)

  • Only what is in the PNCP. Tenders that a buyer publishes only on its own portal or on another platform and not in the PNCP will not appear. Older processes under the previous procurement laws may be missing.
  • Keywords match the tender object (objeto) only, not the content of the PDF documents. Pick words that a buyer would put in the object description.
  • Plural handling applies to the last word of each keyword (material de limpeza does not match materiais de limpeza; add both forms if needed).
  • Speed depends on the PNCP API, which allows roughly one request every 1.6-2 seconds (50 tenders per request). A nationwide history scan over many days (only_open_for_proposals: false) can take several minutes. Use states, modalities and the default open-for-proposals mode to keep runs fast.
  • Estimated values can be missing (confidential budget). When you set a value filter, those tenders are excluded.
  • Monitor mode keeps the delivered IDs for 180 days (up to 50,000 per monitor_id) in a named key-value store of your own account (pncp-tenders-radar-monitor). Tenders not delivered (for example because max_results was reached) are not marked as seen.
  • Times are Brasília time (UTC-03:00), as published by the PNCP. Results come newest first.
  • If the PNCP API is down, the run ends with a clear status message and no per-tender charge.
  • This is a data tool. It does not submit bids, read bid results or give legal advice.

Source, license and terms

  • Source: official PNCP public consultation API — https://pncp.gov.br/api/consulta (Swagger: https://pncp.gov.br/api/consulta/swagger-ui/index.html), no login, no captcha.
  • License: Brazilian open government data. Lei 14.133/2021, art. 174 §4 (the PNCP adopts the open data format) and Decreto 8.777/2016 (open data may be freely used, including commercially, limited to crediting the source). Attribution: Fonte: PNCP – Portal Nacional de Contratações Públicas.
  • This Actor is independent and is not affiliated with or endorsed by the Brazilian government.

Em português

API do PNCP: busca e alerta de licitações. Este Actor busca e monitora licitações e contratações públicas publicadas no Portal Nacional de Contratações Públicas (Lei 14.133/2021), usando a API oficial de consulta. Roda sem configurar nada: com a entrada vazia, lista as licitações com proposta em aberto publicadas nos últimos 3 dias no Brasil (até 100).

Para quem: empresas e consultores que vendem para o governo, equipes de dados que montam painéis ou listas de oportunidades, e agentes de IA que precisam de licitações em JSON.

O que faz:

  • Busca por palavra-chave no objeto da compra, sem diferenciar acento ou maiúscula (manutencao encontra MANUTENÇÃO), com singular/plural e prefixo (constru*).
  • Filtros por UF, código IBGE do município, modalidade oficial, período de publicação, faixa de valor estimado e somente propostas em aberto.
  • Modo monitor: escolha um monitor_id, agende a execução diária e receba só os editais novos desde a última execução.
  • Valores em string decimal, datas ISO 8601 (horário de Brasília), link oficial do edital e, se quiser, dos arquivos.
  • LGPD: CPF de pessoa física é removido da saída.

Exemplo de entrada: {"keywords": ["software"], "states": ["SP"], "max_results": 20}. A saída é um item por edital, como no exemplo acima (número de controle PNCP, órgão, município, modalidade, valor estimado, prazos de proposta e link oficial).

Quanto custa: US$ 0,003 por edital entregue; US$ 0,02 por execução de monitor que encontrou novidade; US$ 0,00005 por execução iniciada. Exemplo: 100 editais ≈ US$ 0,30. Execução vazia ou com erro não cobra por edital.

Integração: API da Apify (uma chamada run-sync-get-dataset-items), nó oficial da Apify no n8n, app da Apify no Make e no Zapier, e MCP (https://mcp.apify.com?tools=brasil-data/brazil-public-tenders-radar) para Claude, ChatGPT e Cursor.

Limitações: só aparece o que está no PNCP; a palavra-chave é buscada no objeto, não dentro do PDF do edital; a API oficial é lenta (cerca de 1 consulta a cada 2 s), então buscas no histórico do país inteiro podem levar minutos; editais com orçamento sigiloso não têm valor estimado. Não envia proposta nem dá parecer jurídico.

Fonte: PNCP, dados abertos (Lei 14.133/2021, art. 174 §4; Decreto 8.777/2016). Ferramenta independente, sem vínculo com o governo.