SafeConduct is invite-only. Sign up to be notified when we launch.Join the waitlist →

Reference

res.php

Read a task or the balance (2Captcha res.php).

GET or POSThttps://api.safeconduct.ai/res.php

Authorization

Your API key as the key parameter, in the query or in the form.

Parameters

jsonstring · in the query

1 for JSON answers, else plain text.

actionstring · in the query

get, get2 (with price), getbalance, reportbad or reportgood.

idstring · in the query

The number in.php returned.

Body

Form fields (application/x-www-form-urlencoded or multipart/form-data).

Answers

  • 200

    Always 200: plain text (OK|..., CAPCHA_NOT_READY, ERROR_...) or, with json=1, {status, request[, useragent, price, error_text]}.

    Fields of the answer
    statusintegerrequired

    1 done, 0 not ready or error.

    requeststringrequired

    The task number, token, balance, CAPCHA_NOT_READY or an error code.

    useragentstring
    pricestring

    USD charged (get2).

    error_textstring

    Starts with the SafeConduct error code.

    cookiesobject

Generated from openapi.yaml 0.21.0