Get classic Magic 8-Ball responses for any yes/no question. Access via MCP in Cursor or Windsurf for AI-powered decision making, or call GET /v1/fun/magic-8-ball directly. Returns one of 20 traditional responses like "It is certain" or "Ask again later". Perfect for adding whimsy to chatbots or breaking decision paralysis.
curl "https://tinyfn.io/v1/fun/magic-8-ball" \
-H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/fun/magic-8-ball', {
headers: { 'X-API-Key': 'YOUR_API_KEY' }
});
const data = await response.json();
console.log(data);
import requests
response = requests.get('https://tinyfn.io/v1/fun/magic-8-ball',
headers={'X-API-Key': 'YOUR_API_KEY'})
data = response.json()
print(data)
Connect your AI agent (Claude, Cursor, Windsurf, etc.) to TinyFn's fun tools:
{
"mcpServers": {
"tinyfn-fun": {
"url": "https://tinyfn.io/mcp/fun",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}
Returns one of 20 classic responses: 10 positive ("It is certain", "Yes definitely"), 5 negative ("Don't count on it", "My reply is no"), and 5 non-committal ("Ask again later", "Cannot predict now").
AI agents can call the Magic 8-Ball tool directly through MCP connections in Cursor, Windsurf, or other supported editors to make pseudo-random decisions or add personality to responses.
No, it uses deterministic pseudo-random selection based on system time, so responses are unpredictable but reproducible given the exact same timestamp.
The API doesn't require or use question parameters - it simply returns a random response regardless of input, maintaining the authentic Magic 8-Ball experience.
Returns JSON with the response text, typically: `{"response": "Outlook not so good"}` or similar structure containing one of the 20 standard answers.
Get your free API key and start using Magic 8 Ball in seconds.
Get Free API Key