Skip to content

AwsWaf

Awswaf a Image Recognition Service

with this POST request you can solve Awswaf image challenges.

Get ApiKey

PRICING


POST https://api.nocaptchaai.com/createTask
Host: api.nocaptchaai.com
Content-Type: application/json

Request Format

aws:toycarcity:carcity // Place a dot at the end of the car's path
aws:grid:bed // grid image challenges
aws:grid:bag
aws:grid:hat
aws:grid:chair
aws:grid:bucket
aws:grid:curtain
aws:grid:mop
aws:grid:clock

Request Example

Payload

{
"clientKey": "YOUR_API_KEY",
"task": {
"type": "AwsWafClassification",
"images": [
"/9j/4AAQSkZJRgABAgAAAQABAA",
"/9j/4AAQSkZJRgABAgAAAQABAA",
"/9j/4AAQSkZJRgABAgAAAQABAA",
"/9j/4AAQSkZJRgABAgAAAQABAA",
"/9j/4AAQSkZJRgABAgAAAQABAA"
],
"question": "aws:grid:bag",
"websiteURL": "https://example.com"
}
}

Response

{
"errorId": 0,
"solution": {
//carcity point
"box": [116.7, 164.1],
// grid type, objects means the image index that matches the question
"objects": [0, 1, 3, 4, 6],
//if question include `bifurcatedzoo`
"distance": 500
},
"status": "ready",
"taskId": "0cdfecc7-6a5b-4e20-a8fa-79a345c5230f-ai"
}

API Testing Example Scripts

(Copy, Edit and Implement)

const axios = require('axios');
// URL to which the request will be sent
const url = 'https://api.nocaptchaai.com/createTask';
const payload = {
"clientKey": "YOUR_API_KEY",
"task": {
"type": "AwsWafClassification",
"images": [
"/9j/4AAQSkZJRgABAgAAAQABAA",
"/9j/4AAQSkZJRgABAgAAAQABAA",
"/9j/4AAQSkZJRgABAgAAAQABAA",
"/9j/4AAQSkZJRgABAgAAAQABAA",
"/9j/4AAQSkZJRgABAgAAAQABAA"
],
"question": "aws:grid:bag",
"websiteURL": "https://example.com"
}
};
axios.post(url, payload, {
headers: {
'Content-Type': 'application/json'
}
})
.then(response => {
console.log(response.solution);
})
.catch(error => {
console.error('Error:', error);
});