{"uid":"cap_N3sngheWQLe5xXAZV-1HV","slug":"br-data-api-cnpj-lookup-0df391cf","name":"BR Data API – CNPJ Lookup","description":"Clean, normalized Brazilian public data (CNPJ, CEP, BCB rates, PTAX, holidays/business days, banks/ISPB) for AI agents. Paid endpoints use x402 (HTTP 402, USDC) — no signup or API key. Not affiliated with Receita Federal, Banco Central or Correios.","url":"https://brasil-data-x402.wagner-proc.workers.dev/v1/cnpj/%7Bcnpj%7D?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"cnpj":"19131243000197","status":{"description":"ATIVA"},"address":{"uf":"SP","city":"SAO PAULO"},"legal_name":"OPEN KNOWLEDGE BRASIL","main_activity":{"cnae":"9430800"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_C-HmUzj5_ZsF1d4Het3mN","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches clean, normalized company registration data for a Brazilian CNPJ number, including legal name, status, address, and primary CNAE activity code.","exampleAgentPrompt":"Can you look up CNPJ 19131243000197 and tell me the company's legal name, registration status, and registered city?","exampleUseCases":[{"title":"Supplier due diligence check","prompt":"Before we onboard this vendor, can you verify CNPJ 12345678000195 — I need to know if the company is active, what its legal name is, and where it's registered?"},{"title":"Invoice CNPJ validation","prompt":"We received an invoice from a company claiming CNPJ 07526557000100 — can you check if that CNPJ is real and active so we can approve payment?"},{"title":"CRM enrichment for Brazilian lead","prompt":"I have a new Brazilian lead with CNPJ 33000167000101 — can you pull their official company name, address, and primary business activity so I can fill in their CRM record?"}],"resultDescription":"A JSON object containing the normalized CNPJ (digits only), the company's legal name, registration status description (e.g. ATIVA), address fields including state abbreviation (UF) and city, and the primary CNAE activity code.","failureModes":["Invalid or malformed CNPJ returns an error response","CNPJ not found in registry returns a 404 or empty result","Payment not completed (HTTP 402) if USDC payment via x402 is not provided","Rate limiting or upstream data source unavailability may cause transient failures","CNPJ with special characters or formatting (dots/slashes) may need to be normalized to digits only before calling"],"whenToPreferThis":"Use this endpoint when you need authoritative, normalized Brazilian company data by CNPJ without requiring an API key or account signup. It is ideal for AI agents and automated workflows that need pay-per-call access (via x402/USDC) to CNPJ lookups, especially for supplier validation, invoice verification, or CRM enrichment in Brazilian market contexts. Prefer this over web scraping Receita Federal directly, which is unreliable and unstructured.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:36:13.196Z","isFirstParty":false,"canonicalSlug":"br-data-api-cnpj-lookup-0df391cf"}