Brazil Government Contracts Check - CNPJ Contract Scraper
Pricing
$10.00 / 1,000 per contract founds
Brazil Government Contracts Check - CNPJ Contract Scraper
Check Brazilian companies by CNPJ for active and historical federal government contracts. Get contract values, dates, status, procurement method, contracting agencies and supplier details for KYB, compliance, due diligence and supplier screening via Batch or Standby API.
Pricing
$10.00 / 1,000 per contract founds
Rating
5.0
(1)
Developer
BrasilDados.org - Hub de APIs de Dados do Brasil
Maintained by CommunityActor stats
2
Bookmarked
7
Total users
3
Monthly active users
4 hours ago
Last modified
Categories
Share
Federal Government Contracts by CNPJ — Brazil
Look up active and historical federal government contracts for Brazilian companies by CNPJ. Each contract found becomes one row in the Dataset.
Pricing: US$0.01 per contract delivered. The same company with 10 contracts = 10 rows = 10 charges. Invalid CNPJs or CNPJs with no contracts produce no row and no charge.
What this Actor does
- Looks up federal government contracts by CNPJ
- Accepts one or many CNPJs (with or without punctuation)
- Deduplicates input CNPJs
- Delivers both active and historical contracts
- One row per contract, identical to the public source (unmasked, no fields omitted)
- Supports batch lookups and Standby (on-demand API) mode for integrations
Use cases
- KYB (Know Your Business), compliance, and due diligence checks on Brazilian suppliers or partners
- Supplier and vendor screening before onboarding
- Batch monitoring of multiple CNPJs for new or updated government contracts
- Feeding procurement risk analysis or public-spending research tools
Input
| Field | Required | Default | Description |
|---|---|---|---|
cnpjs | Yes | sample | List of CNPJs. Up to 1,000. Invalid items are skipped. |
maxContractsPerCnpj | No | 5 | Cap on contracts per CNPJ (1–500). Each contract delivered is still one charge. |
{"cnpjs": ["33.000.167/0001-01"],"maxContractsPerCnpj": 5}
Output
Each contract actually delivered takes one row in the Dataset, with all fields from the public source, unmasked. Nested 1:1 objects from the source (fornecedor / supplier, unidadeGestora / managing unit, compra / purchase) stay nested. Ten contracts for the same company = ten rows, not a single contratos[] array.
Pricing: US$0.01 per contract. 10 contracts for the same company = 10 rows = 10 charges.
Sample output row (real run output, unmasked):
{"id": 4759147,"numero": "000002018","objeto": "Objeto: CONCESSÃO DE USO DAS ÁREAS A, B, C E D EM FAVOR DA CONCESSIONÁRIA, PARA MANTER INSTALADO O CENTRO DE PESQUISAS E DESENVOLVIMENTO LEOPOLDO A. MIGUEZ DE MELLO, DORAVANTE DENOMINADO CENPES E CENPES II.","numeroProcesso": "Sem informação","fundamentoLegal": "","situacaoContrato": "Não se aplica","modalidadeCompra": "Sem Informação","dataAssinatura": "2018-11-27","dataPublicacaoDOU": "2018-12-20","dataInicioVigencia": "2018-11-27","dataFimVigencia": "2068-11-27","valorInicialCompra": 857706249,"valorFinalCompra": 857706249,"compra": {"numero": "-3","objeto": "","numeroProcesso": "-3","contatoResponsavel": ""},"unidadeGestora": {"codigo": "153115","nome": "UNIVERSIDADE FEDERAL DO RIO DE JANEIRO","descricaoPoder": "EXECUTIVO","orgaoVinculado": { "codigoSIAFI": "26245", "cnpj": "33663683000116", "sigla": "UFRJ", "nome": "Universidade Federal do Rio de Janeiro" },"orgaoMaximo": { "codigo": "26000", "sigla": "MEC", "nome": "Ministério da Educação" }},"unidadeGestoraCompras": {"codigo": "153115","nome": "MEC-UFRJ-UNIVERSID.FED.DO RIO DE JANEIRO/RJ","descricaoPoder": "EXECUTIVO","orgaoVinculado": { "codigoSIAFI": "26245", "cnpj": "", "sigla": "", "nome": "UNIVERSIDADE FEDERAL DO RIO DE JANEIRO" },"orgaoMaximo": { "codigo": "20101", "sigla": "", "nome": "Sem informação" }},"fornecedor": {"id": 5120293,"cpfFormatado": "","cnpjFormatado": "33.000.167/0001-01","numeroInscricaoSocial": "","nome": "PETROLEO BRASILEIRO S A PETROBRAS","razaoSocialReceita": "PETROLEO BRASILEIRO S A PETROBRAS","nomeFantasiaReceita": "PETROBRAS - EDISE","tipo": "Entidades Empresariais Privadas"}}
Pricing
US$0.01 per contract delivered.
- No contracts found: no charge
- 1 CNPJ with 10 contracts: 10 charges
maxContractsPerCnpjcaps both the row count and the cost per company
After a few successful runs, please leave a review on the Reviews tab of the Store listing.
API
curl -X POST "https://api.apify.com/v2/acts/brasildados~government-contracts-check/run-sync-get-dataset-items?format=json" \-H "Authorization: Bearer YOUR_APIFY_TOKEN" \-H "Content-Type: application/json" \-d '{"cnpjs":["33.000.167/0001-01"],"maxContractsPerCnpj":5}'
FAQ
Which CNPJs return contracts? Only companies that hold or held a federal government contract published on Brazil's Portal da Transparência. Most private companies with no government business will return zero rows.
Are the values masked or redacted? No — every field is delivered exactly as published by the public source, including supplier name and CNPJ.
Can I look up many CNPJs at once? Yes, up to 1,000 CNPJs per run; duplicates are merged automatically.
BrasilDados Store
Catalog: apify.com/brasildados