Vai al contenuto
GET /v1/meta

Spec

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/securitiesid-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/securitiesid-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/securitiesid-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/securitiesid-api/v1/meta");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/securitiesid-api/v1/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "name": "Securities ID API",
        "notes": "ISIN = 2-letter country + 9-char NSIN + check digit; CUSIP = 8-char body + check digit; SEDOL = 6-char body + check digit. This validates the identifier's structure and check digit — it does not look up the underlying security. Nothing is stored.",
        "version": "v1",
        "endpoints": [
            {
                "path": "/v1/validate",
                "params": {
                    "id": "the identifier (required)",
                    "type": "isin, cusip or sedol (optional — auto-detected)"
                },
                "returns": "whether it is valid plus the parsed parts and expected check digit"
            },
            {
                "path": "/v1/checkdigit",
                "params": {
                    "body": "the identifier without its check digit (required)",
                    "type": "isin, cusip or sedol (optional — auto-detected)"
                },
                "returns": "the check digit and the complete identifier"
            },
            {
                "path": "/v1/meta",
                "params": [],
                "returns": "this document"
            }
        ],
        "description": "Validate the world's securities identifiers and compute their check digits. The validate endpoint checks an ISIN (12 characters), CUSIP (9 characters) or SEDOL (7 characters) — auto-detecting the type — using the correct check-digit algorithm for each: the Luhn-over-letter-expansion scheme for ISIN, the doubling mod-10 scheme for CUSIP, and the weighted mod-10 scheme for SEDOL. The checkdigit endpoint computes the trailing check digit for an identifier body, so you can complete or generate one. Pure local, no key."
    },
    "meta": {
        "timestamp": "2026-06-03T09:25:04.092Z",
        "request_id": "96f4b82d-1e20-43fb-9eb2-4f13b27cb6db"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}