# List Bank Account Statistics -> Calculates statistics from a bank account database and provides information about whitelist records, whitelist bank accounts, country distribution, etc. Endpoint: GET /bankaccounts/statistics Version: 2 Security: apiKey ## Response 200 fields (application/json): - `timeStampCreated` (integer) Time stamp of the creation. Example: "20240302" - `whitelistBankAccountCount` (integer) Count of the bank accounts in the whitelist. Example: "10" - `whitelistTrustScoreCount` (integer) Count of the trust scores in the whitelist. Example: "10" - `whitelistCountryBankAccountCounts` (array) List of the country bank account counts. - `whitelistCountryBankAccountCounts.countryCode` (string) Country code (ISO 3166-1 alpha-2). Example: "CH" - `whitelistCountryBankAccountCounts.count` (integer) Count of the country. Example: "2" - `whitelistCountryTrustScoreCounts` (array) List of the country trust score counts. - `whitelistTrustScoreMean` (number) Mean of the trust scores in the whitelist. Example: "0.5" - `whitelistTrustScore1Count` (integer) Count of the trust score 1 in the whitelist. Example: "10" - `whitelistTrustScore2Count` (integer) Count of the trust score 2 in the whitelist. Example: "10" - `whitelistTrustScore3Count` (integer) Count of the trust score 3 in the whitelist. Example: "10" - `whitelistTrustScore4Count` (integer) Count of the trust score 4 in the whitelist. Example: "10" - `whitelistBankAccountWith1TrustScoreCount` (integer) Count of the bank accounts with 1 trust score in the whitelist. Example: "10" - `whitelistBankAccountWith2TrustScoresCount` (integer) Count of the bank accounts with 2 trust scores in the whitelist. Example: "10" - `whitelistBankAccountWith3TrustScoresCount` (integer) Count of the bank accounts with 3 trust scores in the whitelist. Example: "10" - `whitelistBankAccountWith4TrustScoresCount` (integer) Count of the bank accounts with 4 trust scores in the whitelist. Example: "10" - `whitelistBankAccountWith5TrustScoresCount` (integer) Count of the bank accounts with 5 trust scores in the whitelist. Example: "10" - `whitelistBankAccountWithMoreThan5TrustScoresCount` (integer) Count of the bank accounts with more than 5 trust scores in the whitelist. Example: "10" ## Response 400 fields (application/json): - `id` (string) Unique identifier of the error. Example: "5c6a2c7e-9b0a-4e1a-8b0a-4e1a8b0a4e1a" - `path` (string) Requested path which caused this error. Example: "/v2/businesspartners/lookup" - `timestamp` (string) ISO 8601 representation of the timestamp. Example: "2025-08-29T09:46:42Z" - `message` (string) Details about the error. Example: "This user is not allowed to access this service." - `error` (string) RFC 7231 error which belongs to the status code. Example: "BAD_REQUEST" - `status` (integer) RFC 7231 status code for this error. Example: "400" ## Response 401 fields (application/json): - `id` (string) Unique identifier of the error. Example: "5c6a2c7e-9b0a-4e1a-8b0a-4e1a8b0a4e1a" - `path` (string) Requested path which caused this error. Example: "/v2/businesspartners/lookup" - `timestamp` (string) ISO 8601 representation of the timestamp. Example: "2025-08-29T09:46:42Z" - `message` (string) Details about the error. Example: "This user is not allowed to access this service." - `error` (string) RFC 7231 error which belongs to the status code. Example: "BAD_REQUEST" - `status` (integer) RFC 7231 status code for this error. Example: "400" ## Response 403 fields (application/json): - `id` (string) Unique identifier of the error. Example: "5c6a2c7e-9b0a-4e1a-8b0a-4e1a8b0a4e1a" - `path` (string) Requested path which caused this error. Example: "/v2/businesspartners/lookup" - `timestamp` (string) ISO 8601 representation of the timestamp. Example: "2025-08-29T09:46:42Z" - `message` (string) Details about the error. Example: "This user is not allowed to access this service." - `error` (string) RFC 7231 error which belongs to the status code. Example: "BAD_REQUEST" - `status` (integer) RFC 7231 status code for this error. Example: "400" ## Response 404 fields (application/json): - `id` (string) Unique identifier of the error. Example: "5c6a2c7e-9b0a-4e1a-8b0a-4e1a8b0a4e1a" - `path` (string) Requested path which caused this error. Example: "/v2/businesspartners/lookup" - `timestamp` (string) ISO 8601 representation of the timestamp. Example: "2025-08-29T09:46:42Z" - `message` (string) Details about the error. Example: "This user is not allowed to access this service." - `error` (string) RFC 7231 error which belongs to the status code. Example: "BAD_REQUEST" - `status` (integer) RFC 7231 status code for this error. Example: "400" ## Response 406 fields (application/json): - `id` (string) Unique identifier of the error. Example: "5c6a2c7e-9b0a-4e1a-8b0a-4e1a8b0a4e1a" - `path` (string) Requested path which caused this error. Example: "/v2/businesspartners/lookup" - `timestamp` (string) ISO 8601 representation of the timestamp. Example: "2025-08-29T09:46:42Z" - `message` (string) Details about the error. Example: "This user is not allowed to access this service." - `error` (string) RFC 7231 error which belongs to the status code. Example: "BAD_REQUEST" - `status` (integer) RFC 7231 status code for this error. Example: "400" ## Response 503 fields (application/json): - `id` (string) Unique identifier of the error. Example: "5c6a2c7e-9b0a-4e1a-8b0a-4e1a8b0a4e1a" - `path` (string) Requested path which caused this error. Example: "/v2/businesspartners/lookup" - `timestamp` (string) ISO 8601 representation of the timestamp. Example: "2025-08-29T09:46:42Z" - `message` (string) Details about the error. Example: "This user is not allowed to access this service." - `error` (string) RFC 7231 error which belongs to the status code. Example: "BAD_REQUEST" - `status` (integer) RFC 7231 status code for this error. Example: "400"