# brdata.thomenz.me CEP Lookup

> brdata.thomenz.me CEP Lookup is a paid API for AI agents from brdata.thomenz.me, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Looks up a Brazilian postal code (CEP) and returns the full address, IBGE city code, and coordinates when available, with an English-language schema.

## Facts

- Endpoint: GET https://brdata.thomenz.me/cep/:cep
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brdata-thomenz-me-cep-lookup-2028f90f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FNBrIjucQZp6dfal1UuiS

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 brdata-thomenz-me-cep-lookup-2028f90f
```

Example prompt: Look up the Brazilian postal code 01310930 and give me the full address, city, state, and IBGE code for that CEP.

## When to prefer this

Use this endpoint when you need to resolve a Brazilian postal code (CEP) to a full structured address with English-labeled fields, IBGE city codes, or geographic coordinates — especially in workflows involving Brazilian address enrichment, logistics, or compliance that require machine-readable English schema output.

## Known failure modes

- CEP not found or does not exist — returns 404 or empty result
- Invalid format (not 8 digits) — returns 400 bad request
- Downstream Brazilian postal authority data unavailable — returns 5xx or timeout
- CEP exists but coordinates not available — coordinates fields null or absent

## How this service works

Brazilian postal code (CEP) lookup with English schema: full address, IBGE city code, coordinates when available.

## Output

Returns a structured English-schema object containing the full street address, neighborhood (bairro), city (municipio), state (UF), IBGE city code, and geographic coordinates (latitude/longitude) when available for the given Brazilian CEP.

## 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"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "cep"
     ],
     "properties": {
      "cep": {
       "type": "string",
       "examples": [
        "01310930"
       ],
       "description": "8-digit Brazilian postal code (CEP)."
      }
     }
    },
    "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/brdata-thomenz-me-cep-lookup-2028f90f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from brdata.thomenz.me](https://www.zero.xyz/host/brdata.thomenz.me/llms.txt)
