> 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/web-scraper-api/features/http-context-and-job-management/user-agent-type.md).

# User-Agent 类型

从多个 User-Agent 预设中选择，以模拟不同设备进行抓取请求。

该 `user_agent_type` parameter 让您指定我们应使用哪种 User-Agent 标头值来满足您的请求。如果您不进行设置， `桌面端` 将作为默认值使用。

您可以在下表中找到可用值的完整列表。

## 参数值

<table><thead><tr><th width="249.11344741196785">值</th><th>说明</th></tr></thead><tbody><tr><td><code>桌面端</code></td><td>桌面浏览器的 User-Agent。默认值。</td></tr><tr><td><code>移动端</code></td><td>移动浏览器的 User-Agent。</td></tr><tr><td><code>mobile_android</code></td><td>Android 移动浏览器最新版本之一的 User-Agent。</td></tr><tr><td><code>mobile_ios</code></td><td>iOS 浏览器最新版本之一的 User-Agent。</td></tr><tr><td><code>tablet</code></td><td>平板浏览器的 User-Agent。</td></tr><tr><td><code>tablet_android</code></td><td>Android 平板浏览器最新版本之一的 User-Agent。</td></tr><tr><td><code>tablet_ios</code></td><td>iPad 平板浏览器最新版本之一的 User-Agent。</td></tr></tbody></table>

### 请求示例

```json
{
    "source": "universal",
    "url": "https://example.com",
    "user_agent_type": "mobile_ios"
}
```


---

# 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/web-scraper-api/features/http-context-and-job-management/user-agent-type.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.
