curatedapi

Bulk number check

Check up to 1,000 IBANs, BICs, VAT numbers or other identifiers of one kind in one call, with the same rules as the single checks.

Which check to run on every number. Options: iban: IBAN check; bic: BIC (SWIFT code) check; vat-number: VAT number check; us-routing-number: US bank routing number check; isin: ISIN check; lei: LEI check; cusip: CUSIP check; abn: Australian Business Number (ABN) check; india-gstin: GSTIN check (India); india-pan: PAN check (India)
The numbers to check, up to 1,000 (a request may be up to 64 KiB). Spaces, dots, hyphens and slashes are ignored, and lower-case letters are read as upper case. 1 to 1000 items. One per line, or separated by commas.
For check vat-number only: the country of numbers that have no prefix. Options: AT: Austria; BE: Belgium; BG: Bulgaria; CY: Cyprus; CZ: Czechia; DE: Germany; DK: Denmark; EE: Estonia; EL: Greece; ES: Spain; FI: Finland; FR: France; HR: Croatia; HU: Hungary; IE: Ireland; IT: Italy; LT: Lithuania; LU: Luxembourg; LV: Latvia; MT: Malta; NL: Netherlands; PL: Poland; PT: Portugal; RO: Romania; SE: Sweden; SI: Slovenia; SK: Slovakia; XI: Northern Ireland; GB: United Kingdom; CHE: Switzerland; NO: Norway; GR: Greece (same as EL); CH: Switzerland (same as CHE)

Examples

Result: Two IBANs, one with a typing mistake

Check
The single check that was run, with its version.
check/iban@1
Count
How many numbers were checked (and units billed).
2
Valid count
How many passed every check.
1
Invalid count
How many failed a check.
1

Results

NumberValidNormalizedCountryMessage
GB82 WEST 1234 5698 7654 32yesGB82WEST12345698765432GBA well-formed IBAN from United Kingdom.
GB82 WEST 1234 5698 7654 33noGB82WEST12345698765433CHECK_DIGITGBThe check digits are 82, but this country code and account number give 55 (ISO 13616, MOD 97-10). One or more characters are wrong.

Calculator check/bulk@1.

How it is calculated

each number goes through the same rules as the single check named by check

Runs one of the number checks (IBAN, BIC, VAT number, US routing number, ISIN, LEI, CUSIP, ABN, GSTIN or PAN) on a list of up to 1,000 numbers and returns a result for each, in the order sent, plus how many passed. Each result is the same as the single check gives for that number. Use it to clean a supplier or customer list in one go. It is billed one unit per number, the same as checking them one by one.

  • 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.
  • Billed one unit per number checked; a request that fails (a wrong input) costs nothing.
  • The numbers are not stored or logged.

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

POST /v1/calc/check/bulkVersion 1
curl https://api.curatedapi.com/v1/calc/check/bulk \
  -H "Authorization: Bearer $CURATEDAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "check": "iban",
    "numbers": ["GB82 WEST 1234 5698 7654 32", "GB82 WEST 1234 5698 7654 33"]
  }'
The same call in Python
import os

import requests

payload = {
    "check": "iban",
    "numbers": ["GB82 WEST 1234 5698 7654 32", "GB82 WEST 1234 5698 7654 33"],
}
response = requests.post(
    "https://api.curatedapi.com/v1/calc/check/bulk",
    headers={"Authorization": f"Bearer {os.environ['CURATEDAPI_KEY']}"},
    json=payload,
    timeout=10,
)
print(response.json()["result"])
The same call in JavaScript
const payload = {
    "check": "iban",
    "numbers": ["GB82 WEST 1234 5698 7654 32", "GB82 WEST 1234 5698 7654 33"],
};
const response = await fetch("https://api.curatedapi.com/v1/calc/check/bulk", {
  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_bulk at https://mcp.curatedapi.com. Inputs, outputs and errors in the API reference.

Put it on your website

<div data-curatedapi-widget="check/bulk" 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

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.