# Tax ID (TIN) Format Validator

> Tax ID (TIN) Format Validator is a paid API for AI agents from api.strale.io, paid per call via x402, $0.0216/call, status unknown (last checked 2026-09-13).

Validates tax identification number (TIN) formats for 40+ countries using format rules and checksum algorithms, without querying tax authorities.

## Facts

- Endpoint: GET https://api.strale.io/x402/tax-id-validate
- Price: $0.0216/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-strale-io-0c8a20f5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BbO-1XmAoW1-fnTrKbtHp

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-0c8a20f5
```

Example prompt: Can you check whether the tax ID '12-3456789' is a valid US EIN format — just validate the format and checksum, no need to verify with the IRS.

## When to prefer this

Use this endpoint when you need fast, offline-style format and checksum validation of tax IDs across 40+ countries before submitting to a tax authority, processing a payment, or onboarding a business — especially when real-time authority verification is unnecessary, too slow, or too costly.

## Known failure modes

- Unrecognized country code returns an error
- Tax ID format not matching any known pattern returns invalid
- Missing tax_id parameter returns 400 bad request
- Country code mismatch with prefix returns conflict error
- Unsupported country (outside 40+ supported list) returns unknown format

## How this service works

Validate tax identification number (TIN) formats for 40+ countries. Checks format rules and checksum algorithms where applicable. Does not verify with tax authorities.

## Output

Returns whether the provided tax identification number is valid for the detected or specified country, including format rule compliance and checksum verification results where applicable. Does not confirm registration with any tax authority.

## Example request

```json
{
 "tax_id": "12-3456789",
 "country_code": "US"
}
```

## 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": [
      "tax_id"
     ],
     "properties": {
      "tax_id": {
       "type": "string",
       "description": "Tax identification number (with or without country prefix)"
      },
      "country_code": {
       "type": "string",
       "description": "ISO 2-letter country code (auto-detected from prefix if omitted)"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

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