#
Arkose FunCAPTCHA
#
Submit the challenge to NopeCHA
POST https://api.nopecha.com/
{
'key': 'MY_NOPECHA_KEY',
'type': 'funcaptcha',
'task': 'Pick the dice pair whose top sides add up to 14',
'image_data': ['HQ9IjEwMCIgdmlld0JveD0iMCAwIDMy...']
}
Retrieve solution with the data value
{
'data': 'PHN2ZyB3aWR0aD0'
}
#
Get the solution from NopeCHA
GET https://api.nopecha.com/
{
'key': 'MY_NOPECHA_KEY',
'id': 'PHN2ZyB3aWR0aD0'
}
AI has solved the challenge
AI has not yet solved the challenge
{
'data': [
false, false, true, // Click on the 3rd image
false, false, false
]
}
{
'error': 14,
'message': 'Incomplete job'
}
#
Example code using client libraries
# Install the client using the following command:
# pip install --upgrade nopecha
import nopecha
nopecha.api_key = 'YOUR_API_KEY'
# Call the Recognition API
clicks = nopecha.Recognition.solve(
type='funcaptcha',
task="Pick the mouse that can't reach the cheese",
image_data=['/9j/2wCEAAoHBwgHBgoI...']
)
# Print the grids to click
print(clicks)
// Install the client using the following command:
// npm i nopecha
const { Configuration, NopeCHAApi } = require('nopecha');
const configuration = new Configuration({
apiKey: 'YOUR_API_KEY',
});
const nopecha = new NopeCHAApi(configuration);
(async () => {
// Call the Recognition API
const clicks = await nopecha.solveRecognition({
type: 'funcaptcha',
task: "Pick the mouse that can't reach the cheese",
image_data: ['/9j/2wCEAAoHBwgHBgoI...'],
});
// Print the grids to click
console.log(clicks);
})();