{"uid":"cap_ZWGlQpk_z-dSI4l1nyzio","slug":"phone-number-validation-e-164-formatter-84ad2c20","name":"Phone Number Validation & E.164 Formatter","description":"Normalize a phone number to E.164 with bundled offline country dialing metadata.","url":"https://gateway.apiosk.com/data-clean/clean/phone","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.022","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_8Y1JE959BojfaX80M3y8N","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":"Validates a phone number and returns its E.164 canonical form, validity flag, and detected country code","exampleAgentPrompt":"Can you validate and format this phone number — 0612345678 from the Netherlands (country NL) — and tell me if it's valid and what the E.164 version looks like?","exampleUseCases":[{"title":"Clean contact list before SMS campaign","prompt":"I have a spreadsheet of customer phone numbers from different countries that need cleaning before we send out our marketing SMS. Can you go through each one, validate them, and give me the proper E.164 format so I know which ones are actually usable?"},{"title":"Verify customer phone during signup","prompt":"When customers enter their phone number during registration, I need to check if it's a real valid number and convert it to the standard international format before we store it in our database. Can you validate this number and show me what the normalized version looks like?"},{"title":"Standardize incoming call logs","prompt":"Our call center system has phone numbers in all different formats from calls across multiple countries. Can you take these numbers and normalize them all to E.164 format so we can deduplicate and properly match them in our records?"}],"resultDescription":"Returns a JSON object with: a boolean 'ok' status, the E.164-formatted phone number (e.g. '+31612345678'), a 'valid' boolean indicating whether the number is a legitimate phone number, and the detected or confirmed ISO country code (e.g. 'NL').","failureModes":["Invalid or unrecognizable phone number string returns valid=false","Missing country hint may cause ambiguous parsing for local-format numbers","Malformed request body or missing 'phone' field returns error","Unsupported country code may reduce accuracy","Rate limiting or payment failure returns HTTP 402 or 429"],"whenToPreferThis":"Use this endpoint when you need to validate, normalize, or format phone numbers to E.164 standard before storing contacts, sending SMS/voice messages, or cleaning CRM data. Prefer it when you need both validity checking and canonical formatting in a single call with country detection.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:58:19.094Z","isFirstParty":false}