notion-rate-limits
Installation
SKILL.md
Notion Rate Limits
Overview
The Notion API enforces 3 requests per second per integration token across all endpoints and tiers. Exceeding this returns HTTP 429 with a Retry-After header. Detect with isNotionClientError() + APIErrorCode.RateLimited, implement exponential backoff with jitter, and use queue-based throttling for high-throughput workloads.
Prerequisites
@notionhq/clientv2.x (TypeScript) ornotion-client(Python)- Integration token in
NOTION_TOKENfrom notion.so/my-integrations - For queue patterns:
p-queuev8+ (npm install p-queue)
Instructions
Step 1 — Detect Rate Limits and Apply Exponential Backoff
| Aspect | Value |
|---|---|
| Rate limit | 3 req/s per integration token (all tiers) |
Related skills