---
title: "Answer"
description: "Dola (Doubao)에 질문하고 답변을 받습니다. 출처가 함께 옵니다."
---

> Every apinoa docs page as markdown: https://apinoa.com/llms.txt (all in one file: https://apinoa.com/llms-full.txt; this API family in one file: https://apinoa.com/docs/answers/llms.txt)

```http
POST /v1/dola/answer
```

입력은 JSON 본문으로 보냅니다. 답변에는 몇 초가 걸리므로 최대 120초까지 기다리세요.

## 요청

```bash tab="cURL"
curl -X POST "https://gateway.apinoa.com/v1/dola/answer" \
  -H "x-api-key: $APINOA_API_KEY" \
  -H "content-type: application/json" \
  -d '{"prompt": "What are the best running shoes for beginners?", "country": "KR"}'
```

```js tab="JavaScript"
const res = await fetch("https://gateway.apinoa.com/v1/dola/answer", {
  method: "POST",
  headers: { "x-api-key": process.env.APINOA_API_KEY, "content-type": "application/json" },
  body: JSON.stringify({ prompt: "What are the best running shoes for beginners?", country: "US" }),
});
const { success, data, error } = await res.json();
```

```python tab="Python"
import os

import requests

res = requests.post(
    "https://gateway.apinoa.com/v1/dola/answer",
    json={"prompt": "What are the best running shoes for beginners?", "country": "KR"},
    headers={"x-api-key": os.environ["APINOA_API_KEY"]},
    timeout=120,
)
body = res.json()
```

## 파라미터

| Parameter | Type | Required | Notes |
|---|---|---|---|
| `prompt` | string | yes | The question, as a person would type it. |
| `conversation` | string |  | An earlier answer's `conversation.id`: ask a follow-up in the same conversation. |
| `country` | string |  | The market the answer is asked from, as an ISO 3166 country code. Each engine's page lists its countries. |
| `include` | enum list |  | `page`: also return the answer as a self-contained HTML page, in `page`. |

The same parameters, and every response type, are in the OpenAPI document: https://apinoa.com/openapi.json

## 응답

`data`에 [`Answer`](/docs/api-reference/answers/response-schema#answer)를 돌려줍니다. 실제 응답을 줄인 것입니다. 배열은 앞쪽 항목만 남기고 긴 텍스트는 잘랐습니다.

```json
{
  "success": true,
  "data": {
    "engine": "dola",
    "outcome": "answered",
    "prompt": "What are the best running shoes for beginners?",
    "askedAt": "2026-11-11T01:31:49.701Z",
    "country": "KR",
    "language": "en",
    "blocks": [
      {
        "type": "heading",
        "level": 1,
        "markdown": "🏃 Best Running Shoes for Beginners (2026)"
      },
      {
        "type": "paragraph",
        "markdown": "Great question! The ideal beginner shoe prioritizes **comfort, cushioning, stability, and durability** — not speed or fancy tech. Here are m…"
      },
      {
        "type": "rule"
      }
    ],
    "text": "🏃 Best Running Shoes for Beginners (2026)\n\nGreat question! The ideal beginner shoe prioritizes comfort, cushioning, stability, and durabilit…",
    "markdown": "# 🏃 Best Running Shoes for Beginners (2026)\n\nGreat question! The ideal beginner shoe prioritizes **comfort, cushioning, stability, and durab…",
    "citations": [],
    "sources": [
      {
        "url": "https://www.rtings.com/running-shoes/reviews/best/running",
        "title": "The 7 Best Running Shoes of 2026 - RTINGS.com",
        "site": "rtings.com",
        "cited": false,
        "ext": {
          "docId": "f538ac5ebedb0ebb-bd4b6a2a4c56e838",
          "searchId": "2026111101315317201800102650044588",
          "index": 1
        }
      },
      {
        "url": "https://www.runrepeat.com/uk/guides/best-for-beginners-running-shoes",
        "title": "7 Best Running Shoes For Beginners in 2026 | RunRepeat",
        "site": "runrepeat.com",
        "cited": false,
        "ext": {
          "docId": "abc0cc96bb831a0d-692220fe4d575423",
          "searchId": "2026111101315317201800102650044588",
          "index": 2,
          "rank": 1
        }
      },
      {
        "url": "https://www.sportsgearlab.com/best-running-shoes-for-beginners/",
        "title": "Best Running Shoes for Beginners 2026: Comfort Guide",
        "site": "sportsgearlab.com",
        "cited": false,
        "ext": {
          "docId": "e5b80fd9e68a24c8-5c1b007e028ceffb",
          "searchId": "2026111101315317201800102650044588",
          "index": 3,
          "rank": 2
        }
      }
    ],
    "mentions": [],
    "cards": [],
    "suggestions": [],
    "ext": {
      "steps": [
        "Searching the web",
        "Found 2 sources",
        "Found 6 sources"
      ],
      "searches": [
        "best running shoes for beginners 2026",
        "beginner running shoes guide cushion support durability"
      ],
      "searchSummary": "Searched for 2 keywords · 12 sources",
      "finishReason": "succeed:completion",
      "hasSuggestions": true
    }
  }
}
```

## 에러

| 상태 | 코드 | 의미 |
|---|---|---|
| 400 | `INVALID_PARAMS` | 파라미터가 없거나, 알 수 없거나, 범위를 벗어났거나, 이 엔진이 받지 않는 값입니다. 메시지에 이름이 나옵니다. |
| 401 | `UNAUTHORIZED` | `x-api-key` 헤더가 없거나, 폐기되었거나 알 수 없는 키입니다. |
| 402 | `INSUFFICIENT_BALANCE` | 잔액이 이 호출 비용에 모자랍니다. 대시보드에서 충전하세요. |
| 429 | `MARKETPLACE_SATURATED` | 동시 호출이 너무 많습니다. `Retry-After` 초만큼 기다린 뒤 다시 시도하세요. |
| 502 | `UPSTREAM_ERROR` | 엔진이 쓸 수 없는 응답을 보냈습니다. 간격을 두고 다시 시도하세요. |
| 502 | `UPSTREAM_TIMEOUT` | 엔진이 제때 답하지 않았습니다. 다시 시도하세요. |
| 503 | `SERVICE_UNAVAILABLE` | 일시적인 장애입니다. 간격을 두고 다시 시도하세요. |

모든 코드는 [Errors](/docs/errors)에 있습니다. 실패한 호출은 과금되지 않습니다.

## 가격

**Price** $0.0012 per call. [List price](https://apinoa.com/en/pricing); the rate steps down above 1,000 calls a day.

## 참고

- Dola는 질문의 언어로 답합니다. `language`는 받지 않습니다.
- 이전 답변의 `conversation`으로 이어서 질문할 수 있습니다. 대화는 약 30분 동안 열려 있습니다.
- Dola는 출처를 알려 주지만 어느 문장이 어느 출처에 근거하는지는 말하지 않습니다. 그래서 `citations`는 비어 있고 모든 출처의 `cited`는 `false`입니다. 출처에는 `url`, `title`, `site`가 있고 스니펫은 없습니다.
- Dola는 `KR`, `JP`, `DE`, `GB`, `AU`, `FR`, `IT`, `SG`, `TW`, `HK`, `CN`에서 질문할 수 있습니다. Dola는 중국 본토에서 제공되지 않으므로 `CN`은 ByteDance의 본토 서비스인 Doubao(豆包)가 같은 응답 형식으로 답합니다. `US`, `CA`는 지원하지 않으며 `COUNTRY_UNAVAILABLE`로 실패합니다. `photos`는 받지 않습니다.
- 답변은 보통 10~35초 걸립니다.
