{"uid":"cap_jMpzZ0trXBVYapfrD660h","slug":"agentsvc-io-phone-number-validator-de02b434","name":"agentsvc.io Phone Number Validator","description":"Parse and validate any phone number worldwide using libphonenumber. Returns is_valid, e164 (canonical international format e.g. '+4917612345678'), national_format, country_code (ISO alpha-2), and line_type (MOBILE/FIXED_LINE/VOIP/TOLL_FREE). Provide country_code hint (e.g. 'DE') for local numbers without country prefix.","url":"https://agentsvc.io/api/v1/proxy/phone-validate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"phone":{"type":"string","description":"Phone number to validate. Can be in any format: E.164 ('+4915123456789'), national ('015123456789'), or international ('0049 151 23456789'). Include country code (+ prefix) for best results."},"country_code":{"type":"string","description":"ISO 3166-1 alpha-2 country code hint for parsing national numbers without country prefix (e.g. 'DE' for Germany, 'US' for United States). Optional if number includes country code (+...)."}}},"responseSchema":{"type":"json","example":{"data":{"e164":"+4915123456789","phone":"+49 151 23456789","checks":{"is_valid":true,"is_possible":true},"is_valid":true,"line_type":"MOBILE","country_code":"DE","national_format":"0151 23456789","country_calling_code":"49","international_format":"+49 151 23456789"},"success":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0045","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"1.00","reviews":0,"stars":null,"state":"rated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.0045/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0045","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0045","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_QUcCovt1fK033j9mmwpgF","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0045","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates and normalizes a phone number, returning its line type, country, and multiple formatted representations","exampleAgentPrompt":"Can you check if '+4915123456789' is a valid phone number and tell me what type of line it is and how it should be formatted?","exampleUseCases":[{"title":"User registration phone verification","prompt":"Before we save this user's profile, can you validate the phone number they entered — '015123456789' — assuming they're in Germany? I want to know if it's valid, what type of line it is, and get the E.164 format for our database."},{"title":"CRM contact data cleanup","prompt":"I have a phone number from our CRM: '0049 151 23456789'. Can you validate it and give me the properly formatted international and national versions so we can standardize our records?"},{"title":"Lead qualification by phone type","prompt":"We got a lead with phone number '+12025551234'. Can you tell me if it's a valid number and whether it's a mobile or landline? We only want to SMS mobile leads."}],"resultDescription":"A JSON object containing: the E.164 normalized number, formatted phone string, national format, international format, country calling code, ISO country code, line type (e.g. MOBILE, LANDLINE), and boolean validity and possibility flags.","failureModes":["Invalid or unparseable phone number format returns is_valid: false","Missing country code for a national number without + prefix may cause parsing failure or incorrect country assignment","Unsupported country codes may result in limited validation accuracy","Malformed input (non-numeric characters, empty string) may return an error or invalid result"],"whenToPreferThis":"Use this endpoint when you need to validate, normalize, or classify a phone number without requiring a full SMS verification loop. It is ideal for pre-submission validation of user-entered phone numbers, CRM data cleansing, or routing logic based on line type. Prefer this over SMS-based verification when you only need format and line-type checks, not proof of ownership. Pay-per-call USDC pricing via x402 means no account setup is needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":1,"lastUsedAt":"2026-10-26T04:03:34.541Z","lastSuccessfullyRanAt":"2026-10-26T04:03:34.541Z","lastHealthCheckAt":"2026-12-01T06:54:34.274Z","isFirstParty":false,"canonicalSlug":"agentsvc-io-phone-number-validator-de02b434"}