# Phone Number Normalizer

> Phone Number Normalizer is a paid API for AI agents from x402-zoo.lolagent.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Normalizes caller-supplied phone numbers into international E.164-style formatting, with optional country context for ambiguous local numbers.

## Facts

- Endpoint: GET https://x402-zoo.lolagent.workers.dev/api/normalize-phone
- 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/phone-number-normalizer-3b0f55d6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cYPhnSzt_OpB0_389Xl3l

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 phone-number-normalizer-3b0f55d6
```

Example prompt: Can you normalize the phone number '2125551234' to international format — it's a US number, so use US as the default country?

## When to prefer this

Choose this endpoint when you need lightweight, low-cost phone number normalization without a full identity or carrier lookup. Ideal for sanitizing user-submitted phone numbers before storage or communication, especially when country context can be provided explicitly.

## Known failure modes

- Invalid or unparseable phone number string returns an error
- Missing required 'phone' query parameter returns a validation error
- Ambiguous number without a default_country may fail or return incorrect formatting
- Unsupported country codes may not resolve correctly

## How this service works

Normalize caller-supplied phone numbers into international-style formatting using explicit country context when needed.

## Output

Returns the phone number reformatted into international style (e.g. E.164 or +CC format), resolving local notation using the supplied default country when the number lacks a country prefix.

## 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"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "phone"
     ],
     "properties": {
      "phone": {
       "type": "string"
      },
      "default_country": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/phone-number-normalizer-3b0f55d6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-zoo.lolagent.workers.dev](https://www.zero.xyz/host/x402-zoo.lolagent.workers.dev/llms.txt)
