# Toll402 SSN Validator

> Toll402 SSN Validator is a paid API for AI agents from toll402.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Validates a US Social Security Number (SSN) for correct format and checksum, returning a pass/fail result.

## Facts

- Endpoint: POST https://toll402.dev/v1/t/ssn_validate
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/toll402-ssn-validator-58573cf5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mXD0hRIcybL4v5kXCpYJG

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 toll402-ssn-validator-58573cf5 -d '<json body>'
```

Example prompt: Check if '523-45-6789' is a valid Social Security Number — I need to know before I submit this form.

## When to prefer this

Use this endpoint when you need a lightweight, pay-per-call SSN format and structural validator with no signup or API key required. Ideal for agents performing KYC pre-checks, form validation, or data quality audits on US Social Security Numbers. Prefer this over full identity verification services when you only need format/checksum validation, not a live database lookup.

## Known failure modes

- Invalid SSN format submitted (not NNN-NN-NNNN or 9 digits) — likely returns ok: false
- Missing required 'ssn' field in body — request may return an error
- SSN with all-zero segment (e.g. 000-00-0000) may fail validation rules
- Network or payment failure via x402 — 402 response if USDC balance insufficient

## How this service works

The OpenRouter for AI-agent tools: one gateway, one wallet, every capability. Built-in tools, forged tools, a global verified business directory and 2,000+ aggregated x402 services, all paid per call in USDC via x402 (HTTP 402). No signup, no API key.

## Output

Returns a JSON object with an 'ok' boolean field: true if the SSN passes format and structural validation, false if it does not. No additional detail is returned about why a number may be invalid.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "ssn"
     ],
     "properties": {
      "ssn": {
       "type": "string",
       "description": "SSN as NNN-NN-NNNN or 9 digits"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/toll402-ssn-validator-58573cf5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from toll402.dev](https://www.zero.xyz/host/toll402.dev/llms.txt)
