ChatGPT API — 回答と引用を収集

ChatGPT の消費者向け画面から回答・引用・検索データを JSON で収集し、GEO を測定します。

ChatGPT web search answer comparing wireless earbuds in a table with source links.

レスポンス構造

回答本文、引用元、検索クエリなど、このエンジンが返す構造化フィールドを確認できます。

  • text, markdown: the captured answer, ready to store alongside your prompt.
  • sources: cited URLs and the source metadata available in that session.
  • searchQueries: searches issued during the answer; an empty list does not mean your submitted prompt was lost.
  • shoppingCards, model: conditional product cards and the model identifier reported by the session.
{
  "task": {
    "taskType": "CHATGPT"
  },
  "response": {
    "sources": [
      {
        "url": "https://www.wired.com/gallery/best-noise-canceling-earbuds/",
        "label": "Best Noise-Canceling Earbuds: Bose, Sony, Apple, and More | WIRED",
        "footnote": false,
        "position": 1,
        "attribution": "WIRED",
        "description": "",
        "datePublished": "March 29, 2026"
      },
      {
        "url": "https://www.tomsguide.com/audio/earbuds/best-noise-canceling-earbuds",
        "label": "Best noise-canceling earbuds in 2026: Tested and reviewed | Tom's Guide",
        "footnote": false,
        "position": 2,
        "attribution": "Tom's Guide",
        "description": "",
        "datePublished": "July 24, 2026"
      },
      {
        "url": "https://www.wired.com/story/best-wireless-earbuds/",
        "label": "Best Wireless Earbuds We’d Buy Right Now (2026): Apple, Sony, Bose, and More | WIRED",
        "footnote": false,
        "position": 3,
        "attribution": "WIRED",
        "description": "",
        "datePublished": "August 10, 2026"
      }
    ],
    "searchQueries": [
      "best wireless earbuds commuting noise cancellation battery life Sony Bose Apple"
    ],
    "text": "For commuting, I’d prioritize strong ANC (trains, buses, traffic) and 6+ hours of playback. These three are top picks: ([WIRED](https://www.wired.com/gallery/best-noise-canceling-earbuds/?utm_source=chatgpt.com))\n\n| Earbuds | Noise cancellation | Battery life (ANC on) |\n|---|---|---|\n| Bose QuietComfort Ultra Earbuds (2nd Gen) | Excellent — among the strongest ANC available | ~6 hrs (24 hrs with case) ([WIRED](https://www.wired.com/gallery/best-noise-canceling-earbuds/?utm_source=chatgpt.com)) |\n| Sony WF-1000XM5 | Excellent — very effective for commute noise | ~8 hrs (24 hrs with case) ([Tom's Guide](https://www.tomsguide.com/audio/earbuds/best-noise-canceling-earbuds?utm_source=chatgpt.com)) |\n| Apple AirPods Pro 3 | Excellent — especially for iPhone users | Up to ~8 hrs (24 hrs with case) ([WIRED](https://www.wired.com/story/best-wireless-earbuds/?utm_source=chatgpt.com)) |\n\n**Recommendation:**  \n- Best pure noise blocking: Bose.  \n- Best overall balance: Sony.  \n- Best if you use iPhone: AirPods Pro 3. ([WIRED](https://www.wired.com/gallery/best-noise-canceling-earbuds/?utm_source=chatgpt.com))\n\nSources: [WIRED noise-canceling earbuds guide](https://www.wired.com/gallery/best-noise-canceling-earbuds/?utm_source=chatgpt.com) · [Tom’s Guide ANC earbuds guide](https://www.tomsguide.com/audio/earbuds/best-noise-canceling-earbuds?utm_source=chatgpt.com) ·",
    "markdown": "For commuting, I’d prioritize strong ANC (trains, buses, traffic) and 6+ hours of playback. These three are top picks: ([WIRED](https://www.wired.com/gallery/best-noise-canceling-earbuds/?utm_source=chatgpt.com))\n\n| Earbuds | Noise cancellation | Battery life (ANC on) |\n|---|---|---|\n| Bose QuietComfort Ultra Earbuds (2nd Gen) | Excellent — among the strongest ANC available | ~6 hrs (24 hrs with case) ([WIRED](https://www.wired.com/gallery/best-noise-canceling-earbuds/?utm_source=chatgpt.com)) |\n| Sony WF-1000XM5 | Excellent — very effective for commute noise | ~8 hrs (24 hrs with case) ([Tom's Guide](https://www.tomsguide.com/audio/earbuds/best-noise-canceling-earbuds?utm_source=chatgpt.com)) |\n| Apple AirPods Pro 3 | Excellent — especially for iPhone users | Up to ~8 hrs (24 hrs with case) ([WIRED](https://www.wired.com/story/best-wireless-earbuds/?utm_source=chatgpt.com)) |\n\n**Recommendation:**  \n- Best pure noise blocking: Bose.  \n- Best overall balance: Sony.  \n- Best if you use iPhone: AirPods Pro 3. ([WIRED](https://www.wired.com/gallery/best-noise-canceling-earbuds/?utm_source=chatgpt.com))\n\nSources: [WIRED noise-canceling earbuds guide](https://www.wired.com/gallery/best-noise-canceling-earbuds/?utm_source=chatgpt.com) · [Tom’s Guide ANC earbuds guide](https://www.tomsguide.com/audio/earbuds/best-noise-canceling-earbuds?utm_source=chatgpt.com) ·",
    "model": "gpt-5-6",
    "shoppingCards": []
  }
}

ブランドの言及と引用を分析する

同じ質問を複数回実行し、ブランドの言及と引用元の変化を市場別に比較します。

API で回答を収集する

API キーを使って質問を送信し、完了した task の response を保存します。

curl -X POST https://api.querying.ai/v1/async/task \
  -H "Authorization: Bearer $QUERYING_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "taskType": "CHATGPT",
  "payload": {
    "prompt": "通勤におすすめのワイヤレスイヤホン",
    "country": "JP"
  }
}'

完了したレスポンスを読む

task.id で結果を取得し、完了した response のエンジン固有フィールドを読みます。

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

料金と利用範囲

プラン別リクエスト料金
プラン1 回1,000 回
Basic≈ $0.00400≈ $4.00
Max≈ $0.00190≈ $1.90

月間クレジットをすべて使った場合の換算料金です。

完了したリクエストはエンジンごとのクレジットを使用します。失敗したリクエストは課金されません。

結果を解釈する際の注意点

回答と任意フィールドは実行ごとに変わります。1 回の回答を市場全体の代表値として扱わないでください。

API ドキュメント

関連機能