Home › 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
| Endpoint | GET https://api.humorapi.com/words/nonsense/random |
|---|---|
| Authentication | API key as api-key query parameter or x-api-key header |
| Response | JSON |
| Cost | 1 point per call |
| Reference | Generate Nonsense Word in the docs |
{
"word": "caboo",
"rating": 0.41
} curl "https://api.humorapi.com/words/nonsense/random?api-key=YOUR_API_KEY" 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); 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()) | Endpoint | GET https://api.humorapi.com/words/rate |
|---|---|
| Authentication | API key as api-key query parameter or x-api-key header |
| Response | JSON |
| Cost | 1 point per call |
| Reference | Rate Word in the docs |
GET https://api.humorapi.com/words/rate?word=cookie {
"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.
No code? Try the free nonsense word generator.
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.