Skip to content
Fourohtwo

Phone number validation and formatting

api.kadec0.xyz/v1/phone-validate

Phone number validation and formatting. Checks a phone number against the national numbering plan and returns whether it is valid and possible, its E.164, national, and international formats, country calling code, region, line type, and time zones. Accepts +E.164 or a national number with a country code. Numbering-plan validation only, not a live-line check. Keyless.

BaseAnswering
GEThttps://api.kadec0.xyz/v1/phone-validate

Uptime100% of 3 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://api.kadec0.xyz/v1/phone-validate?phone_number=%2B14155552671");
console.log(await res.json());

Example input

{
  "phone_number": "+14155552671"
}

More from Phone Number ValidationProvider status