Skip to main content
The REST API is in beta. Endpoints, request formats, and response shapes may change. Pin your integration to a specific API version once versioning is available.
The Redbark REST API provides programmatic access to accounts, balances, transactions, connections, and brokerage data. Use it to build integrations, dashboards, or workflows on top of your banking and investment data.

Base URL

https://api.redbark.co

Authentication

All API requests require a Bearer token. Create an API key in the dashboard and include it in the Authorization header:
Authorization: Bearer rbk_live_...
API access requires an active subscription (trialing, active, or past due). You can revoke keys from the dashboard at any time.

Rate limits

Authenticated requests are limited to 30 requests per minute per API key. Unauthenticated or failed auth requests are limited to 10 per minute per IP address. Every response includes rate limit headers:
HeaderDescription
X-RateLimit-LimitMaximum requests allowed per window
X-RateLimit-RemainingRequests remaining in the current window
Retry-AfterSeconds until the next request is allowed (only present on 429 responses)

Error format

All errors return a JSON envelope:
{
  "error": {
    "message": "Connection not found or does not belong to this user",
    "code": "not_found",
    "details": []
  }
}
FieldTypeDescription
messagestringError description
codestring | undefinedMachine-readable error code, when available
detailsstring[] | undefinedValidation details, when available

HTTP status codes

StatusMeaning
200Success
400Invalid parameters
401Missing or invalid API key
403Subscription required, or Pro plan required for brokerage endpoints
404Resource not found or does not belong to you
429Rate limited
500Internal server error
502Banking provider temporarily unavailable

Pagination

List endpoints support limit and offset query parameters:
ParameterTypeDefaultDescription
limitintegerVaries by endpointMaximum number of items to return
offsetinteger0Number of items to skip
Paginated responses include a pagination object:
{
  "data": [...],
  "pagination": {
    "total": 142,
    "limit": 50,
    "offset": 0,
    "hasMore": true
  }
}

OpenAPI specification

A machine-readable OpenAPI 3.1 spec is available at:
https://api.redbark.co/openapi.json
Interactive documentation is available at /doc via Swagger UI.

Quick start

1

Get your API key

Go to Settings > API Keys in the dashboard and create a new key. Copy the key. It is only shown once.
2

List your connections

curl -H "Authorization: Bearer rbk_live_..." \
  https://api.redbark.co/v1/connections
3

List accounts

curl -H "Authorization: Bearer rbk_live_..." \
  https://api.redbark.co/v1/accounts
4

Get balances

Use account IDs from step 3:
curl -H "Authorization: Bearer rbk_live_..." \
  "https://api.redbark.co/v1/balances?accountIds=acc_abc123,acc_def456"
5

Fetch transactions

Use a connectionId from step 2:
curl -H "Authorization: Bearer rbk_live_..." \
  "https://api.redbark.co/v1/transactions?connectionId=conn_abc123"

Brokerage endpoints

The Holdings and Trades endpoints provide access to investment portfolio data from brokerage connections. These endpoints require a Pro plan subscription.