{"uid":"cap_jAYNMFIkROlvR9vM8Iiy6","slug":"sitecheck-phone-number-validator-8df5a25e","name":"SiteCheck Phone Number Validator","description":"Checks and formats a phone number with libphonenumber: valid and possible flags, E.164, international and national formats, country, calling code and line type (mobile, fixed line, toll free and so on). Without a + sign, give the country. No network call.","url":"https://api.sitecheck-api.workers.dev/api/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","description":"Phone number, e.g. +44 20 7946 0958"},"country":{"type":"string","description":"ISO alpha-2 default country when the number has no +, e.g. DE"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"e164":"+442079460958","type":"fixed line","input":"+44 20 7946 0958","valid":true,"source":"libphonenumber-js (Google libphonenumber metadata)","country":"GB","national":"020 7946 0958","possible":true,"checkedAt":"2026-10-14T07:00:59.157Z","callingCode":"44","international":"+44 20 7946 0958"}},"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_2ESvwWRP7jcaAwY_xhDiI","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 E.164 format, line type, country, and national/international representations using Google libphonenumber metadata","exampleAgentPrompt":"Can you validate this phone number for me — +44 20 7946 0958 — and tell me whether it's valid, what type of line it is, and its E.164 format?","exampleUseCases":[{"title":"CRM phone number cleanup","prompt":"I have a bunch of phone numbers in my CRM stored in various formats like '020 7946 0958' — can you validate each one and give me back the proper E.164 format and whether they're mobile or landline?"},{"title":"User signup form validation","prompt":"A new user just entered '+1 800 555 0199' as their phone number during sign-up — can you check if it's a valid number and what type of line it is before we send them a verification SMS?"},{"title":"International number parsing","prompt":"I have the number '030 12345678' and I think it might be a German number — can you validate it using DE as the default country and tell me the E.164 format and line type?"}],"resultDescription":"A JSON object with the normalized E.164 number, original input, validity and possibility flags, line type (e.g. 'fixed line', 'mobile'), ISO country code, national and international format strings, calling code, and a timestamp of when the check was performed.","failureModes":["Invalid or unrecognizable phone number input returns valid:false and possible:false","Missing required 'number' query parameter results in a 400-level error","Ambiguous number without country code and no default country may fail to parse correctly","Numbers with non-standard characters or extra spaces may not parse if not URL-encoded properly"],"whenToPreferThis":"Use this endpoint when you need to validate, normalize, or classify individual phone numbers using authoritative Google libphonenumber metadata, particularly when you need E.164 normalization, line type detection, or country identification. It is ideal for lightweight per-call phone validation in agent workflows where batch processing is not required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T06:44:27.341Z","isFirstParty":false,"canonicalSlug":"sitecheck-phone-number-validator-8df5a25e"}