Fill in the Blanks GeneratorFill in the Blanks Generator API

OnlineCredit Usage:1 per callRefreshed 1 month ago
avg: 145ms|p50: 140ms|p75: 148ms|p90: 159ms|p99: 180ms

Overview

To use Fill in the Blanks Generator, you need an API key. You can get one by creating a free account and visiting your dashboard.

GET Endpoint

URL
https://api.apiverve.com/v1/fillintheblanks

Example

How to call the Fill in the Blanks Generator API in different programming languages.

cURL Request
curl -X GET \
  "https://api.apiverve.com/v1/fillintheblanks?category=idioms&count=5&difficulty=medium&image=true" \
  -H "X-API-Key: your_api_key_here"
JavaScript (Fetch API)
const response = await fetch('https://api.apiverve.com/v1/fillintheblanks?category=idioms&count=5&difficulty=medium&image=true', {
  method: 'GET',
  headers: {
    'X-API-Key': 'your_api_key_here',
    'Content-Type': 'application/json'
  }
});

const data = await response.json();
console.log(data);
Python (Requests)
import requests

headers = {
    'X-API-Key': 'your_api_key_here',
    'Content-Type': 'application/json'
}

response = requests.get('https://api.apiverve.com/v1/fillintheblanks?category=idioms&count=5&difficulty=medium&image=true', headers=headers)

data = response.json()
print(data)
Go (net/http)
package main

import (
    "fmt"
    "io"
    "net/http"

)

func main() {
    req, _ := http.NewRequest("GET", "https://api.apiverve.com/v1/fillintheblanks?category=idioms&count=5&difficulty=medium&image=true", nil)

    req.Header.Set("X-API-Key", "your_api_key_here")
    req.Header.Set("Content-Type", "application/json")

    client := &http.Client{}
    resp, err := client.Do(req)
    if err != nil {
        panic(err)
    }
    defer resp.Body.Close()

    body, _ := io.ReadAll(resp.Body)
    fmt.Println(string(body))
}
Example Response
{
  "status": "ok",
  "error": null,
  "data": {
    "puzzles": [
      {
        "id": 1,
        "sentence": "A penny saved is a penny ___.",
        "answer": "EARNED",
        "letterCount": 6,
        "hint": "gained/obtained",
        "firstLetter": null
      },
      {
        "id": 2,
        "sentence": "Actions speak louder than ___.",
        "answer": "WORDS",
        "letterCount": 5,
        "hint": "what we say",
        "firstLetter": null
      },
      {
        "id": 3,
        "sentence": "Don't count your chickens before they ___.",
        "answer": "HATCH",
        "letterCount": 5,
        "hint": "come out of eggs",
        "firstLetter": null
      },
      {
        "id": 4,
        "sentence": "The early bird catches the ___.",
        "answer": "WORM",
        "letterCount": 4,
        "hint": "a crawling creature",
        "firstLetter": null
      },
      {
        "id": 5,
        "sentence": "Don't put all your eggs in one ___.",
        "answer": "BASKET",
        "letterCount": 6,
        "hint": "a container",
        "firstLetter": null
      }
    ],
    "count": 5,
    "difficulty": "medium",
    "category": "idioms",
    "html": "<html><head><title>Fill in the Blanks</title><style>body {font-family: Arial, sans-serif; padding: 20px; max-width: 700px; margin: 0 auto;}h1 {text-align: center; color: #673AB7;}.puzzle {background: #f5f5f5; padding: 20px; margin: 15px 0; border-radius: 10px;}.number {font-weight: bold; color: #673AB7; margin-bottom: 10px;}.sentence {font-size: 18px; line-height: 1.8;}.blank {display: inline-block; min-width: 100px; border-bottom: 2px solid #673AB7; margin: 0 5px;}.hint {font-size: 13px; color: #888; font-style: italic; margin-top: 10px;}.info {font-size: 12px; color: #999; margin-top: 5px;}</style></head><body><h1>Fill in the Blanks</h1><div class='puzzle'><div class='number'>#1</div><div class='sentence'>A penny saved is a penny <span class='blank'></span>.</div><div class='info'>6 letters</div><div class='hint'>Hint: gained/obtained</div></div><div class='puzzle'><div class='number'>#2</div><div class='sentence'>Actions speak louder than <span class='blank'></span>.</div><div class='info'>5 letters</div><div class='hint'>Hint: what we say</div></div><div class='puzzle'><div class='number'>#3</div><div class='sentence'>Don't count your chickens before they <span class='blank'></span>.</div><div class='info'>5 letters</div><div class='hint'>Hint: come out of eggs</div></div><div class='puzzle'><div class='number'>#4</div><div class='sentence'>The early bird catches the <span class='blank'></span>.</div><div class='info'>4 letters</div><div class='hint'>Hint: a crawling creature</div></div><div class='puzzle'><div class='number'>#5</div><div class='sentence'>Don't put all your eggs in one <span class='blank'></span>.</div><div class='info'>6 letters</div><div class='hint'>Hint: a container</div></div></body></html>",
    "image": {
      "imageName": "ba85c6d6-4376-4171-841d-8b4bc97e1095_fillblanks.png",
      "format": ".png",
      "downloadURL": "https://storage.googleapis.com/apiverve/APIData/fillintheblanks/ba85c6d6-4376-4171-841d-8b4bc97e1095_fillblanks.png?GoogleAccessId=635500398038-compute%40developer.gserviceaccount.com&Expires=1766010206&Signature=YRHfh28GKDNvEM4Q07qRcNyg3WnPs7Ee7yg0xXKxKRTmT%2Bg3x%2FThpfWsFTeYScpZlgQTVQ3SU1tZMGH74sZJvAHdVkG6IGA9V2lwIfhHzcfu4Uf4VGKL8%2FIa%2FaLupdtrgDqXSFWOJ9EHHeMKnImAhli1qhlMu%2BIuWAiqfPitDlN5pMklv4R5FACKkZld4LXyA82%2BX8bt%2FESyHciZ5jzlqY1JTacL4kW5uK09bpoo9Ytvs8XOOOjB0my1s%2BIq5z0JEwZzw1Jag%2F5vd09wTXzSXeQMzfo%2FDj73kpU7SilAxEGh%2BuflilyDQTXK7krXcdFUGcD5Nd4Wm%2BW7dP8tQKmbAA%3D%3D",
      "expires": 1766010206793
    }
  }
}

