# Strale Address Validation

> Strale Address Validation is a paid API for AI agents from api.strale.io, paid per call via x402, $0.0324/call, status unknown (last checked 2026-09-15).

Validates and standardizes a free-text postal address, returning structured components, confidence score, and corrections for 200+ countries via OpenStreetMap Nominatim.

## Facts

- Endpoint: GET https://api.strale.io/x402/address-validate
- Price: $0.0324/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-strale-io-a818e60f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IIjtaKhPYjbp_sUBGuBFS

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 api-strale-io-a818e60f
```

Example prompt: Can you validate this address and tell me if it's real and correctly formatted: '1600 Pennsylvania Avenue NW, Washington DC 20500, US'?

## When to prefer this

Use this endpoint when you need to validate, standardize, or parse a free-text postal address for any of 200+ countries, especially when you need structured components and a confidence score. Prefer this over geocoding-only services when address correctness and structured output (not just lat/lon) are the primary goal.

## Known failure modes

- Address not found in OpenStreetMap — returns low confidence or no match
- Invalid or unsupported country code — falls back to global search
- Ambiguous address with multiple matches — returns top candidates with confidence scores
- Malformed input string — returns validation error
- Rate limit or payment failure — returns 402 or 429 error

## How this service works

Validate and standardize a postal address. Returns structured components, validity confidence, and suggested corrections. Works for 200+ countries via OpenStreetMap Nominatim.

## Output

Returns structured address components (street, city, postal code, country, etc.), a validity confidence score, and suggested corrections if the address has errors or ambiguities.

## Example request

```json
{
 "address": "1600 Pennsylvania Avenue NW, Washington DC 20500, US",
 "country_code": "US"
}
```

## 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": [
      "address"
     ],
     "properties": {
      "address": {
       "type": "string",
       "description": "Full address as free text"
      },
      "country_code": {
       "type": "string",
       "description": "ISO 2-letter country code hint (optional)"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-strale-io-a818e60f/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)
