# Address Check

> Address Check is a paid API for AI agents from 402.com.tr, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Validates the structural format of a postal address (street, city, postal code, country) for common countries and returns a normalized single-line address plus any named structural issues.

## Facts

- Endpoint: GET https://402.com.tr/api/x402/address-check
- 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/address-check-ba6db51e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YXRIzjBHZVTPpNRNa7m0S

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 address-check-ba6db51e
```

Example prompt: Can you check whether this address is structurally valid: 123 Main Street, Springfield, 62701, US?

## When to prefer this

Choose this endpoint when you need lightweight, fast structural validation of an address (correct country, plausible postal pattern, required fields present) before storage, display, or dispatch — especially for the supported countries (TR, US, GB, DE, FR, NL, and others). It is NOT a deliverability or geocoding check; prefer a geocoding or USPS/Royal Mail verification service if you need to confirm the address physically exists and can receive mail.

## Known failure modes

- Missing required fields (country, line1, city) returns a validation error
- Unsupported country code returns an error or limited check
- Malformed postal code for the given country returns a named issue in the issues list
- Invalid ISO-2 country code causes an error response
- Network or payment authorization failure returns a 402 or connectivity error

## How this service works

Structural address check: country, street, city, and postal pattern for common countries (TR, US, GB, DE, FR, NL, …). Returns a normalised single-line form and named issues. Not proof of deliverability.

## Output

Returns a normalized single-line form of the submitted address and a list of named structural issues (e.g. missing postal code, invalid postal pattern for the country, unrecognized city format). Does not confirm deliverability or physical existence — only structural/pattern validity.

## 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"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "country",
      "line1",
      "city"
     ],
     "properties": {
      "city": {
       "type": "string",
       "description": "City"
      },
      "line1": {
       "type": "string",
       "description": "Street line"
      },
      "line2": {
       "type": "string",
       "description": "Line 2 (optional)"
      },
      "postal": {
       "type": "string",
       "description": "Postal code"
      },
      "country": {
       "type": "string",
       "description": "Country (ISO-2)"
      }
     }
    }
   },
   "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/address-check-ba6db51e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 402.com.tr](https://www.zero.xyz/host/402.com.tr/llms.txt)
