Bd Jokes Api

A Simple Bd Jokes Api

Intro

BdjokesApi is a free online REST API that you can use whenever you need some fake data. It's great for tutorials, testing new libraries, sharing code examples, ...

Example

Run this code in a console or from any site:

fetch('http://bdjokesapi.herokuapp.com/jokes/1')
  .then(response => response.json())
  .then(json => console.log(json))

      

Resources

Run this code in a console or from any site:

/jokes 50 jokes
/jokes/1 joke with id 1
/jokes?limit=10 First 10 jokes
/jokes/random 50 random jokes
/jokes/random?limit=10 10 random jokes