# Brasil Dados API – International Phone Number Validation (E.164)

> Brasil Dados API – International Phone Number Validation (E.164) 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 an international phone number in E.164 format, returning country, line type, canonical formatting, and a timestamped receipt.

## Facts

- Endpoint: GET https://brasil-dados-api.onrender.com/verify/phone/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-international-phone-number-validation-e-164-a70bb5b8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cup0LmCyRRQ09LjZJalHQ

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-international-phone-number-validation-e-164-a70bb5b8
```

Example prompt: Can you validate the phone number +5511987654321 to check if it's a real E.164 number, tell me what country it's from, whether it's a mobile or landline, and give me the properly formatted version?

## When to prefer this

Use this endpoint when you need to validate and classify international phone numbers in E.164 format — especially when you need a timestamped receipt for compliance or audit purposes. Prefer this over generic regex checks when you need country-of-origin and line-type (mobile vs landline) metadata alongside format validation.

## Known failure modes

- Invalid or missing phone number input returns a 400 error
- Non-E.164 formatted numbers may be rejected or misclassified
- Unknown or unrecognized country codes return partial or null results
- Service unavailable on Render cold-start (503 timeout)
- Payment not processed results in 402 response

## How this service works

Validate up to 25 international phone numbers (E.164) in a single call. Cheaper per-item than individual requests.

## Output

Returns the phone number's country, line type (mobile/landline/VoIP/etc.), canonical E.164 formatted string, and a timestamped receipt confirming when the validation was performed.

## 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-international-phone-number-validation-e-164-a70bb5b8/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)
