81trust / 100
Proxy Phone Validate
by Phone Number Validation in Developer tools
x402 APIPassing, checked 2 h ago
Parse and validate any phone number worldwide using libphonenumber. Returns is_valid, e164 (canonical international format e.g. '+4917612345678'), national_format, country_code (ISO alpha-2), and line_type (MOBILE/FIXED_LINE/VOIP/TOLL_FREE). Provide country_code hint (e.g. 'DE') for local numbers without country prefix.
POST https://agentsvc.io/api/v1/proxy/phone-validate
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 30 ms typical, 30 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 POST "https://agentsvc.io/api/v1/proxy/phone-validate" \
-H "content-type: application/json" \
-d '{"phone":"+41 44 668 18 00"}'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%2Fagentsvc.io%2Fapi%2Fv1%2Fproxy%2Fphone-validate
const res = await pay("https://agentsvc.io/api/v1/proxy/phone-validate", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"phone":"+41 44 668 18 00"}),
});
console.log(await res.json());Example input
{
"phone": "+41 44 668 18 00"
}Example output
{
"data": {
"checks": {
"is_possible": true,
"is_valid": true
},
"country_calling_code": "49",
"country_code": "DE",
"e164": "+4915123456789",
"international_format": "+49 151 23456789",
"is_valid": true,
"line_type": "MOBILE",
"national_format": "0151 23456789",
"phone": "+49 151 23456789"
},
"success": 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 | 30 ms | $0.0045 |
| 7 h ago | Passed | 402 | 35 ms | $0.0045 |