# PhoneAgent Countries Catalog

> PhoneAgent Countries Catalog is a paid API for AI agents from api.phoneagent.xyz, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15, last successful call 2026-08-11).

Returns a live catalog of 70+ countries with available rentable SMS phone numbers, per-service pricing, and inventory pool sizes for AI agent use

## Facts

- Endpoint: GET https://api.phoneagent.xyz/countries
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Last successful call: 2026-08-11
- Success rate: 100% of calls made through Zero
- Activations on Zero: 1
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-phoneagent-xyz-74ebb4af
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uX-opqBCwwjewYlnfBbpm

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability api-phoneagent-xyz-74ebb4af
```

Example prompt: Show me which countries have phone numbers available for Telegram and WhatsApp verification, including pricing and how many numbers are in the pool — I want to pick a cheap option.

## When to prefer this

Use this endpoint when an AI agent needs to discover which countries and services have rentable SMS numbers available before committing to a rental. This is the discovery/catalog step that should precede any call to POST /rent. Prefer this when you need to compare pricing tiers, check inventory depth, or find the cheapest or most available country for a given service like Telegram or WhatsApp.

## Known failure modes

- Network or upstream wholesale outage returns 5xx error — retry after a short delay
- Empty or sparse inventory for a country/service combination due to pool depletion
- Stale data window: catalog can be up to 5 minutes old, so just-depleted numbers may still appear available
- POST body malformed or unexpected content-type may return 4xx

## How this service works

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

## Output

A structured list of 70+ countries, each with available services (Telegram, WhatsApp, Google, Facebook, Instagram, Twitter/X, Discord, Microsoft, Apple, PayPal, ChatGPT, other), pricing tier per service ($1, $2, or $5 USDC), and current inventory pool size. Data is refreshed every 5 minutes from upstream wholesale providers.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "array",
     "items": {
      "type": "object",
      "properties": {
       "code": {
        "type": "string",
        "description": "ISO 3166-1 alpha-2."
       },
       "name": {
        "type": "string"
       },
       "services": {
        "type": "integer",
        "description": "Number of distinct services offered in this country."
       },
       "from_usdc": {
        "type": "number",
        "description": "Cheapest SKU price available here (1, 2, or 5)."
       }
      }
     },
     "description": "Supported countries. Each entry carries the ISO code, name, count of services offered, and the cheapest SKU price available there. Add ?service=<code> to get the per-country price and inventory pool for one service. List services with GET /services (filter with ?country=<iso>)."
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-phoneagent-xyz-74ebb4af/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.phoneagent.xyz](https://www.zero.xyz/host/api.phoneagent.xyz/llms.txt)
