> For the complete documentation index, see [llms.txt](https://marcosteam.gitbook.io/sspanel-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://marcosteam.gitbook.io/sspanel-api/yong-hu-xin-xi/jie-dian-xin-xi.md).

# 节点信息

## 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` |
