# call402.com Phone Lookup

> call402.com Phone Lookup is a paid API for AI agents from call402.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-28).

Validates and parses a phone number, returning E.164 format, country, calling code, and number type using libphonenumber numbering-plan metadata.

## Facts

- Endpoint: POST https://call402.com/api/phone-lookup?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/call402-com-phone-lookup-001b93ab
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3Gx39jwo-SHyTXZwy3N0E

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 call402-com-phone-lookup-001b93ab -d '<json body>'
```

Example prompt: Can you validate the phone number +14155550132 and tell me whether it's valid, what country it belongs to, and what its E.164 and international formats are?

## When to prefer this

Choose this endpoint when you need fast, cheap, stateless phone number validation and normalization based on ITU numbering-plan rules — ideal for sanitizing user input, reformatting numbers to E.164 for storage, or classifying number types. It does not query live carrier data, so prefer a carrier-lookup service if you need real-time line status or porting information. At $0.005 USDC per call via x402, it suits high-volume agent pipelines that need programmatic micropayment-compatible access without API key management.

## Known failure modes

- Unparseable or nonsensical input string returns valid:false and possible:false with null fields
- Missing required 'number' field results in a 400-level error
- Ambiguous short numbers without a country hint may return incorrect country attribution
- Numbers that are structurally plausible but not assigned return possible:true but valid:false
- x402 payment not included or invalid results in HTTP 402 with payment requirements before any lookup occurs

## How this service works

USDC pay-per-call APIs for AI agents via the x402 protocol (v2, exact, Base mainnet). Send a request, receive HTTP 402 with payment requirements, pay with @x402/fetch or any x402 client, retry with the PAYMENT-SIGNATURE header.

## Output

A JSON object confirming whether the number is valid and possible, plus normalized forms (E.164, international, national), the country ISO code, calling code, and number type (e.g. mobile, fixed_or_mobile). Includes a note clarifying that only numbering-plan metadata is used — live network or subscriber status is not checked.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "number": {
   "type": "string",
   "description": "Phone number, required"
  },
  "country": {
   "type": "string",
   "description": "Optional ISO 3166-1 alpha-2 country hint"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "schema": {
  "type": "object",
  "required": [
   "valid",
   "possible",
   "e164",
   "international",
   "national",
   "calling_code",
   "country",
   "type",
   "data_source",
   "note"
  ],
  "properties": {
   "e164": {
    "type": [
     "string",
     "null"
    ]
   },
   "note": {
    "type": "string"
   },
   "type": {
    "type": [
     "string",
     "null"
    ]
   },
   "valid": {
    "type": "boolean"
   },
   "country": {
    "type": [
     "string",
     "null"
    ]
   },
   "national": {
    "type": [
     "string",
     "null"
    ]
   },
   "possible": {
    "type": "boolean"
   },
   "data_source": {
    "type": "string"
   },
   "calling_code": {
    "type": [
     "string",
     "null"
    ]
   },
   "international": {
    "type": [
     "string",
     "null"
    ]
   }
  }
 },
 "example": {
  "e164": "+14155550132",
  "note": "Numbering-plan metadata only; current network assignment and subscriber status were not queried.",
  "type": "fixed_or_mobile",
  "valid": true,
  "country": "US",
  "national": "(415) 555-0132",
  "possible": true,
  "data_source": "numbering plan (libphonenumber)",
  "calling_code": "+1",
  "international": "+1 415 555 0132"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/call402-com-phone-lookup-001b93ab/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from call402.com](https://www.zero.xyz/host/call402.com/llms.txt)
