Version | API Endpoint |
---|---|
v2(universal) |
http://api.nocaptcha.io/api/wanda/akamai/v2 |
POST
application/json
.xxx/register?c=abcdef
, the developer ID is abcdef
.The following table details the JSON attributes that should be included in the POST request:
Parameter | Type | Description | Required |
---|---|---|---|
href | String | The URL of the page that triggered the Akamai verification. | Yes |
api | String | Akamai’s endpoint for submitting sensor data. This endpoint can change over time. | No |
telemetry | Boolean | Indicates whether the telemetry parameter in headers is for verification, e.g., https://api.maersk.com/ interface’s akamai-bm-telemetry . Defaults to false. |
No |
cookies | Object | Contains the cookie values returned when requesting the href . If api is provided, this field is mandatory. |
No |
device | String | Defines the device fingerprint type used in the request flow. Values can be “pc” or “mobile”. Defaults to “mobile”. | No |
internal | Boolean | Specifies whether the verification process uses a domestic proxy. Defaults to true. | No |
Under the cookies
object:
Parameter | Type | Description | Required |
---|---|---|---|
value | String/Object | Can be in string format or key-value pairs. Must include _abck and bm_sz . |
No |
uri | String | Usage address for cookies. This is typically the same as href . |
No |
For the case where the submission is true (submit=true
):
Parameter | Type | Description |
---|---|---|
status | Integer | Indicates if the call was successful. 1 for success, 0 for failure. |
msg | String | Descriptive message in Chinese indicating the result of the call. |
id | String | Unique ID for the request, useful for subsequent query records. |
data._abck | String | Returns the valid _abck cookie when verification passes. |
cost | String | Time taken for verification, in milliseconds. |
A successful response example:
{
"status": 1,
"msg": "验证通过",
"id": "8a8f0778-da09-4eea-a32d-e3b508654ba6",
"cost": "1984.57ms",
"data": {
"_abck": "2EDD22DB758F24695963..."
}
}
The API seems to be designed for multiple use cases, including:
href
to check if it triggers an Akamai challenge.href
along with cookies obtained from the previous response. This might be needed if the Akamai challenge changes its API endpoint frequently.In practice, users would likely start with the basic URL verification, and if that fails or if they need a more specific kind of verification, they’d include additional parameters in the request.