Skip to main content

Limits

The API throttles requests, and throttling is on by default. The scheme is a token bucket: every policy has a capacity, refills at a fixed rate, and each request removes a cost from the bucket. A request is rejected only when the bucket is empty.

Because the bucket has a capacity larger than one interval of refill, a burst is allowed. Sustained traffic settles at the refill rate.

The policies​

PolicyCapacityRefillCost per requestCounted per
api.authenticated.default600600 per minute1Identity
api.unauthenticated.default6060 per minute1IP address
api.import6020 per minute10Identity and workspace
api.bulk-write10060 per minute3Identity and workspace
api.export205 per minute5Workspace
api.report-generation300100 per minute5Workspace
api.document-render6030 per minute1Workspace
api.document-style-preview3030 per minute1Workspace
api.csp-report120120 per minute1IP address
api.csp-report.identity120120 per minute1Identity

An authenticated request falls under api.authenticated.default unless the operation names something else. "Identity" means the user the credential belongs to, not the credential itself. All of a user's personal access tokens and their browser session share one bucket, so a busy script can use up the budget the same user needs in the web app. The one exception is webhooks.manual.token, described below, which gives each token its own allowance.

Where a policy counts per workspace, the budget is shared: two tokens both generating reports in one workspace draw down the same bucket.

Per-operation overrides​

OperationsPolicyCost
The ten report operations: net worth, net worth forecast, age of money, cash flow, spending by category, spending by payee, income vs expense, balance over time, payees by period, categories by periodapi.report-generation5
Creating a transaction import upload or a source import (create-transaction-import, create-source-import)api.import5
Inspecting a source import artifact (inspect-source-import)api.import5
Previewing a CSV import (preview-csv-transaction-import)api.import2
Queuing an import to be processed (complete-transaction-import, start-source-import)api.import10
Confirming a reviewed OFX, QFX or QIF import, or saving a CSV column mapping (confirm-transaction-import, set-csv-transaction-import-mapping)api.import5
Bulk delete, bulk set category, bulk set payee, bulk move to account, bulk set cleared, bulk update tags on transactionsapi.bulk-write3
Approving many downloaded bank transactions at once (bulk-resolve-bank-sync-inbox)api.bulk-write10
Accepting or rejecting many downloaded bank transactions with chosen resolutions (bulk-review-bank-sync-inbox)api.bulk-write10
Applying one payee to every matching downloaded bank transaction (apply-bank-sync-payee-to-matching)api.bulk-write3
Downloading a quote or invoice PDF (get-quote-pdf, get-invoice-pdf)api.document-render1
Requesting a reply-to verification code (request-business-email-reply-to-code)api.email-reply-to-code1
Previewing an email (preview-business-email)api.document-style-preview1
Previewing a document style (preview-document-style)api.document-style-preview only, so previews never use the budget for PDFs and emails1
Emailing a quote or invoice (send-quote-email, send-invoice-email)api.document-email and api.document-render1 each
Opening a shared document (get-shared-document, get-shared-document-pdf)share-link.ip and share-link.token; the PDF also api.document-render1 each
Creating a workspace exportapi.export10
Downloading a workspace exportapi.export1

Reading import status and managing CSV import templates fall under the default policy. So do the workspace calendar and every other operation not listed here.

A full OFX, QFX or QIF import (create the upload 5, queue it 10, confirm the preview 5) costs 20 tokens. A full CSV import that goes through the mapping step (create 5, queue 10, preview 2, save the mapping 5) costs 22. With a capacity of 60 and a refill of 20 per minute, you can run about three OFX imports or two CSV imports back to back, then roughly one more every minute. A request that would overdraw the budget gets a 429 with Retry-After.

Data exports are only available from a browser session; personal access tokens cannot create or download them. See Scopes.

Content-Security-Policy reports​

POST /v1/csp-reports is anonymous and is not counted against api.unauthenticated.default. Browsers send one report per violation, often several per page load, so the endpoint charges api.csp-report instead and never touches the budget other anonymous calls from the same address share. The policy fails open, because a lost report is harmless. A request that carries a valid session or access token is limited per user by api.csp-report.identity (same size) rather than by address. A request over the limit gets a 429 with Retry-After.

