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

ボディパラメータ

パラメータ型必須説明
promptstringはいCopilotに送信されたプロンプト。
countrystringはい国または地域コード。
modestringはい実行モード: search、 smart、 chat (クイックレスポンス)、 reasoning (深く考える)、または study (学習と理解)。
should_fetch_share_linkbooleanいいえ共有リンクを取得。

レスポンスフィールド

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