> 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/documentation/cn/kai-shi-shi-yong/quick-start-web-unblocker.md).

# 快速开始：网页解锁器

通过简单的分步指南，只需几分钟即可开始使用 Oxylabs 网页解锁器。

{% hint style="success" %}
已经熟悉基础内容？查看 [网页解锁器文档](/products/cn/web-unblocker.md).
{% endhint %}

Oxylabs [网页解锁器](https://oxylabs.io/products/web-unblocker) 是一种由 AI 驱动的代理解决方案，旨在处理最复杂的机器人流量管理系统（例如 Akamai、Cloudflare 或 DataDome）。它会自动管理代理轮换、浏览器指纹和 CAPTCHA 处理，因此你可以专注于数据。

{% stepper %}
{% step %}

### 设置与凭据

1. **创建账户：** 在以下位置注册： [Oxylabs Dashboard](https://dashboard.oxylabs.io/).
2. **添加产品实例：** 点击 **+ 添加产品实例** 并在代理解决方案类别中选择网页解锁器。
3. **设置：** 选择实例名称、产品使用限制（可选），并创建实例。
4. **获取凭据：** 点击概览实例表中的网页解锁器产品并获取你的凭据。

{% hint style="info" %}
要免费试用我们的网页解锁器，请领取 5 美元 [欢迎赠金](/documentation/cn/kong-zhi-mian-ban/ji-yuedu-de-ji-fei.md#free-credits-welcome-credit).
{% endhint %}
{% endstep %}

{% step %}

### 你的第一个请求

网页解锁器作为代理集成。使用端点 `unblock.oxylabs.io:60000` 并通过自定义请求头传递你的指令。

```bash
curl -k -x unblock.oxylabs.io:60000 -U 'USERNAME:PASSWORD' \\
'https://sandbox.oxylabs.io/products' \\
-H 'x-oxylabs-geo-location: United States' \\
-H 'x-oxylabs-render: html'
```

{% hint style="info" %}
替换 `USERNAME` 和 `PASSWORD` 为你的用户凭据
{% endhint %}
{% endstep %}
{% endstepper %}

### 必需请求头

与标准代理不同，网页解锁器使用请求头来控制其 AI 驱动的功能：

| 请求头                       | 值                 | 描述                     |
| ------------------------- | ----------------- | ---------------------- |
| `x-oxylabs-geo-location`  | `美国`, `德国`等。      | 将出口节点设置为特定国家。          |
| `x-oxylabs-render`        | `html` 或 `png`    | 启用 JavaScript 渲染或返回截图。 |
| `x-oxylabs-session-id`    | `AnyRandomString` | 在多次请求中保持相同 IP（粘性会话）。   |
| `x-oxylabs-force-headers` | `1`               | 强制工具向目标发送你自己的自定义请求头。   |

### 常见响应代码

| 代码    | 状态     | 描述                   |
| ----- | ------ | -------------------- |
| `200` | `OK`   | 请求成功。你会收到完整渲染的 HTML。 |
| `401` | `未授权`  | API 用户凭据无效或缺少身份验证。   |
| `429` | `请求过多` | 你已达到账户的速率限制。         |
| `550` | `故障`   | 系统在多次重试后仍无法访问该网站。    |

你可以在 [完整响应代码列表](/products/cn/web-unblocker/response-codes.md) 中找到网页解锁器产品部分。

### 下一步

* **高级浏览器控制：** 需要点击按钮或滚动？查看 [自定义浏览器指令](/products/cn/web-unblocker/custom-browser-instructions.md) 在产品部分。
* **地理定位：** 如需本地化数据，请查看 [地理位置](/products/cn/web-unblocker/making-requests/geo-location.md) 页面，以定位特定国家、城市或坐标。


---

# 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/documentation/cn/kai-shi-shi-yong/quick-start-web-unblocker.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.
