Riddles API logo

Riddles API

Bydataandapis.com
|
Entertainment
|
1 tokens / call

A curated set of 40 riddles with answers across classic, logic, wordplay, and math categories and three difficulty levels. Pull a random riddle, filter by category or difficulty, or page through them all.

Quick Start

Subscribe to get instant API access with your unique API key.

View Pricing Plans

Available Endpoints

Request Parameters

API URL

Please subscribe to see the API URL

Headers

X-Api-Key

Path Parameters

id

Please subscribe to see the actual API URL

import axios from 'axios';

const url = '{API_URL}';
const { data } = await axios.get(url, {
  headers: { 'X-Api-Key': 'YOUR_API_KEY' }
});