# 节点信息

## getnodelist

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

获取用户可用节点信息，include cookie。

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

```
{nodeinfo: {nodes: [,…], nodes_muport: [], relay_rules: [],…}, ret: 1}
```

{% endtab %}
{% endtabs %}

该返回响应的结构如下：

| 属性       | Type   | 说明    |
| -------- | ------ | ----- |
| nodeinfo | Object | 节点信息  |
| ret      | number | 操作状态码 |

`nodeinfo` Object 的结构如下：

| 属性            | Type   | 说明                  |
| ------------- | ------ | ------------------- |
| nodes         | Array  | 每条节点详细信息            |
| nodes\_muport | Array  | 多端口信息               |
| relay\_rules  | Array  | 节点中转规则              |
| tools         | Object |                     |
| user          | Object | 用户信息，同`getuserinfo` |


---

# 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/jie-dian-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.
