CUSIP check
Check the length and check digit of a CUSIP and split it into issuer, issue and check digit.
- Version 1
- Checked against 2 published values
- Free, no sign-up
Examples
Result: Wrong check digit
| Valid Whether the CUSIP passes every check. |
no |
|---|---|
| Normalized The number as it was checked: separators removed, letters in upper case. |
037833108 |
| Problem What is wrong, when valid is false: CHARACTERS: a character that cannot appear in this kind of number; LENGTH: the wrong number of characters; COUNTRY: an unknown or unsupported country code; FORMAT: the right length but the wrong structure; CHECK_DIGIT: the check digit or check characters do not match the rest of the number. |
CHECK_DIGIT |
| Message The result in a sentence, naming the rule that failed. |
The check digit is 8, but the first eight characters give 0. |
| Issuer Characters 1 to 6. |
037833 |
| Issue Characters 7 and 8. |
10 |
| Check digit The ninth character. |
8 |
| Expected check digit The check digit the first eight characters give. |
0 |
Calculator check/cusip@1.
How it is calculated
value each character (digits as they are, A = 10 … Z = 35, * = 36, @ = 37, # = 38), double every second value, add the digits of all values; check digit = (10 − total mod 10) mod 10Checks a nine-character CUSIP, the identifier of US and Canadian securities: six characters for the issuer, two for the issue and a check digit worked out with the CUSIP form of the Luhn rule (the 'modulus 10 double-add-double' method).
- The number is checked by arithmetic alone. Nothing is looked up, so a valid result means the number is well formed, not that the account, company or security exists.
References
Results follow each calculator's documented rules and the sources listed. They are not financial, tax or legal advice. Check that the rules fit your case before you rely on a result. See the terms.
Use it from your code
curl https://api.curatedapi.com/v1/calc/check/cusip \
-H "Authorization: Bearer $CURATEDAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"number": "037833108"
}'
The same call in Python
import os
import requests
payload = {
"number": "037833108",
}
response = requests.post(
"https://api.curatedapi.com/v1/calc/check/cusip",
headers={"Authorization": f"Bearer {os.environ['CURATEDAPI_KEY']}"},
json=payload,
timeout=10,
)
print(response.json()["result"])
The same call in JavaScript
const payload = {
"number": "037833108",
};
const response = await fetch("https://api.curatedapi.com/v1/calc/check/cusip", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.CURATEDAPI_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify(payload),
});
console.log((await response.json()).result);
MCP tool calc_check_cusip at https://mcp.curatedapi.com.
Inputs, outputs and errors in the API reference.
Put it on your website
<div data-curatedapi-widget="check/cusip" data-key="capi_public_…"></div>
<script src="https://widgets.curatedapi.com/v1/widget.js" async></script>
Use a public key registered for your site. Calculations are billed like API calls. How widgets work.
Related calculators
- Australian Business Number (ABN) check
- BIC (SWIFT code) check
- GSTIN check (India)
- IBAN check
- ISIN check
- LEI check
- PAN check (India)
- US bank routing number check
- VAT number check
Add this calculator to your website
Paste two lines into your page and your visitors get this calculator. Each use counts as one call on your plan, the same as the API.
Free for up to 1,000 uses a month. 50,000 uses a month cost $9.00 on the Starter plan.