Mad Libs Generator

Mad Libs Generator API

GamesIncluded in SubscriptionUpdated 1 month ago

Mad Libs Generator creates fill-in-the-blank story templates with prompts for nouns, verbs, adjectives, and more.

Online
1 credit/call
99.9% uptime
Docs
avg: 134ms|p50: 129ms|p75: 137ms|p90: 147ms|p99: 166ms
Online
1 credit/call
99.9% uptime
Docs
avg: 134ms|p50: 129ms|p90: 147ms|p99: 166ms

Live Test API

Try out the Mad Libs Generator with a live request and see the response in real-time.

API Request

GET
https://api.apiverve.com

API Response

200 OK
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
{ "status": "ok", "error": null, "data": { "stories": [ { "title": "Restaurant Disaster", "template": "I went to a {adjective} restaurant called The {adjective} {noun}. The waiter was a {adjective} {animal} who kept {verb_ing} on the tables. I ordered {number} {adjective} {plural_noun} with a side of {adjective} {noun}. When the bill came, it said I owed {number} {plural_noun}!", "blanks": [ { "id": 1, "type": "adjective", "label": "Adjective" }, { "id": 2, "type": "adjective", "label": "Adjective" }, { "id": 3, "type": "noun", "label": "Noun" }, { "id": 4, "type": "adjective", "label": "Adjective" }, { "id": 5, "type": "animal", "label": "Animal" }, { "id": 6, "type": "verb_ing", "label": "Verb ending in -ing" }, { "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": "noun", "label": "Noun" }, { "id": 12, "type": "number", "label": "Number" }, { "id": 13, "type": "plural_noun", "label": "Plural Noun" } ], "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'>Restaurant Disaster</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'>Adjective</span><input type='text' class='blank-input' placeholder='Enter adjective'></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'>Adjective</span><input type='text' class='blank-input' placeholder='Enter adjective'></div><div class='blank-item'><span class='blank-label'>5.</span><span class='blank-type'>Animal</span><input type='text' class='blank-input' placeholder='Enter animal'></div><div class='blank-item'><span class='blank-label'>6.</span><span class='blank-type'>Verb ending in -ing</span><input type='text' class='blank-input' placeholder='Enter verb ending in -ing'></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'>Noun</span><input type='text' class='blank-input' placeholder='Enter noun'></div><div class='blank-item'><span class='blank-label'>12.</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'>13.</span><span class='blank-type'>Plural Noun</span><input type='text' class='blank-input' placeholder='Enter plural noun'></div></div><div class='story-template'>I went to a <span class='blank-marker'>1</span> restaurant called The <span class='blank-marker'>2</span> <span class='blank-marker'>3</span>. The waiter was a <span class='blank-marker'>4</span> <span class='blank-marker'>5</span> who kept <span class='blank-marker'>6</span> on the tables. I ordered <span class='blank-marker'>7</span> <span class='blank-marker'>8</span> <span class='blank-marker'>9</span> with a side of <span class='blank-marker'>10</span> <span class='blank-marker'>11</span>. When the bill came, it said I owed <span class='blank-marker'>12</span> <span class='blank-marker'>13</span>!</div></div></body></html>", "image": { "imageName": "25d0dd78-3ad1-4f14-a30f-f8bdd8ebcc33_madlibs.png", "format": ".png", "downloadURL": "https://storage.googleapis.com/apiverve/APIData/madlibs/25d0dd78-3ad1-4f14-a30f-f8bdd8ebcc33_madlibs.png?GoogleAccessId=635500398038-compute%40developer.gserviceaccount.com&Expires=1766010349&Signature=e4owJidlQu2GZKe1GSuClCNSpOX1UQkxdweeS08IVOxkNscZGNr33BdYhNSG%2BuVIZ2XdEeAc3o2%2BY2hxP01APjgqMgCe4QvHRBgbCLPUiueHaczDJ1m1ZBI41aRaYjM8kdB7M0iYLNhdgqogXTYs9Zc%2FaRj9a6txpLz7fb2YexgG0fXhkcZuGeCb1haQlMTHL1YZbh9zJIKgHSqMhKK3jqhf0stuIDXIWkWdiK6fbP1B2aZkomqwpbx3iQKwbhca8rwFMWjUMRN5fspY%2FRtNbS7kIWaznc07VaBloITlQktm%2FMMojDc6QSanGeegRKealslcO53diZRsdLTZvB3wAQ%3D%3D", "expires": 1766010349930 } } }

Multiple Access Methods

REST API with multiple response formats, GraphQL, and MCP for AI agents

View all integrations

JSON

JavaScript Object Notation

XML

Extensible Markup Language

YAML

Human-readable data format

CSV

Comma-separated values

BETA

GraphQL

Query language for APIs

NEW

MCP

AI agent integration

Zero-Code Integration

Embed This API

Add interactive API forms to your website with a simple iframe embed

Live Preview

Demo Mode
Developer SDKs

Skip the HTTP calls. Use our official packages

Integrate faster with type-safe SDKs and comprehensive documentation

View all integrations

NuGet

.NET / C#
Ready

PyPI

Python
Ready

NPM

Node.js / JavaScript
Ready
Need a different language?Our REST API works with any programming language. Examples available for PHP, Ruby, Go, and more.
View All Examples

Related APIs

Explore other games APIs that complement the Mad Libs Generator

Frequently Asked Questions

Get answers to common questions about the Mad Libs Generator API

Who built the Mad Libs Generator API?

The Mad Libs Generator API is built and maintained by APIVerve. All 300+ APIs on our platform are developed in-house by the APIVerve team, ensuring consistent quality, unified authentication, predictable pricing, and enterprise-grade reliability backed by our 99.9% uptime SLA. We handle the infrastructure, maintenance, and updates so you can focus on building your application.

What does the Mad Libs Generator API do?

Mad Libs Generator creates fill-in-the-blank story templates with prompts for nouns, verbs, adjectives, and more. The API returns structured data in JSON, XML, or YAML format, making it easy to integrate into any application or workflow.

How fast is the Mad Libs Generator API?

The Mad Libs Generator API has an average response time of 134ms, with a median (p50) of 129ms and 99th percentile of 166ms. Our infrastructure maintains 99.9% uptime with servers distributed globally for low latency.

How much does the Mad Libs Generator API cost?

Each call to the Mad Libs Generator API uses 1 credit. The free tier includes 100 credits per month. Paid plans start at $29.99/month with higher limits, and enterprise plans offer custom pricing with priority support.

How do I authenticate Mad Libs Generator API requests?

Include your API key in the request header as X-API-Key: your_key_here. All requests are made over HTTPS for security. You can get your API key by signing up for a free account.

What HTTP methods does Mad Libs Generator support?

The Mad Libs Generator API supports GET requests. Simply pass your parameters as query strings in the URL. Check our documentation for detailed parameter specifications.

Ready to integrate Mad Libs Generator API?

Join thousands of developers building amazing applications with reliable API data. Get started with your free API key today.

100 free credits/month
No setup fees
24/7 support