Random

Book of Answers

0calls
Free

Want to get mysterious answers to life's questions? The Book of Answers API provides a Magic 8 Ball-style Q&A service where you can ask questions and receive random mysterious answers.

GET
uapis.cn
/api/v1/answerbook/ask
Query parameters
1
question
string
required

The question you want to ask. The question cannot be empty.

Overview

By asking the Book of Answers, you will receive a random answer full of wisdom (perhaps). This API supports asking questions through both query parameters and POST request body.

Query parameters

question
stringrequired

The question you want to ask. The question cannot be empty.

Response

200 / OK

Answer retrieved successfully.

JSON
{
  "question": "Will I have good luck today?",
  "answer": "Everything will be fine"
}

400 / Bad Request

Invalid request parameters.

JSON
{
  "code": 400,
  "message": "Question cannot be empty"
}

500 / Internal Server Error

Internal server error.

JSON
{
  "code": 500,
  "message": "Internal Server Error"
}