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

# 快速入门

> 只需一次请求，即可从网站的站点地图和页面链接中获取其 URL 列表。

## 获取 API 密钥

从[仪表盘](https://dashboard.decodo.com/)复制您的 API 密钥，并在 `Authorization` 请求头中发送——将以下示例中的 `TOKEN VALUE` 替换为您的密钥。

## 发送第一个请求

使用您要映射的 URL 发送 `POST` 请求。

POST 端点：`https://data.decodo.com/v1/map`

<CodeGroup>
  ```shellscript cURL theme={null}
  # 将 'TOKEN VALUE' 替换为您的 API 密钥
  curl --request 'POST' \
    --url 'https://data.decodo.com/v1/map' \
    --header 'Accept: application/json' \
    --header 'Authorization: Bearer TOKEN VALUE' \
    --header 'Content-Type: application/json' \
    --data '
  {
    "url": "https://decodo.com"
  }
  '
  ```
</CodeGroup>

## 响应

URL 列表会在同一响应中返回。每个 URL 都是 `content.links` 中的一个对象。本示例已精简为四个链接。

<CodeGroup>
  ```json Response theme={null}
  {
    "results": [
      {
        "content": {
          "links": [
            { "url": "https://decodo.com/blog" },
            { "url": "https://decodo.com/blog/asos-hacked" },
            { "url": "https://decodo.com/blog/topics/news" },
            { "url": "https://decodo.com/blog/how-to-scrape-bing-search" }
          ]
        },
        "status_code": 200,
        "url": "https://decodo.com",
        "sitemap_status": "skip",
        "map_id": "ad357923-0203-4677-87bd-2b2b69e78b1f",
        "created_at": "2026-10-07 11:09:54",
        "updated_at": "2026-10-07 11:09:54"
      }
    ]
  }
  ```
</CodeGroup>

## 后续步骤

使用路径过滤、域名范围和站点地图选项缩小结果范围——请参阅[**参数**](/docs/cn/web-data-api-map-parameters)。

***

<Columns cols={2}>
  <Card title="支持" href="https://direct.lc.chat/12092754" cta="让我们聊聊！">
    需要帮助或只是想打个招呼？我们的支持团队全天候为您服务。 \
    您也可以随时通过电子邮件 [support@decodo.com](mailto:support@decodo.com) 联系我们。
  </Card>

  <Card title="反馈" href="mailto:feedback@decodo.com" cta="分享反馈">
    找不到您要找的内容？请求一篇文章！ \
    有反馈意见？分享您对我们如何改进的想法。
  </Card>
</Columns>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.