# Brasil Dados API – CPF Validator

> Brasil Dados API – CPF Validator 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 a Brazilian CPF tax identification number by verifying its check digits.

## Facts

- Endpoint: GET https://brasil-dados-api.onrender.com/cpf/:var1
- 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-validator-8185ea96
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DUtIcK76mv0ooPhxSbcPZ

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-validator-8185ea96
```

Example prompt: Can you check whether this Brazilian CPF number is valid: 123.456.789-09?

## When to prefer this

Use this endpoint when you need to verify that a Brazilian individual's CPF tax ID number is structurally valid (correct check digits) before storing or processing it. Ideal for form validation, onboarding flows, or compliance checks that require CPF verification without needing a live government database lookup.

## Known failure modes

- Invalid CPF format returns a validation failure response
- Non-numeric or malformed input may return an error
- CPF with wrong number of digits rejected
- Service unavailable if Render instance is cold-starting (slow first response)

## How this service works

Validate a Brazilian CPF tax ID (check digits).

## Output

Returns whether the provided CPF number passes check-digit validation, indicating if it is a structurally valid Brazilian individual tax ID (CPF). Does not perform a live government registry lookup — validation is mathematical only.

## 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-validator-8185ea96/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)
