# Phone Number Validation & Type Classification

> Phone Number Validation & Type Classification is a paid API for AI agents from api.strale.io, paid per call via x402, $0.0216/call, status unknown (last checked 2026-10-11, last successful call 2026-05-01).

Validates a phone number, normalizes it to E.164 format, and classifies it as mobile, landline, or VOIP with country and carrier details.

## Facts

- Endpoint: GET https://api.strale.io/x402/phone-validate?utm_source=zero.xyz
- Price: $0.0216/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Last successful call: 2026-05-01
- Success rate: 33% of calls made through Zero
- Activations on Zero: 3
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-strale-io-700227ee
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_leV_TE8Q61Njsl_Mi8D-l

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-strale-io-700227ee
```

Example prompt: Can you validate this phone number +14155552671 and tell me whether it's mobile, landline, or VOIP, and which carrier and country it belongs to?

## When to prefer this

Use this endpoint when you need to validate a user-submitted phone number, normalize it to E.164, or determine whether a number is mobile, landline, or VOIP for routing or fraud-prevention decisions. Covers 200+ countries, making it suitable for international use cases.

## Known failure modes

- Invalid or unparseable phone number returns an error
- Unrecognized number format with no country code hint may fail to parse
- Some VOIP or newer carrier numbers may have incomplete carrier data
- Rate limiting or payment failure returns HTTP 402

## How this service works

Validate a phone number and classify its type. Returns E.164 format, country, carrier name, and whether it is mobile, landline, or VOIP. Covers 200+ countries.

## Output

Returns the phone number in E.164 format, the country it belongs to, the carrier name, and the line type classification (mobile, landline, or VOIP). Covers numbers from 200+ countries.

## Example request

```json
{
 "country_code": "US",
 "phone_number": "+14155552671"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "phone_number"
 ],
 "properties": {
  "country_code": {
   "type": "string",
   "description": "ISO 2-letter country code hint (optional)"
  },
  "phone_number": {
   "type": "string",
   "description": "Phone number in any format"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "e164": {
  "type": "string"
 },
 "valid": {
  "type": "boolean"
 },
 "phone_type": {
  "type": "string"
 },
 "is_possible": {
  "type": "boolean"
 },
 "country_code": {
  "type": "string"
 },
 "national_format": {
  "type": "string"
 },
 "international_format": {
  "type": "string"
 }
}
```

## More

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