Shared documents​

The public shared document routes are not counted against api.unauthenticated.default. They charge two budgets of their own, and the PDF route also draws on the workspace's api.document-render budget, because a PDF is laid out on the server.

PolicyCapacityRefillCounted per
share-link.ip6060 per minuteIP address
share-link.token3060 per hourShare link

share-link.ip fails closed, so a broken limiter can't become a fast way to guess secrets. share-link.token fails open. A client opening and reloading one document stays well inside the per-link budget, while a link fetched in a loop only uses up its own. A rejected request gets a 429 with Retry-After.

Emailing documents​

Emailing a quote or invoice charges the workspace's own api.document-email budget, shared by its members and tokens, and the workspace's api.document-render budget, because the PDF is laid out on the server.

PolicyCapacityRefillCounted per
api.document-email2020 per hourWorkspace
api.email-reply-to-code55 per hourWorkspace

It fails closed, so a broken limiter can't become a way to send mail without limit. A rejected request gets a 429 with Retry-After.

Separately from this budget, a workspace whose recent mail bounces for good or is reported as unwanted too often has its sending paused (409 EMAIL_SENDING_PAUSED); see Sending pause.

Manual webhook actions​

Three webhook operations make Budget Thing do something on your behalf — send an outbound request to an address you chose, or replace a credential your server depends on — so they carry their own, much smaller budgets on top of the default:

PolicyCapacityRefillCounted perOperation
webhooks.test1030 per hourWorkspaceSend test
webhooks.redeliver20100 per hourWorkspaceRedeliver a delivery
webhooks.rotate-secret510 per dayEndpointRotate the signing secret
webhooks.manual30120 per hourIdentityAll three
webhooks.manual.token30120 per hourPersonal access tokenAll three

Each of those operations draws on its own policy and on the shared manual budget, so one identity cannot spend the capacity of many workspaces in turn. A token has its own allowance rather than spending its owner's.

All five fail closed, and a rejection carries the code webhook_rate_limit_exceeded instead of rate_limit_exceeded. Everything else about the response — the status, the headers, the body — is the same. See Webhook Deliveries.

AI assistant (MCP) tool calls​

Tool calls made through the MCP endpoint draw on two budgets of their own, per personal access token, in addition to the policies above. Every tool call is executed as an ordinary API operation, so the default and per-operation limits still apply underneath.

PolicyCapacityRefillCounted perApplies to
mcp.tool-call120120 per minutePersonal access tokenEvery tool call
mcp.write3030 per minutePersonal access tokenTools that change data

mcp.write fails closed. A throttled tool call is not an HTTP error. It comes back as a tool result with isError: true and the code rate_limited, which an AI client can show to the user or retry later.

Calendar feeds​

The public calendar feed is not counted against api.unauthenticated.default. Calendar apps such as Google Calendar and Outlook fetch every subscriber's feed from a small set of shared addresses, so a per-address default would throttle unrelated customers together. The feed has two budgets of its own instead:

PolicyCapacityRefillCounted per
calendar-feed.token60120 per hourFeed link
calendar-feed.ip600600 per minuteIP address

A calendar app refreshing every few minutes, on several devices, stays well inside the per-link budget. Both fail open. A rejected fetch gets a 429 with Retry-After, and calendar apps simply try again at their next refresh.

A single feed holds at most 25,000 events. Beyond that, the latest-dated events are left out.

Response headers​

Every throttled response — successful or rejected — carries the current state of the bucket.

HeaderValue
RateLimit-LimitThe capacity of the bucket.
RateLimit-RemainingWhat is left in it after this request.
RateLimit-ResetWhen the bucket is full again, as a Unix timestamp in seconds.
RateLimit-PolicyThe name of the policy that was applied.
Retry-AfterSeconds to wait. Sent only on a rejection, and never below 1.
The headers are not prefixed

They are RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset and RateLimit-Policy — not X-RateLimit-Limit and friends. A client library that looks for the X- forms will find nothing and will keep hammering until it is rejected.

