> For the complete documentation index, see [llms.txt](https://developers.oxylabs.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.oxylabs.io/products/cn/web-scraper-api/usage-and-billing/rate-limits.md).

# 速率限制

## 简介

网页爬虫API 用户账户附带特定的作业提交速率限制，具体取决于您的套餐。这些限制旨在有效满足您的月度订阅需求。

## 速率限制

您可以提交作业的速率取决于您的套餐大小。请参阅下表，了解普通版和企业版套餐的速率限制明细：

<table><thead><tr><th width="203">套餐</th><th width="187">结果（最大值）</th><th width="179">总任务/秒</th><th>渲染任务/秒</th></tr></thead><tbody><tr><td>免费试用</td><td>2,000</td><td>10</td><td>3</td></tr><tr><td>微型</td><td>98,000</td><td>50</td><td>13</td></tr><tr><td>入门</td><td>220,000</td><td>50</td><td>13</td></tr><tr><td>高级</td><td>622,500</td><td>50</td><td>13</td></tr><tr><td>创业</td><td>1,350,000</td><td>50</td><td>13</td></tr><tr><td>商务</td><td>3,330,000</td><td>100</td><td>25</td></tr><tr><td>企业</td><td>8,000,000</td><td>100</td><td>25</td></tr><tr><td>自定义 +</td><td>自定义</td><td>自定义</td><td>自定义</td></tr></tbody></table>

## 获取速率限制信息

每当您向我们的系统提交任务时，我们都会在响应头中向您发送速率限制信息。头名称将采用如下结构： `x-ratelimit-limit_name-limit` 和 `x-ratelimit-limit_name-remaining`。前者表示总限制值，后者表示剩余值。适用于您的限制可能不止一个。

<figure><img src="/files/ad75ef484dd0c53c8879d1f6bf15abd5e4aea3e8" alt=""><figcaption></figcaption></figure>

## 由于成功率较低而限制域名访问

网页爬虫API 会持续监控您在所爬取的每个域名上的成功率。如果某个域名的成功率低于 40%（按过去 5 分钟窗口计算），您对该域名的请求速率将限制为 1 req/s，直到成功率恢复。

成功率较低可能有两个原因：

* 网页爬虫API 无法处理网站的机器人流量控制系统；
* 您自己的 Cookie、请求头或其他变量干扰了网页爬虫API 的网页访问逻辑。

当您对某个域名的请求因成功率较低而受限时，您将收到包含 `429` 状态码和以下消息的 API 响应：

{% code overflow="wrap" %}

```json
{
    "message": "由于成功率较低，访问 {domain} 已被限制为 1 req/s。如果您正在使用自定义请求头或 Cookie，请确保它们正确，然后重试。当成功率提高后，正常请求限制将自动恢复。"
}
```

{% endcode %}

收到此响应后，请确保您的请求参数不是导致此问题的原因。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://developers.oxylabs.io/products/cn/web-scraper-api/usage-and-billing/rate-limits.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
