Upstash Documentation

API Rate Limit Response

This page documents the rate limiting behavior of our API and explains how to handle different types of rate limit errors.
1 min read

Overview#

There is no request per second limit for operational API's as listed below:

  • trigger, publish, enqueue, notify, wait, batch
  • Other endpoints (like logs,listing flow-controls, queues, schedules etc) have rps limit. This is a short-term limit per second to prevent rapid bursts of requests.

Headers:

  • Burst-RateLimit-Limit: Maximum number of requests allowed in the burst window (1 second)
  • Burst-RateLimit-Remaining: Remaining number of requests in the burst window (1 second)
  • Burst-RateLimit-Reset: Time (in unix timestamp) when the burst limit will reset

Example Rate Limit Error Handling#

Handling Daily Rate Limit Error
Handling Burst Rate Limit Error