Random Pun API

GET

Drop a fresh pun into your social feeds, bots, or games.

Random Pun retrieves a random pun and its topic category on every request. Each call supplies the full pun text, with paid plans adding an additional humor rating score.

Try it — live request, no key required

Request
GETapi.apiverve.com/v1/randompun
Verification
Format

No key required to try it. Get a key to use it in your app.

Example
{
  "status": "ok",
  "error": null,
  "data": {
    "category": "Family, Parents",
    "rating": 2,
    "pun": "There was this guy who decided he wanted to live with his gay friends in a nudest colony and so he up and quit his job, and moved. He was really happy until he got a letter from his grandma. She told him he was about to die and wanted a picture of him. He got his friend to take a picture of him, and sice he had no clothes, he cut the picture in half. A few weeks later he received another letter from his grandma telling him he needed to get a haircut because it made his nose look long.... he soon realized he had sent her the wrong half."
  }
}

About the Random Pun API

Send a GET request without any parameters to fetch a pun. The response returns the full pun string and its thematic category. Paid plans also include a numeric humor rating score for each entry.

What people use it for

Daily Standup Icebreakers
Chat bots send a pun and category to team channels every morning to start meetings with a quick laugh.
Gaming Loading Screens
To keep players entertained during long loading screens, video games fetch a pun to show between levels.
Newsletter Footer Jokes
Email newsletters inject a fresh joke into the footer section of automated weekly subscriber digests.
Smart Speaker Skills
When users ask for humor, smart speaker apps pull pun text to read aloud over audio.

Ways to call it

One endpoint, many ways in — REST with JSON, XML, YAML and CSV, plus GraphQL and an MCP interface for AI agents.

JSON
Default REST response
XML
Markup format
YAML
Human-readable
CSV
Tabular export
Beta
GraphQL
Query language
New
MCP
For AI agents

Other ways to use Random Pun

Same data, same APIVerve account, same credit balance — one key works on all of them.

Questions.

Common questions about the Random Pun API.

Read the docs →
Can I filter puns by topic or category?
No, the endpoint accepts no query parameters and selects a pun at random from the collection. Each response provides the pun text along with the category or theme assigned to it.
What details come back with each pun?
Every request returns the full pun text and the category or theme it fits into. If you are on a paid plan, the response also includes a humor rating score.
Is the humor rating score included on the Free plan?
No, the humor rating score is a premium field reserved for paid plans. Free tier requests return the pun text and category, but unlocking the rating requires upgrading to Starter or above.
How far does the Starter plan go for puns?
The Starter plan includes enough credits for 100,000 pun lookups each month, which works out to about $0.30 per 1,000 calls. Each lookup consumes 2 credits. If you only need occasional puns for testing, the Free plan provides 100 calls per month.
How often is new content added to the pun collection?
The curated pun database is updated regularly to introduce new material and keep selections fresh. Calls draw directly from this updated collection so your application sees varied content over time.

Ready to build with Random Pun? Start with 200 free credits — one key unlocks all 300+ APIs.

Explore the catalog

300+ APIs on the same key and the same response shape.

Browse all APIs