> ## Documentation Index
> Fetch the complete documentation index at: https://docs.brightdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Bright Data 文档

> Bright Data Scraper API、Scraper Studio、Web Unlocker API、SERP API、代理、数据集与 Bright Data MCP 的指南、快速开始和 API 参考。

<div className="bd-landing bd-page bd-page--plain">
  <h1 className="bd-headline">开始使用实时网页数据构建</h1>

  <p className="bd-subhead">
    抓取任意网站，购买现成数据集。数千个预构建抓取器，一个 API 密钥。
  </p>

  <Prompt description="Read https://docs.brightdata.com/llms.txt and get me set up with Bright Data" icon="sparkles" actions={["copy"]}>
    Read [https://docs.brightdata.com/llms.txt](https://docs.brightdata.com/llms.txt) and get me set up with Bright Data
  </Prompt>

  <p className="bd-credits">
    **每月 5,000 个免费信用额度**，无需信用卡。参见[免费套餐](/cn/general/account/billing-and-pricing/free-tier)。
  </p>

  <Columns cols={4}>
    <Tile href="/cn/quickstart" title="快速开始" description="三个步骤抓取第一个页面并获得结构化 JSON。">
      <img src="https://mintcdn.com/brightdata/2ePdI98bOlsJ7Z5O/images/home/tile-quickstart.svg?fit=max&auto=format&n=2ePdI98bOlsJ7Z5O&q=85&s=2451064a3e45eb39e3f6326fd9b608d0" alt="快速开始" width="640" height="360" data-path="images/home/tile-quickstart.svg" />
    </Tile>

    <Tile href="/cn/quickstart-coding-agent" title="您是智能体？从这里开始" description="面向 AI 读者的 llms.txt、技能与 MCP 工具。">
      <img src="https://mintcdn.com/brightdata/2ePdI98bOlsJ7Z5O/images/home/tile-agent.svg?fit=max&auto=format&n=2ePdI98bOlsJ7Z5O&q=85&s=9701bf3e9271cbd608de4cdb517301cc" alt="智能体资源" width="640" height="360" data-path="images/home/tile-agent.svg" />
    </Tile>

    <Tile href="/cn/products" title="全部产品" description="数据提取、网页访问、AI 训练数据与代理网络。">
      <img src="https://mintcdn.com/brightdata/2ePdI98bOlsJ7Z5O/images/home/tile-products.svg?fit=max&auto=format&n=2ePdI98bOlsJ7Z5O&q=85&s=c490bb3e08ee263220579be041b5b646" alt="产品目录" width="640" height="360" data-path="images/home/tile-products.svg" />
    </Tile>

    <Tile href="/cn/api-reference/authentication" title="API 参考" description="身份验证、端点、SDK 与 CLI。">
      <img src="https://mintcdn.com/brightdata/2ePdI98bOlsJ7Z5O/images/home/tile-api.svg?fit=max&auto=format&n=2ePdI98bOlsJ7Z5O&q=85&s=ffab48d43166442a9d844d129ffd7005" alt="API 参考" width="640" height="360" data-path="images/home/tile-api.svg" />
    </Tile>
  </Columns>

  ## 按产品浏览

  <div className="bd-catalog">
    <div className="bd-catalog-row">
      <div className="bd-catalog-info">
        <h3>数据提取</h3>
        <p>使用预构建或自定义抓取器提取结构化数据。</p>
      </div>

      <div className="bd-catalog-items">
        <a className="bd-catalog-item" href="/cn/products/scrapers/overview"><Icon icon="spider" /><span className="bd-catalog-item-text"><span className="bd-catalog-item-name">Scraper API</span><span className="bd-catalog-item-desc">来自数千个网站的结构化数据</span></span></a>
        <a className="bd-catalog-item" href="/cn/products/scraper-studio/overview"><Icon icon="code" /><span className="bd-catalog-item-text"><span className="bd-catalog-item-name">Scraper Studio</span><span className="bd-catalog-item-desc">构建并托管自定义抓取器</span></span></a>
        <a className="bd-catalog-item" href="https://www.bright.cn/pricing/managed-services"><Icon icon="user-gear" /><span className="bd-catalog-item-text"><span className="bd-catalog-item-name">托管服务</span><span className="bd-catalog-item-desc">由我们代为完成的数据采集</span></span></a>
      </div>
    </div>

    <div className="bd-catalog-row">
      <div className="bd-catalog-info">
        <h3>训练数据</h3>
        <p>无需运行任何抓取器即可获得网页数据。</p>
      </div>

      <div className="bd-catalog-items">
        <a className="bd-catalog-item" href="/cn/left-over/marketplace-overview"><Icon icon="store" /><span className="bd-catalog-item-text"><span className="bd-catalog-item-name">数据集市场</span><span className="bd-catalog-item-desc">现成数据集，覆盖 250+ 个域名</span></span></a>
        <a className="bd-catalog-item" href="/cn/products/archive/overview"><Icon icon="box-archive" /><span className="bd-catalog-item-text"><span className="bd-catalog-item-name">Web Archive</span><span className="bd-catalog-item-desc">网页快照缓存</span></span></a>
      </div>
    </div>

    <div className="bd-catalog-row">
      <div className="bd-catalog-info">
        <h3>网页访问</h3>
        <p>通过 API 解封、搜索并浏览任意页面。</p>
      </div>

      <div className="bd-catalog-items">
        <a className="bd-catalog-item" href="/cn/products/web-unlocker/introduction"><Icon icon="unlock" /><span className="bd-catalog-item-text"><span className="bd-catalog-item-name">Web Unlocker API</span><span className="bd-catalog-item-desc">解封任意受保护页面</span></span></a>
        <a className="bd-catalog-item" href="/cn/products/serp-api/introduction"><Icon icon="magnifying-glass" /><span className="bd-catalog-item-text"><span className="bd-catalog-item-name">SERP API</span><span className="bd-catalog-item-desc">以结构化 JSON 返回搜索结果</span></span></a>
        <a className="bd-catalog-item" href="/cn/products/scraping-browser/introduction"><Icon icon="window-maximize" /><span className="bd-catalog-item-text"><span className="bd-catalog-item-name">Browser API</span><span className="bd-catalog-item-desc">用于自动化的远程浏览器</span></span></a>
      </div>
    </div>

    <div className="bd-catalog-row">
      <div className="bd-catalog-info">
        <h3>代理网络</h3>
        <p>五种网络类型，支持大规模流量路由。</p>
      </div>

      <div className="bd-catalog-items">
        <a className="bd-catalog-item" href="/cn/products/residential/introduction"><Icon icon="globe" /><span className="bd-catalog-item-text"><span className="bd-catalog-item-name">住宅代理</span><span className="bd-catalog-item-desc">4 亿+ 真实用户 IP</span></span></a>
        <a className="bd-catalog-item" href="/cn/products/data-center/introduction"><Icon icon="server" /><span className="bd-catalog-item-text"><span className="bd-catalog-item-name">数据中心代理</span><span className="bd-catalog-item-desc">高速、低成本 IP</span></span></a>
        <a className="bd-catalog-item" href="/cn/products/isp/introduction"><Icon icon="network-wired" /><span className="bd-catalog-item-text"><span className="bd-catalog-item-name">ISP 代理</span><span className="bd-catalog-item-desc">静态住宅级 IP</span></span></a>
        <a className="bd-catalog-item" href="/cn/products/proxy-manager/introduction"><Icon icon="sliders" /><span className="bd-catalog-item-text"><span className="bd-catalog-item-name">Proxy Manager</span><span className="bd-catalog-item-desc">开源代理路由</span></span></a>
        <a className="bd-catalog-item" href="/cn/left-over/browser-extension/introduction"><Icon icon="puzzle-piece" /><span className="bd-catalog-item-text"><span className="bd-catalog-item-name">浏览器扩展</span><span className="bd-catalog-item-desc">在 Chrome 中使用代理</span></span></a>
      </div>
    </div>

    <div className="bd-catalog-row">
      <div className="bd-catalog-info">
        <h3>AI 工具</h3>
        <p>将智能体连接到实时网络的工具。</p>
      </div>

      <div className="bd-catalog-items">
        <a className="bd-catalog-item" href="/cn/products/mcp-server/overview"><Icon icon="microchip-ai" /><span className="bd-catalog-item-text"><span className="bd-catalog-item-name">Bright Data MCP</span><span className="bd-catalog-item-desc">为智能体提供实时网页访问</span></span></a>
        <a className="bd-catalog-item" href="/cn/api-reference/SDK"><Icon icon="cubes" /><span className="bd-catalog-item-text"><span className="bd-catalog-item-name">SDK</span><span className="bd-catalog-item-desc">Python 与 JavaScript 客户端</span></span></a>
        <a className="bd-catalog-item" href="/cn/products/cli/overview"><Icon icon="terminal" /><span className="bd-catalog-item-text"><span className="bd-catalog-item-name">Bright Data CLI</span><span className="bd-catalog-item-desc">在终端中使用整个平台</span></span></a>
      </div>
    </div>
  </div>

  ## 配置您的 AI 工具

  将 Bright Data 连接到您已在使用的工具。每条命令都与其 [MCP 集成指南](/cn/products/mcp-server/integrations/overview)中记录的命令一致。

  <CodeGroup>
    ```bash Claude Code theme={null}
    claude mcp add --transport sse brightdata "https://mcp.brightdata.com/sse?token=YOUR_API_KEY"
    ```

    ```json Cursor theme={null}
    {
      "mcpServers": {
        "brightdata-mcp": {
          "command": "npx",
          "args": ["-y", "@brightdata/mcp"],
          "env": {
            "API_TOKEN": "<your API token>"
          }
        }
      }
    }
    ```

    ```bash Codex CLI theme={null}
    codex mcp add brightdata --env API_TOKEN=YOUR_API_KEY -- npx -y @brightdata/mcp
    ```

    ```bash Bright Data CLI theme={null}
    npx -p @brightdata/cli brightdata --version
    ```
  </CodeGroup>

  ## 发送第一个请求

  以下每个示例都使用 Scraper API 抓取一个 LinkedIn 个人主页。将 `YOUR_API_KEY` 替换为您在[账户设置](https://www.bright.cn/cp/setting/users)中的密钥后即可直接运行。API 密钥在所有产品中的工作方式请参见[身份验证](/cn/api-reference/authentication)。

  <CodeGroup>
    ```bash cURL theme={null}
    curl -X POST \
      "https://api.brightdata.com/datasets/v3/scrape?dataset_id=gd_l1viktl72bvl7bjuj0&format=json" \
      -H "Authorization: Bearer YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '[{"url": "https://www.linkedin.com/in/satyanadella"}]'
    ```

    ```python Python theme={null}
    import requests

    response = requests.post(
        "https://api.brightdata.com/datasets/v3/scrape",
        params={"dataset_id": "gd_l1viktl72bvl7bjuj0", "format": "json"},
        headers={
            "Authorization": "Bearer YOUR_API_KEY",
            "Content-Type": "application/json",
        },
        json=[{"url": "https://www.linkedin.com/in/satyanadella"}],
    )

    print(response.json())
    ```

    ```javascript Node.js theme={null}
    const response = await fetch(
      "https://api.brightdata.com/datasets/v3/scrape?dataset_id=gd_l1viktl72bvl7bjuj0&format=json",
      {
        method: "POST",
        headers: {
          "Authorization": "Bearer YOUR_API_KEY",
          "Content-Type": "application/json",
        },
        body: JSON.stringify([
          { url: "https://www.linkedin.com/in/satyanadella" }
        ]),
      }
    );

    const data = await response.json();
    console.log(data);
    ```
  </CodeGroup>

  同样的请求模式适用于每一个抓取器：替换数据集 ID 和输入 URL 即可。下一个目标可参见 [Instagram](/cn/products/scrapers/instagram/quickstart) 与 [SERP API](/cn/products/serp-api/quickstart) 快速开始。

  <div className="bd-footer-links">
    <a href="https://www.bright.cn/network-status">服务状态</a>
    <a href="https://help.brightdata.com/hc/en-us/requests/new">联系支持</a>
    <a href="/cn/release-notes">发布说明</a>
    <a href="https://docs.brightdata.com/llms.txt">面向智能体的 llms.txt</a>
  </div>
</div>
