跳转到主要内容

概述

每天都有成千上万的开发者向 X API 发起请求。为管理如此庞大的请求量,我们对可发起的请求数进行了限制。这些限制有助于我们为开发者社区提供可靠且可扩展的 API。 允许的最大请求数基于时间间隔,即某个指定的时段或时间窗口。例如,如果某个 endpoint 的速率限制为 900 次请求/15 分钟,则在任意连续 15 分钟内最多可发起 900 次请求。 

企业版分窗口速率限制

产品端点速率限制
PowerTrack API流式端点每分钟 60 次请求
规则端点所有 /rules 端点合计每分钟 60 次请求
回放端点每 5 分钟 5 次请求
历史 PowerTrack API每个(UTC)日可创建 60 个作业。
每小时可创建 30 个作业。
可同时预估 2 个作业。
可同时运行 2 个作业。
Decahose API每分钟 10 次请求
Streaming likes API每分钟 10 次请求
Firehose API每分钟 10 次请求
Account Activity APIPOST account_activity/webhooks每 15 分钟 15 次请求
GET account_activity/webhooks每 15 分钟 15 次请求
PUT account_activity/webhooks/:webhook_id每 15 分钟 15 次请求
POST account_activity/webhooks/:webhook_id/subscriptions/all每 15 分钟 500 次请求
GET account_activity/subscriptions/count每 15 分钟 15 次请求
GET account_activity/webhooks/:webhook_id/subscriptions/all每 15 分钟 500 次请求
GET account_activity/webhooks/:webhook_id/subscriptions/all/list每 15 分钟 50 次请求
DELETE account_activity/webhooks/:webhook_id每 15 分钟 15 次请求
DELETE /account_activity/webhooks/:webhook_id/subscriptions/:user_id/all.json每 15 分钟 500 次请求
回放每 15 分钟 5 次请求
Search API每分钟的速率限制将根据合同而定
每秒 20 次请求,按 30 天 data 与 counts 端点合计,或按全存档 data 与 counts 端点合计
Engagement API每分钟的速率限制将根据合同而定
Compliance Firehose API每分钟 10 次请求
Usage API每分钟 2 次请求