Home › Nonsense Word API

Nonsense Word API

Need a funny name for a character, a product or a placeholder? Generate nonsense words that sound funny, or ask how funny any word is. The ratings come from models trained on about five thousand words rated by people.

Get a free API key Read the docs See pricing

Generate a nonsense word

EndpointGET https://api.humorapi.com/words/nonsense/random
AuthenticationAPI key as api-key query parameter or x-api-key header
ResponseJSON
Cost1 point per call
ReferenceGenerate Nonsense Word in the docs
Example response
{
    "word": "caboo",
    "rating": 0.41
}
curl
curl "https://api.humorapi.com/words/nonsense/random?api-key=YOUR_API_KEY"
JavaScript (fetch)
const res = await fetch("https://api.humorapi.com/words/nonsense/random", {
  headers: { "x-api-key": process.env.HUMOR_API_KEY }
});
const data = await res.json();
console.log(data);
Python (requests)
import os, requests

res = requests.get("https://api.humorapi.com/words/nonsense/random",
                   headers={"x-api-key": os.environ["HUMOR_API_KEY"]})
print(res.json())

Rate how funny a word is

EndpointGET https://api.humorapi.com/words/rate
AuthenticationAPI key as api-key query parameter or x-api-key header
ResponseJSON
Cost1 point per call
ReferenceRate Word in the docs
Example request
GET https://api.humorapi.com/words/rate?word=cookie
Example response
{
    "rating": 0.57
}

The rating runs from 0 (not funny) to 1 (super funny). It works for real words and made-up ones. The models apply linear regression and classification to features learned from the human ratings.

Use cases

No code? Try the free nonsense word generator.

Pricing

The free plan has 10 points per day (most calls cost 1 point) and needs a backlink; paid plans start at $3 per month for 100 points per day and bill extra points instead of stopping. Compare the plans.

More from Humor API

Joke API Meme API GIF Search API Insult & Praise API Chuck Norris Jokes API Knock Knock Jokes API

Get a free API key Read the docs See pricing