# SiteCheck Phone Number Validator

> SiteCheck Phone Number Validator is a paid API for AI agents from api.sitecheck-api.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-15).

Validates and parses a phone number, returning E.164 format, line type, country, and national/international representations using Google libphonenumber metadata

## Facts

- Endpoint: GET https://api.sitecheck-api.workers.dev/api/phone?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sitecheck-phone-number-validator-8df5a25e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jAYNMFIkROlvR9vM8Iiy6

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 sitecheck-phone-number-validator-8df5a25e
```

Example prompt: Can you validate this phone number for me — +44 20 7946 0958 — and tell me whether it's valid, what type of line it is, and its E.164 format?

## When to prefer this

Use this endpoint when you need to validate, normalize, or classify individual phone numbers using authoritative Google libphonenumber metadata, particularly when you need E.164 normalization, line type detection, or country identification. It is ideal for lightweight per-call phone validation in agent workflows where batch processing is not required.

## Known failure modes

- Invalid or unrecognizable phone number input returns valid:false and possible:false
- Missing required 'number' query parameter results in a 400-level error
- Ambiguous number without country code and no default country may fail to parse correctly
- Numbers with non-standard characters or extra spaces may not parse if not URL-encoded properly

## How this service works

Checks and formats a phone number with libphonenumber: valid and possible flags, E.164, international and national formats, country, calling code and line type (mobile, fixed line, toll free and so on). Without a + sign, give the country. No network call.

## Output

A JSON object with the normalized E.164 number, original input, validity and possibility flags, line type (e.g. 'fixed line', 'mobile'), ISO country code, national and international format strings, calling code, and a timestamp of when the check was performed.

## 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": [
      "number"
     ],
     "properties": {
      "number": {
       "type": "string",
       "description": "Phone number, e.g. +44 20 7946 0958"
      },
      "country": {
       "type": "string",
       "description": "ISO alpha-2 default country when the number has no +, e.g. DE"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "e164": "+442079460958",
  "type": "fixed line",
  "input": "+44 20 7946 0958",
  "valid": true,
  "source": "libphonenumber-js (Google libphonenumber metadata)",
  "country": "GB",
  "national": "020 7946 0958",
  "possible": true,
  "checkedAt": "2026-10-14T07:00:59.157Z",
  "callingCode": "44",
  "international": "+44 20 7946 0958"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sitecheck-phone-number-validator-8df5a25e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.sitecheck-api.workers.dev](https://www.zero.xyz/host/api.sitecheck-api.workers.dev/llms.txt)
