> 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). Agents can also search and read this documentation through its [MCP server](https://developers.oxylabs.io/~gitbook/mcp).

# 速率限制

了解 网页爬虫API 的速率限制、任务提交速度，以及域名成功率如何影响你的限制。

## 简介

网页爬虫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>Micro</td><td>98,000</td><td>50</td><td>13</td></tr><tr><td>Starter</td><td>220,000</td><td>50</td><td>13</td></tr><tr><td>Advanced</td><td>622,500</td><td>50</td><td>13</td></tr><tr><td>Venture</td><td>1,350,000</td><td>50</td><td>13</td></tr><tr><td>Business</td><td>3,330,000</td><td>100</td><td>25</td></tr><tr><td>Corporate</td><td>8,000,000</td><td>100</td><td>25</td></tr><tr><td>Custom +</td><td>Custom</td><td>Custom</td><td>Custom</td></tr></tbody></table>

## 获取速率限制信息

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

<figure><img src="https://3714446197-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBQ7Zf9paoN3FTeGcyfY1%2Fuploads%2Fgit-blob-9fc85af829ebac87fc60106dd2621362bf4c120c%2Fimage%20(26).png?alt=media" alt=""><figcaption></figcaption></figure>

## 因成功率过低而限制域名访问

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

你可能因以下两个原因而出现较低的成功率：

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

当你对某个域名的请求因成功率过低而受限时，你将收到带有以下内容的API响应： `429` 状态码和以下消息：

{% 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
