> For the complete documentation index, see [llms.txt](https://docs.rapidproxy.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rapidproxy.io/simplified-mandarin/dai-li/wu-xian-liang-zhu-zhai-dai-li/pei-zhi-dai-li/api-pei-zhi-yu-huo-qu.md).

# API 配置与获取

### 访问配置页面

1. 登录您的Rapidproxy 用户中心
2. 导航至Proxies/代理 → Unlimited Residential Proxies /无限量住宅代理→ Use Proxy/ 使用代理→ Proxy Generator/代理生成器

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

### 配置API位置

1. 在【Select a Server/选择服务器】的**下拉框**选择一个服务器

<figure><img src="/files/0D4PS2zUuSAZxi6HrgHc" alt=""><figcaption></figcaption></figure>

2. 然后在【Authentication Method/身份验证方式】板块选择【**Whitelisted lPs/IP 白名单**】

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

3. 在 【Continent /Countny/大洲 / 国家】的下拉框选择您所需的位置即可

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

### 配置结果输出数量

* 在【**Extract quantity/提取数量**】下的输入框输入你想要提取的数量

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

* 数字决定了【Result output/结果输出】板块下的**输出数量**

注意：需将左侧配置完成后，点击【**Generate proxy/生成代理**】后会在【**Result output/结果输出**】输出您所填数量的结果。

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

### 配置会话设置

* Rapidproxy 的无限量住宅代理支持Session Settings/粘性会话，在可配置的会话持续时间内，IP 地址保持不变
* 在【**Session Settings/粘性会话**】设置板块，输入您所需会话持续的时间。

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

### 获取API链接

* 在配置完成左侧的相应内容后，点击【**Generate proxy/生成代理**】，会在【**Generate API link/生成 API 链接**】下的框内显示一个专属链接。

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

* 若需使用API链接，点击框后的【**复制按钮**】即可

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