{"uid":"cap_DyL-zuhQmAdHoDd6aKXpV","slug":"api-strale-io-26f4aa0c","name":"Phone Number Normalizer (E.164, libphonenumber)","description":"Parse and normalize phone numbers to E.164 format. Detects country, carrier type, validates format. Uses libphonenumber.","url":"https://api.strale.io/x402/phone-normalize?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","required":["phone_string"],"properties":{"phone_string":{"type":"string","description":"Phone number to normalize"},"default_country":{"type":"string","description":"ISO country code (e.g. SE)"}}},"responseSchema":{"e164":{"type":"string"},"type":{"type":"string"},"valid":{"type":"boolean"},"country_code":{"type":"string"},"national_format":{"type":"string"},"international_format":{"type":"string"}},"example":{"request":{"phone_string":"070-123 45 67","default_country":"SE"},"response":{"e164":"+46701234567","type":null,"_meta":{"payment":{"method":"x402","price_usd":0.0324,"settlement_id":"0x588684e5ae7c115b40fe23ddb62c11a7e94bd58123af00a9dd87dde70cbd86a5"},"capability":"phone-normalize","latency_ms":2,"provenance":{"source":"libphonenumber-js","fetched_at":"2026-06-13T04:25:19.508Z"}},"input":"070-123 45 67","valid":true,"is_possible":true,"calling_code":"+46","country_code":"SE","national_format":"070-123 45 67","international_format":"+46 70 123 45 67"}},"exampleRequest":{"phone_string":"070-123 45 67","default_country":"SE"},"tags":["x402"],"displayCostAmount":"0.0324","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":1,"rating":{"score":"1.00","successRate":"1.00","reviews":1,"stars":"5.0","state":"rated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.0324/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0324","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0324","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_q0lvYNVB2sb6YiHw9alwl","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0324","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Parses and normalizes a phone number string to E.164 format, detecting country, carrier type, and validating format using libphonenumber.","exampleAgentPrompt":"Can you normalize the phone number '070-123 45 67' to E.164 format? It's a Swedish number, so use SE as the default country.","exampleUseCases":null,"resultDescription":"Returns the phone number in E.164 format (e.g. +46701234567), detected country code, carrier type classification, and a validation flag indicating whether the number is valid.","failureModes":["Invalid or unparseable phone number string returns an error or invalid flag","Missing required phone_string parameter returns 400 bad request","Ambiguous local number without default_country may fail to parse correctly","Unsupported number format or region returns a parse failure"],"whenToPreferThis":"Use this endpoint when you need to canonicalize, validate, or enrich phone number data — especially for international numbers that may be formatted inconsistently. Ideal before storing contacts, sending SMS, or verifying user identity. Backed by Google's libphonenumber for broad international coverage.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":1,"lastUsedAt":"2026-04-29T19:56:33.590Z","lastSuccessfullyRanAt":"2026-04-29T19:56:33.590Z","lastHealthCheckAt":"2026-10-12T12:36:47.368Z","isFirstParty":false,"canonicalSlug":"api-strale-io-26f4aa0c"}