> For the complete documentation index, see [llms.txt](https://huajiangs-organization.gitbook.io/xiao/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://huajiangs-organization.gitbook.io/xiao/proxies/jing-tai-dui-jie-api/jing-tai-gou-mai.md).

# 静态购买

## 地区查询

#### 基本信息 <a href="#ji-chu-xin-xi" id="ji-chu-xin-xi"></a>

**接口说明：静态** ip 购买&#x20;

请求地址:

```
https://start.unionproxy.xyz/ip/ipStatic/dealer/paymentIsp/{type}
购买时长 type  ：week 或者 month
```

**请求方式：**<mark style="color:orange;">**POST**</mark>

提交参数说明:

Headers:

<table data-full-width="false"><thead><tr><th>參數名稱</th><th> 參數類型</th><th>是否必須</th><th> 示例</th><th>備註</th></tr></thead><tbody><tr><td>Authorization</td><td>string</td><td>必須</td><td><pre><code>"Authorization": "Bearer MdNtlpQCI8E5w"
</code></pre></td><td>键(Authorization)：值(Bearer+空格+token)</td></tr></tbody></table>

Body:

| 參數名稱   | 參數類型   | 是否必須 | 示例                                     | 備註               |
| ------ | ------ | ---- | -------------------------------------- | ---------------- |
| id和num | string | 必須   | \[{"id":43,"num":2},{"id":66,"num":1}] | id：地區id，num：購買數量 |

```
返回举例:
{
    "code": 200,
    "data": [
        {
            "ip": "1.1.1.1",
            "port": 6666,
            "expiration_time": 1744879015,
            "username": "swfuyfzf1",
            "password": "azudxqp1",
            "order_id": "2503131636553395"
        }
    ],
    "msg": "ok"
}
```

返回说明：

| 名稱               | 類型      | 是否必須 | 備註     | 其他信息 |
| ---------------- | ------- | ---- | ------ | ---- |
| code             | Rnumber | 非必須  |        |      |
| data             | object  | 非必須  |        |      |
| ip               | string  | 必須   | IP信息   |      |
| port             | number  | 必須   | 端口     |      |
| expiration\_time | number  | 必須   | 到期時間   |      |
| username         | string  | 必須   | 代理賬戶   |      |
| password         | string  | 必須   | 代理密碼   |      |
| order\_id        | string  | 必須   | 訂單ID信息 |      |
| msg              |         |      |        |      |

```excel-formula
```
