Request Quotas
How many API requests your application can make, the RateLimit-* headers, and the endpoints that return a 429.
Sila limits how many API requests each application can make in a rolling time window. This request quota is separate from transaction limits, which cap how much money moves and return a 403. See Transaction Limits Overview.
Note
A 429 response status code applies only to the rate of requests. It never means that a transaction limit was reached.
How the request quota works
- Every application has a request quota. By default it allows 210 requests per rolling minute, and Sila can set a different quota for your application. Requests for all your end users count toward the same quota.
- The window is rolling. The
RateLimit-Limitheader gives its length in seconds. - Only the endpoints listed below check the quota. Requests to other endpoints can still count toward it.
- Sila can also set a quota for a single endpoint, which counts only that endpoint's requests. For
/documents, that quota can count each end user's requests separately.
Response headers
Responses from the endpoints below carry two headers, modelled on the IETF RateLimit Header Fields for HTTP draft:
RateLimit-Limitdescribes the quota: the number of requests allowed, the window in seconds, and a comment.RateLimit-Remainingis the number of requests left in the window.
When your application exceeds the quota
Sila responds with a 429 and doesn't process the request. The response carries the same headers and repeats them in its body. The values below are for the default quota.
RateLimit-Limit: 210, 210;window=60;comment="rolling 0:01:00"
RateLimit-Remaining: 0
{
"success": false,
"message": "Rate limit exceeded",
"details": {
"RateLimit-Limit": "210, 210;window=60;comment=\"rolling 0:01:00\"",
"RateLimit-Remaining": 0
}
}
Slow down until the window has room again.
Endpoints that check the request quota
/ach_funds_availability/add/{registration-data}/cancel_transaction/check_handle/check_kyc/delete/{registration-data}/delete_account/delete_wallet/document_types/documents/get_account_balance/get_accounts/get_business_roles/get_business_types/get_document/get_entities/get_entity/get_institutions/get_naics_categories/get_payment_methods/get_statement_transactions/get_statements_data/get_transactions/get_verifications/get_verifications/{verification_uuid}/get_wallet/get_wallet_statement_data/get_wallets/issue_sila/kyc/link_account/link_business_member/list_documents/redeem_sila/register/register_wallet/register_with_provider_token/request_kyc/resume_verification/statements/statements/{statement_id}/transact/transfer_sila/unlink_business_member/update/{registration-data}/update_account/update_wallet
/auth_token, /check_bank_account_capabilities, /check_routing_number_capabilities, /get_webhooks and /retry_webhook don't check the quota.
Updated 26 minutes ago
