Apinoa Docs

Answer

Dola (Doubao)에 질문하고 답변을 받습니다. 출처가 함께 옵니다.

원본 .mdx 보기
POST /v1/dola/answer

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

요청

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"}'

파라미터

파라미터타입필수설명
promptstring예The question, as a person would type it.
conversationstringAn earlier answer's conversation.id: ask a follow-up in the same conversation.
countrystringThe market the answer is asked from, as an ISO 3166 country code. Each engine's page lists its countries.
includeenum listpage: also return the answer as a self-contained HTML page, in page.

같은 파라미터와 모든 응답 타입은 OpenAPI 문서에도 있습니다.

응답

data에 Answer를 돌려줍니다. 실제 응답을 줄인 것입니다. 배열은 앞쪽 항목만 남기고 긴 텍스트는 잘랐습니다.

{
  "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
    }
  }
}

에러

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

모든 코드는 Errors에 있습니다. 실패한 호출은 과금되지 않습니다.

가격

가격 호출당 $0.0012. 정가 기준이며, 하루 1,000회를 넘으면 단가가 내려갑니다.

참고

  • 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초 걸립니다.

이 페이지 내용