# 用户流量信息

## Get Cakes

<mark style="color:blue;">`GET`</mark> `/gettraffic`

获取用户流量信息，include cookie。

{% tabs %}
{% tab title="200 " %}

```
{"arr":{"todayUsedTraffic":"703.49MB","lastUsedTraffic":"762.05GB","unUsedTraffic":"1.26TB"},"ret":1}
```

{% endtab %}
{% endtabs %}

arr 对象的具体结构如下：

| 属性               | Type | 说明      |
| ---------------- | ---- | ------- |
| todayUsedTraffic | text | 今日已用流量  |
| lastUsedTraffic  | text | 过去已用流量  |
| unUsedTraffic    | text | 剩余未使用流量 |


---

# 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://marcosteam.gitbook.io/sspanel-api/yong-hu-xin-xi/yong-hu-liu-liang-xin-xi.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.
