> ## 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.

# Doubao-API: Antworten und Suchergebnisse aus dem China-Webchat von ByteDance

> Stellen Sie Doubao, dem China-Webchat von ByteDance, eine Frage und erhalten Sie die Antwort, die gelesenen Suchergebnisse und die Suchanfragen.

`DOUBAO` fragt Doubaos Webchat auf doubao.com mit aktivierter Websuche und ohne Konto oder Anmeldung.

| | |
| - | - |
| taskType | `DOUBAO` |
| Liest | `prompt` (greift auf `query` zurück) |
| Credits | 1,25 |
| Land | **Wird ignoriert.** Jeder Task fragt aus Festlandchina. |

## Anfrage

Doubao antwortet Gästen nur in Festlandchina, daher fragt jeder Task über einen Ausgang in Festlandchina, und `country` ändert das nicht. Sie können es weglassen.

```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": "DOUBAO", "payload": { "prompt": "Which electric car brands are most reliable? Answer in English." } }'
```

## Antwort

| Feld | Typ | Beschreibung |
| - | - | - |
| `text` | string | Die Antwort. |
| `markdown` | string | Die Antwort als Markdown. Wird ohne Flag geliefert. |
| `searchQueries` | string\[] | Die Suchen, die Doubao ausgeführt hat. |
| `sources` | array | Die Suchergebnisse, die Doubao gelesen hat: `position`, `url`, `label` und `type` (`web` oder `video`). |
| `images` | array | Mit der Antwort gezeigte Bilder, falls vorhanden. |
| `videos` | array | Mit der Antwort gezeigte Videos: `title`, `url`, `medium`, `image`, `thumbnail`, `image_width`, `image_height`. |
| `rawResponse` | array | Stream-Ereignisse. Nur mit `include.rawResponse`. |

Viele Quellen sind Douyin-Videoseiten. Der Antworttext enthält keine Zitatmarken: `sources` listet, was Doubao gelesen hat, nicht, was es zitiert hat.

Zum Beispiel:

```json theme={"theme":"css-variables"}
{
  "text": "Brands often rated most reliable include ...",
  "markdown": "Brands often rated most reliable include ...",
  "searchQueries": ["most reliable electric car brands"],
  "sources": [{ "position": 1, "url": "https://www.example.com/ev-reliability", "label": "EV reliability rankings", "type": "web" }]
}
```

## Include-Flags

| Flag | Wirkung |
| - | - |
| `rawResponse` | Fügt `rawResponse` hinzu. |

`markdown` braucht kein Flag. `searchQueries`, `ads` und `shopping` haben keine Wirkung. `analysis` wird mit `422 VALIDATION_ERROR` abgelehnt, `citationAnalysis` mit `400 VALIDATION_ERROR` und `html` mit `422 EVIDENCE_UNSUPPORTED`. Siehe [Markdown und Rohantworten](/de/engines/response-options.md).

## Verwandte Seiten

* [Doubao-Produktseite](https://querying.ai/de/engines/doubao)
* [Qwen](/de/engines/qwen.md)
* [Engine-Überblick](/de/engines/overview.md)


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