{"uid":"cap_IJoBe5kZN8MByKXQOxFBa","slug":"coco-phone-number-validator-48665e12","name":"CoCo Phone Number Validator","description":"Zach Riehn's lab: an about-me and portfolio, a news desk, The Atelier for AI experiments, Launch Lab for XRP research, and Fracture for games.","url":"https://cocoeatsai.com/area4/agent/tools/phone?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"const":"http"},"method":{"enum":["GET"]},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type","example"],"properties":{"type":{"const":"json"},"example":{"type":"object","required":["input"],"properties":{"input":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"e164":"+12025550123","note":"Format/validity only; no owner lookup.","input":"+12025550123","valid":true,"region":"US","national":"(202) 555-0123","possible":true,"line_type":"fixed_line_or_mobile","country_code":1,"international":"+1 202-555-0123"},"exampleNote":"Computed offline with demonstration inputs; time/random values are illustrative."},"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_RnzcN__hH75fak35fqG2z","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 parses a phone number, returning format, region, line type, and validity without owner lookup","exampleAgentPrompt":"Can you validate this phone number for me — +12025550123 — and tell me if it's a real format, what region it's from, and whether it's mobile or fixed line?","exampleUseCases":[{"title":"Validate user-submitted phone number","prompt":"Before we send the SMS, check if the phone number a user just entered — +447911123456 — is actually valid and tell me what type of line it is."},{"title":"Normalize phone numbers to E.164","prompt":"I have a phone number '(202) 555-0123' and I need it converted to E.164 format and validated — can you parse it out for me?"},{"title":"Detect region from phone number","prompt":"Can you tell me what country or region the number +33612345678 belongs to, and whether it looks like a legit phone number?"}],"resultDescription":"Returns a JSON object with: validity boolean, possible boolean, E.164 format, national format, international format, region (e.g. 'US'), country code (integer), and line_type (e.g. 'fixed_line_or_mobile', 'mobile'). Note: this is format/validity only — no owner or subscriber lookup is performed.","failureModes":["Invalid or unparseable phone number string returns valid: false","Missing input parameter results in a 400-level error","Numbers that are possible but unassigned may still return valid: true","No owner information is ever returned — only structural validation"],"whenToPreferThis":"Use this endpoint when you need lightweight, offline phone number validation and formatting without any carrier or owner lookup. Ideal for form validation, data normalization, or pre-flight checks before sending SMS. Prefer this over full-featured carrier lookup APIs when cost, speed, and privacy matter and owner identity is not required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:43:18.375Z","isFirstParty":false,"canonicalSlug":"coco-phone-number-validator-48665e12"}