Mad Libs Generator API
Mad Libs Generator creates fill-in-the-blank story templates with prompts for nouns, verbs, adjectives, and more.
Live Test API
Try out the Mad Libs Generator with a live request and see the response in real-time.
API Request
API Response
{
"status": "ok",
"error": null,
"data": {
"stories": [
{
"title": "Silly Day",
"template": "Today was the most {adjective} day ever! I woke up and found a {noun} in my {noun}. Then my {noun} started to {verb} {adverb}. For breakfast, I ate {number} {adjective} {plural_noun} with {adjective} sauce. My {family_member} said I was acting like a {adjective} {animal}!",
"blanks": [
{
"id": 1,
"type": "adjective",
"label": "Adjective"
},
{
"id": 2,
"type": "noun",
"label": "Noun"
},
{
"id": 3,
"type": "noun",
"label": "Noun"
},
{
"id": 4,
"type": "noun",
"label": "Noun"
},
{
"id": 5,
"type": "verb",
"label": "Verb"
},
{
"id": 6,
"type": "adverb",
"label": "Adverb"
},
{
"id": 7,
"type": "number",
"label": "Number"
},
{
"id": 8,
"type": "adjective",
"label": "Adjective"
},
{
"id": 9,
"type": "plural_noun",
"label": "Plural Noun"
},
{
"id": 10,
"type": "adjective",
"label": "Adjective"
},
{
"id": 11,
"type": "family_member",
"label": "Family Member"
},
{
"id": 12,
"type": "adjective",
"label": "Adjective"
},
{
"id": 13,
"type": "animal",
"label": "Animal"
}
],
"blankCount": 13,
"category": "funny"
}
],
"count": 1,
"category": "funny",
"html": "<html><head><title>Mad Libs</title><style>body {font-family: Arial, sans-serif; padding: 20px; max-width: 800px; margin: 0 auto;}h1 {text-align: center; color: #E91E63;}.story-card {background: #fff; border: 2px solid #E91E63; padding: 25px; margin: 25px 0; border-radius: 15px;}.title {font-size: 24px; font-weight: bold; color: #E91E63; margin-bottom: 20px;}.blanks-section {background: #FCE4EC; padding: 20px; border-radius: 10px; margin-bottom: 20px;}.blanks-section h3 {margin-top: 0;}.blank-item {margin: 10px 0; display: flex; align-items: center;}.blank-label {min-width: 50px; font-weight: bold;}.blank-type {color: #666; margin-left: 10px;}.blank-input {flex: 1; padding: 8px; border: 1px solid #E91E63; border-radius: 5px; margin-left: 10px;}.story-template {line-height: 2; font-size: 16px;}.blank-marker {background: #E91E63; color: white; padding: 2px 8px; border-radius: 3px; font-weight: bold;}</style></head><body><h1>Mad Libs</h1><div class='story-card'><div class='title'>Silly Day</div><div class='blanks-section'><h3>Fill in the blanks:</h3><div class='blank-item'><span class='blank-label'>1.</span><span class='blank-type'>Adjective</span><input type='text' class='blank-input' placeholder='Enter adjective'></div><div class='blank-item'><span class='blank-label'>2.</span><span class='blank-type'>Noun</span><input type='text' class='blank-input' placeholder='Enter noun'></div><div class='blank-item'><span class='blank-label'>3.</span><span class='blank-type'>Noun</span><input type='text' class='blank-input' placeholder='Enter noun'></div><div class='blank-item'><span class='blank-label'>4.</span><span class='blank-type'>Noun</span><input type='text' class='blank-input' placeholder='Enter noun'></div><div class='blank-item'><span class='blank-label'>5.</span><span class='blank-type'>Verb</span><input type='text' class='blank-input' placeholder='Enter verb'></div><div class='blank-item'><span class='blank-label'>6.</span><span class='blank-type'>Adverb</span><input type='text' class='blank-input' placeholder='Enter adverb'></div><div class='blank-item'><span class='blank-label'>7.</span><span class='blank-type'>Number</span><input type='text' class='blank-input' placeholder='Enter number'></div><div class='blank-item'><span class='blank-label'>8.</span><span class='blank-type'>Adjective</span><input type='text' class='blank-input' placeholder='Enter adjective'></div><div class='blank-item'><span class='blank-label'>9.</span><span class='blank-type'>Plural Noun</span><input type='text' class='blank-input' placeholder='Enter plural noun'></div><div class='blank-item'><span class='blank-label'>10.</span><span class='blank-type'>Adjective</span><input type='text' class='blank-input' placeholder='Enter adjective'></div><div class='blank-item'><span class='blank-label'>11.</span><span class='blank-type'>Family Member</span><input type='text' class='blank-input' placeholder='Enter family member'></div><div class='blank-item'><span class='blank-label'>12.</span><span class='blank-type'>Adjective</span><input type='text' class='blank-input' placeholder='Enter adjective'></div><div class='blank-item'><span class='blank-label'>13.</span><span class='blank-type'>Animal</span><input type='text' class='blank-input' placeholder='Enter animal'></div></div><div class='story-template'>Today was the most <span class='blank-marker'>1</span> day ever! I woke up and found a <span class='blank-marker'>2</span> in my <span class='blank-marker'>3</span>. Then my <span class='blank-marker'>4</span> started to <span class='blank-marker'>5</span> <span class='blank-marker'>6</span>. For breakfast, I ate <span class='blank-marker'>7</span> <span class='blank-marker'>8</span> <span class='blank-marker'>9</span> with <span class='blank-marker'>10</span> sauce. My <span class='blank-marker'>11</span> said I was acting like a <span class='blank-marker'>12</span> <span class='blank-marker'>13</span>!</div></div></body></html>"
}
}Multiple Access Methods
REST API with multiple response formats, GraphQL, and MCP for AI agents
View all integrationsJSON
JavaScript Object Notation
XML
Extensible Markup Language
YAML
Human-readable data format
GraphQL
Query language for APIs
MCP
AI agent integration
Skip the HTTP calls. Use our official packages
Integrate faster with type-safe SDKs and comprehensive documentation
View all integrationsSimilar APIs
Explore other games APIs that complement the Mad Libs Generator
Frequently Asked Questions
Get answers to common questions about the Mad Libs Generator
How do I get started with this API?
Getting started is simple! Sign up for a free account, get your API key, and start making requests to our REST endpoints. We provide comprehensive documentation and code examples to help you integrate quickly.
What response formats are supported?
We support JSON (default), XML, and YAML response formats. Simply add the format parameter to your request with values 'json', 'xml', or 'yaml'. All formats contain the same comprehensive data.
Are there usage limits on the free tier?
The free tier includes 50 tokens per month with a rate limit of 10 requests per minute. Pro plans offer higher limits and enterprise plans provide unlimited usage with priority support.
How do I authenticate API requests?
Include your API key in the request header as X-API-Key: your_key_here or as a query parameter ?key=your_key. All requests are made over HTTPS for security.
Ready to integrate Mad Libs Generator?
Join thousands of developers building amazing applications with reliable API data. Get started with your free API key today.