validate

Validate a CUSIP (9-character US/Canada securities...

Validate a CUSIP (9-character US/Canada securities identifier) with its mod-10 weighted check digit. Returns {valid, cusip, checkDigit, reason}. Catches transposed characters in security master / holdings data that a length check misses. Structure + checksum only.

get/api/validate/cusip

Request

  • Base URL: https://2s.io
  • URL: https://2s.io/api/validate/cusip
  • Auth: API key in header PAYMENT-SIGNATURE

Query parameters

cusipstring required

CUSIP.

trial1

Try before you buy. Set to 1 for one free real call per endpoint per hour — no wallet or payment needed — to verify the endpoint before paying. Equivalent to sending the "X-2s-Trial: 1" request header. Listed only on operations that offer a trial; the others always answer 402.

Response

(unresolved $ref)

Changes

No recorded changes to this operation across all 1 revision of this API.