79trust / 100

Phone Check

by Phone Check in Company & people data

x402 APIPassing, checked 3 h ago

Turn the many ways a phone number gets typed into one E.164 string: strips spacing, brackets, the 00 international prefix and the national trunk zero people include out of habit. Returns country, calling code, national number, and whether the length matches that country's numbering plan. Line type (mobile / fixed) is reported ONLY for countries whose ranges are unambiguous and is null elsewhere with a reason — never guessed. Offline: it does not check that the number is assigned or reachable.

GET https://402.com.tr/api/x402/phone-check

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
592 ms typical, 707 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://402.com.tr/api/x402/phone-check?country=44&phone=%2B90+532+123+45+67"
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%2F402.com.tr%2Fapi%2Fx402%2Fphone-check
const res = await pay("https://402.com.tr/api/x402/phone-check?country=44&phone=%2B90+532+123+45+67");
console.log(await res.json());

Example input

{
  "country": "44",
  "phone": "+90 532 123 45 67"
}

Example output

{
  "checkedAt": "2026-10-11T08:52:40.592Z",
  "lengthChecked": true,
  "lineType": "mobile",
  "nationalNumber": "5321234567",
  "reason": null,
  "valid": true
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402592 ms$0.002
6 h agoPassed402671 ms$0.002
10 h agoPassed402503 ms$0.002
13 h agoPassed402514 ms$0.002
17 h agoPassed402774 ms$0.002
20 h agoPassed402505 ms$0.002
24 h agoPassed402610 ms$0.002
28 h agoPassed402707 ms$0.002
31 h agoPassed402671 ms$0.002
36 h agoPassed402598 ms$0.002
39 h agoPassed402403 ms$0.002
42 h agoPassed402556 ms$0.002
47 h agoPassed402378 ms$0.002