{"uid":"cap_ct7Bqt2HghDLv_IexFQnY","slug":"phone-number-e-164-formatter-and-validator-e9423be6","name":"Phone Number E.164 Formatter and Validator","description":"Parse/validate/format phone to E.164 via libphonenumber offline. No owner/carrier lookup.","url":"https://x402-v2-mint-phone-e164.vercel.app/v1/phone-e164?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"number":{"type":"string"},"region":{"type":"string","description":"ISO 3166-1 alpha-2 when number has no +"},"request_id":{"type":"string"}}},"responseSchema":{"type":"json","example":{"ok":true,"skill":"phone-e164","charged":true,"summary":"ok"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_09zXV4GzNE8-yq35YJILv","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Parses, validates, and formats a phone number into E.164 international format using libphonenumber, entirely offline with no carrier or owner lookup.","exampleAgentPrompt":"Can you validate and reformat the phone number '415-555-1234' to E.164 international format? It's a US number, so the region is US.","exampleUseCases":[{"title":"Normalize user signup phone number","prompt":"A user just signed up with the phone number '07700 900123' — can you parse and convert it to E.164 format? The number is from the UK, so region is GB."},{"title":"Validate international phone before SMS campaign","prompt":"Before I send out an SMS blast, can you validate and reformat this number to E.164: '+49 30 12345678'? It should already have the country code."},{"title":"Sanitize phone field in CRM import","prompt":"I'm importing a contact record and the phone field has '(212) 555-0199' — can you normalize that to E.164 so I can store it consistently? Treat it as a US number."}],"resultDescription":"Returns a JSON object indicating whether the parse/validation succeeded (ok: true/false), the skill name, whether a micropayment was charged, and a human-readable summary. On success the summary confirms the number is valid and formatted in E.164; on failure it describes the parsing error.","failureModes":["Invalid or unparseable phone number string — returns ok:false with error summary","Missing region code when number has no leading + — ambiguous parse may fail","Malformed input schema — missing required 'number' field","Payment failure via x402 — request rejected before processing","Rate limiting or Vercel cold-start latency causing timeout"],"whenToPreferThis":"Choose this endpoint when you need fast, offline phone number validation and E.164 normalization without any network-dependent carrier or owner lookup. It is ideal for data pipelines, form validation, CRM imports, and pre-send checks for SMS/voice services where you only need format correctness, not subscriber data. Prefer this over carrier lookup APIs when privacy, latency, and cost are priorities.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T00:35:01.200Z","isFirstParty":false,"canonicalSlug":"phone-number-e-164-formatter-and-validator-e9423be6"}