# API速率限制和配额

速率限制用于保护平台稳定性，并确保所有客户公平使用。如果您正在基于我们的 API 构建集成或自动化，了解其工作机制是有必要的。

### 按方案划分的限制

| 方案  | 每分钟请求数 | 每日请求数   |
| --- | ------ | ------- |
| 免费版 | 60     | 1,000   |
| 专业版 | 300    | 10,000  |
| 商业版 | 1,000  | 100,000 |
| 企业版 | 定制     | 定制      |

### 速率限制头

每个 API 响应都包含显示当前用量的头信息：

```
X-RateLimit-Limit: 300
X-RateLimit-Remaining: 241
X-RateLimit-Reset: 1714560000
```

`X-RateLimit-Reset` 是一个 Unix 时间戳，用于指示您的限制何时重置。

### 当您触发限制时会发生什么

超过速率限制的请求将收到 `429 请求过多` 响应。您的客户端应退避，并在 `Retry-After` 头中指示的时间之后重试。

{% hint style="warning" %}
在收到 429 后持续频繁调用 API，可能导致您的 API 密钥被临时封禁。请始终在集成中实现指数退避。
{% endhint %}

### 提高您的限制

如果您的使用场景需要更高的限制，升级方案是第一步。对于企业级需求， [联系我们](https://example.com/contact) 以商讨定制配额。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://isbm.savimbo.com/practice-guide/zh-cn/ji-cheng/api-sulxian-zhi-he-pei-e.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
