Copilot Scraper
“scraper.copilot` を使用して、検索、チャット、推論、学習の各モードで Microsoft Copilot が生成した回答を取得します。このアクターは、Markdown 形式の回答に加えて、Copilot が提示するすべての引用(出典)を返します。
リクエスト例
curl 'https://api.scrapeless.com/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"
}
}'リクエストボディパラメータ
| パラメータ | 型 | 必須 | 説明 |
|---|---|---|---|
prompt | string | はい | Copilot に送信するプロンプト。 |
country | string | はい | 国または地域コード。 |
mode | string | はい | 実行モード:search、smart、chat(クイックレスポンス)、reasoning(詳細な推論)、または study(学習と理解)。 |
レスポンスフィールド
| パラメータ | 型 | 説明 |
|---|---|---|
result_text | string | Copilot が生成した Markdown 本文。 |
prompt | string | 元のプロンプト。 |
mode | string | 使用されたモード:search、smart、chat、reasoning、または study。 |
links | array | Copilot が返したすべての外部リンク。 |
citations | array | レスポンスから抽出された引用(出典)オブジェクト。 |
citations.title | string | 引用元のタイトル。 |
citations.url | string | 引用元の URL。 |