Skip to main content
This page documents v1, which is deprecated: it stays compatible for existing integrations and the SimpleFIN bridge, and receives maintenance changes only. New integrations should use API v2, which is writable and versioned. v1 will not be sunset earlier than 23 August 2027, and the sunset will be announced with Deprecation and Sunset headers; see migrating from v1.
The Redbark REST API provides programmatic access to accounts, account details (rates and fees), balances, transactions, connections, and brokerage data. Use it to build integrations, dashboards, or workflows on top of your banking and investment data.

Base URL

Authentication

All API requests require a Bearer token. Create an API key in Settings > API & MCP and include it in the Authorization header:
API access requires an active Developer or Professional plan. Trial subscriptions (status: trialing), legacy accounts within their 7-day grace period, and grandfathered accounts also retain API access. You can revoke keys from the dashboard at any time.
Want to connect an AI agent instead? See the MCP Server documentation. Connecting a budgeting app like Actual Budget, Sure, or Firefly III? Use SimpleFIN instead of the REST API.
Want to test your parsing code before creating a trial account? See Sample Responses for a coherent set of example JSON payloads covering every endpoint.

Rate limits

Limits are tiered by endpoint cost and applied per API key. Every non-first-party request also passes through a pre-auth gate before any DB lookup: 60 per minute, bucketed by (client IP, first 16 chars of the supplied bearer token). This gate applies to all requests, not just failed ones, so probes with different partial keys from the same IP each get their own bucket, while a single key+IP combination is throttled before any DB lookup. On /v2, the 60 per minute pre-auth gate counts failed authentications only, in the same buckets: a valid key is never throttled by it, and once a bucket has 60 failures in a minute every request in it is refused before any DB lookup. A ceiling of 600 per minute per bucket applies to every /v2 request, valid or not. In addition, heavy endpoints have a per-key concurrency cap of 4 in-flight requests. Calls that arrive while four heavy requests are already in progress on the same key return 429. Issue heavy requests sequentially, or fan them out across multiple keys, to stay under the cap. First-party sync clients identified by user agent (redbark-sure-sync, redbark-actual-sync) use a separate 300 / minute pre-auth bucket keyed only by IP. This is not relevant for third-party integrations but explains why two distinct pre-auth limits exist. Every response includes rate limit headers:

Truncation and deprecation headers

Some endpoints set additional response headers to signal operational state: Separately, /v1/transactions fetches each account with a per-request page cap of ceil((offset + limit) / 1000) + 2 upstream pages. In an unusually dense date window this cap can stop paging before the window is exhausted without setting X-Redbark-Truncated, and the page can come back with hasMore: false. If you need every row in a very dense window, narrow the date range and page through smaller windows.

Error format

All errors return a JSON envelope:
A 400 validation error includes a details array. Date-validation errors raised by the service layer carry their own message; schema-layer validation failures use the generic "Invalid request parameters" message:
Stable code values currently emitted:

HTTP status codes

Pagination

List endpoints support limit and offset query parameters: Paginated responses include a pagination object:

Caching

Banking endpoints may serve responses from a bounded per-connection server-side cache. A request does not guarantee a new live bank read, even after the fresh cache window passes. Sync keeps no permanent provider transaction ledger; opt-in Documents retains uploaded files and extracted transactions separately. /v1/accounts and /v1/connections are served live from Redbark’s own records (no provider fetch, no cache). Brokerage endpoints (/v1/holdings, /v1/trades) are not cached; every request fetches live from the brokerage provider. /v1/categories is a static list, not per-connection data. A few behaviours to note:
  • Cached data is purged immediately when a consent is revoked or a connection is deleted.
  • You can opt out in the dashboard under Settings → Performance cache. With the cache disabled, no financial payload is stored or served from Redbark’s cache, including retained live balances. Opt-out does not prevent eligible reads of Fiskil’s stored copy, which Redbark never caches. Live balance attempts are still serialized per connection and limited to once per account every 15 minutes. On bulk routes, accounts still held by that limit return unavailable with null balances and a retry time (retryAfterSec on v1, retry_after_seconds on v2); other accounts return normally. The single-account v2 route can still return 429 balance_refresh_limited with Retry-After. Request coalescing and provider cooldowns still apply.
  • Fiskil live balance reads by API keys, the CLI, syncs and third-party apps are subject to a per-connection unattended budget. MCP never starts a live bank balance read; it uses retained observations or Fiskil’s stored copy. Repeating a request does not guarantee a live read.
  • Plaid balances are not cached by Redbark. Each request returns the balance from Plaid’s last successful update of the connection. Plaid says that is typically about daily, and it can be older when Plaid cannot refresh the connection.
  • Fiskil balances include observedAt and freshness (observed_at in v2): fresh is a live observation under 4 hours old; stale is a retained live observation under 24 hours old; stored is Fiskil’s stored copy of unknown age, with a null observation time; unavailable has null balances. Retained reads keep the original observation time, and Redbark stops serving them after 24 hours. Eligible gaps may instead use the provider-stored copy. Authorisation or consent failures never use either fallback.
  • SimpleFIN uses the live observation time for balance-date when available. For Fiskil’s stored copy, balance-date is the time Redbark read the copy, not a bank observation time. Accounts with no balance are omitted rather than assigned zero; short waits can instead fail the read for retry.
  • Responses carry no cache-status header. Other banking responses can be up to the cache age above; Plaid balances can be as old as Plaid’s last update, as described above.
  • During a banking-provider outage, requests may return 503 with a Retry-After header while the circuit breaker is open. See Upstream provider errors.

Date validation

from and to accept either YYYY-MM-DD (a bare date) or RFC 3339 with an explicit timezone — Z for UTC or ±HH:MM for an offset. Naive datetimes like 2026-05-09T23:35:19 (no Z, no offset) are rejected with a 400 carrying:
This is enforced locally rather than at the upstream provider so callers see a clean 400 instead of a misleading 503.

Upstream provider errors

When the banking provider rejects a request with a 4xx (validation issue we don’t catch locally), the response is surfaced as a 400 with code: upstream_bad_request and message: "Upstream rejected request: <provider detail>". This avoids collapsing caller-input errors into the generic 503 "provider temporarily unavailable". A per-(provider, userId, connectionId) circuit breaker protects /v1/transactions. After 3 upstream failures within a 60-second rolling window, the breaker opens for 60 seconds and subsequent requests for that connection fail fast with a 503, code: upstream_breaker_open, and a Retry-After header. The breaker is in-process per worker isolate, so one tripped isolate does not stop others from attempting the upstream.

OpenAPI specification

A machine-readable OpenAPI 3.1 spec is available at:
Interactive documentation is available at /doc via Swagger UI.

Quick start

1

Get your API key

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

List your connections

3

List accounts

4

Get balances

Use account IDs (UUIDs) from step 3:
5

Fetch transactions

Use a connectionId (from step 2) and an accountId (from step 3). accountId is required: the connectionId-only form was removed on 2026-06-30 and now returns 410 account_id_required.

Brokerage endpoints

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