BLS Captcha
Solve BLS / Morocco OCR captchas with the NoCaptchaAI API.
Loading…
Solve BLS / Morocco OCR captchas with the NoCaptchaAI API.
Loading…
POST https://api.nocaptchaai.com/createTask
curl -X POST https://api.nocaptchaai.com/createTask \
-H "Content-Type: application/json" \
-d '{
"clientKey": "YOUR_API_KEY",
"task": {
"type": "ImageToTextTask",
"images": [
"base64-image-0",
"...",
"base64-image-8"
],
"numeric": true,
"module": "morocco",
"case": false,
"maxLength": 3
}
}'
// Array form — one text per input image:
{ "errorId": 0, "solution": { "text": ["234", "567", "...", "982"] } }
// Object form — index → text:
{ "errorId": 0, "solution": { "text": { "0": "234", "1": "567" } } }
import requests
API_KEY = "YOUR_API_KEY"; BASE = "https://api.nocaptchaai.com"
res = requests.post(f"{BASE}/createTask", json={
"clientKey": API_KEY,
"task": {
"type": "ImageToTextTask",
"images": ["base64-image-0", "base64-image-1", "..."],
"numeric": True,
"module": "morocco",
"case": False,
"maxLength": 3
}
}).json()
print(res)