更新情報新機能

Bing Copilotに対応しました

Bing Copilot
ワイヤレスイヤホンについての Bing Copilot の回答と、querying.ai が返す JSON

Microsoft Copilotに質問し、回答と引用元、Copilotが実行した検索、表示された商品カードと場所カードを受け取れます。

得られる結果

  • textとsources: Copilotの回答と引用されたページです。
  • searchQueries: Copilotが回答のために実行したWeb検索です。
  • shoppingCards: Copilotが商品を薦めたときの、商品名、価格、リンク付きの商品カードです。
  • map: 場所についての質問では、名前、住所、座標付きの場所が入ります。

仕組み

CopilotはMicrosoftのAIアシスタントで、Web検索をオンにした状態で回答します。タスクごとに新しいCopilotチャットを開いて質問し、初めて訪れたユーザーが見る回答を返します。include.markdownを指定するとmarkdownも受け取れます。

ショッピングの質問では、Copilotは引用ページを絞って商品カードで答えることがよくあります。どの商品を薦めているかは、本文とあわせてカードも読んで確認しましょう。

活用例

  • ChatGPTやGeminiで追跡している質問セットにCopilotを加えられます。
  • Copilotが薦める商品を他のエンジンと比較できます。

リクエストを送る

API キーを Authorization ヘッダーに入れてリクエストを送ります。

curl -X POST https://api.querying.ai/v1/async/task \
  -H "Authorization: Bearer $QUERYING_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "taskType": "BING_COPILOT",
    "payload": {
      "prompt": "Search the web and recommend 3 wireless earbuds for commuting. Compare noise cancellation and battery life in a short table, with source links. Keep the answer under 180 words.",
      "country": "US",
      "include": { "markdown": true }
    }
  }'

リクエストのフィールド

taskTypestring必須
実行するエンジン。CHATGPT や GOOGLE などを指定します。
payload.promptstring必須
ユーザーがチャットに入力するとおりに書いた質問。最大100,000文字。
payload.countrystring
質問する市場の2文字の国コード。US、KR、JP など。既定値は US。
payload.include.markdownboolean
true にすると、見出し、リスト、表、リンクを保った markdown が加わります。
webhook.urlstring
サーバーの HTTPS アドレス。タスクが完了した瞬間に結果をここへ送ります。
idempotencyKeystring
リクエストに付ける独自の ID。1つのキーはアカウント内で1つのタスクを作るため、再送してもタスクは1つのままです。

レスポンス

完了したタスクはこの形で届きます。長さを抑えて抜粋しています。

JSON
{
  "success": true,
  "task": {
    "id": "bb5e4da9-9df3-4cc1-8b99-b16e587f0f6f",
    "taskType": "BING_COPILOT",
    "status": "COMPLETED",
    "createdAt": "2026-09-27T17:03:03.604Z"
  },
  "credits": { "creditsToCharge": 2, "creditsCharged": 2 },
  "response": {
    "markdown": "**Top picks: Sony WF‑1000XM5, AirPods Pro 3, Bose QuietComfort Ultra — all strong for commuting with excellent ANC.**\n\nSony, Apple, and Bose consistently rank highest for noise cancellation and battery life across expert tests. Below are three commuter‑friendly choices with quick comparisons and source links.\n\n### Recommended Earbuds\n- **Sony WF‑1000XM5** — Class‑leading ANC and strong battery life.\n…",
    "sources": [
      {
        "position": 1,
        "url": "https://directronics.com/reviews/best-wireless-earbuds-2026/",
        "label": "Best Wireless Earbuds 2026: Expert Picks After 80+ Hours of Testing | Directronics"
      }
    ],
    "searchQueries": [
      "wireless earbuds commuting",
      "best wireless earbuds commuting noise cancellation long battery life 2026"
    ],
    "shoppingCards": [
      {
        "type": "shoppingProducts",
        "layout": "inline",
        "products": [
          {
            "position": 1,
            "name": "TREBLAB X8 True Wireless Noise Cancelling Earbuds with Bluetooth 5.4",
            "price": { "amount": 29.97, "currencySymbol": "$" },
            "rating": { "value": 4.17, "count": 23 },
            "seller": "Amazon.com"
          }
        ]
      }
    ]
  }
}
task.statusstring
QUEUED、PROCESSING を経て、回答付きの COMPLETED か error 付きの FAILED で終わります。
credits.creditsChargedinteger
完了したタスクに請求されたクレジット。失敗したタスクは0です。
response.textstring
回答のプレーンテキスト。
response.markdownstring
書式を保った回答。見出し、リスト、表、リンクがそのまま入ります。
response.sourcesarray
回答が引用したページ。エンジンの表示順に position、url、label が入ります。
response.searchQueriesarray
エンジンが回答を書くために実行したウェブ検索。
response.shoppingCardsarray
回答とともに表示された商品カード。商品名、価格、販売店、評価、商品リンク。
response.maparray
回答が勧めた場所。名前、住所、座標、評価、業種、地図リンク。

結果を受け取る

リクエストすると status が QUEUED のタスクがすぐに返ります。status が COMPLETED か FAILED になるまで GET /v1/async/task/{id} で取得するか、webhook.url を指定して同じ task、credits、response をサーバーで受け取ります。結果はタスクの完了から24時間取得できます。

curl https://api.querying.ai/v1/async/task/$TASK_ID \
  -H "Authorization: Bearer $QUERYING_API_KEY"

料金

完了したCopilotタスク1件につき2クレジットを使用します。

ほかの更新

最新情報を受け取る

製品の更新をメールでお届けします。

RSS フィード