# Brasil Dados API – CPF Batch Validation

> Brasil Dados API – CPF Batch Validation is a paid API for AI agents from brasil-dados-api.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Validates one or more Brazilian CPF tax ID numbers by verifying their check digits for correctness.

## Facts

- Endpoint: GET https://brasil-dados-api.onrender.com/cpf/batch
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brasil-dados-api-cpf-batch-validation-256c00a7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PoIbV-t7TVBhw1D6GfXIa

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 brasil-dados-api-cpf-batch-validation-256c00a7
```

Example prompt: Can you check whether the Brazilian CPF number 123.456.789-09 is valid — specifically whether the check digits are correct?

## When to prefer this

Use this endpoint when you need to validate the structural correctness of a Brazilian CPF number via check-digit verification, especially in KYC pipelines, form validation, or compliance workflows where you need a cheap, fast, algorithmic check before making more expensive API calls.

## Known failure modes

- Missing or malformed CPF input returns a 400 error
- Non-numeric or incorrectly formatted CPF strings may fail parsing
- Payment not provided or insufficient funds returns 402
- Service unavailable on Render cold start causes timeout or 503

## How this service works

Validate up to 25 Brazilian CPF tax IDs in a single call. Cheaper per-item than individual requests — built for bulk/KYB workflows.

## Output

Returns a validation result indicating whether the submitted CPF number(s) pass the check-digit algorithm, confirming if each CPF is structurally valid or invalid.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brasil-dados-api-cpf-batch-validation-256c00a7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from brasil-dados-api.onrender.com](https://www.zero.xyz/host/brasil-dados-api.onrender.com/llms.txt)
