# 2s.io Batch Identifier Validator

> 2s.io Batch Identifier Validator is a paid API for AI agents from 2s.io, paid per call via x402, $0.0012/call, status unknown (last checked 2026-09-14).

Validates up to 100 financial and trade identifiers (IBAN, GTIN, ABA, LEI, BIC, GLN, SSCC, ISIN, CUSIP) in a single batch call, returning validity status and parsed details for each.

## Facts

- Endpoint: POST https://2s.io/api/validate/batch
- Price: $0.0012/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/2s-io-batch-identifier-validator-9ea447c6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6A4EzN7_m4KWwyYTyb-Vm

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 2s-io-batch-identifier-validator-9ea447c6 -d '<json body>'
```

Example prompt: Can you validate these three identifiers for me in one go: IBAN 'DE89 3704 0044 0532 0130 00', ISIN 'US0378331005', and GTIN '0036000291452'? Tell me which ones are valid and why any might be invalid.

## When to prefer this

Use this endpoint when you need to validate multiple financial or trade identifiers in a single API call without setting up an account or paying monthly fees. Ideal for compliance pipelines, data quality checks on financial data ingestion, or verifying user-submitted codes across IBAN, ISIN, CUSIP, GTIN, LEI, BIC, GLN, ABA, and SSCC formats. Pay-per-call pricing via USDC makes it cost-effective for low-volume or sporadic validation needs.

## Known failure modes

- Invalid identifier type string returns error for that item
- Empty items array rejected (minItems: 1)
- More than 100 items rejected (maxItems: 100)
- Malformed JSON body returns 400
- Payment failure via x402 returns 402 Payment Required
- Unsupported identifier type string causes item-level error

## How this service works

The (most) everything API: 575+ pay-per-call endpoints for AI agents — ground-truth data, a full AI gateway, and agent infrastructure (storage, queues, watchers). USDC via x402, no signup, no API keys, and upto billing: pay actual usage, not the quote.

## Output

A JSON object with an 'ok' boolean, a 'meta' summary of valid/invalid counts, and an 'items' array with per-identifier results including: validity boolean, detected format, parsed fields (e.g. countryCode for IBAN, gtin14 for GTIN, checkDigit), and a 'reason' string explaining any validation failure.

## Example request

```json
{
 "items": [
  {
   "type": "iban",
   "value": "DE89370400440532013000"
  },
  {
   "type": "gtin",
   "value": "5901234123457"
  },
  {
   "type": "aba",
   "value": "011000015"
  }
 ]
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "items": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "type",
     "value"
    ],
    "properties": {
     "type": {
      "type": "string",
      "description": "One of: iban, gtin, aba, lei, bic, gln, sscc, isin, cusip."
     },
     "value": {
      "type": "string",
      "description": "Raw identifier (spaces/hyphens allowed)."
     }
    }
   },
   "description": "Identifiers to validate; each {type, value}."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/2s-io-batch-identifier-validator-9ea447c6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 2s.io](https://www.zero.xyz/host/2s.io/llms.txt)
