Captcha Generator API

GET

Verify human visitors with ready-to-solve image captchas.

Captcha Generator generates visual captcha challenges with signed image URLs and text solutions. Each request delivers a challenge image, its correct answer string, an expiration timestamp, and a unique identifier.

About the Captcha Generator API

Sending a request creates a fresh captcha challenge without requiring query parameters. The response provides a signed download URL to serve the challenge graphic to users, the correct solution string to verify their submission on your server, a unique challenge ID, and a millisecond expiration timestamp.

What people use it for

Registration Form Protection
To block automated spam registrations, web apps fetch a challenge image for the signup form and check submitted text against the returned solution.
Failed Login Throttling
When visitors trigger multiple failed login attempts, authentication services display a captcha image to verify that a person is behind the keyboard.
Contact Form Verification
Community forums attach challenge images to public inquiry forms, using the millisecond expiration timestamp to invalidate stale submissions.
Password Reset Defense
Require visitors to solve a visual challenge before sending password reset links to prevent bad actors from triggering bulk recovery emails.

Ways to call it

One endpoint, many ways in — REST with JSON, XML, YAML and CSV, plus GraphQL and an MCP interface for AI agents.

JSON
Default REST response
XML
Markup format
YAML
Human-readable
CSV
Tabular export
Beta
GraphQL
Query language
New
MCP
For AI agents

Other ways to use Captcha Generator

Same data, same APIVerve account, same credit balance — one key works on all of them.

Questions.

Common questions about the Captcha Generator API.

Read the docs
Is it cheap enough to generate a captcha for every form submission?
Yes. Each request uses 10 credits, which works out to about $0.0015 per call on the Starter plan, or $1.50 per 1,000 captchas. That plan includes enough credits to generate 20,000 captchas each month. The Free plan includes 20 captchas per month for development and testing.
How do I display the generated captcha to a visitor?
The API returns a direct download URL pointing to the rendered captcha image along with a unique identifier. You can link to that URL in an image tag or fetch the image directly to serve it from your own domain.
How does answer verification work?
You handle verification in your backend application. The API returns the plaintext solution string alongside the image link, allowing your server to store the correct answer temporarily and compare it against the text submitted by the user.
What happens when a captcha expires?
Each response provides an expiration Unix timestamp in milliseconds. If a visitor submits an answer after that timestamp has passed, your backend logic should treat the captcha as invalid and prompt the user to load a fresh one.
Can I customize the character set or difficulty?
No. The endpoint requires no parameters and automatically produces a standard randomized character string and accompanying image on every call.

Ready to build with Captcha Generator? Start with 200 free credits — one key unlocks all 300+ APIs.

Explore the catalog

300+ APIs on the same key and the same response shape.

Browse all APIs