Skip to main content
Joke API serving single-line and two-part jokes across six categories (Programming, Misc, Pun, Spooky, Christmas, Dark) with content flags for filtering. Best for adding humor to chatbots, apps, or demos that need randomized, family-friendly content. Free with 120 requests/minute rate limit. 1 example endpoint available through Lava’s AI Gateway. See the JokeAPI API docs for full documentation.
This provider is managed — no additional setup required.
This is a catch-all provider — any valid URL under https://v2.jokeapi.dev is supported. Joke API. Construct URL as https://v2.jokeapi.dev/joke/{category}. Categories: Any, Programming, Misc, Pun, Spooky, Christmas, Dark. The endpoints below are curated examples.

Endpoints

Get a random programming joke

GET https://v2.jokeapi.dev/joke/Programming?type=single — Free
const data = await lava.gateway('https://v2.jokeapi.dev/joke/Programming?type=single', { method: 'GET' });

Next Steps

All Providers

Browse all supported AI providers

Forward Proxy

Learn how to construct proxy URLs and authenticate requests