# Strale Postal Code Lookup

> Strale Postal Code Lookup is a paid API for AI agents from api.strale.io, paid per call via x402, $0.0216/call, status unknown (last checked 2026-09-14).

Returns geographic details (city, state, region, timezone, coordinates) for a given postal/ZIP code, with optional country scoping across 27 countries.

## Facts

- Endpoint: GET https://api.strale.io/x402/v2/postal-code-lookup
- Price: $0.0216/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/strale-postal-code-lookup-582f6d00
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8REoaLnOOmbrH9QZf4akY

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 strale-postal-code-lookup-582f6d00
```

Example prompt: Can you look up the city, state, and timezone for ZIP code 30301 in the US?

## When to prefer this

Use this endpoint when you need reliable, auditable postal code resolution across 27 countries with cryptographic chain hashing for compliance or trust-sensitive workflows. Prefer it over generic geocoding APIs when you need the audit trail, or when operating in non-US markets where coverage matters. Ideal for address enrichment, form validation, and timezone detection pipelines.

## Known failure modes

- Invalid or non-existent postal code returns an error or empty result
- Missing required postal_code parameter returns a 400 validation error
- Unsupported country code may return no data or an error
- Malformed country code (not ISO 2-letter) may cause a validation failure
- Network or service unavailability returns a 5xx error

## How this service works

The trust layer for AI agents — 250+ independently tested data capabilities across 27 countries. Execute capabilities via REST, MCP, A2A, or x402 micropayments. Every call returns an audit record with cryptographic chain hashing.

## Output

Returns geographic details for the queried postal code including city, state/province, region, country, timezone, and geographic coordinates, along with a cryptographic audit record for the call.

## 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"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "postal_code"
     ],
     "properties": {
      "postal_code": {
       "type": "string",
       "description": "Postal/ZIP code to look up"
      },
      "country_code": {
       "type": "string",
       "description": "ISO 2-letter country code (default US)"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/strale-postal-code-lookup-582f6d00/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.strale.io](https://www.zero.xyz/host/api.strale.io/llms.txt)
