{"uid":"cap_-v4stbDBt9Bq_g1VRinr_","slug":"phone-number-format-e-164-international-national-rfc3966-74705bc4","name":"Phone Number Format (E.164, International, National, RFC3966)","description":"Format a phone number as E.164, international, national and RFC3966 tel: URI using the region's numbering-plan rules.","url":"https://phone-tools.x402tookit.com/phone-format?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["number"],"properties":{"format":{"type":"string","description":"Only return one: e164, international, national or rfc3966"},"number":{"type":"string","description":"Phone number, E.164 (+...) or national format"},"default_region":{"type":"string","description":"ISO region for national numbers (required without +)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"e164":{"type":["null","string"]},"valid":{"type":["boolean","null"]},"region":{"type":["null","string"]},"source":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"rfc3966":{"type":["null","string"]},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"national":{"type":["null","string"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"attribution":{"type":["null","string"]},"countryCode":{"type":["null","number"]},"international":{"type":["null","string"]},"metadataSource":{"type":["null","string"]},"nationalNumber":{"type":["null","string"]},"metadataBuiltOn":{"type":["null","string"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_hGT8qRi7s-7OV42_zs5kZ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Formats a phone number into E.164, international, national, and RFC3966 tel: URI representations using region-specific numbering-plan rules.","exampleAgentPrompt":"Can you format the phone number 2025551234 for the US region and give me all the standard formats — E.164, international, national, and the RFC3966 tel: URI?","exampleUseCases":[{"title":"Normalize CRM phone numbers to E.164","prompt":"I have a customer phone number '(415) 555-0198' from the US — can you normalize it to E.164 format so I can store it consistently in our CRM?"},{"title":"Generate tel: URI for click-to-call link","prompt":"I need to create a clickable phone link for the number +44 20 7946 0958 — can you give me the RFC3966 tel: URI format for it?"},{"title":"Display local national format for European number","prompt":"I have a German phone number stored as +4930123456 and I want to display it in the local national format for Germany — can you format it that way?"}],"resultDescription":"Returns an object containing the phone number formatted as E.164 (e.g. +12025551234), international (e.g. +1 202-555-1234), national (e.g. (202) 555-1234), and RFC3966 tel: URI (e.g. tel:+12025551234), along with validity flag, region, country code, national number, and metadata about the numbering plan source.","failureModes":["Invalid or unrecognizable phone number string returns valid:false with reasons array explaining the failure","Missing default_region when number lacks a + prefix causes ambiguous parsing or error","Unsupported region code causes fallback or invalid result","Network timeout or service unavailability returns HTTP error","Passing a number that is syntactically valid but unassigned in the region's plan may return valid:false"],"whenToPreferThis":"Choose this endpoint when you need to convert a raw phone number string into one or more standardized formats (E.164, international, national, RFC3966) according to the ITU/libphonenumber numbering-plan rules. Prefer this over manual regex formatting when regional rules matter, when you need RFC3966 URI output, or when you want all four formats in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T18:30:08.352Z","isFirstParty":false,"canonicalSlug":"phone-number-format-e-164-international-national-rfc3966-74705bc4"}