NewAPIVerve Academy: free courses and certifications anyone can verify.Explore the Academy →

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

A free fortune cookie quotes API: each GET request returns one fortune message and its category as JSON, ready for games, entertainment apps, or a fortune cookie of the day feature.

What people use it for

Gaming Features
Add fortune cookie features to games with randomized fortune messages 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

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?
No. Each response returns the fortune text and its category type only. If your app shows lucky numbers on the cookie slip, generate them separately in your own code.
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 20,000 credits, which uses about a tenth of the Starter plan's 200,000 monthly credits. At 1 credit per call, usage works out to about $0.15 per 1,000 calls under Starter. For development and small tests, the Free plan includes 200 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