# AgentRXI Phone Number Validator

> AgentRXI Phone Number Validator is a paid API for AI agents from agentrxi.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-15).

Validates a phone number and returns its country, line type (mobile, fixed, toll-free, VoIP, etc.), and formatted versions (E.164, international, national) using Google's libphonenumber data.

## Facts

- Endpoint: GET https://agentrxi.com/v1/phone?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentrxi-phone-number-validator-62b2c1ee
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZxK7BZp2QBNQe6BumcRVL

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 agentrxi-phone-number-validator-62b2c1ee
```

Example prompt: Can you check whether +14155552671 is a valid phone number, tell me what country it belongs to, and whether it's a mobile, landline, or VoIP line?

## When to prefer this

Use this endpoint when you need to validate, classify, and normalize phone numbers in one step using authoritative libphonenumber data. Prefer it over regex-only validation when you need line type (mobile vs VoIP vs toll-free) or canonical E.164/international formatting. Ideal for fraud screening, CRM data normalization, and pre-SMS/call validation pipelines.

## Known failure modes

- Invalid or unparseable phone number returns a validation failure with no type or format data
- Missing country hint for ambiguous local numbers (no leading +) may cause incorrect country inference
- Numbers with no country code prefix and no country hint provided may return an error
- Non-numeric or heavily malformed input may return a parsing error

## How this service works

Phone number check: validates a number and returns its country, line type (mobile, fixed line, toll free, VoIP...) and E.164, international and national formats, from Google's libphonenumber data.

## Output

Returns whether the phone number is valid, its detected country (ISO code and name), line type classification (mobile, fixed line, toll-free, VoIP, premium rate, etc.), and the number in E.164 (e.g. +14155552671), international (e.g. +1 415-555-2671), and national (e.g. (415) 555-2671) formats.

## 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",
     "required": [
      "number"
     ],
     "properties": {
      "number": {
       "type": "string"
      },
      "country": {
       "type": "string",
       "description": "2-letter country if the number has no +code"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentrxi-phone-number-validator-62b2c1ee/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentrxi.com](https://www.zero.xyz/host/agentrxi.com/llms.txt)
