Phone Validation API

What it does

Validates phone numbers and returns formatted details including country, carrier information, and line type.

Endpoint

POST https://phone-validation-api-x402-689670267582.us-central1.run.app/validate

Price

$0.005 USDC (Base L2)

Request Example

{
  "phone": "+1-202-555-0123"
}

Response

Returns validation result with formatted phone details.

{
  "valid": true,
  "formatted": {
    "national": "(202) 555-0123",
    "international": "+1 202 555 0123",
    "e164": "+12025550123"
  },
  "country": {
    "code": "US",
    "name": "United States"
  },
  "type": "mobile"
}