80trust / 100
Util Phone
by Phone number check in AI models & inference
x402 APIPassing, checked 2 h ago
Checks one phone number offline: normalises it to E.164, works out its country (including the twelve calling codes shared by several countries, such as +1 US/Canada/Caribbean) and validates the national number length against that country's numbering plan. Returns the tel: URI and the national dialling form. Numbering data from Google's libphonenumber. No network call and no API key, so it cannot fail because a third party is down.
GET https://flat-rate-llm.kikoribera03.workers.dev/v1/util/phone
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 183 ms typical, 551 ms slowest 5%
- Last check
- 2 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://flat-rate-llm.kikoribera03.workers.dev/v1/util/phone?phone=%2B34+612+34+56+78"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%2Fflat-rate-llm.kikoribera03.workers.dev%2Fv1%2Futil%2Fphone
const res = await pay("https://flat-rate-llm.kikoribera03.workers.dev/v1/util/phone?phone=%2B34+612+34+56+78");
console.log(await res.json());Example input
{
"phone": "+34 612 34 56 78"
}Example output
{
"country": "ES",
"countryCode": 34,
"e164": "+34612345678",
"length": 9,
"nationalNumber": "612345678",
"phone": "+34 612 34 56 78",
"possibleLengths": [
9
],
"telUri": "tel:+34612345678",
"typesByLength": [
"fixedLine",
"mobile",
"tollFree",
"premiumRate"
],
"valid": true
}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 |
|---|---|---|---|---|
| 2 h ago | Passed | 402 | 141 ms | $0.005 |
| 5 h ago | Passed | 402 | 183 ms | $0.005 |
| 9 h ago | Passed | 402 | 749 ms | $0.005 |
| 13 h ago | Passed | 402 | 429 ms | $0.005 |
| 16 h ago | Passed | 402 | 53 ms | $0.005 |
| 21 h ago | Passed | 402 | 41 ms | $0.005 |
| 24 h ago | Passed | 402 | 34 ms | $0.005 |
| 27 h ago | Passed | 402 | 429 ms | $0.005 |
| 32 h ago | Passed | 402 | 551 ms | $0.005 |