The REST API is in beta. This endpoint’s response shape may change.
Returns a paginated list of all accounts across the authenticated user’s active connections.
Request
| Header | Required | Description |
|---|
Authorization | Yes | Bearer rbk_live_... |
Query parameters
| Parameter | Type | Default | Description |
|---|
limit | integer | 50 | Maximum items to return (1 to 200) |
offset | integer | 0 | Number of items to skip |
Response
{
"data": [
{
"id": "acc_abc123",
"connectionId": "conn_abc123",
"provider": "fiskil",
"name": "Everyday Account",
"type": "transaction",
"institutionName": "Westpac",
"accountNumber": "xxxx4567",
"currency": "AUD"
},
{
"id": "acc_def456",
"connectionId": "conn_abc123",
"provider": "fiskil",
"name": "Savings Account",
"type": "savings",
"institutionName": "Westpac",
"accountNumber": "xxxx8901",
"currency": "AUD"
}
],
"pagination": {
"total": 5,
"limit": 50,
"offset": 0,
"hasMore": false
}
}
Account object
| Field | Type | Description |
|---|
id | string | Unique account identifier |
connectionId | string | ID of the parent connection |
provider | string | null | Provider name (e.g. "fiskil") |
name | string | Account name (e.g. “Everyday Account”) |
type | string | Account type: "transaction", "savings", "credit_card", etc. |
institutionName | string | null | Institution name (e.g. “Westpac”) |
accountNumber | string | null | Masked account number, last 4 digits only (e.g. "xxxx4567") |
currency | string | ISO 4217 currency code (e.g. "AUD", "USD") |
Account numbers are always masked. Only the last 4 digits are returned. Accounts on connections being deleted are excluded.
| Field | Type | Description |
|---|
total | integer | Total number of accounts |
limit | integer | Limit applied to this request |
offset | integer | Offset applied to this request |
hasMore | boolean | true if more items exist beyond this page |
Examples
Basic request
curl -H "Authorization: Bearer rbk_live_..." \
https://api.redbark.co/v1/accounts
curl -H "Authorization: Bearer rbk_live_..." \
"https://api.redbark.co/v1/accounts?limit=10&offset=10"
Python
import requests
resp = requests.get(
"https://api.redbark.co/v1/accounts",
headers={"Authorization": "Bearer rbk_live_..."},
params={"limit": 100},
)
data = resp.json()
for account in data["data"]:
print(f"{account['name']} ({account['currency']}): {account['accountNumber']}")
print(f"Showing {len(data['data'])} of {data['pagination']['total']} accounts")
JavaScript
const resp = await fetch(
"https://api.redbark.co/v1/accounts?limit=100",
{ headers: { Authorization: "Bearer rbk_live_..." } },
);
const { data: accounts, pagination } = await resp.json();
for (const account of accounts) {
console.log(`${account.name} (${account.currency}): ${account.accountNumber}`);
}
console.log(`Showing ${accounts.length} of ${pagination.total} accounts`);