PeumeAPI

People & contacts

Validate and format a phone number

Validates the number and returns number type, issuing network and formatted output without a live.

$0.0005 per callUsually answers in about a second

Call it

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

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.

Parameters

telephone_numberRequiredstring

International E.164 digits without the leading +, or a national number with input_format.

Example: 447540822872

input_formatstring

ISO3 country code when telephone_number is in national format, e.g. GBR.

output_formatstring

Format of formatted_telephone_number: E164, PLUS_E164, NATIONAL, or an ISO3 country code.

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.