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

# 使用统计

了解如何以编程方式检查您的网页解锁器使用统计数据。监控流量、响应时间、请求数量等。

您可以通过程序方式检查您的使用统计。这些请求是免费的。

通过查询以下端点查找您的使用统计：

```
GET https://data.Oxylabs.io/v1/stats
```

{% hint style="warning" %}
访问此端点时，请在您的用户名前加上 WU\_\_（例如，WU\_\_username）。
{% endhint %}

#### 代码示例

```url
curl --user user:pass1 'https://data.Oxylabs.io/v1/stats'
```

默认情况下，此查询会返回所有时间范围的使用统计。您也可以使用 `group_by` 查询参数，它接受以下值 `day`, `month`，或 `target` 以相应划分您的使用详情。例如，要查看每日使用情况，您可以追加 `?group_by=day` 到您的请求中。请注意，所有流量均以字节为单位计算。

#### 示例输出

```json
{
    "meta": {
        "group_by": null,
        "date_from": null,
        "date_to": null,
        "source": null
    },
    "data": {
        "sources": [
            {
                "results_count_all": "1482",
                "results_count": "0",
                "realtime_results_count": "0",
                "super_api_results_count": "12777",
                "render": "0",
                "geo_location": "0",
                "average_response_time": 2.18,
                "request_traffic": "6629", 
                "response_traffic": "17850",
                "title": "universal"
            }
        ]
    }
}
```


---

# 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/usage-statistics.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.
