Fortune Cookie Generator API

GET

Serve fresh fortune cookie advice, humor, and predictions.

Fortune Cookie Generator creates authentic fortune cookie messages including wisdom, predictions, advice, humor, and motivational quotes.

Try it — live request, no key required

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

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

Example
{
  "status": "ok",
  "error": null,
  "data": {
    "fortune": "The best time to plant a tree was 20 years ago. The second best time is now.",
    "type": "wisdom"
  }
}

About the Fortune Cookie Generator API

Each fortune includes lucky numbers, making it perfect for games, entertainment apps, or adding a fun element to any application.

What people use it for

Gaming Features
Add fortune cookie features to games with randomized messages and lucky numbers for enhanced player engagement
Daily Wisdom
Generate daily wisdom messages and inspirational quotes for apps, websites, and digital products
Motivational Content
Create motivational content and positive affirmations for wellness apps, productivity tools, and lifestyle platforms
Entertainment Apps
Build entertainment and novelty features with authentic fortune cookie messages and lucky number generation

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 Fortune Cookie Generator

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

Questions.

Common questions about the Fortune Cookie Generator API.

Read the docs →
What kinds of fortunes does the generator produce?
The generator creates authentic messages across five categories: wisdom, predictions, advice, humor, and motivational quotes. Each response delivers the fortune text along with the category type it belongs to.
Can I filter fortunes by specific categories?
No, the endpoint does not accept category filters or query parameters. It returns a generated fortune from across its full catalog with each request. You can check the returned type field in your code if your app needs to filter or route messages.
Do the fortunes come with lucky numbers?
Yes, each fortune includes lucky numbers alongside the message text. You can display them directly on screen for virtual cookie cracks, minigames, or daily user rewards without generating numbers separately.
Can I request multiple fortune cookie messages at once?
No, each call delivers a single fortune message. If you want to present multiple fortunes to a user or cache a small batch, make separate calls for each fortune you need.
What would 20,000 fortune cookie messages a month cost me?
That volume uses 40,000 credits, which uses about a fifth of the Starter plan's 200,000 monthly credits. At 2 credits per call, usage works out to about $0.30 per 1,000 calls under Starter. For development and small tests, the Free plan includes 100 calls every month.

Ready to build with Fortune Cookie Generator? 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