> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.beatapi.io/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.beatapi.io/_mcp/server.

# 外链列表为什么每个网站只出现一条？怎么取更多？

> POST /v1/seo/backlinks 默认开启 one_per_domain: true，每个来源域名只返回一条外链；将 one_per_domain 设为 false 并配合 limit 与 offset 分页，可获取同一网站的多条外链。

`POST /v1/seo/backlinks` 默认只给每个来源网站返回一条记录，因为参数 `one_per_domain` 默认为 `true`。将 `one_per_domain` 设为 `false`，再结合 `limit` 与 `offset` 翻页，即可拉取同一域名下的多条外链。

## 拉取同一网站的多条外链

外链接口支持 `domain`、`one_per_domain`、`limit`（`1–1000`，默认 `100`）和 `offset`（`0–10000`，默认 `0`）。外链数据不区分市场，传 `country` 或 `language` 会直接返回 `400 bad_request`。

```bash
curl -sS https://api.beatapi.io/v1/seo/backlinks \
  -H "Authorization: Bearer $BEATAPI_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"domain":"example.com","one_per_domain":false,"limit":25,"offset":0}'
```

翻页时将 `offset` 每次增加 `limit`。外链查询按「基础费 `$0.035` + 每返回一行 `$0.0002`」计费，建议把 `limit` 设在当前真正需要的行数。

## 核对返回外链与现存状态

`results` 中每行包含 `source_url`、`source_domain`、`anchor`、`target_url`、`dofollow`、`first_seen`、`last_seen`、`is_lost` 和 `is_broken`。同一媒体多篇文章指向维护指南时，在表中同时保留每条记录的来源页、锚文本与目标页，并直接打开 `source_url` 确认链接当前仍有效。

## 合同与相关问题

发送收费请求前，先免费查看 SEO 合同：`data:seo.keyword_overview`, `data:seo.ranked_keywords`, `data:seo.top_pages`, `data:seo.backlinks`。

[返回SEO问题索引](/zh/faq/seo)。