> For the complete documentation index, see [llms.txt](https://doc.sk5data.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.sk5data.com/doc/zh/dynamic-residential/bai-ming-dan-ip.md).

# 白名单IP

{% stepper %}
{% step %}

### 注册登录

访问 sk5data官方网站，点击页面右上角的「注册」按钮完成账户创建。如果您已有账户，直接点击「登录」进入用户控制台

<div align="left"><figure><img src="https://3039172963-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdrfmG1p2fuJaL2TK4Odx%2Fuploads%2F8UTYx1dievVOMx4zkFUu%2Fimage.png?alt=media&amp;token=9f88f011-c167-4168-88ae-31fe87adfb12" alt="" width="375"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

### 购买套餐

登录成功后，进入「动态住宅代理」购买页，根据您的业务流量需求，在「常规」或「企业」套餐中选择合适的规格，点击「立即购买」完成支付即可。

<div align="left"><figure><img src="https://3039172963-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdrfmG1p2fuJaL2TK4Odx%2Fuploads%2FRztRqxNEHXhsOJT6pZLE%2Fimage.png?alt=media&amp;token=dbda0e81-36ed-49f5-a6be-d3938782c76d" alt="" width="375"><figcaption></figcaption></figure></div>

{% endstep %}

{% step %}

### 添加白名单

依次点击 **动态住宅代理 → 使用设置 → API提取**。打开右侧白名单管理面板。

<div align="left"><figure><img src="https://3039172963-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdrfmG1p2fuJaL2TK4Odx%2Fuploads%2FdRyuT6FA6zyHKxdOfFMr%2Fimage.png?alt=media&amp;token=b53384f4-1098-4e01-87ea-c90585d762b0" alt="" width="375"><figcaption></figcaption></figure></div>

根据使用设备添加 IP：

* **本机使用**：点击当前访问 IP 旁的 **快速添加**，也可点击 API 提取页面的 **一键加入白名单**。
* **服务器或其他设备使用**：点击 **新增 IP**，填写对应设备的公网出口 IP，可选填备注，然后点击 **确认添加**。

<div align="left"><figure><img src="https://3039172963-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdrfmG1p2fuJaL2TK4Odx%2Fuploads%2FqAafi1Rd2anZAHY0OQQV%2Fimage.png?alt=media&amp;token=617203ac-c99d-4d97-9390-f32704b20284" alt="" width="369"><figcaption></figcaption></figure></div>

添加成功后，关闭白名单管理面板，继续配置提取参数。

> 注意：如果在服务器上调用 API，请添加服务器的公网出口 IP，而非当前电脑的 IP。出口 IP 发生变化后，需要重新添加。
> {% endstep %}

{% step %}

### 获取链接

1）在 **API 提取** 页面的 **提取配置** 中，设置以下参数：

<table><thead><tr><th width="125">参数</th><th>设置说明</th></tr></thead><tbody><tr><td><strong>地区</strong></td><td>选择目标国家或地区，也可选择全球随机</td></tr><tr><td><strong>会话类型</strong></td><td>选择轮换或粘性；选择粘性时，可设置会话时长</td></tr><tr><td><strong>格式</strong></td><td>选择 TXT 或 JSON；TXT 支持设置分隔符，JSON 无需设置</td></tr><tr><td><strong>数量</strong></td><td>设置本次需要提取的代理数量</td></tr></tbody></table>

2）配置完成后，下方的 **代理链接** 将自动更新，无需额外点击生成。

3）点击 **复制链接，**&#x7528;于集成至脚本或程序中；也可点击 **打开链接**，在浏览器中查看实际返回的代理列表。

<div align="left"><figure><img src="https://3039172963-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdrfmG1p2fuJaL2TK4Odx%2Fuploads%2FTSeC9jpbuhD83FvaR3vj%2Fimage.png?alt=media&amp;token=bc301109-5a90-4251-9cea-ff5e8ebf4504" alt="" width="319"><figcaption></figcaption></figure></div>

4）将返回的 **IP:端口** 配置到您的目标工具或程序中。

{% endstep %}
{% endstepper %}


---

# 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://doc.sk5data.com/doc/zh/dynamic-residential/bai-ming-dan-ip.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.