Authentication

The Fill in the Blanks Generator API requires authentication via API key. Include your API key in the request header:

Required Header
X-API-Key: your_api_key_here

Learn more about authentication →

Interactive API Playground

Test the Fill in the Blanks Generator API directly in your browser with live requests and responses.

Parameters

The following parameters are available for the Fill in the Blanks Generator API:

Some Fill in the Blanks Generator parameters marked with Premium are available exclusively on paid plans.View pricing

Generate Fill in the Blanks

ParameterTypeRequiredDescriptionDefaultExample
categorystringoptional
Puzzle category
Supported values: randomidiomsproverbsquotesscience
randomidioms
countintegeroptional
Number of puzzles
Range: 1 - 20
55
difficultystringoptional
Difficulty level
Supported values: easymediumhard
mediummedium
imagePremiumbooleanoptional
Set to true to generate a downloadable puzzle image
-

Response

The Fill in the Blanks Generator API returns responses in JSON, XML, YAML, and CSV formats. The JSON response is shown in the Example section above; alternative formats below.

Other Response Formats

XML Response
200 OK
<?xml version="1.0" encoding="UTF-8"?>
<response>
  <status>ok</status>
  <error xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
  <data>
    <puzzles>
      <puzzle>
        <id>1</id>
        <sentence>A penny saved is a penny ___.</sentence>
        <answer>EARNED</answer>
        <letterCount>6</letterCount>
        <hint>gained/obtained</hint>
        <firstLetter xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
      </puzzle>
      <puzzle>
        <id>2</id>
        <sentence>Actions speak louder than ___.</sentence>
        <answer>WORDS</answer>
        <letterCount>5</letterCount>
        <hint>what we say</hint>
        <firstLetter xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
      </puzzle>
      <puzzle>
        <id>3</id>
        <sentence>Don&apos;t count your chickens before they ___.</sentence>
        <answer>HATCH</answer>
        <letterCount>5</letterCount>
        <hint>come out of eggs</hint>
        <firstLetter xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
      </puzzle>
      <puzzle>
        <id>4</id>
        <sentence>The early bird catches the ___.</sentence>
        <answer>WORM</answer>
        <letterCount>4</letterCount>
        <hint>a crawling creature</hint>
        <firstLetter xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
      </puzzle>
      <puzzle>
        <id>5</id>
        <sentence>Don&apos;t put all your eggs in one ___.</sentence>
        <answer>BASKET</answer>
        <letterCount>6</letterCount>
        <hint>a container</hint>
        <firstLetter xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
      </puzzle>
    </puzzles>
    <count>5</count>
    <difficulty>medium</difficulty>
    <category>idioms</category>
    <html>&lt;html&gt;&lt;head&gt;&lt;title&gt;Fill in the Blanks&lt;/title&gt;&lt;style&gt;body {font-family: Arial, sans-serif; padding: 20px; max-width: 700px; margin: 0 auto;}h1 {text-align: center; color: #673AB7;}.puzzle {background: #f5f5f5; padding: 20px; margin: 15px 0; border-radius: 10px;}.number {font-weight: bold; color: #673AB7; margin-bottom: 10px;}.sentence {font-size: 18px; line-height: 1.8;}.blank {display: inline-block; min-width: 100px; border-bottom: 2px solid #673AB7; margin: 0 5px;}.hint {font-size: 13px; color: #888; font-style: italic; margin-top: 10px;}.info {font-size: 12px; color: #999; margin-top: 5px;}&lt;/style&gt;&lt;/head&gt;&lt;body&gt;&lt;h1&gt;Fill in the Blanks&lt;/h1&gt;&lt;div class=&apos;puzzle&apos;&gt;&lt;div class=&apos;number&apos;&gt;#1&lt;/div&gt;&lt;div class=&apos;sentence&apos;&gt;A penny saved is a penny &lt;span class=&apos;blank&apos;&gt;&lt;/span&gt;.&lt;/div&gt;&lt;div class=&apos;info&apos;&gt;6 letters&lt;/div&gt;&lt;div class=&apos;hint&apos;&gt;Hint: gained/obtained&lt;/div&gt;&lt;/div&gt;&lt;div class=&apos;puzzle&apos;&gt;&lt;div class=&apos;number&apos;&gt;#2&lt;/div&gt;&lt;div class=&apos;sentence&apos;&gt;Actions speak louder than &lt;span class=&apos;blank&apos;&gt;&lt;/span&gt;.&lt;/div&gt;&lt;div class=&apos;info&apos;&gt;5 letters&lt;/div&gt;&lt;div class=&apos;hint&apos;&gt;Hint: what we say&lt;/div&gt;&lt;/div&gt;&lt;div class=&apos;puzzle&apos;&gt;&lt;div class=&apos;number&apos;&gt;#3&lt;/div&gt;&lt;div class=&apos;sentence&apos;&gt;Don&apos;t count your chickens before they &lt;span class=&apos;blank&apos;&gt;&lt;/span&gt;.&lt;/div&gt;&lt;div class=&apos;info&apos;&gt;5 letters&lt;/div&gt;&lt;div class=&apos;hint&apos;&gt;Hint: come out of eggs&lt;/div&gt;&lt;/div&gt;&lt;div class=&apos;puzzle&apos;&gt;&lt;div class=&apos;number&apos;&gt;#4&lt;/div&gt;&lt;div class=&apos;sentence&apos;&gt;The early bird catches the &lt;span class=&apos;blank&apos;&gt;&lt;/span&gt;.&lt;/div&gt;&lt;div class=&apos;info&apos;&gt;4 letters&lt;/div&gt;&lt;div class=&apos;hint&apos;&gt;Hint: a crawling creature&lt;/div&gt;&lt;/div&gt;&lt;div class=&apos;puzzle&apos;&gt;&lt;div class=&apos;number&apos;&gt;#5&lt;/div&gt;&lt;div class=&apos;sentence&apos;&gt;Don&apos;t put all your eggs in one &lt;span class=&apos;blank&apos;&gt;&lt;/span&gt;.&lt;/div&gt;&lt;div class=&apos;info&apos;&gt;6 letters&lt;/div&gt;&lt;div class=&apos;hint&apos;&gt;Hint: a container&lt;/div&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;</html>
    <image>
      <imageName>ba85c6d6-4376-4171-841d-8b4bc97e1095_fillblanks.png</imageName>
      <format>.png</format>
      <downloadURL>https://storage.googleapis.com/apiverve/APIData/fillintheblanks/ba85c6d6-4376-4171-841d-8b4bc97e1095_fillblanks.png?GoogleAccessId=635500398038-compute%40developer.gserviceaccount.com&amp;Expires=1766010206&amp;Signature=YRHfh28GKDNvEM4Q07qRcNyg3WnPs7Ee7yg0xXKxKRTmT%2Bg3x%2FThpfWsFTeYScpZlgQTVQ3SU1tZMGH74sZJvAHdVkG6IGA9V2lwIfhHzcfu4Uf4VGKL8%2FIa%2FaLupdtrgDqXSFWOJ9EHHeMKnImAhli1qhlMu%2BIuWAiqfPitDlN5pMklv4R5FACKkZld4LXyA82%2BX8bt%2FESyHciZ5jzlqY1JTacL4kW5uK09bpoo9Ytvs8XOOOjB0my1s%2BIq5z0JEwZzw1Jag%2F5vd09wTXzSXeQMzfo%2FDj73kpU7SilAxEGh%2BuflilyDQTXK7krXcdFUGcD5Nd4Wm%2BW7dP8tQKmbAA%3D%3D</downloadURL>
      <expires>1766010206793</expires>
    </image>
  </data>
</response>
YAML Response
200 OK
status: ok
error: null
data:
  puzzles:
    - id: 1
      sentence: A penny saved is a penny ___.
      answer: EARNED
      letterCount: 6
      hint: gained/obtained
      firstLetter: null
    - id: 2
      sentence: Actions speak louder than ___.
      answer: WORDS
      letterCount: 5
      hint: what we say
      firstLetter: null
    - id: 3
      sentence: Don't count your chickens before they ___.
      answer: HATCH
      letterCount: 5
      hint: come out of eggs
      firstLetter: null
    - id: 4
      sentence: The early bird catches the ___.
      answer: WORM
      letterCount: 4
      hint: a crawling creature
      firstLetter: null
    - id: 5
      sentence: Don't put all your eggs in one ___.
      answer: BASKET
      letterCount: 6
      hint: a container
      firstLetter: null
  count: 5
  difficulty: medium
  category: idioms
  html: >-
    <html><head><title>Fill in the Blanks</title><style>body {font-family:
    Arial, sans-serif; padding: 20px; max-width: 700px; margin: 0 auto;}h1
    {text-align: center; color: #673AB7;}.puzzle {background: #f5f5f5; padding:
    20px; margin: 15px 0; border-radius: 10px;}.number {font-weight: bold;
    color: #673AB7; margin-bottom: 10px;}.sentence {font-size: 18px;
    line-height: 1.8;}.blank {display: inline-block; min-width: 100px;
    border-bottom: 2px solid #673AB7; margin: 0 5px;}.hint {font-size: 13px;
    color: #888; font-style: italic; margin-top: 10px;}.info {font-size: 12px;
    color: #999; margin-top: 5px;}</style></head><body><h1>Fill in the
    Blanks</h1><div class='puzzle'><div class='number'>#1</div><div
    class='sentence'>A penny saved is a penny <span
    class='blank'></span>.</div><div class='info'>6 letters</div><div
    class='hint'>Hint: gained/obtained</div></div><div class='puzzle'><div
    class='number'>#2</div><div class='sentence'>Actions speak louder than <span
    class='blank'></span>.</div><div class='info'>5 letters</div><div
    class='hint'>Hint: what we say</div></div><div class='puzzle'><div
    class='number'>#3</div><div class='sentence'>Don't count your chickens
    before they <span class='blank'></span>.</div><div class='info'>5
    letters</div><div class='hint'>Hint: come out of eggs</div></div><div
    class='puzzle'><div class='number'>#4</div><div class='sentence'>The early
    bird catches the <span class='blank'></span>.</div><div class='info'>4
    letters</div><div class='hint'>Hint: a crawling creature</div></div><div
    class='puzzle'><div class='number'>#5</div><div class='sentence'>Don't put
    all your eggs in one <span class='blank'></span>.</div><div class='info'>6
    letters</div><div class='hint'>Hint: a container</div></div></body></html>
  image:
    imageName: ba85c6d6-4376-4171-841d-8b4bc97e1095_fillblanks.png
    format: .png
    downloadURL: >-
      https://storage.googleapis.com/apiverve/APIData/fillintheblanks/ba85c6d6-4376-4171-841d-8b4bc97e1095_fillblanks.png?GoogleAccessId=635500398038-compute%40developer.gserviceaccount.com&Expires=1766010206&Signature=YRHfh28GKDNvEM4Q07qRcNyg3WnPs7Ee7yg0xXKxKRTmT%2Bg3x%2FThpfWsFTeYScpZlgQTVQ3SU1tZMGH74sZJvAHdVkG6IGA9V2lwIfhHzcfu4Uf4VGKL8%2FIa%2FaLupdtrgDqXSFWOJ9EHHeMKnImAhli1qhlMu%2BIuWAiqfPitDlN5pMklv4R5FACKkZld4LXyA82%2BX8bt%2FESyHciZ5jzlqY1JTacL4kW5uK09bpoo9Ytvs8XOOOjB0my1s%2BIq5z0JEwZzw1Jag%2F5vd09wTXzSXeQMzfo%2FDj73kpU7SilAxEGh%2BuflilyDQTXK7krXcdFUGcD5Nd4Wm%2BW7dP8tQKmbAA%3D%3D
    expires: 1766010206793
CSV Response
200 OK
keyvalue
puzzles[{id:1,sentence:A penny saved is a penny ___.,answer:EARNED,letterCount:6,hint:gained/obtained,firstLetter:null},{id:2,sentence:Actions speak louder than ___.,answer:WORDS,letterCount:5,hint:what we say,firstLetter:null},{id:3,sentence:Don't count your chickens before they ___.,answer:HATCH,letterCount:5,hint:come out of eggs,firstLetter:null},{id:4,sentence:The early bird catches the ___.,answer:WORM,letterCount:4,hint:a crawling creature,firstLetter:null},{id:5,sentence:Don't put all your eggs in one ___.,answer:BASKET,letterCount:6,hint:a container,firstLetter:null}]
count5
difficultymedium
categoryidioms
html<html><head><title>Fill in the Blanks</title><style>body {font-family: Arial, sans-serif; padding: 20px; max-width: 700px; margin: 0 auto;}h1 {text-align: center; color: #673AB7;}.puzzle {background: #f5f5f5; padding: 20px; margin: 15px 0; border-radius: 10px;}.number {font-weight: bold; color: #673AB7; margin-bottom: 10px;}.sentence {font-size: 18px; line-height: 1.8;}.blank {display: inline-block; min-width: 100px; border-bottom: 2px solid #673AB7; margin: 0 5px;}.hint {font-size: 13px; color: #888; font-style: italic; margin-top: 10px;}.info {font-size: 12px; color: #999; margin-top: 5px;}</style></head><body><h1>Fill in the Blanks</h1><div class='puzzle'><div class='number'>#1</div><div class='sentence'>A penny saved is a penny <span class='blank'></span>.</div><div class='info'>6 letters</div><div class='hint'>Hint: gained/obtained</div></div><div class='puzzle'><div class='number'>#2</div><div class='sentence'>Actions speak louder than <span class='blank'></span>.</div><div class='info'>5 letters</div><div class='hint'>Hint: what we say</div></div><div class='puzzle'><div class='number'>#3</div><div class='sentence'>Don't count your chickens before they <span class='blank'></span>.</div><div class='info'>5 letters</div><div class='hint'>Hint: come out of eggs</div></div><div class='puzzle'><div class='number'>#4</div><div class='sentence'>The early bird catches the <span class='blank'></span>.</div><div class='info'>4 letters</div><div class='hint'>Hint: a crawling creature</div></div><div class='puzzle'><div class='number'>#5</div><div class='sentence'>Don't put all your eggs in one <span class='blank'></span>.</div><div class='info'>6 letters</div><div class='hint'>Hint: a container</div></div></body></html>
image{imageName:ba85c6d6-4376-4171-841d-8b4bc97e1095_fillblanks.png,format:.png,downloadURL:https://storage.googleapis.com/apiverve/APIData/fillintheblanks/ba85c6d6-4376-4171-841d-8b4bc97e1095_fillblanks.png?GoogleAccessId=635500398038-compute%40developer.gserviceaccount.com&Expires=1766010206&Signature=YRHfh28GKDNvEM4Q07qRcNyg3WnPs7Ee7yg0xXKxKRTmT%2Bg3x%2FThpfWsFTeYScpZlgQTVQ3SU1tZMGH74sZJvAHdVkG6IGA9V2lwIfhHzcfu4Uf4VGKL8%2FIa%2FaLupdtrgDqXSFWOJ9EHHeMKnImAhli1qhlMu%2BIuWAiqfPitDlN5pMklv4R5FACKkZld4LXyA82%2BX8bt%2FESyHciZ5jzlqY1JTacL4kW5uK09bpoo9Ytvs8XOOOjB0my1s%2BIq5z0JEwZzw1Jag%2F5vd09wTXzSXeQMzfo%2FDj73kpU7SilAxEGh%2BuflilyDQTXK7krXcdFUGcD5Nd4Wm%2BW7dP8tQKmbAA%3D%3D,expires:1766010206793}

Response Structure

All API responses follow a consistent structure with the following fields:

FieldTypeDescriptionExample
statusstringIndicates whether the request was successful ("ok") or failed ("error")ok
errorstring | nullContains error message if status is "error", otherwise nullnull
dataobject | nullContains the API response data if successful, otherwise null{...}

Learn more about response formats →

Response Data Fields

When the request is successful, the data object contains the following fields:

FieldTypeSample ValueDescription
[ ] Array items:array[5]Array of objects
-
â”” idnumber1
-
â”” sentencestring"A penny saved is a penny ___."
-
â”” answerstring"EARNED"
-
â”” letterCountnumber6
-
â”” hintstring"gained/obtained"
-
â”” firstLetterobjectnull
-
countnumber5
-
difficultystring"medium"
-
categorystring"idioms"
-
htmlstring"<html><head><title>Fill in the Blanks</title><style>body {font-family: Arial, sans-serif; padding: 20px; max-width: 700px; margin: 0 auto;}h1 {text-align: center; color: #673AB7;}.puzzle {background: #f5f5f5; padding: 20px; margin: 15px 0; border-radius: 10px;}.number {font-weight: bold; color: #673AB7; margin-bottom: 10px;}.sentence {font-size: 18px; line-height: 1.8;}.blank {display: inline-block; min-width: 100px; border-bottom: 2px solid #673AB7; margin: 0 5px;}.hint {font-size: 13px; color: #888; font-style: italic; margin-top: 10px;}.info {font-size: 12px; color: #999; margin-top: 5px;}</style></head><body><h1>Fill in the Blanks</h1><div class='puzzle'><div class='number'>#1</div><div class='sentence'>A penny saved is a penny <span class='blank'></span>.</div><div class='info'>6 letters</div><div class='hint'>Hint: gained/obtained</div></div><div class='puzzle'><div class='number'>#2</div><div class='sentence'>Actions speak louder than <span class='blank'></span>.</div><div class='info'>5 letters</div><div class='hint'>Hint: what we say</div></div><div class='puzzle'><div class='number'>#3</div><div class='sentence'>Don't count your chickens before they <span class='blank'></span>.</div><div class='info'>5 letters</div><div class='hint'>Hint: come out of eggs</div></div><div class='puzzle'><div class='number'>#4</div><div class='sentence'>The early bird catches the <span class='blank'></span>.</div><div class='info'>4 letters</div><div class='hint'>Hint: a crawling creature</div></div><div class='puzzle'><div class='number'>#5</div><div class='sentence'>Don't put all your eggs in one <span class='blank'></span>.</div><div class='info'>6 letters</div><div class='hint'>Hint: a container</div></div></body></html>"
-
imageobject{...}
-
â”” imageNamestring"ba85c6d6-4376-4171-841d-8b4bc97e1095_fillblanks.png"
-
â”” formatstring".png"
-
â”” downloadURLstring"https://storage.googleapis.com/apiverve/APIData/fillintheblanks/ba85c6d6-4376-4171-841d-8b4bc97e1095_fillblanks.png?GoogleAccessId=635500398038-compute%40developer.gserviceaccount.com&Expires=1766010206&Signature=YRHfh28GKDNvEM4Q07qRcNyg3WnPs7Ee7yg0xXKxKRTmT%2Bg3x%2FThpfWsFTeYScpZlgQTVQ3SU1tZMGH74sZJvAHdVkG6IGA9V2lwIfhHzcfu4Uf4VGKL8%2FIa%2FaLupdtrgDqXSFWOJ9EHHeMKnImAhli1qhlMu%2BIuWAiqfPitDlN5pMklv4R5FACKkZld4LXyA82%2BX8bt%2FESyHciZ5jzlqY1JTacL4kW5uK09bpoo9Ytvs8XOOOjB0my1s%2BIq5z0JEwZzw1Jag%2F5vd09wTXzSXeQMzfo%2FDj73kpU7SilAxEGh%2BuflilyDQTXK7krXcdFUGcD5Nd4Wm%2BW7dP8tQKmbAA%3D%3D"
-
â”” expiresnumber1766010206793
-

Headers

Only X-API-Key is required. Optional headers include Accept for response format negotiation (JSON, XML, or YAML), User-Agent, and X-Request-ID for request tracing. See all request headers →

GraphQL AccessALPHA

Access Fill in the Blanks Generator through GraphQL to combine it with other API calls in a single request. Query only the fill in the blanks generator data you need with precise field selection, and orchestrate complex data fetching workflows.

Test Fill in the Blanks Generator in the GraphQL Explorer to confirm availability and experiment with queries.

Credit Cost: Each API called in your GraphQL query consumes its standard credit cost.

GraphQL Endpoint
POST https://api.apiverve.com/v1/graphql
GraphQL Query Example
query {
  fillintheblanks(
    input: {
      category: "idioms"
      count: 5
      difficulty: "medium"
      image: true
    }
  ) {
    puzzles
    count
    difficulty
    category
    html
    image {
      imageName
      format
      downloadURL
      expires
    }
  }
}

Note: Authentication is handled via the x-api-key header in your GraphQL request, not as a query parameter.

CORS Support

The Fill in the Blanks Generator API accepts cross-origin requests from any origin, so it can be called directly from browser-based applications without a proxy. See CORS support →

Rate Limiting

Fill in the Blanks Generator requests are throttled per minute on the Free plan and unthrottled on paid plans. Exceeding the limit returns 429 Too Many Requests; rate-limit usage is reported in the X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset response headers. See per-plan limits and best practices →

Error Codes

The Fill in the Blanks Generator API uses standard HTTP status codes — 200 on success, 400 for invalid parameters, 401 for missing or invalid keys, 403 for insufficient credits, 429 for rate-limit exhaustion, and 500/503 for server-side issues. Each error response includes an X-Request-ID header you can quote when contacting support. See full error handling guide →

SDKs for Fill in the Blanks Generator

Official Fill in the Blanks Generator packages on npm, PyPI, NuGet, and JitPack — plus a Postman collection and an OpenAPI spec. See the SDK guide →

No-Code Integrations

Fill in the Blanks Generator works with Zapier, Make, Pipedream, n8n, and Power Automate using the same API key. See setup guides →

Frequently Asked Questions

How do I get an API key for Fill in the Blanks Generator?
Sign up for a free account at dashboard.apiverve.com. Your API key will be automatically generated and available in your dashboard. The same key works for Fill in the Blanks Generator and all other APIVerve APIs. The free plan includes 1,000 credits plus a 500 credit bonus.
How many credits does Fill in the Blanks Generator cost?

Each successful Fill in the Blanks Generator API call consumes credits based on plan tier. Check the pricing section above for the exact credit cost. Failed requests and errors don't consume credits, so you only pay for successful fill in the blanks generator lookups.

Can I use Fill in the Blanks Generator in production?

The free plan is for testing and development only. For production use of Fill in the Blanks Generator, upgrade to a paid plan (Starter, Pro, or Mega) which includes commercial use rights, no attribution requirements, and guaranteed uptime SLAs. All paid plans are production-ready.

Can I use Fill in the Blanks Generator from a browser?
Yes! The Fill in the Blanks Generator API supports CORS with wildcard configuration, so you can call it directly from browser-based JavaScript without needing a proxy server. See the CORS section above for details.
What happens if I exceed my Fill in the Blanks Generator credit limit?

When you reach your monthly credit limit, Fill in the Blanks Generator API requests will return an error until you upgrade your plan or wait for the next billing cycle. You'll receive notifications at 80% and 95% usage to give you time to upgrade if needed.

What's Next?

Continue your journey with these recommended resources

Was this page helpful?