{"uid":"cap_QXMjikBoK13Iue9Y7Nl45","slug":"moneytools-phone-number-validator-formatter-45cb8f67","name":"MoneyTools Phone Number Validator & Formatter","description":"Phone number validate + format: Validate and format phone numbers for 240+ regions (libphonenumber): E.164, international/national format, type (mobile/fixed), country. Free tier 10/day; then $0.001 via x402 (HTTP 402 + PAYMENT-REQUIRED) or X-API-Key credits. Not charged on failure. $0.001 USDC per call via x402 on Base. Run by MoneyTools.","url":"https://tools.moneytools.dev/v1/phone?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":{"const":"http"},"method":{"const":"GET"},"queryParams":{"type":"object","required":["number"],"properties":{"number":{"type":"string","examples":["0912 345 678"],"description":"phone number"},"country":{"type":"string","examples":["TW"],"description":"default region ISO code"}}}}},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","properties":{"payment":{"type":"object","properties":{"charged":{"type":"boolean"},"network":{"type":"string"},"amountUsd":{"type":"string"},"transaction":{"type":["string","null"]}}},"freeTier":{"type":"object"},"_moneytools":{"type":"object","description":"optional plan / partner hints"}},"description":"Tool-specific JSON result (see llms.txt / openapi.json). Always includes payment info.","additionalProperties":true}}}}},"responseSchema":{"type":"json"},"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_G1ZhH4YzQJJzJLeInjKwf","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":"Validates and formats a phone number for 240+ regions using libphonenumber, returning E.164, international/national formats, type, and country.","exampleAgentPrompt":"Can you validate and format the phone number 0912 345 678 (from Taiwan, country code TW) — tell me if it's valid, what type it is (mobile or fixed), and give me the E.164 and international formats?","exampleUseCases":[{"title":"Validate user signup phone number","prompt":"A user just entered '+44 7911 123456' as their phone number during signup — can you validate it, confirm whether it's a mobile number, and give me the E.164 version I should store?"},{"title":"Identify country from unknown number","prompt":"I have a phone number '030 123456' in my database with no country label — can you figure out what country it belongs to, what type it is, and give me the properly formatted international version? Try Germany (DE) as the default region."},{"title":"Normalize phone list before SMS campaign","prompt":"Before I send SMS messages, can you check if '+1 (800) 555-0199' is a valid number, whether it's a mobile or fixed line, and return the E.164 format I should use for the carrier API?"}],"resultDescription":"A JSON object containing: validity flag, E.164 format, international format, national format, phone type (mobile/fixed-line/toll-free/etc), country code, and payment metadata (whether a charge was made, network, amount in USD, transaction hash if applicable) plus free tier usage info.","failureModes":["Invalid or unparseable phone number returns validation failure without charge","Missing required 'number' query parameter returns 400-style error","Ambiguous number without country code may fail or misidentify region — provide country param to disambiguate","Free tier exhausted (10/day) triggers HTTP 402 requiring x402 payment or API key","Malformed country ISO code may cause region defaulting or error"],"whenToPreferThis":"Choose this endpoint when you need robust, standards-compliant phone number validation and formatting powered by Google's libphonenumber for 240+ regions. Ideal when you need E.164 normalization for storage, international formatting for display, or phone type classification (mobile vs. landline) before routing to SMS/voice APIs. The pay-per-use model ($0.001 USDC via x402) makes it cost-effective for low-to-moderate volume without subscription commitment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-05T12:43:21.020Z","isFirstParty":false,"canonicalSlug":"moneytools-phone-number-validator-formatter-45cb8f67"}