{"uid":"cap_nHXA8hh4IkB53cxKOfnnm","slug":"delx-phone-digits-normalizer-2a92e745","name":"Delx Phone Digits Normalizer","description":"Normalize phone to digits. Use before SMS gateways, CRM writes, or dedupe on contact fields. Returns digits-only phone text (formatting stripped). $0.001 USDC per successful call via x402 on Base—deterministic first-party JSON, no API key, no subscription, and nothing is billed on structured validation errors.","url":"https://api.delx.ai/api/v1/x402/phone-digits","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"phone":{"type":"string","description":"Phone-like text to normalize into digits."}}},"responseSchema":{"type":"json","example":{"digits":"14155550137","length":11,"schema":"delx/phone-digits/v1"}},"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_lYGxWFcc9mKbQSL6BLMkD","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":"Strips all non-digit characters from a phone number string, returning only the raw digit sequence.","exampleAgentPrompt":"Strip the formatting from this phone number and give me just the digits: +1 (415) 555-0192.","exampleUseCases":[{"title":"CRM contact field normalization","prompt":"Before I write this contact to the CRM, clean up the phone number '(800) 867-5309 ext. 4' and give me just the digit string so it stores consistently."},{"title":"SMS gateway pre-flight cleanup","prompt":"I need to send an SMS but the phone field has dashes and spaces in it — can you normalize '+44 20 7946 0958' down to pure digits before I pass it to the gateway?"},{"title":"Deduplicating contacts by phone","prompt":"I have two contact records with phone numbers '555-867-5309' and '5558675309' and I want to check if they're actually the same person — normalize both to digits so I can compare them."}],"resultDescription":"A JSON object containing the digits-only version of the submitted phone string, with all non-numeric characters removed. No formatting, dashes, spaces, parentheses, or country-code symbols are preserved in the output.","failureModes":["Empty or missing phone field returns a structured validation error (not billed)","Input with zero digit characters returns an empty string or validation error","Network timeout or gateway error returns a non-200 HTTP response","Malformed JSON request body returns a structured validation error (not billed)"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, deterministic, pay-per-call phone normalization step with no API key or subscription overhead — especially useful in agent pipelines that write to CRMs, deduplicate contact records, or preflight SMS gateway calls. Prefer it over regex-in-code when you want a consistent, hosted utility that handles edge cases without maintaining your own parsing logic.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:57:49.234Z","isFirstParty":false}