Jokes API logo

Jokes API

|
Entertainment
|
1 tokens / llamada

252 original, clean jokes — single-liners and two-part setup/punchline — across 12 categories: dad, pun, programming, general, animal, food, science, work, school, music, sports and space. Pull random jokes (up to 20 at once), full-text search the whole set, filter by category or type, page through everything, or fetch a joke by id. Every joke is written for this API and SFW (safe: true), so it is drop-in ready for apps, chatbots, dashboards, Slack bots and games aimed at any audience.

Inicio Rápido

Suscríbete para obtener acceso instantáneo a la API con tu clave única.

Ver Planes de Precios

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' }
});