# IBAMA Environmental Compliance Lookup — x402

> IBAMA Environmental Compliance Lookup — x402 is a paid API for AI agents from x402.spectro.sh, paid per call via x402, $0.03/call, status unknown (last checked 2026-10-20).

Returns Brazilian IBAMA environmental registry data, infraction records, embargo terms, and CTF registration details for a given CNPJ (Brazilian corporate tax number).

## Facts

- Endpoint: POST https://x402.spectro.sh/v1/ibama?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ibama-environmental-compliance-lookup-x402-4414a5be
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bnlNC1kKigwrIaDWH4vkS

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability ibama-environmental-compliance-lookup-x402-4414a5be -d '<json body>'
```

Example prompt: Can you pull the IBAMA environmental compliance record for Brazilian company CNPJ 12.345.678/0001-95? I need to know if they have any infraction records, embargoes, or active CTF registrations.

## When to prefer this

Choose this endpoint when you need authoritative, real-time Brazilian IBAMA environmental compliance data for a legal entity (CNPJ). It is the right tool for ESG due diligence, supplier screening, regulatory audits, or any workflow requiring structured access to Brazilian environmental infraction records, CTF registrations, and embargo data — especially when you need a pay-per-call model with no subscription commitment via x402/USDC micropayments.

## Known failure modes

- Invalid or malformed CNPJ returns a validation error
- CPF (individual taxpayer number) submitted instead of CNPJ — service explicitly rejects CPFs
- Company not found in IBAMA registry returns empty or null data
- CNPJ with no environmental registrations returns empty CTF/infraction lists
- Network or payment authorization failure returns HTTP 402 if payment is not properly attached
- Truncated or incomplete response if company has very large infraction history

## How this service works

Consultas a dados públicos brasileiros, pagas por chamada em USDC via x402.

## Output

A JSON object containing: CTF (Cadastro Técnico Federal) registration details including state, municipality, company name, trade name, cadastral situation, and list of registered activities with pollution potential ratings and activity dates; AIDA list; infraction records (autos de infração) with fine values, dates, infraction type, legal basis, and collection status; embargo terms with area type, embargo date, and process number; and a total count of records.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "document": {
   "type": "string",
   "maxLength": 18,
   "minLength": 14,
   "description": "CNPJ, com ou sem pontuação (o alfanumérico também). CPF não é aceito: este serviço consulta apenas pessoas jurídicas."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "ctfApp": {
    "uf": "PA",
    "cnpj": "12345678000195",
    "list": [
     {
      "codigoAtividade": "20-13",
      "codigoCategoria": "20",
      "potencialPoluicao": "Médio",
      "descricaoAtividade": "Exploração econômica da madeira ou lenha",
      "descricaoCategoria": "Uso de Recursos Naturais",
      "dataInicioAtividade": "05/02/2015"
     },
     {
      "codigoAtividade": "18-3",
      "codigoCategoria": "18",
      "potencialPoluicao": "Não Informado",
      "descricaoAtividade": "Transporte de produtos florestais",
      "descricaoCategoria": "Transporte, Terminais e Depósitos",
      "dataInicioAtividade": "05/02/2015",
      "dataTerminoAtividade": "30/11/2022"
     }
    ],
    "total": 2,
    "municipio": "CIDADE EXEMPLO",
    "razaoSocial": "EMPRESA EXEMPLO DE SERVICOS LTDA",
    "nomeFantasia": "EXEMPLO SERVICOS",
    "situacaoAtualCr": "ATIVO",
    "situacaoCadastral": "Ativa",
    "dataUltimaEmissaoCr": "21/01/2026"
   },
   "ctfAida": {
    "list": [],
    "total": 0
   },
   "totalCount": 5,
   "autosInfracao": {
    "list": [
     {
      "uf": "PA",
      "serie": "D",
      "valor": "45000,00",
      "dataHora": "14/07/2023 09:35:00",
      "situacao": "EM COBRANCA",
      "tipoAuto": "Multa",
      "cancelado": "N",
      "gravidade": "Média",
      "municipio": "CIDADE EXEMPLO",
      "tipoMulta": "Simples",
      "numProcesso": "02000.000004/2023-04",
      "nomeInfrator": "EMPRESA EXEMPLO DE SERVICOS LTDA",
      "tipoInfracao": "Flora",
      "codigoInfracao": "301",
      "numAutoInfracao": "000001-D",
      "seqAutoInfracao": "9000001",
      "statusFormulario": "ENTREGUE",
      "descricaoInfracao": "Explorar floresta sem a devida autorização.",
      "unidadeArrecadacao": "SUPERINTENDENCIA DE EXEMPLO",
      "dataFatoInfracional": "14/07/2023",
      "enquadramentoComplementar": "Art. 2 - Instrução Normativa de exemplo.",
      "enquadramentoAdministrativo": "Art. 70 72 - Lei 9605/98, Art. 3 II,VII - Decreto 6514/2008.",
      "enquadramentoNaoAdministrativo": "Art. 50 - Decreto 6514/2008."
     }
    ],
    "total": 1,
    "documentoInfrator": "12345678000195",
    "tipoPessoaInfrator": "JURIDICA"
   },
   "termosEmbargo": {
    "list": [
     {
      "uf": "PA",
      "serie": "D",
      "numTad": "2EXEMPLO",
      "seqTad": "1900001",
      "tipoArea": "Desmatamento",
      "cancelado": "N",
      "municipio": "CIDADE EXEMPLO",
      "dataEmbargo": "14/07/2023 10:20:0
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ibama-environmental-compliance-lookup-x402-4414a5be/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.spectro.sh](https://www.zero.xyz/host/x402.spectro.sh/llms.txt)
