80trust / 100

Phone Validate

by Qonoro Phone Validator in Security & trust

x402 APIPassing, checked 5 h ago

Validate phone numbers: E.164 format, country detection, line type (mobile/landline/VOIP/toll-free), and risk score. Deterministic, sub-second. x402-native.

POST https://api.qonoro.ai/v1/phone/validate

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
241 ms typical, 241 ms slowest 5%
Last check
5 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.qonoro.ai/v1/phone/validate" \
  -H "content-type: application/json" \
  -d '{"phone":"+14155552671"}'
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%2Fapi.qonoro.ai%2Fv1%2Fphone%2Fvalidate
const res = await pay("https://api.qonoro.ai/v1/phone/validate", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"phone":"+14155552671"}),
});
console.log(await res.json());

Example input

{
  "phone": "+14155552671"
}

Example output

{
  "cache_hit": false,
  "country_code": 1,
  "country_iso": "US",
  "country_name": "United States",
  "e164_format": "+14155552671",
  "international_format": "+1 415-555-2671",
  "line_type": "landline_or_mobile",
  "national_format": "(415) 555-2671",
  "phone_input": "+14155552671",
  "possible": true,
  "request_id": "example-request-id",
  "response_time_ms": 5,
  "risk_reasons": [
    "Line type is ambiguous (landline or mobile)."
  ],
  "risk_score": 0.1,
  "valid": true
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
5 h agoPassed402241 ms$0.01