---
title: "Rate-Limit Downstream APIs with Task Queues"
url: https://daily.dev/posts/rate-limit-downstream-apis-with-task-queues-at2xe4f9g
source_url: https://temporal.io/blog/rate-limit-downstream-apis
type: article
source: "Temporal"
published: 2026-08-06T10:37:27.253Z
updated: 2026-08-06T10:41:00.900Z
tags: ["workflow-orchestration"]
reading_time: 1
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Rate-Limit Downstream APIs with Task Queues

**[Temporal](https://daily.dev/sources/temporal)** · 1 min read · 0 upvotes · 0 comments

## Summary

When integrating with external APIs like SendGrid, Stripe, or OpenAI, exceeding rate limits causes 429 errors, failed workflows, and potential account suspension. Temporal's validated pattern addresses this by assigning a dedicated Task Queue per rate-limited API and configuring three key settings: a global rate limit across all workers (`max_task_queue_activities_per_second`), an optional per-worker rate limit (`max_activities_per_second`), and a concurrency cap (`max_concurrent_activities`). This keeps Activities within provider quotas without manual throttling logic.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://temporal.io/blog/rate-limit-downstream-apis>

## Similar posts on daily.dev

- [Temporary Rate Limit Increases on Temporal Cloud](https://daily.dev/posts/temporary-rate-limit-increases-on-temporal-cloud-wzrdcqeqo) · Temporal · 0 upvotes · 0 comments
- [Route Specialized Workloads with Task Queues](https://daily.dev/posts/route-specialized-workloads-with-task-queues-ioubha5ec) · Temporal · 0 upvotes · 0 comments
- [Worker Affinity with Task Queues](https://daily.dev/posts/worker-affinity-with-task-queues-chjzgkgj1) · Temporal · 0 upvotes · 0 comments
- [Task Queue Priority and Fairness: Your Task Queue, your way](https://daily.dev/posts/task-queue-priority-and-fairness-your-task-queue-your-way-oi28edbnk) · Temporal · 0 upvotes · 0 comments

---

Tags: [#workflow-orchestration](https://daily.dev/tags/workflow-orchestration)

[View this post on daily.dev](https://daily.dev/posts/rate-limit-downstream-apis-with-task-queues-at2xe4f9g)
