Phone Check
by Nero Labs Agent Tools in Company & people data
Checks up to 100 phone numbers from any country: valid or not, the number in international E.164 format (+441174960012) and national format, country, and line type (mobile, landline, toll free, VoIP) from Google's libphonenumber data. Set defaultRegion (GB, US...) for numbers written without a country code. Does not call the number. $0.002 per number, $0.002 minimum. Same engine as nerolabs/phone-number-validator.
https://x402-agent-tools.nerolabs.workers.dev/phone-check- Price
- $0.006
- per call in USDC
- Uptime
- 98.0%
- last 30 days
- Response time
- 212 ms
- 997 ms slowest 5%
- Last check
- Passed
- 6 h ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
POST https://x402-agent-tools.nerolabs.workers.dev/phone-check
Each call costs $0.006 in USDC on Base, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
POST https://x402-agent-tools.nerolabs.workers.dev/phone-check
content-type: application/json
{
"defaultRegion": "GB",
"phones": [
"0117 496 0012",
"+1 (415) 555-0132",
"12345"
]
}Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
defaultRegion | string | No | Two-letter ISO country code assumed for numbers written without a country code, for example GB, US, AU, DE. Numbers starting with + are unaffected. |
flagNonPersonal | boolean | No | Default true: toll free, shared cost, UAN, pager and voicemail numbers come back risky. |
flagPremiumRate | boolean | No | Default true: premium-rate numbers come back risky rather than valid. |
flagVoip | boolean | No | Default true: VoIP numbers come back risky. |
keep | string | No | Which rows to return. all (default), valid, valid_and_risky, problems, or mobile (confirmed mobiles only, for SMS). The summary still counts every number. One of: all, valid, valid_and_risky, problems, mobile. |
markDuplicates | boolean | No | Default true: later repeats of the same E.164 number in this call come back duplicate. |
phoneField | string | No | Rows only. The field holding the number, for example "phone" or "contact_number". Leave out to detect it automatically. |
phones | array of string | No | A plain list of phone numbers in any format, for example ["+44 20 7946 0123", "07825 123456", "(212) 555-0123"]. Bare numbers such as 2079460123 are also accepted. Use this OR rows. |
rows | array of object | No | JSON objects that each hold a phone number in one field. Every original field comes back untouched with the verdict fields added. Use this OR phones. |
Example response
The provider's example. We can't check it without paying.
Example response, 93 lines
{
"_example_note": "Real output, trimmed: long lists cut to their first items and long text shortened.",
"rows": [
{
"isMobile": false,
"lineChecked": false,
"phone": "0117 496 0012",
"phoneAllReasons": [
"ok"
],
"phoneCountry": "GB",
"phoneCountryCallingCode": "+44",
"phoneE164": "+441174960012",
"phoneExtension": null,
"phoneInternational": "+44 117 496 0012",
"phoneNational": "0117 496 0012",
"phoneReason": "ok",
"phoneStatus": "valid",
"phoneType": "fixed_line",
"phoneValid": true
},
{
"isMobile": null,
"lineChecked": false,
"phone": "+1 (415) 555-0132",
"phoneAllReasons": [
"ok"
],
"phoneCountry": "US",
"phoneCountryCallingCode": "+1",
"phoneE164": "+14155550132",
"phoneExtension": null,
"phoneInternational": "+1 415 555 0132",
"phoneNational": "(415) 555-0132",
"phoneReason": "ok",
"phoneStatus": "valid",
"phoneType": "fixed_line_or_mobile",
"phoneValid": true
},
{
"isMobile": null,
"lineChecked": false,
"phone": "12345",
"phoneAllReasons": [
"too_short"
],
"phoneCountry": "GB",
"phoneCountryCallingCode": "+44",
"phoneE164": "+4412345",
"phoneExtension": null,
"phoneInternational": "+44 12345",
"phoneNational": "12345",
"phoneReason": "too_short",
"phoneStatus": "invalid",
"phoneType": "unknown",
"phoneValid": false
}
],
"summary": {
"checkedCount": 3,
"countryCounts": {
"GB": 1,
"US": 1
},
"counts": {
"duplicate": 0,
"invalid": 1,
"risky": 0,
"valid": 2
},
"defaultRegion": "GB",
"inputMode": "phones",
"inputRecordCount": 3,
"keep": "all",
"liveLineCheckNote": "These checks confirm that a number is correctly formed and exists in its country numbering plan, and report its country and line type. They ...",
"liveLineCheckPerformed": false,
"mobileCount": 0,
"notInThisServer": "Region, allocated carrier and timezone lookups, Apify dataset / CSV / Excel / Google Sheet input, CSV and Excel export and webhooks are in t...",
"outputRecordCount": 3,
"phoneField": "phone",
"phoneFieldDetected": false,
"reasonCounts": {
"ok": 2,
"too_short": 1
},
"typeCounts": {
"fixed_line": 1,
"fixed_line_or_mobile": 1
},
"undeterminedMobileCount": 1,
"warnings": []
}
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.006.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://x402-agent-tools.nerolabs.workers.dev/phone-check' \
-H 'content-type: application/json' \
--data-raw '{"defaultRegion":"GB","phones":["0117 496 0012","+1 (415) 555-0132","12345"]}'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://x402-agent-tools.nerolabs.workers.dev/phone-check' \
-H 'content-type: application/json' \
--data-raw '{"defaultRegion":"GB","phones":["0117 496 0012","+1 (415) 555-0132","12345"]}' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.006 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.006" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.006 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fx402-agent-tools.nerolabs.workers.dev%2Fphone-check&method=POST
const res = await pay("https://x402-agent-tools.nerolabs.workers.dev/phone-check", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({
"defaultRegion": "GB",
"phones": [
"0117 496 0012",
"+1 (415) 555-0132",
"12345"
]
}),
});
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.006 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.006"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.post(
"https://x402-agent-tools.nerolabs.workers.dev/phone-check",
json={
"defaultRegion": "GB",
"phones": [
"0117 496 0012",
"+1 (415) 555-0132",
"12345",
],
},
)
print(res.status_code, res.text)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 |
|---|---|---|---|---|
| 6 h ago | Passed | 402 | 68 ms | $0.006 |
| 37 h ago | Timed out | - | - | - |
| 3 days ago | Timed out | - | - | - |
| 4 days ago | Passed | 402 | 118 ms | $0.006 |
| 4 days ago | Passed | 402 | 997 ms | $0.006 |
Show 10 older checks
| 5 days ago | Passed | 402 | 677 ms | $0.006 |
| 5 days ago | Passed | 402 | 132 ms | $0.006 |
| 6 days ago | Passed | 402 | 875 ms | $0.006 |
| 6 days ago | Passed | 402 | 613 ms | $0.006 |
| 6 days ago | Passed | 402 | 1.1 s | $0.006 |
| 7 days ago | Passed | 402 | 783 ms | $0.006 |
| 7 days ago | Passed | 402 | 87 ms | $0.006 |
| 7 days ago | Passed | 402 | 511 ms | $0.006 |
| 7 days ago | Passed | 402 | 728 ms | $0.006 |
| 8 days ago | Passed | 402 | 823 ms | $0.006 |
History
| 22 Oct 2026 | Payment address changed from 0xbe3942b2519520Ae4F3963273F7D7f0440D67292 to 0xA969a3127DcC74B2989a4b4e45Ae61B81093164A |