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
| Policy | Capacity | Refill | Cost per request | Counted per |
|---|---|---|---|---|
api.authenticated.default | 600 | 600 per minute | 1 | Identity |
api.unauthenticated.default | 60 | 60 per minute | 1 | IP address |
api.import | 60 | 20 per minute | 10 | Identity and workspace |
api.bulk-write | 100 | 60 per minute | 3 | Identity and workspace |
api.export | 20 | 5 per minute | 5 | Workspace |
api.report-generation | 300 | 100 per minute | 5 | Workspace |
api.document-render | 60 | 30 per minute | 1 | Workspace |
api.document-style-preview | 30 | 30 per minute | 1 | Workspace |
api.csp-report | 120 | 120 per minute | 1 | IP address |
api.csp-report.identity | 120 | 120 per minute | 1 | Identity |
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
| Operations | Policy | Cost |
|---|---|---|
| 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 period | api.report-generation | 5 |
Creating a transaction import upload or a source import (create-transaction-import, create-source-import) | api.import | 5 |
Inspecting a source import artifact (inspect-source-import) | api.import | 5 |
Previewing a CSV import (preview-csv-transaction-import) | api.import | 2 |
Queuing an import to be processed (complete-transaction-import, start-source-import) | api.import | 10 |
Confirming a reviewed OFX, QFX or QIF import, or saving a CSV column mapping (confirm-transaction-import, set-csv-transaction-import-mapping) | api.import | 5 |
| Bulk delete, bulk set category, bulk set payee, bulk move to account, bulk set cleared, bulk update tags on transactions | api.bulk-write | 3 |
Approving many downloaded bank transactions at once (bulk-resolve-bank-sync-inbox) | api.bulk-write | 10 |
Accepting or rejecting many downloaded bank transactions with chosen resolutions (bulk-review-bank-sync-inbox) | api.bulk-write | 10 |
Applying one payee to every matching downloaded bank transaction (apply-bank-sync-payee-to-matching) | api.bulk-write | 3 |
Downloading a quote or invoice PDF (get-quote-pdf, get-invoice-pdf) | api.document-render | 1 |
Requesting a reply-to verification code (request-business-email-reply-to-code) | api.email-reply-to-code | 1 |
Previewing an email (preview-business-email) | api.document-style-preview | 1 |
Previewing a document style (preview-document-style) | api.document-style-preview only, so previews never use the budget for PDFs and emails | 1 |
Emailing a quote or invoice (send-quote-email, send-invoice-email) | api.document-email and api.document-render | 1 each |
Opening a shared document (get-shared-document, get-shared-document-pdf) | share-link.ip and share-link.token; the PDF also api.document-render | 1 each |
| Creating a workspace export | api.export | 10 |
| Downloading a workspace export | api.export | 1 |
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.
| Policy | Capacity | Refill | Counted per |
|---|---|---|---|
share-link.ip | 60 | 60 per minute | IP address |
share-link.token | 30 | 60 per hour | Share 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.
| Policy | Capacity | Refill | Counted per |
|---|---|---|---|
api.document-email | 20 | 20 per hour | Workspace |
api.email-reply-to-code | 5 | 5 per hour | Workspace |
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:
| Policy | Capacity | Refill | Counted per | Operation |
|---|---|---|---|---|
webhooks.test | 10 | 30 per hour | Workspace | Send test |
webhooks.redeliver | 20 | 100 per hour | Workspace | Redeliver a delivery |
webhooks.rotate-secret | 5 | 10 per day | Endpoint | Rotate the signing secret |
webhooks.manual | 30 | 120 per hour | Identity | All three |
webhooks.manual.token | 30 | 120 per hour | Personal access token | All 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.
| Policy | Capacity | Refill | Counted per | Applies to |
|---|---|---|---|---|
mcp.tool-call | 120 | 120 per minute | Personal access token | Every tool call |
mcp.write | 30 | 30 per minute | Personal access token | Tools 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:
| Policy | Capacity | Refill | Counted per |
|---|---|---|---|
calendar-feed.token | 60 | 120 per hour | Feed link |
calendar-feed.ip | 600 | 600 per minute | IP 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.
| Header | Value |
|---|---|
RateLimit-Limit | The capacity of the bucket. |
RateLimit-Remaining | What is left in it after this request. |
RateLimit-Reset | When the bucket is full again, as a Unix timestamp in seconds. |
RateLimit-Policy | The name of the policy that was applied. |
Retry-After | Seconds to wait. Sent only on a rejection, and never below 1. |
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.
| Limit | Value |
|---|---|
| Active personal access tokens per user | 10 |
Token name | 1–100 characters |
Token description | up to 1000 characters |
pageSize on a list operation | 1–1000, default 100 |
idempotencyKey body field | 1–200 characters |
| Request body | 1048576 bytes (1 MiB) |
| Import file | 268435456 bytes (256 MiB) |
| Webhook endpoints per workspace | 25 |
| Event selectors per webhook endpoint | 50 |
Webhook endpoint url | up to 2048 characters |
| Attempts per webhook delivery | 7 |
| Metadata keys per client, project, invoice, quote or time entry | 50 |
| Metadata key | 1–40 characters from A-Z a-z 0-9 _ . - |
| Metadata value | 1–500 characters |
metadata[key]=value filter keys per list request | 10 |
| 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
pageSizeyou 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
429and503instead of retrying immediately, and honorRetry-Afterwhen 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.