> ## Documentation Index
> Fetch the complete documentation index at: https://docs.querying.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Qwen API: 中国向けQwenウェブチャットの回答と検索結果

> Alibabaの中国向けウェブチャットQwenに質問し、回答、読んだ検索結果、検索クエリを受け取ります。

`QWEN` は中国向けサービスである qianwen.com の Qwen ウェブチャットに、ウェブ検索を有効にした状態で質問します。アカウントやログインは使いません。

| | |
| - | - |
| taskType | `QWEN` |
| 読むフィールド | `prompt`(なければ `query`) |
| クレジット | 1.25 |
| 国 | 任意、既定は `US`。接続元の国と回答のロケールの両方を決め、`CN` なら中国本土から質問します。 |

## リクエスト

```bash theme={"theme":"css-variables"}
curl -X POST https://api.querying.ai/v1/async/task \
  -H "Authorization: Bearer $QUERYING_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "taskType": "QWEN", "payload": { "prompt": "Which electric car brands are most reliable? Answer in English.", "country": "US" } }'
```

## レスポンス

| フィールド | 型 | 説明 |
| - | - | - |
| `text` | string | 回答。 |
| `markdown` | string | Markdownの回答。フラグなしで返ります。 |
| `model` | string | Qwenが回答に使ったモデル(わかる場合)。 |
| `searchQueries` | string\[] | Qwenが実行した検索。 |
| `sources` | array | Qwenが読んだ検索結果: `position`、`url`、`label`、`description`、`siteName`、`publishedAt`。 |
| `images`、`videos` | array | 回答とともに表示されたメディア(ある場合)。 |
| `rawResponse` | array | ストリームイベント。`include.rawResponse` のときのみ。 |

`publishedAt` は Qwen が表示したままの日付で、ISOタイムスタンプではありません。回答本文に引用マークはありません。`sources` は Qwen が引用したものではなく、読んだものの一覧です。

例:

```json theme={"theme":"css-variables"}
{
  "text": "Brands often rated most reliable include ...",
  "markdown": "Brands often rated most reliable include ...",
  "model": "qwen3.6-plus-2026-05-07",
  "searchQueries": ["most reliable electric car brands"],
  "sources": [{ "position": 1, "url": "https://www.example.com/ev-reliability", "label": "EV reliability rankings", "siteName": "Example Auto" }]
}
```

## includeフラグ

| フラグ | 効果 |
| - | - |
| `rawResponse` | `rawResponse` を追加します。 |

`markdown` にフラグは不要です。`searchQueries`、`ads`、`shopping` は効果がありません。`analysis` は `422 VALIDATION_ERROR` で、`citationAnalysis` は `400 VALIDATION_ERROR` で、`html` は `422 EVIDENCE_UNSUPPORTED` で拒否されます。[Markdownと生のレスポンス](/ja/engines/response-options.md)を参照してください。

## 回答の言語

回答の言語は Qwen 自身が決めます。英語、フランス語、スペイン語のpromptにも中国語で答えることがあります。特定の言語で回答が必要な場合は、上の例のようにpromptでその言語を指定してください。

## 関連ページ

* [Qwen製品ページ](https://querying.ai/ja/engines/qwen)
* [Doubao](/ja/engines/doubao.md)
* [エンジンの概要](/ja/engines/overview.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.