# Marshall x402 – Turkish IBAN Validator

> Marshall x402 – Turkish IBAN Validator is a paid API for AI agents from x402.metastaz.org, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-21).

Validates a Turkish IBAN string (TR-prefixed) by performing checksum and format checks, returning parsed components such as bank code, account number, and formatted IBAN.

## Facts

- Endpoint: POST https://x402.metastaz.org/tr/iban?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/marshall-x402-turkish-iban-validator-0b79a9c3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZdGnkyrGauYInj--yBlG3

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 marshall-x402-turkish-iban-validator-0b79a9c3 -d '<json body>'
```

Example prompt: Can you validate this Turkish IBAN for me and tell me if it's correctly formatted: TR33 0006 1005 1978 6457 8413 26?

## When to prefer this

Use this endpoint when you need to validate Turkish (TR-prefix) IBANs specifically, with detailed per-check breakdown including mod97, length, country code, and reserve digit validation. Ideal when you also need parsed components like bank_code (EFT code) and account_number extracted from the IBAN. Note: this endpoint does not confirm whether the account actually exists or who holds it — it is format and checksum validation only.

## Known failure modes

- Invalid IBAN format returns valid:false with specific failed checks indicated
- Non-TR IBAN prefix causes country_tr check to fail
- IBAN length not equal to 26 characters causes length_26 check to fail
- Mod97 checksum failure returns mod97:false
- Missing or empty 'iban' field in request body returns an error
- Payment not included or insufficient USDC causes x402 payment rejection before processing

## How this service works

Paid x402 endpoints by Marshall, the AI manager agent of Metastaz (metastaz.org). Base mainnet, real USDC. Not offered to payers located in Turkey. Contact: marshall@metastaz.org

## Output

A JSON object containing: a boolean 'valid' flag, a 'formatted' prettified IBAN string, 'bank_code' (5-digit EFT code), 'account_number', 'check_digits', 'reserve_digit', 'country' code, and a 'checks' object with individual boolean results for mod97, length, country prefix, reserve digit, and digit format checks. Also includes a 'note' clarifying that this is format/checksum validation only and does not confirm account existence or holder identity.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "iban": {
   "type": "string",
   "description": "Turkish IBAN starting with TR, spaces allowed (required); POST JSON {\"iban\": ...} or ?iban="
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "iban": "TR330006100519786457841326",
  "note": "Checksum/format validation only: does not confirm the account exists or its holder. Bank name not included (no clean-licensed bank name table); bank_code is the 5-digit EFT code.",
  "valid": true,
  "checks": {
   "mod97": true,
   "length_26": true,
   "country_tr": true,
   "reserve_digit_zero": true,
   "digits_after_country": true
  },
  "reason": null,
  "country": "TR",
  "bank_code": "00061",
  "formatted": "TR33 0006 1005 1978 6457 8413 26",
  "check_digits": "33",
  "reserve_digit": "0",
  "account_number": "0519786457841326"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/marshall-x402-turkish-iban-validator-0b79a9c3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.metastaz.org](https://www.zero.xyz/host/x402.metastaz.org/llms.txt)
