Upstash has integrated REST APIs into all its products to facilitate access from various runtime environments. This integration is particularly beneficial for edge runtimes like Cloudflare Workers and Vercel Edge, which do not permit TCP connections, and for serverless functions such as AWS Lambda, which are stateless and do not retain connection information between invocations.


The absence of TCP connection support in edge runtimes and the stateless nature of serverless functions necessitate a different approach for persistent connections typically used in traditional server setups. The stateless REST API provided by Upstash addresses this gap, enabling consistent and reliable communication with data stores from these platforms.


The REST APIs for Upstash services are designed to adhere closely to the conventions of each product, ensuring intuitive and familiar interactions for those who are already acquainted with the respective services. The API endpoints aim to be self-explanatory, following standard REST practices to ensure ease of use and integration.

To enhance the developer experience, Upstash is developing SDKs in various popular programming languages. These SDKs simplify the process of integrating Upstash services with your applications by providing straightforward methods and functions that abstract the underlying REST API calls.


Redis REST API Docs

Kafka REST API Docs

QStash REST API Docs

Redis SDK - Typescript

Redis SDK - Python

Kafka SDK - Typescript

QStash SDK - Typescript