{"uid":"cap_Cet3Cr6MrGmMnv9uWLyEA","slug":"agent402-uk-cnpj-validator-14083c7a","name":"Agent402 UK — CNPJ Validator","description":"Don't burn tokens on deterministic work. Go/no-go jobs first: payout preflight, text firewall (PII/secrets), budget check — then rails, calendars, finmath. x402 USDC on Base. UK + global. agent402.co.uk — not agent402.tools. $0.001–$0.002 USDC on Base. No API keys.","url":"https://agent402.co.uk/v1/validate/cnpj","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"cnpj":{"type":"string","description":"CNPJ, punctuation ok"}}},"responseSchema":{"type":"json","example":{"root":"04252011","valid":true,"valid_checksum":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_pnkAzlSrP2UNaBqyMPb0n","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates a Brazilian CNPJ tax registration number, checking format and mod-11 checksum, and returns the root identifier and validity flags.","exampleAgentPrompt":"Can you check if this Brazilian CNPJ is valid before we process the payout: 04.252.011/0001-65?","exampleUseCases":[{"title":"Payout preflight for Brazilian vendor","prompt":"Before we wire payment to our Brazilian supplier, can you validate their CNPJ 11.222.333/0001-81 to make sure the number and checksum are correct?"},{"title":"KYB onboarding CNPJ check","prompt":"We're onboarding a new Brazilian business partner — can you verify that the CNPJ they gave us, 04252011000165, is structurally valid with a correct checksum?"},{"title":"Bulk invoice reconciliation pre-check","prompt":"I have a CNPJ from an invoice: 45.678.901/0002-33 — can you confirm it's a valid Brazilian tax ID before I post it to our accounting system?"}],"resultDescription":"A JSON object with three fields: 'root' (the 8-digit base CNPJ without branch or check digits), 'valid' (boolean indicating overall format validity), and 'valid_checksum' (boolean indicating whether the mod-11 check digits are correct). Allows agents to distinguish formatting errors from checksum failures.","failureModes":["Malformed input with no CNPJ string returns a validation error","CNPJ with wrong length returns valid:false, valid_checksum:false","Network or payment failure (402) if USDC balance is insufficient","Punctuation-only or empty string may cause a parse error response"],"whenToPreferThis":"Use this endpoint when you need a fast, deterministic, offline CNPJ validity check — particularly before initiating payouts, onboarding Brazilian business entities, or storing tax IDs. It avoids wasting LLM tokens on pure deterministic math and does not require an API key. Prefer this over an LLM-based check or a live Receita Federal lookup when offline format+checksum verification is sufficient.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:01:40.873Z","isFirstParty":false}