Skip to content
Fourohtwo

Parse, validate and format a phone number

monimaker-tools.netlify.app/api/agent/phone

Parse, validate and format a phone number: E.164, international and national forms, country, calling code and type (mobile, fixed line, toll-free…). Uses libphonenumber-js (MIT) with Google libphonenumber metadata (Apache-2.0). National numbers need defaultCountry. Invalid or impossible numbers still return a structured result after payment; missing or non-digit input is 400, not charged. $0.0033

BaseAnswering
GEThttps://monimaker-tools.netlify.app/api/agent/phone

Uptime100% of 1 check 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://monimaker-tools.netlify.app/api/agent/phone?number=%2B14155552671");
console.log(await res.json());

Example input

{
  "number": "+14155552671"
}