# 账单信息

### 流量使用

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

来自目标站点的所有响应，状态码为 `2xx` 或 `4xx` 的都会被计为 **成功**.&#x20;

其他所有响应都会被计为 **失败**.&#x20;

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

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

### 计费

您将按 **请求和响应流量两者** 的 **成功** 提取的数据付费。

由于我们系统错误导致的抓取失败尝试（`5xx` 状态码）不会计入您的流量使用计算中，您也无需为此付费。

{% hint style="warning" %}
如果请求因您一侧的故障或错误而导致失败尝试，您仍需付费。
{% endhint %}

请查看下面的一些计费案例示例：

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

您发起一个请求，而网页解锁器花了三次尝试才解锁该网站。在这种情况下，您只需为最后一次成功尝试所消耗的流量付费，本例中为 201 kB。

<figure><img src="/files/baf4939a42bd440f45a81448a70a6d7c261bb3d4" alt="Example 1"><figcaption></figcaption></figure>

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

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

<figure><img src="/files/30d69e22ac0105ff2d86270243ba6f32e8b23589" alt="Example 2"><figcaption></figcaption></figure>

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

您向网页解锁器发起请求，由于您一侧的错误，响应失败。您需要为该次失败尝试所消耗的流量付费，本例中为 51 kB。

<figure><img src="/files/c4a1ab820ff72f894804d8f75496032b67132ce5" alt="Example 3"><figcaption></figcaption></figure>

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


---

# 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://developers.oxylabs.io/products/cn/web-unblocker/billing-information.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.
