📖 Overview
The Fortune Teller API provides random fortune predictions in multiple languages. With 52 unique fortunes covering various life aspects, it's perfect for entertainment apps, daily motivation services, or cultural applications.
🌍 Multilingual Support
Thai, Chinese (Simplified), and English language options
🎯 52 Unique Fortunes
Carefully curated predictions covering all aspects of life
📚 5 Life Categories
Love, Career, Health, Finance, and General life advice
🎲 Random Selection
Cryptographically secure random fortune selection
🌍 Supported Languages
🇹🇭 Thai
ภาษาไทย (th)
🇨🇳 Chinese
简体中文 (zh)
🇺🇸 English
English (en)
📋 Fortune Categories
💕 Love & Relationships
Romance, relationships, marriage
💼 Career & Work
Job prospects, business success
🏥 Health & Wellness
Physical and mental health
💰 Finance & Wealth
Money, investments, prosperity
🌟 General Life
Overall luck and life guidance
🌐 Base URL
🔐 Authentication
No authentication required. This is a public API that can be accessed without any API keys or tokens.
📡 API Endpoints
GET / Get Random Fortune
Retrieve a random fortune prediction in the specified language.
Parameters
This endpoint doesn't require any parameters. It returns a random fortune from the collection of 52 fortunes, with predictions in all three languages (Thai, Chinese, and English).
Example Request - Get Random Fortune
Example Request - POST Method
POST / Get Random Fortune (Alternative)
Alternative POST method for getting fortune predictions with JSON request body.
Request Parameters
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
lang |
string | Optional | "en" | Language code: "th", "zh", or "en" |
id |
integer | Optional | random | Specific fortune ID (1-52) |
Example POST Request
📊 Response Format
Success Response
English Fortune Example
Thai Fortune Example
Chinese Fortune Example
Error Response
🎯 Fortune Categories
Category | Description | Example Topics |
---|---|---|
love |
Love and relationships | Romance, marriage, soulmates, heartbreak recovery |
career |
Career and professional life | Job opportunities, promotions, business ventures |
health |
Health and wellness | Physical health, mental wellness, lifestyle changes |
finance |
Money and financial matters | Investments, savings, financial planning, prosperity |
general |
General life guidance | Overall luck, life decisions, personal growth |
⚠️ Error Codes
Code | Description |
---|---|
INVALID_LANGUAGE |
Language code is not supported |
INVALID_ID |
Fortune ID is outside the valid range (1-52) |
FORTUNE_NOT_FOUND |
Specified fortune ID does not exist |
FILE_ERROR |
Error reading fortune data files |
🔗 Integration Examples
JavaScript/AJAX
PHP
Python
🚦 Rate Limits
Currently, there are no rate limits imposed on this API. However, please use it responsibly and avoid excessive requests that might impact service availability for other users.
🏛️ Cultural Considerations
- Respectful Content: All fortunes are designed to be positive and respectful across cultures
- Cultural Sensitivity: Translations maintain cultural context appropriate for each language
- Entertainment Purpose: This API is designed for entertainment and should not be used for serious life decisions
- Diverse Perspectives: Fortunes cover universal human experiences across different cultures
🎯 Ready to Try?
Test the Fortune Teller API with our interactive web interface or start integrating it into your application.
Try Web Interface Test API Endpoint