# Phone Number Type Detector

> Phone Number Type Detector 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-12).

Detects whether a phone number is mobile, landline, VOIP, toll-free, or premium rate to aid SMS delivery and communication routing decisions.

## Facts

- Endpoint: GET https://api.strale.io/x402/phone-type-detect?utm_source=zero.xyz
- Price: $0.0216/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-strale-io-fe87878c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_x2NPqxtkPm9D9VkGTQyQT

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-fe87878c
```

Example prompt: Can you check what type of number +1-800-555-0199 is — is it mobile, landline, VOIP, toll-free, or something else? I need to know before routing SMS to it.

## When to prefer this

Use this endpoint when you need to classify a phone number's line type before sending SMS, routing calls, or filtering out non-mobile numbers. Prefer it over generic number validation services when the specific distinction between mobile, landline, VOIP, toll-free, and premium rate matters for your workflow.

## Known failure modes

- Invalid or unparseable phone number format returns an error
- Unrecognized country code hint may reduce accuracy
- Ambiguous numbers without country context may return uncertain results
- Rate limits or payment failures return 402 or 429 errors

## How this service works

Detect whether a phone number is mobile, landline, VOIP, toll-free, or premium rate. Essential for SMS delivery verification and communication routing.

## Output

Returns the phone number type classification (mobile, landline, VOIP, toll-free, or premium rate), enabling the caller to make routing or delivery decisions based on the line type.

## Example request

```json
{
 "country_code": "US",
 "phone_number": "+1-800-555-0199"
}
```

## 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
{
 "is_voip": {
  "type": "boolean"
 },
 "is_mobile": {
  "type": "boolean"
 },
 "phone_type": {
  "type": "string"
 },
 "is_landline": {
  "type": "boolean"
 },
 "sms_capable": {
  "type": "boolean"
 },
 "country_code": {
  "type": "string"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-strale-io-fe87878c/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)
