> For the complete documentation index, see [llms.txt](https://doc.9http.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.9http.com/dai-li/dong-tai-zhu-zhai-dai-li/api-ti-qu.md).

# API提取

**①** 依此点击 **动态住宅代理** → **API 提取** 进入代理信息生成界面；

**②** **认证方式：** 选择白名单 ，如果您还未添加白名单，请点击 **白名单管理 → 新增IP** 进行创建

<figure><img src="/files/FRLAItbEMgzhCPYLMyOg" alt=""><figcaption></figcaption></figure>

**③** **参数设定：选择您需要的数量及国家/地区**

若需要调整提取的IP数量，请修改`number`参数。若需要调整提取的国家/地区，请修改`count`参数。

**④ 会话类型 ：**

**轮换会话**：即每次请求自动切换IP，适合需要高匿名性的业务需求

**粘性会话**：可以选择1-120分钟的会话保持时长，适合需要会话连续性的业务需求

链接示例：提取10个会话类型为轮换的加拿大IP，生成链接为：

```
http://us.9http.com:9090/gen?plan_name=data&geo=CA&format=txt&count=10&split=rn
```

**⑤ 提取使用：**

点击**打开链接**生成IP列表或复制API链接配置使用

<figure><img src="/files/CnNvTc81FEC5CpX2jW9N" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
在配置代理时，你选择的会话模式（固定 IP 或动态 IP）会生成入口节点地址，请注意，该页面显示的 IP 只是系统对接 ID，并非真实使用的IP，你最终使用的不同真实出口 IP 会在你实际访问网站时，根据选择的端口动态分配。
{% endhint %}


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://doc.9http.com/dai-li/dong-tai-zhu-zhai-dai-li/api-ti-qu.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
