Pagination Guide
To efficiently handle large datasets, the Bermuda Commercial Bank Open Banking API uses cursor-based pagination with support for pageStart
, pageSize
, and pageToken
.
🔢 Parameters
Parameter | Type | Description |
---|---|---|
pageStart | integer | Starting page number (default: 1) |
pageSize | integer | Number of records per page (max: 1000) |
pageToken | string | Token for retrieving the next page of results |
It's recommended to use
pageToken
from the previous response to retrieve subsequent pages for consistent data access.
🧠Example Workflow
- Call the endpoint with
pageStart=1&pageSize=100
- Store the
pageToken
from the response - Use that token to request the next page:
.../transactions?pageToken=abc123&pageStart=2
📦 Sample Response
{
"meta": {
"pagination": {
"page_start": 2,
"page_token": "abc123",
"total_size": 955,
"page_size": 100
}
},
"data": [ ... ]
}
Use the page_token
value in subsequent requests to paginate efficiently.