Copilot スクレイパー
Microsoft Copilotが検索、チャット、推論、学習モードで生成した回答を取得するには scraper.copilot を使用します。actorは、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 (学習と理解)。 |
should_fetch_share_link | boolean | いいえ | 共有リンクを取得。 |
レスポンスフィールド
| パラメータ | 型 | 説明 |
|---|---|---|
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。 |
share_url | string | 共有リンク。 |