curl -i https://api.budgetthing.com/api/v1/workspaces \
-H "Authorization: Bearer $BUDGETTHING_TOKEN"
RateLimit-Limit: 600
RateLimit-Remaining: 583
RateLimit-Reset: 1768642260
RateLimit-Policy: api.authenticated.default

Read RateLimit-Remaining as you go and slow down before it reaches zero. That is cheaper than being rejected and retrying.

When you are rejected​

A rejected request answers 429 Too Many Requests with Content-Type: application/problem+json. The body is its own shape — not the envelope described in Errors:

{
"status": 429,
"code": "rate_limit_exceeded",
"message": "Too many requests. Try again shortly.",
"policy": "api.authenticated.default",
"retryAfterSeconds": 12,
"limit": 600,
"remaining": 0,
"resetAt": "2026-01-17T09:31:00Z"
}

Wait retryAfterSeconds, or the equivalent Retry-After header, then retry. Adding a little jitter keeps a fleet of workers from returning in lockstep. Nothing was done on the server, so the retry is safe.

When throttling itself is unavailable​

If the store behind the rate limiter cannot be reached, the API answers 503:

{
"status": 503,
"code": "rate_limit_unavailable",
"message": "Request throttling is temporarily unavailable."
}

Whether you see this depends on the policy. The two default policies behave differently on purpose: authenticated traffic fails open and is let through, while unauthenticated traffic fails closed and gets the 503. Exports, report generation and the manual webhook actions also fail closed. Treat a 503 as transient and retry with backoff.

Other limits​

These are not rate limits — they are fixed ceilings on a single request or on your account.

LimitValue
Active personal access tokens per user10
Token name1–100 characters
Token descriptionup to 1000 characters
pageSize on a list operation1–1000, default 100
idempotencyKey body field1–200 characters
Request body1048576 bytes (1 MiB)
Import file268435456 bytes (256 MiB)
Webhook endpoints per workspace25
Event selectors per webhook endpoint50
Webhook endpoint urlup to 2048 characters
Attempts per webhook delivery7
Metadata keys per client, project, invoice, quote or time entry50
Metadata key1–40 characters from A-Z a-z 0-9 _ . -
Metadata value1–500 characters
metadata[key]=value filter keys per list request10
Any single monetary amount-10,000,000,000,000 to 10,000,000,000,000 currency units

Exceeding the token count answers 409 with PERSONAL_ACCESS_TOKEN_LIMIT_REACHED; revoke a token before creating another, as described in Personal Access Tokens. The length and range limits are validated and answer 422; the metadata limits answer 422 with a METADATA_* code that names the key.

A request body larger than 1 MiB is refused with 413 and the code HTTP_ERROR, using the envelope described in Errors. Import files are not sent through the API: creating an import returns upload instructions, and the file goes straight to storage, where the 256 MiB ceiling applies.

Amount limits​

Every monetary field you send (amountMinor, expectedAmountMinor, openingBalance, split and line amounts, reconciliation balances, and the amountMin / amountMax list filters) must be between -10,000,000,000,000 and 10,000,000,000,000 currency units inclusive, whatever the workspace's currency precision. Because ...Minor fields are integers in the workspace's minor unit, the largest accepted value is 10000000000000 × 10^precision (for example 1000000000000000 at precision 2). Amounts at the limit are accepted; anything beyond it, including values too large to fit a 64-bit integer, is rejected with 422, code VALIDATION_FAILED and the detail key errors.api.amountOutOfRange.detail. Nothing is saved when a request is rejected. Totals the server computes from your amounts, such as split totals and journal balances, are overflow-checked and rejected the same way.

Designing around the limits​

  • Page with the largest pageSize you can use, rather than making more small calls. One request for 1000 records costs the same as one for 10.
  • Cache what does not change often. Workspaces, accounts, categories and payees rarely move between runs.
  • Run imports one at a time, and let the previous one finish before you start the next.
  • Back off on 429 and 503 instead of retrying immediately, and honor Retry-After when it is sent.
  • Stop polling for changes you could be told about. A webhook costs you no request budget at all, and it reports the change as it happens.