code402 / tools / e164-check

E.164 International Phone Check — pay-per-call API

$0.000999 per call · 20 free calls/day · no signup · pay with card credits or a signed USDC voucher (x402)

Validate a phone number's E.164 structure (+CC, 8-15 digits, no leading zero) before dispatching SMS alerts or OTPs. Returns signed XDR-1 receipt.

Honest scope: Format-only: no public check digit exists for this identifier, so "valid" means well-formed, not mathematically proven. Existence of the record is not checked.

Try it (first 20 calls/day free)

curl -X POST https://code402.dev/v1/tools/e164-check/call \
  -H "content-type: application/json" \
  -d '{"phone":"+14155552671"}'

No key needed for the free tier. When the free quota is used up, the API replies HTTP 402 with the exact price — agents sign the x402 voucher and retry; humans buy card credits. Every paid response carries a signed receipt you can verify offline.

Run it in the playground (free)Pay by card — credits, no crypto

Input parameters

FieldTypeMeaning
phone (required)stringInternational phone number, e.g. +14155552671.

Response

Top-level fields: tool, valid, normalized, country, reason, scope. Paid responses also carry a signed XDR-1 receipt.

All code402 tools

iban-checklei-checkvat-mod97-checkcompany-number-formatswift-bic-checkaba-routing-checkein-format-checkifsc-checkabn-checkgstin-checkisin-checksedol-checkisbn-checkean13-checkluhn-checkpre-disbursement-guardvendor-onboarding-packrent-deposit-guardrental-listing-riskrental-verdictsettlement-history-checkbalance-checkerc20-balancetx-activityblock-infobatch-validatecontext-distillcrypto-ticker

Machine-readable catalog: llms-full.txt · MCP manifest · OpenAPI. Operated by JUANA LIMITED (UK Co. No. 14043409). Non-custodial: USDC settles payer→seller directly on Base.