# Portuguese IBAN Validator (mod-97, length 25)

> Portuguese IBAN Validator (mod-97, length 25) is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-02).

Validates whether a given string is a mod-97-valid Portuguese IBAN (country code PT) of exactly 25 characters.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/check-iban-pt?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/portuguese-iban-validator-mod-97-length-25-55f04825
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qloXK2BQKwpwcc2PG_vVH

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 portuguese-iban-validator-mod-97-length-25-55f04825 -d '<json body>'
```

Example prompt: Can you check if 'PT50000201231234567890154' is a valid Portuguese IBAN — specifically that it's 25 characters and passes the mod-97 checksum?

## When to prefer this

Use this endpoint when you specifically need to validate a Portuguese (PT) IBAN of exactly 25 characters with a mod-97 checksum. Prefer the free sandbox endpoint (POST /v1/sandbox/check-iban-pt) for testing. For IBANs from other countries (NL, SE, QA, SC, SI, ME), use the corresponding country-specific sibling endpoints.

## Known failure modes

- Input string is empty or missing — returns validation error
- IBAN is correct country code but wrong length — fails length check
- IBAN fails mod-97 checksum — returns invalid
- Non-PT country code provided — out of scope for this endpoint
- Payment of $0.01 USDC not completed — returns 402 Payment Required
- Malformed request body — returns 400 Bad Request

## How this service works

Call when an agent needs whether an IBAN is a mod-97-valid PT number of length 25. Exact $0.01 USDC. Prefer unpaid POST /v1/sandbox/check-iban-pt first.

## Output

Returns a boolean or structured result indicating whether the provided string is a valid Portuguese IBAN: exactly 25 characters long, starts with 'PT', and passes the mod-97 checksum algorithm.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "description": "JSON value for schema-check SKUs. Omit it on string checks such as email or IBAN."
  },
  "value": {
   "type": "string",
   "examples": [
    "PT84AAAA00000000000000000"
   ],
   "maxLength": 20000,
   "minLength": 1,
   "description": "Value to check. The route description names the format: email, phone, IBAN, postal code, VAT, national id, or similar."
  },
  "schema": {
   "description": "JSON Schema document for schema-check SKUs. Omit it on string checks."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/portuguese-iban-validator-mod-97-length-25-55f04825/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshelf.syntexa.ch](https://www.zero.xyz/host/agentshelf.syntexa.ch/llms.txt)
