# Phone Number Intelligence API

> Phone Number Intelligence API is a paid API for AI agents from api.agentstools.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-12).

Validates a phone number, normalizes it to E.164, identifies line type and carrier, and returns a 0-100 fraud/KYC risk score with band and reasons — all offline from libphonenumber metadata.

## Facts

- Endpoint: GET https://api.agentstools.dev/phone/intel?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/phone-number-intelligence-api-9fff665b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BVjegYkRpzgByAOMQoXNi

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 phone-number-intelligence-api-9fff665b
```

Example prompt: Can you check the phone number +14155552671 — is it a valid mobile number, what carrier is it on, and what's the fraud risk score for KYC purposes?

## When to prefer this

Use this endpoint when you need offline, fast, deterministic phone number validation combined with line type classification and a fraud/KYC risk signal in a single call — especially for onboarding flows, fraud screening, or enriching contact records. Prefer this over live carrier lookup APIs when you do not need real-time line status or subscriber identity, and when cost-per-call and privacy (number not stored) matter.

## Known failure modes

- Missing 'number' query parameter returns a 400 error
- Unparseable or completely invalid number string returns validation failure or error
- National-format number without country code may fail to parse — requires 'country' parameter
- Payment not provided or insufficient returns 402 Payment Required
- Very unusual number formats may return low-confidence results

## How this service works

Phone-number intelligence in one call: validity and E.164 normalization, line type (mobile, fixed line, VOIP, toll free, premium rate), country and region, carrier hint, timezones, and a deterministic 0-100 fraud/KYC risk score with a band and reasons. Offline number-plan metadata from Google libphonenumber. Risk indicators only, not a definitive fraud verdict; no live status and no owner identity; the input number is not stored.

## Output

Returns validity status, E.164 normalized form, line type (mobile, fixed line, VOIP, toll free, premium rate), country and region, carrier hint, timezones, and a 0-100 deterministic fraud/KYC risk score with a risk band (e.g. low/medium/high) and human-readable reasons for the score.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "number"
     ],
     "properties": {
      "number": {
       "type": "string",
       "description": "Phone number. E.164 (e.g. +14155552671) or a national number when 'country' is also given."
      },
      "region": {
       "type": "string",
       "description": "Alias of 'country' (ISO-3166 alpha-2)."
      },
      "country": {
       "type": "string",
       "description": "Optional ISO-3166 alpha-2 country code (e.g. US, GB, DE) for national-format input."
      }
     }
    }
   },
   "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/phone-number-intelligence-api-9fff665b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agentstools.dev](https://www.zero.xyz/host/api.agentstools.dev/llms.txt)
