PeumeAPI

People & contacts

Validate and format a phone number

Phone number → validity, local/international/E.164/RFC3966 formats, country, line type, carrier, region and timezones

$0.013 per callUsually answers in about a second

Call it

curl https://api.peume.com/v1/call/validate-and-format-a-phone-number-2 \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "phone": "+14155550100"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: validate-and-format-a-phone-number-2.

Parameters

phoneRequiredstring

the number to validate; URL-encode a leading + as %2B

Example: +14155550100

country_codestring

ISO-2 country to interpret a national-format number against, e.g. US

Other ways to do it

Same job, other sources, cheapest first.

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.