# eu-verify ISIN Validator

> eu-verify ISIN Validator is a paid API for AI agents from data.greeneris.io, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Validates an ISIN (International Securities Identification Number) by checking ISO 6166 structure and Luhn base-36 checksum, returning country code, NSIN, and check digit.

## Facts

- Endpoint: GET https://data.greeneris.io/v1/validate/isin
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/eu-verify-isin-validator-3fe5916f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Bj0eoseghPipNFAmGtglo

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 eu-verify-isin-validator-3fe5916f
```

Example prompt: Can you check whether the ISIN US0378331005 is valid and tell me the country code and NSIN it breaks down into?

## When to prefer this

Use this endpoint when you need to verify an ISIN's structural correctness and checksum before processing financial data, invoicing, or trade operations — it is fast, cheap ($0.002), requires no API key, and works offline against ISO 6166 rules. Does not provide live securities reference data (e.g. company name, exchange, price); for that you'd need a securities database. Ideal for data pipelines validating incoming ISINs at scale.

## Known failure modes

- ISIN not provided or missing 'isin' query parameter → 400 Bad Request
- ISIN not exactly 12 characters → likely returns valid:false
- Non-alphanumeric characters in ISIN → validation failure
- Endpoint not funded/payment not made → HTTP 402 with machine-readable quote requiring USDC payment on Base via x402
- Network timeout or service unavailability → connection error

## How this service works

Deterministic ISIN check before routing an order or paying a market-data API: structure regex (2-letter country or XS/EU, 9-char NSIN, check digit) and the Luhn checksum over the base-36 expansion. Query: ?isin=US0378331005. Returns valid, country_code, nsin, check_digit and is_international. A corrupted ISIN means a rejected order or the wrong instrument. Pure offline computation, 1y cache.

## Output

A JSON object with fields: isin (the input), valid (boolean), nsin (national securities identifier number), country_code (ISO 2-letter country), check_digit, is_international (boolean), and source (description of validation method used — offline ISO 6166 structure + Luhn base-36 checksum).

## 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": [
      "isin"
     ],
     "properties": {
      "isin": {
       "type": "string",
       "description": "ISIN to validate, 12 characters"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "isin": "US0378331005",
  "nsin": "037833100",
  "valid": true,
  "source": "offline ISO 6166 structure + Luhn base-36 checksum (no securities reference data)",
  "check_digit": "5",
  "country_code": "US",
  "is_international": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/eu-verify-isin-validator-3fe5916f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from data.greeneris.io](https://www.zero.xyz/host/data.greeneris.io/llms.txt)
