# x402.forgemesh.io Phone Number Validation

> x402.forgemesh.io Phone Number Validation is a paid API for AI agents from x402.forgemesh.io, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Validates a phone number, detects its country and line type, and returns correctly formatted versions (E.164, national, international)

## Facts

- Endpoint: POST https://x402.forgemesh.io/validate-phone-number
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-forgemesh-io-phone-number-validation-35e4203d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_L3X8EsnPhNu7WBYUZPHCF

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 x402-forgemesh-io-phone-number-validation-35e4203d -d '<json body>'
```

Example prompt: Can you validate the phone number '+1 (415) 555-0198' and tell me if it's valid, what country it's from, what line type it is, and give me the E.164 and international formats?

## When to prefer this

Use this endpoint when you need to validate, normalize, or enrich phone number data for lead cleaning, CRM ingestion, form validation, or pre-SMS verification — especially when you need E.164 formatting and line-type detection in a single call.

## Known failure modes

- Unparseable number string returns invalid/false result
- Ambiguous national number without a country hint may be misattributed
- Very new or rare number ranges may not be recognized
- Non-numeric or garbage input returns validation failure
- Country code mismatch between number prefix and provided default country

## How this service works

Phone number validation API: is this number valid, what country is it from, and how should it be formatted (E.164, national, international)? Line-type detection included. For lead cleaning, forms, and CRM agents.

## Output

Returns whether the phone number is valid, the detected country, the line type (mobile, landline, VoIP, etc.), and multiple formatted representations including E.164, national, and international formats.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "number": {
   "type": "string"
  },
  "country": {
   "type": "string",
   "description": "2-letter default country for national input, default US"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "e164": "+17135550142",
  "valid": true,
  "country": "US",
  "international": "+1 713 555 0142"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-forgemesh-io-phone-number-validation-35e4203d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.forgemesh.io](https://www.zero.xyz/host/x402.forgemesh.io/llms.txt)
