Copilot 抓取器
scraper.copilot 可以捕捉微软 Copilot 在 Search、Chat、Reasoning、Study 等模式下的输出,并返回完整的 Markdown 文本与引用列表。
请求示例
curl '{api_host}/api/v2/scraper/request' \
--header 'Content-Type: application/json' \
--header 'x-api-token: {you_api_key}' \
--data '{
"actor": "scraper.copilot",
"input": {
"prompt": "Recommended attractions in New York",
"country": "US",
"mode": "search"
},
"webhook": {
"url": "http://www.youwebhook.com"
}
}'Body 参数
| 参数 | 类型 | 是否必填 | 描述 |
|---|---|---|---|
prompt | string | 是 | 发送给 Copilot 的 Prompt。 |
country | string | 是 | 国家或地区编码(不支持 JP、TW)。 |
mode | string | 是 | search、smart、chat(Quick response)、reasoning(Think Deeper)、study(Study and learn)。 |
响应字段
| 字段 | 类型 | 描述 |
|---|---|---|
result_text | string | Copilot 输出的 Markdown 文本。 |
prompt | string | 原始 Prompt。 |
mode | string | 使用的模式:search、smart、chat、reasoning 或 study。 |
links | array | 回答中包含的所有链接。 |
citations | array | 引用信息。 |
citations.title | string | 引用内容标题。 |
citations.url | string | 引用内容 URL。 |