4

402utils · Phone Check

by 402utils

GETBase

$0.002

per call · USD Coin on Base

Validate and normalize a phone number with full Google libphonenumber metadata: strict validity against each national numbering plan, E.164 / international / national formats, country detection (correct across shared codes like +1 and +44) and line type (mobile, fixed_line, toll_free, voip…) where the plan distinguishes it. Pass ?country=FR to parse national formats. Local. ?attest=1 → Ed25519-signed.

Endpoint

GET https://402utils.com/v1/phone-check

1

Calls / 30d

1

Unique payers / 30d

Aug 24

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://402utils.com/v1/phone-check", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://402utils.com/v1/phone-check?phone=%2B442079460958" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "country": "GB",
  "e164": "+442079460958",
  "international": "+44 20 7946 0958",
  "national": "020 7946 0958",
  "possible": true,
  "type": "fixed_line",
  "valid": true
}

Payment details

Pay to0xc55a2d530b53cbad1001e4afd4720b7e71f9c291
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Other and the homepage with a featured placement.

Get featured →

More from 402utils & similar services