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

Riddles API

GET

Get a random riddle with its answer, by category and difficulty.

Riddles returns a random riddle with its answer from a hand-curated collection of about 500 classic riddles, puns and word puzzles. Filter by category (animals, food, words, nature, music, places and more) and difficulty, or fetch a riddle by its id. Paid plans add the pun explanation behind the answer, the book each riddle comes from, and up to 20 riddles per call.

Try it — live request, no key required

Request
GETapi.apiverve.com/v1/riddles?category=animals
Query parameters
Verification
Format

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

Example
{
  "status": "ok",
  "error": null,
  "data": {
    "matching": 1,
    "count": 1,
    "riddles": [
      {
        "id": "rdl-0002",
        "riddle": "What flowers can be found between the nose and chin?",
        "answer": "Tulips.",
        "explanation": "two lips",
        "category": "body",
        "difficulty": "easy",
        "source": {
          "title": "Conundrums, Riddles and Puzzles",
          "author": "Dean Rivers",
          "year": 1903
        }
      }
    ]
  }
}

About the Riddles API

A riddle API for games, chat bots, kids' apps, newsletters and daily-puzzle widgets. Each call picks a random riddle; narrow it to a category such as animals, food, words, nature, household, music, travel, time or classic what-am-I riddles, and to easy, medium or hard. Every riddle has a stable id, so you can show the question first and reveal the answer later with id.

The collection was curated by APIVerve from public-domain Victorian and Edwardian riddle books on Project Gutenberg: Dean Rivers' Conundrums, Riddles and Puzzles (1903), Edith B. Ordway's The Handbook of Conundrums (1915), The Book of Riddles (1846), the Nuts to Crack magazine (1895) and How to Solve Conundrums (1900). Riddles that are offensive, dated or depend on a forgotten reference were left out; the rest were cleaned up and each one given a category and difficulty.

Every plan gets the riddle, its answer, category and difficulty. Paid plans add explanation, the sound-alike a pun turns on (Tulips: two lips), the source book with author and year, and count for up to 20 riddles a call.

How it works

With no parameters, returns one random riddle. category and difficulty narrow the pool and matching says how many riddles were in it; count (paid) returns up to 20 different riddles at once. id returns one specific riddle, so an app can show the question and reveal the answer on a later call. An empty pool returns 404.

The collection was curated by APIVerve from five public-domain books on Project Gutenberg (ebooks 52598, 32898, 36571, 69528 and 44099). Gutenberg's header and licence were stripped, question-and-answer passages extracted, and about 500 riddles kept by hand: offensive, dated or reference-dependent ones were dropped, spelling lightly modernised (to-day to today) and each riddle given a category and a difficulty.

Many classic conundrums are puns. Where the book printed the sound-alike in brackets, it is moved out of the answer into explanation, so Tulips (two lips) becomes answer Tulips. with explanation two lips; it is null when the answer stands alone. Difficulty is an editorial rating: easy riddles have a plain answer a child could find, hard ones turn on wordplay or a less common word.

What people use it for

Riddle of the Day Widgets
Show a new riddle each day on a site or app, then reveal the answer with the same id the next day.
Kids and Family Apps
Serve easy riddles about animals, food and household things for car rides, classrooms and bedtime.
Chat Bots and Voice Assistants
Answer 'tell me a riddle' with a random question, wait for a guess, then give the answer and the pun behind it.
Party Games and Newsletters
Pull a batch of riddles by category for a quiz round, an icebreaker or a newsletter puzzle corner.

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 Riddles

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

Questions.

Common questions about the Riddles API.

Read the docs →
How many riddles are there?
About 500, across 13 categories: animals, body, classic, food, household, music, nature, numbers, people, places, time, travel and words. Each has a difficulty of easy, medium or hard. They were hand-picked from five public-domain riddle books on Project Gutenberg, and anything offensive, dated or dependent on a forgotten reference was left out.
What does the Free plan return?
One random riddle per call with its id, question, answer, category and difficulty, and the category, difficulty and id filters all work. Paid plans add explanation (the sound-alike or hidden word a pun answer turns on), the source book's title, author and year, and count for up to 20 riddles in one call.
Can I show the riddle first and the answer later?
Yes. Every riddle has a stable id such as rdl-0042. Show the riddle text, keep the id, and call again with id to fetch the same riddle and its answer. Random calls never return the same riddle twice within one response.
Can I use the riddles in a commercial app?
Yes. The source books are in the public domain, and the curated collection, categories and difficulty ratings are APIVerve's. You can show the riddles in your own products on any plan; you may not resell the raw collection on its own.
How much does a riddle-a-day feature cost?
Very little. A daily riddle for 1,000 users fetched once a day and cached is about 30 calls a month, well inside the Free plan's 100 calls. Calling once per user, 30,000 calls use 60,000 credits, or 30% of the 200,000 credits on Starter.

Ready to build with Riddles? Start with 200 free credits — one key unlocks all 417+ APIs.

Explore the catalog

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

Browse all APIs