The largest selection of dad jokes on the internet.
icanhazdadjoke is an API that provides access to a collection of dad jokes, supporting endpoints for fetching a random joke, retrieving a specific joke by ID, and searching jokes by term with pagination. Responses can be returned in JSON, HTML, or plain text depending on the Accept header, and jokes can also be fetched as PNG images or as Slack-formatted messages. A GraphQL endpoint is also available, exposing a query for retrieving a joke's ID, text, and permalink.
The API requires no authentication, and the provider requests that consumers set a custom User-Agent header identifying their application and a contact URL or email. A dedicated endpoint returns jokes formatted as Slack attachments for use in Slack apps or third-party integrations.
This service is suited for developers building applications, bots, or integrations that need to fetch or search dad jokes programmatically, such as chat bots, voice assistants, or websites displaying jokes. The underlying site also offers a Slack app, Alexa skill, and Discord bot, though those are separate from the documented API endpoints.
No authentication is required to use the icanhazdadjoke.com API.
The API supports HTML, JSON, and plain text responses based on the Accept header, with text/plain as the curl default.
Yes, a GraphQL endpoint at /graphql supports querying for a joke's id, joke text, and permalink.
The /search endpoint accepts page, limit (default 20, max 30), and term query parameters to filter jokes.
Yes, icanhazdadjoke.com also offers a Slack app, Alexa skill, Discord bot, HipChat plugin, and Twist integration.
Show your product to thousands of developers
· 100k monthly pageviews
· 7k newsletter subscribers
Access Forem articles, users and other resources via API.
FavQs allows you to collect, discover and share your favorite quotes.
Human Design bodygraph, transit, compatibility, and penta calculations.
Curated quotes from India's most successful entrepreneurs.
Ultimate collection of dad jokes.
REST API for random Kanye West quotes.