> For the complete documentation index, see [llms.txt](https://developers.oxylabs.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.oxylabs.io/products/cn/proxies/mobile-proxies/endpoint-generator.md).

# 端点生成器

使用首选位置和会话类型生成自定义移动代理端点。立即导出 CSV、JSON 或 TXT 格式的列表。

端点生成器是一个可通过以下方式访问的自动化工具 [Oxylabs 仪表板](https://dashboard.oxylabs.io/?route=/overview/RP/endpoint-generator) 并用于生成自定义的移动代理端点列表。端点生成器可在您的移动代理产品实例中找到 **概述**:

<figure><img src="https://3714446197-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBQ7Zf9paoN3FTeGcyfY1%2Fuploads%2FrHCBVyXaPFpP0V2ovcu5%2FScreenshot%202026-10-05%20at%2004.25.56.png?alt=media&amp;token=3fadc048-8e78-4638-81ed-ebdfeb532ce7" alt=""><figcaption></figcaption></figure>

它允许您选择位置、会话类型、协议格式和输出选项，然后以 CSV、JSON 或 TXT 格式导出可直接使用的代理列表。

### 如何生成代理端点

{% stepper %}
{% step %}

### 选择代理国家

选择移动代理的国家和城市。如果保持为 `任意`，将选择随机位置。

<figure><img src="https://3714446197-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBQ7Zf9paoN3FTeGcyfY1%2Fuploads%2FvAG0awF8ahTSrfjXOjZH%2FScreenshot%202026-10-05%20at%2004.31.30.png?alt=media&amp;token=3c6d50f3-4ec5-4c4a-aeb4-0cce6f4ae941" alt=""><figcaption></figcaption></figure>

请查看 [位置设置](/products/cn/proxies/mobile-proxies/location-settings.md) 页面了解更多信息。
{% endstep %}

{% step %}

### 选择区域

根据客户端应用的位置选择连接区域：

* **全球：** 用于连接的标准入口节点。
* **香港 / 北京：** 专为来自以下地区的连接优化的专用入口节点 [中国](/products/cn/proxies/mobile-proxies/making-requests.md#entry-nodes-for-china).

<figure><img src="https://3714446197-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBQ7Zf9paoN3FTeGcyfY1%2Fuploads%2FAh72IEamytZyFMXt4cjm%2FScreenshot%202026-10-05%20at%2004.27.29.png?alt=media&amp;token=f8cc197e-811c-444f-a982-82a7cd672487" alt="" width="375"><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### 设置代理协议

从可用的代理协议中选择：

* **HTTP：** `http://pr.oxylabs.io:7777`
* **HTTPS：** `https://pr.oxylabs.io:7777`
* **SOCKS5：** `socks5h://pr.oxylabs.io:7777`
  {% endstep %}

{% step %}

### 选择会话类型

* ​**粘性会话：** 允许您在指定时长内保持相同的 IP 地址（最长 1440 分钟）。
* **轮换会话：** 每次请求都会获得新的 IP 地址。
* **粘性会话（单 IP）：** 严格绑定到单个出口节点。若 IP 掉线，将以 HTTP `502` 断开，则会返回 HTTP。
  {% endstep %}

{% step %}

### 设置时长（粘性会话）

在滑块上为您的粘性会话选择时长，范围介于 `1` 分钟和 `1440` 分钟（默认 – `10`).
{% endstep %}

{% step %}

### 选择输出格式

从以下选项中选择输出格式：

* cURL
* Python
* PHP
* Node.js
* GO
* Java
* 集成

<figure><img src="https://3714446197-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBQ7Zf9paoN3FTeGcyfY1%2Fuploads%2Fm08UmoUrS3FzVextbTHO%2FScreenshot%202026-10-05%20at%2004.46.04.png?alt=media&amp;token=2c262214-27f4-4cf1-ae28-a2e2d33e5751" alt=""><figcaption></figcaption></figure>
{% 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://developers.oxylabs.io/products/cn/proxies/mobile-proxies/endpoint-generator.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.
