{"uid":"cap_ZxK7BZp2QBNQe6BumcRVL","slug":"agentrxi-phone-number-validator-62b2c1ee","name":"AgentRXI Phone Number Validator","description":"Phone number check: validates a number and returns its country, line type (mobile, fixed line, toll free, VoIP...) and E.164, international and national formats, from Google's libphonenumber data.","url":"https://agentrxi.com/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":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["number"],"properties":{"number":{"type":"string"},"country":{"type":"string","description":"2-letter country if the number has no +code"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_69oi7RWlQNk1d20UxtX8t","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","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 country, line type (mobile, fixed, toll-free, VoIP, etc.), and formatted versions (E.164, international, national) using Google's libphonenumber data.","exampleAgentPrompt":"Can you check whether +14155552671 is a valid phone number, tell me what country it belongs to, and whether it's a mobile, landline, or VoIP line?","exampleUseCases":[{"title":"Mobile vs VoIP fraud screening","prompt":"Before we send an SMS verification code to +447911123456, can you check whether it's actually a mobile number or if it's VoIP? I want to avoid sending OTPs to non-mobile lines."},{"title":"International number formatting for CRM","prompt":"I have a customer phone number '0612345678' from France — can you validate it, confirm it's French, and give me the E.164 and international formatted versions so I can store it correctly?"},{"title":"Toll-free number verification","prompt":"Is 18005551234 a valid US toll-free number? I need to confirm the line type before listing it on our support page."}],"resultDescription":"Returns whether the phone number is valid, its detected country (ISO code and name), line type classification (mobile, fixed line, toll-free, VoIP, premium rate, etc.), and the number in E.164 (e.g. +14155552671), international (e.g. +1 415-555-2671), and national (e.g. (415) 555-2671) formats.","failureModes":["Invalid or unparseable phone number returns a validation failure with no type or format data","Missing country hint for ambiguous local numbers (no leading +) may cause incorrect country inference","Numbers with no country code prefix and no country hint provided may return an error","Non-numeric or heavily malformed input may return a parsing error"],"whenToPreferThis":"Use this endpoint when you need to validate, classify, and normalize phone numbers in one step using authoritative libphonenumber data. Prefer it over regex-only validation when you need line type (mobile vs VoIP vs toll-free) or canonical E.164/international formatting. Ideal for fraud screening, CRM data normalization, and pre-SMS/call validation pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:39:19.562Z","isFirstParty":false,"canonicalSlug":"agentrxi-phone-number-validator-62b2c1ee"}