79trust / 100

Countries

by api.phoneagent.xyz in Email & messaging

x402 APIPassing, checked 16 min ago

PhoneAgent — countries with rentable SMS phone numbers for AI agents. Returns 190+ supported countries, each with the number of services offered and the cheapest price tier ($1, $2, or $5 USDC). Add ?service=<alias> (e.g. tg, wa, go, zo for OpenAI, other for any platform) to see which countries carry that service with live price and inventory pool. Companion route GET /services lists all 1,000+ service aliases; GET /services?country=<iso> lists what a single country offers. Pair with POST /rent

GET https://api.phoneagent.xyz/countries

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
555 ms typical, 629 ms slowest 5%
Last check
16 min ago
Next check
in 15 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.phoneagent.xyz/countries?service=tg"
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.phoneagent.xyz%2Fcountries
const res = await pay("https://api.phoneagent.xyz/countries?service=tg");
console.log(await res.json());

Example input

{
  "service": "tg"
}

Example output

[
  {
    "code": "US",
    "from_usdc": 1,
    "name": "USA",
    "services": 296
  }
]

Security scan

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

Recent checks

WhenResultHTTPTimePrice
16 min agoPassed402500 ms$0.01
4 h agoPassed402558 ms$0.01
7 h agoPassed402629 ms$0.01
12 h agoPassed402500 ms$0.01
15 h agoPassed402472 ms$0.01
18 h agoPassed402698 ms$0.01
23 h agoPassed402555 ms$0.01