GEThttps://api.veriko.mx/v1/public/banks

Codes and list of participant banks

Audience
public

Returns the current catalog of banking institutions participating in the SPEI system (~95 institutions). The catalog is updated weekly from the official lists of the Bank of Mexico (Banxico).

The code identifies each banking institution participating in the SPEI system.

The response is cacheable: it includes the ETag header, which can be sent in another request as If-None-Match; if the catalog has not changed, it returns 304 (no body).

Parameters
ParameterInTypeRequiredDescription
If-None-Matchheaderstringoptional

ETag received in previous requests. If the data has not changed and etag_version is still the same, the server responds 304 Not Modified (no body) — avoids receiving the data again when the resource state has NOT changed.

e.g. W/"3-processing"
Request
curl -X GET 'https://api.veriko.mx/v1/public/banks'
import requests

response = requests.get("https://api.veriko.mx/v1/public/banks")
print(response.json())
fetch("https://api.veriko.mx/v1/public/banks")
  .then(response => response.json())
  .then(data => console.log(data));
<?php

$ch = curl_init("https://api.veriko.mx/v1/public/banks");

curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);

echo $response;
Response 200ListBanksResponse — Full catalog of participant institutions in the SPEI system.
FieldTypeDescription
dataarray

Main response payload. Shape varies by endpoint (object, array, or JSON:API envelope with type, id, attributes).

type*string

API resource type (bank by default).

e.g. bank
id*string

5-digit code of the banking institution.

e.g. 40012
attributes*object

Attributes of the banking institution.

code*string

Code of the banking institution (5 digits). Same value as id.

e.g. 40012
name*string

Official name of the banking institution.

e.g. BBVA MEXICO
aliasesarray

Alternative names (brand/abbreviations) of the banking institution.

e.g. ["bancomer","bbva bancomer"]
metaobject

Response metadata including API version, route prefix, unique request identifier, and the server timestamp in UTC.

versionstring

API version that processed the request.

e.g. 1.47.0
api_versionstring

API route prefix version (e.g. v1).

e.g. v1
request_idstring

Unique request identifier (hex).

e.g. a1b2c3d4e5f6
datetimeobject

Companion descriptor present in every response's meta block (and in outgoing webhook payloads). Lets clients assert the timezone contract without re-reading the spec.

e.g. {"timezone":"UTC","format":"ISO 8601"}
timezone*string

Always UTC — the canonical timezone for every datetime field in the body.

e.g. UTC
format*string

Always ISO 8601 — explicit Z suffix on every datetime.

e.g. ISO 8601
linksobject

Pagination or related links, present only when the endpoint returns a paginated collection.

Response status codesGET /v1/public/banks
StatusClassDescriptionBody
2002xxFull catalog of participant institutions in the SPEI system.ListBanksResponse
3043xxNot modified — the data has not changed per the sent ETag.No body
Response headers200
HeaderTypeDescription
Cache-ControlstringClient cache TTL (1 h).
ETagstringFingerprint of the current request. Pass as If-None-Match on subsequent requests.