API Documentation
Simple CAPTCHA solver API.
CapBlinker provides a fast JSON API for solving 3-digit CAPTCHA images inside automation systems, scripts and bots.
Overview
CapBlinker is built for automation scripts that need a simple, fast and predictable CAPTCHA solving API.
Supported now
- 3-digit image CAPTCHA recognition.
- Base64 image input through JSON.
- Average solve time around 0.10–0.15 seconds.
Pricing
- $0.10 per 1000 successful solves.
- $0.0001 per solved CAPTCHA.
- New users receive $0.10 free trial balance.
Authentication
Every request must include your API key inside the Authorization header.
Header Example
Authorization: Bearer YOUR_API_KEY Accept: application/json Content-Type: application/json
You can find your API key in your dashboard after registration.
Solve Request
Send a base64 encoded CAPTCHA image to the solve endpoint and receive the recognized number.
POST
https://capblinker.com/api/solve
JSON Request Body
{
"image": "base64_encoded_image_here"
}
You can send plain base64 or a full data:image/png;base64 string. Both formats are accepted.
Response Example
Successful requests return the detected CAPTCHA answer, solving time, task ID and request cost.
Success Response
{
"success": true,
"task_id": 1428,
"answer": "726",
"cost": 0.0001,
"solve_time": "0.12s"
}
Error Responses
The API returns JSON error messages for invalid requests, insufficient balance or solver failures.
401 Unauthorized
{
"success": false,
"message": "Invalid API key."
}
402 Payment Required
{
"success": false,
"message": "Insufficient balance."
}
422 Validation Error
{
"success": false,
"message": "Invalid base64 image."
}
422 Solver Error
{
"success": false,
"message": "Captcha solving failed.",
"task_id": 1428
}
Code Examples
Copy-ready examples for integrating CapBlinker into automation scripts, bots and backend systems.
PHP / Laravel
$base64 = base64_encode(
file_get_contents('captcha.png')
);
$response = Http::withHeaders([
'Authorization' => 'Bearer YOUR_API_KEY',
'Accept' => 'application/json',
])->post('https://capblinker.com/api/solve', [
'image' => $base64,
]);
$data = $response->json();
if ($data['success']) {
echo $data['answer'];
}
JavaScript
const imageBase64 = 'base64_encoded_image_here'; fetch('https://capblinker.com/api/solve', { method: 'POST', headers: { 'Authorization': 'Bearer YOUR_API_KEY', 'Accept': 'application/json', 'Content-Type': 'application/json' }, body: JSON.stringify({ image: imageBase64 }) }) .then(response => response.json()) .then(data => { if (data.success) { console.log(data.answer); } });
Python
import base64 import requests API_KEY = 'YOUR_API_KEY' with open('captcha.png', 'rb') as f: image_base64 = base64.b64encode(f.read()).decode() response = requests.post( 'https://capblinker.com/api/solve', headers={ 'Authorization': f'Bearer {API_KEY}', 'Accept': 'application/json', }, json={ 'image': image_base64 }, timeout=30 ) data = response.json() if data.get('success'): print(data['answer'])
cURL
curl -X POST https://capblinker.com/api/solve \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Accept: application/json" \ -H "Content-Type: application/json" \ -d '{"image":"base64_encoded_image_here"}'