Magic 8-Ball API

GET

Answer any user question with a classic Magic 8-Ball fortune.

Magic 8-Ball is a fun tool that provides random predictions and answers like the classic toy. It returns one of 20 classic Magic 8-Ball responses categorized as affirmative, negative, or non-committal.

Try it — live request, no key required

Request
GETapi.apiverve.com/v1/magic8ball
Verification
Format

No key required to try it. Get a key to use it in your app.

Example
{
  "status": "ok",
  "error": null,
  "data": {
    "question": "Will it rain today?",
    "answer": "Signs point to yes",
    "type": "affirmative",
    "certainty": "medium",
    "shake_count": 3,
    "timestamp": "2025-12-16T22:25:52.008Z"
  }
}

About the Magic 8-Ball API

Magic 8-Ball works by randomly selecting from the 20 classic Magic 8-Ball responses, providing both the answer and metadata about its type and certainty level. Perfect for fun decision-making and entertainment applications.

What people use it for

Entertainment Apps
Add fun decision-making features to apps and games with classic Magic 8-Ball responses
Chatbots
Integrate playful response generation in chatbots and conversational interfaces
Party Games
Create interactive party games and decision-making tools for social gatherings
Random Choice
Provide lighthearted random answers for trivial decisions and entertainment

Ways to call it

One endpoint, many ways in — REST with JSON, XML, YAML and CSV, plus GraphQL and an MCP interface for AI agents.

JSON
Default REST response
XML
Markup format
YAML
Human-readable
CSV
Tabular export
Beta
GraphQL
Query language
New
MCP
For AI agents

Other ways to use Magic 8-Ball

Same data, same APIVerve account, same credit balance — one key works on all of them.

Questions.

Common questions about the Magic 8-Ball API.

Read the docs →
Does it include all 20 classic Magic 8-Ball responses?
Yes. Every request randomly selects from the standard 20 responses, spanning the classic affirmative, negative, and non-committal fortunes from the original toy.
Do users have to submit a question to get a response?
No, the question parameter is completely optional. If you send a request without a question, the endpoint still generates a random prediction alongside a shake count and timestamp.
Are the response category and certainty level included on the Free plan?
No. The response category and certainty level are premium fields available only on paid plans. Starter and higher unlock these classifications, while the Free plan delivers the answer text, shake count, and timestamp.
Is it cheap enough to shake the ball for every user message?
Yes. Each call consumes 2 credits, which works out to about $0.0003 per call or $0.30 per 1,000 calls on the Starter plan. Starter covers 100,000 calls every month, and the Free plan includes 100 calls for testing.
What metadata comes back with each answer?
Beyond the prediction text, each call returns an ISO 8601 timestamp and a shake count. On paid plans, you also receive the response type categorized as affirmative, negative, or non-committal along with a certainty rating.

Ready to build with Magic 8-Ball? Start with 200 free credits — one key unlocks all 300+ APIs.

Explore the catalog

300+ APIs on the same key and the same response shape.

Browse all APIs