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

# 账单信息

清晰了解网页解锁器的计费方式。

### 流量使用量

[**网页解锁器**](https://oxylabs.io/products/web-unblocker) 两者都计入 **request** 和 **响应流量**. **请求流量** 指发送到目标 URL 的数据，而 **响应流量** 指从目标 URL 接收的数据。

目标站点返回的所有带有 `2xx` 或 `4xx` 状态码的响应都计为 **成功**.

其他所有响应都计为 **失败**.

有关响应代码的更多信息，请参阅 [**响应代码表**](https://developers.oxylabs.io/products/cn/web-unblocker/response-codes.md).

{% hint style="warning" %}
如果响应包含 `2xx` 或 `4xx` 状态码，且结果不包含预期信息，我们仍将其计为成功结果。
{% endhint %}

### 计费

你将按 **请求和响应流量** 的 **成功** 提取的数据。

因我们的系统错误导致抓取失败的尝试（`5xx` 状态码）不会计入你的流量使用量计算，你也不会因此被收费。

{% hint style="warning" %}
如果请求因您这边的故障或错误而导致尝试失败，您仍将被计费。
{% endhint %}

请参阅以下几个计费案例示例：

#### 案例示例 #1：成功的抓取尝试

你发起一个请求，网页解锁器需要三次尝试才能访问网站。在这种情况下，你只会按最后一次成功尝试所消耗的流量计费，即 201 kB 的已消耗流量。

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

#### 案例示例 #2：因我们的错误导致抓取失败

你向网页解锁器发起一个请求，由于我们的错误，响应失败，例如我们已达到内部重试上限。在这种情况下，你不会为此请求付费。

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

#### 案例示例 #3：因客户端错误导致抓取失败

你向网页解锁器发起一个请求，由于你方的错误，响应失败。你将按该次尝试所消耗的流量计费；在这种情况下，即 51 kB 的已消耗流量。

<figure><img src="https://3714446197-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBQ7Zf9paoN3FTeGcyfY1%2Fuploads%2Fgit-blob-72459f5051f30f338a24c589784906c0d0b827d3%2Fimage.png?alt=media" alt="Example 3"><figcaption></figcaption></figure>

{% hint style="warning" %}
请注意，如果在抓取时应用了 JavaScript 渲染，由于网站为加载额外数据而执行的外部调用，任务的总流量可能会高于仅 HTML 文件本身的大小。
{% endhint %}


---

# 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-unblocker/billing-information.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.
