80trust / 100
Phone Normalize
by 2s in Company & people data
x402 APIPassing, checked 3 h ago
Parse, validate and canonicalize a phone number using Google's libphonenumber metadata. Query: number (required; E.164 like "+14155552671" or national like "(415) 555-2671"), country (optional ISO 3166-1 alpha-2 like US/GB/JP ā required when number is not E.164). Returns {input, valid (matches a real number range), possible (right shape/length), e164, national, international, rfc3966, country, countryCallingCode, type (mobile|fixed_line|fixed_line_or_mobile|toll_free|premium_rate|shared_cost|voip|personal_number|pager|uan|voicemail|unknown), possibleCountries[]}. Returns valid:false (not an error) for unparseable input.
GET https://2s.io/api/phone/normalize
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 205 ms typical, 255 ms slowest 5%
- Last check
- 3 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://2s.io/api/phone/normalize?number=%2B14155552671"import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2F2s.io%2Fapi%2Fphone%2Fnormalize
const res = await pay("https://2s.io/api/phone/normalize?number=%2B14155552671");
console.log(await res.json());Example input
{
"number": "+14155552671"
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 3 h ago | Passed | 402 | 255 ms | $0.0025 |
| 7 h ago | Passed | 402 | 211 ms | $0.0025 |
| 10 h ago | Passed | 402 | 345 ms | $0.0025 |
| 14 h ago | Passed | 402 | 205 ms | $0.0025 |
| 17 h ago | Passed | 402 | 202 ms | $0.0025 |
| 21 h ago | Passed | 402 | 253 ms | $0.0025 |
| 25 h ago | Passed | 402 | 158 ms | $0.0025 |
| 28 h ago | Passed | 402 | 220 ms | $0.0025 |
| 32 h ago | Passed | 402 | 189 ms | $0.0025 |
| 35 h ago | Passed | 402 | 160 ms | $0.0025 |
| 41 h ago | Passed | 402 | 168 ms | $0.0025 |