# Phone Number Format (E.164, International, National, RFC3966)

> Phone Number Format (E.164, International, National, RFC3966) is a paid API for AI agents from phone-tools.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-11-02).

Formats a phone number into E.164, international, national, and RFC3966 tel: URI representations using region-specific numbering-plan rules.

## Facts

- Endpoint: GET https://phone-tools.x402tookit.com/phone-format?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/phone-number-format-e-164-international-national-rfc3966-74705bc4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-v4stbDBt9Bq_g1VRinr_

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-format-e-164-international-national-rfc3966-74705bc4
```

Example prompt: Can you format the phone number 2025551234 for the US region and give me all the standard formats — E.164, international, national, and the RFC3966 tel: URI?

## When to prefer this

Choose this endpoint when you need to convert a raw phone number string into one or more standardized formats (E.164, international, national, RFC3966) according to the ITU/libphonenumber numbering-plan rules. Prefer this over manual regex formatting when regional rules matter, when you need RFC3966 URI output, or when you want all four formats in a single call.

## Known failure modes

- Invalid or unrecognizable phone number string returns valid:false with reasons array explaining the failure
- Missing default_region when number lacks a + prefix causes ambiguous parsing or error
- Unsupported region code causes fallback or invalid result
- Network timeout or service unavailability returns HTTP error
- Passing a number that is syntactically valid but unassigned in the region's plan may return valid:false

## How this service works

Format a phone number as E.164, international, national and RFC3966 tel: URI using the region's numbering-plan rules.

## Output

Returns an object containing the phone number formatted as E.164 (e.g. +12025551234), international (e.g. +1 202-555-1234), national (e.g. (202) 555-1234), and RFC3966 tel: URI (e.g. tel:+12025551234), along with validity flag, region, country code, national number, and metadata about the numbering plan source.

## 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": {
      "format": {
       "type": "string",
       "description": "Only return one: e164, international, national or rfc3966"
      },
      "number": {
       "type": "string",
       "description": "Phone number, E.164 (+...) or national format"
      },
      "default_region": {
       "type": "string",
       "description": "ISO region for national numbers (required without +)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "e164": {
       "type": [
        "null",
        "string"
       ]
      },
      "valid": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "region": {
       "type": [
        "null",
        "string"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "rfc3966": {
       "type": [
        "null",
        "string"
       ]
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "national": {
       "type": [
        "null",
        "string"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "notChecked": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "attribution": {
       "type": [
        "null",
        "string"
       ]
      },
      "countryCode": {
       "type": [
        "null
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/phone-number-format-e-164-international-national-rfc3966-74705bc4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from phone-tools.x402tookit.com](https://www.zero.xyz/host/phone-tools.x402tookit.com/llms.txt)
