> 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.md).

# 移动代理

来自 140+ 地点的真实移动代理 IP，支持自动轮换。此文档涵盖设置、会话控制、协议、Public API 集成等内容。

[**移动代理**](https://oxylabs.io/products/mobile-proxies) 包含由互联网服务提供商（ISP）提供的真实 IP 地址。这些 IP 地址按国家级别分配到全球各地的移动设备。因此，使用这种类型的代理很容易模拟人类行为并避免封锁。

Oxylabs 移动代理功能完善，可自动轮换，且易于设置。移动代理可让您访问 3G/4G/5G 蜂窝网络。

在本文档中了解有关移动代理集成的所有内容，首先请前往 [**入门**](broken://pages/3ba2c5c234c7fc83eb38ca5bf40bdfdecf2815b4) 部分。

## 入门指南

向以下地址发出请求 `https://ip.oxylabs.io/location` 通过我们的 [**backconnect 入口**](/products/cn/proxies/mobile-proxies/making-requests.md). 将 `USERNAME` 和 `PASSWORD` 替换为您的代理用户凭据。请注意，由于 Oxylabs 移动代理会自动轮换，每个请求都会返回一个新的 IP 地址。

{% hint style="info" %}
使用 [**ip.oxylabs.io/location**](https://ip.oxylabs.io/location) 用于检查您的 IP 参数——该域名提供来自四个地理定位数据库的信息：MaxMind、IP2Location、DB-IP 和 IPinfo.io。参数包括 IP 地址、提供商、国家/地区、城市、邮政编码、ASN、组织名称、时区和元信息（当数据库披露时）。
{% endhint %}

```shell
curl -x pr.oxylabs.io:7777 -U "customer-USERNAME:PASSWORD" https://ip.oxylabs.io/location
```

{% hint style="info" %}
我们的移动代理支持 `HTTP`, `HTTPS`, `HTTP3`、以及 `SOCKS5` 这些协议。您可以在以下内容中了解更多使用方法 [**这里**](/products/cn/proxies/mobile-proxies/protocols.md).
{% endhint %}

现在使用来自法国的代理发起请求。您只需要添加 `cc-FR` 到您的用户名字符串中。下面是 cURL 示例， [**这里**](/products/cn/proxies/mobile-proxies/location-settings/country.md) 您还可以找到其他语言的代码示例。

```shell
curl -x pr.oxylabs.io:7777 -U "customer-USERNAME-cc-FR:PASSWORD" https://ip.oxylabs.io/location
```

如果您需要在多个请求中保持相同的代理，请使用 [**会话控制**](/products/cn/proxies/mobile-proxies/session-control.md)**.** 添加 `sessid-abc12345` 到您的用户名字符串中，其中 `abc12345` 可以是任意随机字符串，只要您持续使用此字符串（会话 ID）发送请求，就会获得相同的代理 IP。

```shell
curl -x pr.oxylabs.io:7777 -U "customer-USERNAME-sessid-randomString123:PASSWORD" https://ip.oxylabs.io/location
```

您还可以使用以下方式设置移动代理 [**端点生成器**](/products/cn/proxies/mobile-proxies/endpoint-generator.md).

如果您还有其他问题，请联系您的客户经理或我们的支持团队，邮箱： [**support@oxylabs.io**](mailto:support@oxylabs.io).


---

# 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://developers.oxylabs.io/products/cn/proxies/mobile-proxies.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.
