Skip to main content
GET
/
v1
/
jokes
/
random
random joke
curl --request GET \
  --url https://api.fetchbean.com/v1/jokes/random \
  --header 'Authorization: Bearer <token>'
{}

Authorizations

Authorization
string
header
required

Your fetchbean API key (fb_…).

Query Parameters

category
string

Programming, Misc, Pun, Spooky, Christmas, or Any.

type
enum<string>
Available options:
single,
twopart
contains
string

Case-insensitive text match.

Response

Success

The response is of type object.