{"uid":"cap_C5vUr77gw9z0VziI571YH","slug":"phone-number-parser-validator-24k-labs-df96b61c","name":"Phone Number Parser & Validator (24K Labs)","description":"Parse a phone number to E.164, detect its country calling code and region, and validate length against the E.164 standard. Provide a number with a leading + and country code.","url":"https://api.24klabs.ai/api/phone-parse","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"phone":{"type":"string"}}},"responseSchema":{"type":"json","example":{"e164":"+14155552671","valid":true,"country":"US/CA","calling_code":"1"}},"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_-N7nLBTAx2_bIJgBzvm1a","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":"Parses a phone number into E.164 format, extracts the country calling code and region, and validates the number's length against the E.164 standard.","exampleAgentPrompt":"Can you parse and validate this phone number +14155552671 — tell me its E.164 format, country calling code, and whether it's a valid length?","exampleUseCases":[{"title":"Validate user phone at signup","prompt":"A user just entered +447911123456 during registration — can you parse it to E.164, confirm the country code and region, and tell me if it's a valid length before we store it?"},{"title":"Normalize international customer contacts","prompt":"I have a customer phone number +33612345678 — parse it into E.164 format, extract the country calling code and region, and verify it meets the E.164 length rules."},{"title":"Check lead data before CRM import","prompt":"Before importing this lead's phone number +819012345678 into our CRM, can you validate it against E.164 and tell me the region it belongs to?"}],"resultDescription":"Returns the phone number in E.164 format, the detected country calling code (e.g. +1, +44), the geographic region or country name, and a boolean or status indicating whether the number's length is valid per the E.164 standard.","failureModes":["Number missing leading + or country code — returns parse error or invalid format","Number too short or too long for the detected country — fails length validation","Unrecognized or unsupported country calling code — returns unknown region","Completely non-numeric input — returns parse error","Missing request body or phone field — returns 400 bad request"],"whenToPreferThis":"Choose this endpoint when you need to parse, normalize, and validate a single phone number to E.164 format with country detection at low cost ($0.002 per call). Ideal for real-time form validation, CRM data enrichment, or pre-flight checks before sending SMS. Prefer this over a full-featured identity verification service when only number format and region detection are needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:56:29.733Z","isFirstParty":false}