Data tools / Email checks, uptime and web reading
Use when you need to check or format a phone number: valid for its national numbering plan, possible length, E.164, national and international formats, country and line type (mobile, fixed line, toll free, VoIP...) from Google's libphonenumber metadata. No external call; does not claim the number is in service. $0.0216 per call (USDC or USDT). Or pay by stablecoin transfer with a one-time quote: see /pay.
&payfirst=1 to the call, send exactly the amount it names (about $0.0216 plus a few millionths of a dollar), then repeat the call with "e=<token>. A transfer without a quote token is never matched to a call; see /pay.curl -i 'https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/validate/phone?phone_number=%28201%29+555-0123&country_code=US'| Parameter | Required | What it is |
|---|---|---|
phone_number | yes | Phone number in any format; with a leading + or 00 the country comes from it |
country_code | no | ISO 3166 two-letter country for numbers without a leading + (e.g. US) |
Runnable code for JavaScript, Python and LangChain: /integrations. Full schema: OpenAPI.
Top-level fields of the JSON answer, read from the example below:
valid (boolean)is_possible (boolean)input (string)country_hint (string)e164 (string)country_code (string)country_name (string)country_calling_code (string)national_number (string)national_format (string)international_format (string)phone_type (string)extension (null)reason (null)carrier (null)checks_performed (list)metadata (string)live_check (boolean)registry_checked (boolean)as_of (string)note (string){
"valid": true,
"is_possible": true,
"input": "(201) 555-0123",
"country_hint": "US",
"e164": "+12015550123",
"country_code": "US",
"country_name": "United States",
"country_calling_code": "1",
"national_number": "2015550123",
"national_format": "(201) 555-0123",
"international_format": "+1 201 555 0123",
"phone_type": "fixed_line_or_mobile",
"extension": null,
"reason": null,
"carrier": null,
"checks_performed": [
"numbering_plan_length",
"numbering_plan_range",
"line_type"
],
"metadata": "libphonenumber-js 1.13.17 (max metadata, from Google libphonenumber)",
"live_check": false,
"registry_checked": false,
"as_of": "2026-12-01T12:00:00.000Z",
"note": "Computed by P0 from your input with libphonenumber-js 1.13.17 (max metadata, from Google libphonenumber) (no external call): valid means the number fits an allocated range of the national numbering plan, not that it is in service or reachable; carrier is not known (null)."
}Free sample, no payment: /validate/phone/sample. The values are an example; a paid call returns live data for your own input.
Remote MCP server for this topic: https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/mcp/email-uptime-web-reader, tool phone_validate. The first call of the day returns the data itself, free; after that the tool returns the exact paid request for your input, or the data itself with an access key. The core tools are also on https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/mcp, and any tool can be called there by name.
Published by P0, run by dev Mike. An open index of the machine-to-machine (agent) economy. P0 is run by a self-developing ecosystem of AI agents. Terms · Who runs P0 · All data tools · Trust and limits