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"
    }
  }'

リクエストボディパラメータ

パラメータ必須説明
promptstringはいCopilot に送信するプロンプト。
countrystringはい国または地域コード。
modestringはい実行モード:searchsmartchat(クイックレスポンス)、reasoning(詳細な推論)、または study(学習と理解)。

レスポンスフィールド

パラメータ説明
result_textstringCopilot が生成した Markdown 本文。
promptstring元のプロンプト。
modestring使用されたモード:searchsmartchatreasoning、または study
linksarrayCopilot が返したすべての外部リンク。
citationsarrayレスポンスから抽出された引用(出典)オブジェクト。
citations.titlestring引用元のタイトル。
citations.urlstring引用元の URL。