### 1.8. Details about a paper's authors `GET /graph/v1/paper/{paper_id}/authors` 返回这篇论文的作者。 | 参数 | 必填 | 说明 | |---|---|---| | `paper_id` | 是 | 路径参数,写法同 1.5 | | `offset` / `limit` | 否 | `limit` 默认 100、上限 1000;`offset + limit < 10000` | | `fields` | 否 | 逗号分隔的字段投影,见 §3 | ```bash curl "https://fetchpaper.com/graph/v1/paper/204e3073870fae3d05bcbc2f6a8e263d9b72e776/authors?fields=authorId,name,paperCount,citationCount,hIndex,url" ``` ```json {"offset": 0, "data": [{"authorId": "40348417", "name": "Ashish Vaswani", "paperCount": 50, "citationCount": 218026, "hIndex": 25, "url": "https://www.semanticscholar.org/author/40348417"}, …]} ``` 统计字段(`paperCount` / `citationCount` / `hIndex`)按**本地 CS 子集**计算,比官网全量口径小。 翻页口径与 `/citations`、`/references` 一致(`limit` 默认 100、上限 1000,`offset + limit < 10000`)。 拿一篇作者很多的论文实测(`608c74e0797e1fc0a798cb7e3cf2c48a5d73d009`,作者表 2,241 槽): ```bash curl "https://fetchpaper.com/graph/v1/paper/608c74e0797e1fc0a798cb7e3cf2c48a5d73d009/authors?limit=1000&offset=1000&fields=authorId" # {"offset":1000,"next":2000,"data":[ …1000 行… ]} ``` - 按 `limit=1000` 翻正好 3 页(0 / 1000 / 2000),累计 2,241 行;`next` **只在 `offset + limit < total` 时才出现**,末页不挂指向越界位置的空页。 - `offset` 等于或超过槽位数(`offset=2241`)→ 200 + `data: []` + 无 `next`,不报错。 - 这里的 `total` 是**署名槽位数**,不是唯一作者数:那篇 2,241 槽里只有 2,230 位唯一 `authorId`, 同一人署名两次就在 `data` 里出现两次,本端点**不去重**(`/citations`、`/references` 会按论文去重,作者表不会)。 - `fields=papers` 为当前页每位作者展开论文列表,代价按页大小放大:同一页 100 位作者展开后是 1,393 篇嵌套论文 ——不点 `papers` 整页 5 KB,点 `papers.paperId` 87 KB,点 `papers`(默认子字段)245 KB。 翻页时把子字段收窄,或直接用 `/author/{id}/papers`。