GEThttps://api.veriko.mx/v1/insights/top-banks

User's top banks by volume or errors

Audience
public
Auth
API key
Permission
insights:read_self
How-to guide →

Lists the most frequent banks in the user's validations over the last 30 days, ranked by total volume or by error count.

Parameters
ParameterInTypeRequiredDescription
limitqueryintegeroptional

Maximum number of banks to return.

Default: 10

e.g. 10
metricquerystringoptional

What to sort by. volume puts the banks with the most validations on top; errors puts the ones that fail most on top — rarely the same banks.

Default: volume

e.g. volume
Request
curl -X GET 'https://api.veriko.mx/v1/insights/top-banks' \
  -H 'Authorization: Bearer veriko_••••'

Python example — coming soon.

JavaScript example — coming soon.

PHP example — coming soon.

Response 200InsightsTopBanksAttributes — User's most frequent banks over the last 30 days.
FieldTypeDescription
metricstring

Ranking metric: volume — banks ordered by total validations; errors — banks ordered by error rate.

e.g. volume
scopestring

Ranking scope: self — user's validations only; global — all platform validations (admin only).

e.g. self
banksarray

List of banks ordered by the selected metric.

Response status codesGET /v1/insights/top-banks
StatusClassDescriptionBody
2002xxUser's most frequent banks over the last 30 days.No body
4014xxAuthentication is required or the provided credentials are invalid.ErrorResponse
4034xxInsufficient permissions.ErrorResponse
Errors from GET /v1/insights/top-banks
StatusCodeExample
401unauthorized

Invalid or missing authentication credentials.

Envelope
meta.request_id
c4d5e6f7a8b9
403forbidden

You do not have permission to access this resource.

Envelope
meta.request_id
d5e6f7a8b9c0