{"uid":"cap_YRNkDL2_rso2p2rsApJc1","slug":"toll402-phone-e-164-normalize-7fbfb33f","name":"Toll402 Phone E.164 Normalize","description":"The OpenRouter for AI-agent tools: one gateway, one wallet, every capability. Built-in tools, forged tools, a global verified business directory and 2,000+ aggregated x402 services, all paid per call in USDC via x402 (HTTP 402). No signup, no API key.","url":"https://toll402.dev/v1/t/phone_e164_normalize?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["phone"],"properties":{"phone":{"type":"string","description":"Phone number, digits with optional +, spaces, dashes, parentheses"},"defaultCountry":{"type":"string","description":"ISO2 country code to assume if phone has no country code, e.g. US, BR, MX"}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_CUAXidiBCSZLaHw9aq_Xy","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Normalizes a phone number string into standard E.164 format (e.g. +14155552671)","exampleAgentPrompt":"Can you normalize the phone number '(415) 555-2671' to E.164 format, assuming it's a US number if there's no country code?","exampleUseCases":[{"title":"CRM contact phone cleanup","prompt":"I have a phone number from a form submission — '(212) 867-5309' — can you normalize it to E.164 format assuming US numbers by default?"},{"title":"International number formatting","prompt":"Normalize this Brazilian phone number '+55 11 91234-5678' into E.164 format for me."},{"title":"Pre-send SMS validation","prompt":"Before I send an SMS, can you convert the number '044 20 7946 0958' into proper E.164 format, treating it as a UK number if it has no country code?"}],"resultDescription":"A JSON object with an 'ok' boolean and the normalized phone number in E.164 format (e.g. +14155552671), or an error indicator if the input cannot be parsed.","failureModes":["Unparseable phone number string returns an error or ok:false","Missing default country code when number has no prefix may cause normalization failure","Invalid or unsupported ISO2 country code leads to incorrect normalization","Malformed input (non-phone characters beyond allowed set) may return error"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-call phone number normalization to E.164 without setting up a dedicated telephony SDK or API key. Ideal for AI agent pipelines that sporadically need to clean contact data, validate user-submitted phone numbers before SMS delivery, or standardize numbers from mixed-format sources.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T06:39:08.573Z","isFirstParty":false,"canonicalSlug":"toll402-phone-e-164-normalize-7fbfb33f"}