# BR Intelligence – Boleto Validator

> BR Intelligence – Boleto Validator is a paid API for AI agents from br-intelligence.brverify-api.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-13).

Validates and decodes a Brazilian boleto (bank slip) from its digitable line or barcode, returning amount, bank, and due date.

## Facts

- Endpoint: GET https://br-intelligence.brverify-api.workers.dev/v1/boleto?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/br-intelligence-boleto-validator-0fb0b459
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_H_4yvLeiNTpc8kcKjqWIB

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 br-intelligence-boleto-validator-0fb0b459
```

Example prompt: Can you validate this Brazilian boleto and tell me how much it's for and if it's still good? The code is 00190500954014481606906809350314337370000000100.

## When to prefer this

Use this endpoint when you need to programmatically validate, decode, or extract metadata from a Brazilian boleto (bank slip), especially in financial automation, accounts payable, or fraud detection workflows targeting Brazil. Prefer this over manual parsing or generic OCR when you have the raw digitable line or barcode string.

## Known failure modes

- Invalid or malformed boleto code returns valid: false
- Missing 'code' query parameter causes a 400-level error
- Non-Brazilian or unsupported barcode formats may fail to parse
- Ambiguous due date flagged with dueDateAmbiguous: true
- Payment failure via x402 if USDC balance is insufficient

## How this service works

Pay-per-call Brazilian business intelligence for AI agents, paid via x402 in USDC on Base.

## Output

Returns a JSON object with: kind (cobranca or convenio), valid (boolean), amount (numeric value), bankCode (3-digit Brazilian bank code), dueFactor (days from base date), and dueDateAmbiguous (boolean indicating if due date interpretation is uncertain).

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "code"
     ],
     "properties": {
      "code": {
       "type": "string",
       "description": "Boleto digitable line (47 or 48 digits) or barcode (44 digits), with or without punctuation."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "kind": "cobranca",
  "valid": true,
  "amount": 1,
  "bankCode": "001",
  "dueFactor": 3737,
  "dueDateAmbiguous": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/br-intelligence-boleto-validator-0fb0b459/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from br-intelligence.brverify-api.workers.dev](https://www.zero.xyz/host/br-intelligence.brverify-api.workers.dev/llms.txt)
