Bing AI Mode Scraper

scraper.bingaimode を使用して、Bing AI Modeからの回答(Markdown形式および生の回答コンテンツ)、引用元、広告を取得できます。レンダリングされたHTMLをリクエストすることも可能です。

リクエスト例

curl 'https://api.scrapeless.com/api/v2/scraper/request' \
  --header 'Content-Type: application/json' \
  --header 'x-api-token: {you_api_key}' \
  --data '{
    "actor": "scraper.bingaimode",
    "input": {
      "prompt": "Most reliable proxy service for data extraction",
      "country": "US"
    },
    "webhook": {
      "url": "http://www.youwebhook.com"
    }
  }'

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

ParameterTypeRequiredDescription
promptstringYesBing AI Modeに送信するプロンプト。
countrystringYes国または地域コード。
should_fetch_htmlbooleanNoレンダリングされたHTMLを返すかどうか。

レスポンスフィールド

ParameterTypeDescription
content_mdstringMarkdown形式の回答本文。
content_rawstring生の回答コンテンツ。
promptstring元のプロンプト。
sourcesarray引用元リスト。
sources.domainstring引用元のドメイン。
sources.titlestring引用元のタイトル。
sources.favicon_idstring引用元のファビコンID。
sources.snippetstring引用スニペット。
sources.urlstring引用元のURL。
sources.cited_countint引用回数。
sources.indexint引用コンテンツのインデックス。
adsarray推奨広告。
ads.badgestring広告バッジ(例:SALE、PRICE DROP)。
ads.bing_ad_urlstringBing広告リンク。
ads.descriptionstring広告の説明。
ads.imgstring広告画像。
ads.orig_pricestring元の価格。
ads.pricestring現在の価格。
ads.promotionstring販売者のプロモーション詳細(例:$19.99 sale; Expires in 2 days)。
ads.ratingstring5段階評価。
ads.review_countstringレビュー数。
ads.sellerstring小売業者(例:Amazon.com)。
ads.titlestring広告タイトル。
ads.urlstring広告の遷移先リンク。
htmlstringshould_fetch_html でリクエストされたレンダリング済みHTML。