Skip to content
Fourohtwo

Deterministically validate a Brazilian CNPJ (company taxpayer ID)

api.resetparatodos.com/x402/v1/brazil/cnpj/validate

Deterministically validate a Brazilian CNPJ (company taxpayer ID): format and both check digits (mod-11). Supports the traditional numeric format and the alphanumeric format in force since July 2026. Structural validation only.

BaseAnswering
POSThttps://api.resetparatodos.com/x402/v1/brazil/cnpj/validate

Uptime100% of 2 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://api.resetparatodos.com/x402/v1/brazil/cnpj/validate", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"cnpj":"11.222.333/0001-81"}),
});
console.log(await res.json());

Example input

{
  "cnpj": "11.222.333/0001-81"
}

More from RESET VerificaProvider status