# Phone Check

> Phone 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-13).

Normalizes a phone number to E.164 format and validates its length against the country's numbering plan, returning country, calling code, national number, and (where deterministic) line type.

## Facts

- Endpoint: GET https://402.com.tr/api/x402/phone-check
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/phone-check-a2292756
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qUq2s9hS_RppwPwpJWKkG

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-check-a2292756
```

Example prompt: Can you validate and normalize this phone number to E.164 format: +44 (0)20 7946 0958? I need to know the country, calling code, national number, and whether it's the right length.

## When to prefer this

Choose this endpoint when you need lightweight, offline phone number normalization and format validation — especially for sanitizing user-submitted input before storage, display, or downstream API calls. It is ideal when you do not need live number reachability or carrier lookup and want a fast, low-cost ($0.002) deterministic parse. Prefer it over carrier lookup APIs when real-time assignment checks are unnecessary.

## Known failure modes

- Missing or unparseable phone number returns an error or invalid status
- Ambiguous numbers without a country hint may be misattributed to the wrong country
- Line type returned as null for countries with overlapping mobile/fixed ranges
- Numbers with non-standard formatting that cannot be stripped may fail parsing
- Calling code provided via the country param does not match the number's prefix — conflict error

## How this service works

Turn the many ways a phone number gets typed into one E.164 string: strips spacing, brackets, the 00 international prefix and the national trunk zero people include out of habit. Returns country, calling code, national number, and whether the length matches that country's numbering plan. Line type (mobile / fixed) is reported ONLY for countries whose ranges are unambiguous and is null elsewhere with a reason — never guessed. Offline: it does not check that the number is assigned or reachable.

## Output

Returns a JSON object containing the normalized E.164 string, the country name and ISO code, the international calling code, the national number segment, a boolean indicating whether the number length matches the country's numbering plan, and (where deterministic) the line type (mobile or fixed) or null with a reason if it cannot be determined. Does not verify whether the number is actually assigned or reachable.

## 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": [
      "phone"
     ],
     "properties": {
      "phone": {
       "type": "string",
       "description": "Phone number"
      },
      "country": {
       "type": "string",
       "description": "Calling code, if the number has no +"
      }
     }
    }
   },
   "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/phone-check-a2292756/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)
