POST

API health

24h health
Normal
  • Healthy / normal
  • Available
Normal

Last 24 hours

Last 30 days

EverySolve's Akamai sec-cpt API returns a token for your challenge workflow.A sec-cpt response is an Akamai intermediate challenge with a challenge cookie and a JSON payload from the blocked response. This task returns a challenge token after the challenge-defined wait. It is separate from the URL-only Akamai web cookie task.

Send POST https://api.everyinfra.com/api/v1/captcha with type set to akamai_sec_cpt. Put the parameters in the request body, at the same level as type. $3.06 per 1,000 successful solutions ($0.003056 per successful solve). Failed calls and empty results are not charged.

AI prompt

#
Help me write a script that calls the EveryInfra "Akamai sec-cpt" API.

API contract:
- Request: POST https://api.everyinfra.com/api/v1/captcha with the header Authorization: Bearer <API Key>. Read the key from the EVERYINFRA_API_KEY environment variable; do not put it in the code.
- In the request body, set type to akamai_sec_cpt and put the parameters next to it at the same level.
- Required parameters:
  - sec_cpt: The sec-cpt challenge value from the blocked Akamai response.
  - sec_json: The JSON challenge payload paired with sec_cpt in that same response.
- Example request body:
{
  "type": "akamai_sec_cpt",
  "sec_cpt": "<sec_cpt>",
  "sec_json": "<sec_json>"
}
- Billing: $3.06 per 1,000 successful solutions ($0.003056 per successful solve). Failed calls and empty results are not charged.
- On 422, fix the parameters using the suggestions and allowed values in the error. On 429 or 503, wait for Retry-After and try again.

Before writing code, ask me how many items I need to process and what format to save the results in, then confirm the plan and the rough cost with me.

Request parameters

#
NameInTypeRequiredDefaultDescription
AuthorizationheaderstringYes-Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository.
typebodystringYesakamai_sec_cptCAPTCHA type, fixed value.
sec_cptbodystringYes-The sec-cpt challenge value from the blocked Akamai response.
sec_jsonbodyobjectYes-The JSON challenge payload paired with sec_cpt in that same response.

Code samples

#
bash
curl -X POST 'https://api.everyinfra.com/api/v1/captcha' \
  -H "Authorization: Bearer $EVERYINFRA_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "type": "akamai_sec_cpt",
  "sec_cpt": "<sec_cpt>",
  "sec_json": "<sec_json>"
}'

OpenAPI definition (JSON)Samples read the key from the EVERYINFRA_API_KEY environment variable; copied code never contains your key.

Response example

#
No sample response is available for these parameters yet. This preview shows the response shape and fields from the API definition, with … as placeholders; it is not the result of a live call.
json
{  "id": "req_…",  "type": "akamai_sec_cpt",  "solution": {    "token": "…"  },  "billing": {    "charged": …,    "charged_usd": …,    "balance_after_usd": …,    …  },  "quota": { … }}

Where the Akamai sec-cpt parameters come from

#

Copy both sec_cpt and sec_json from the same challenge response; the JSON payload is not a site key.

Code to find these values on the page

akamai_sec_cpt-1.js
document.cookie.split('; ').find(c => c.startsWith('sec_cpt'))

How to recognize Akamai sec-cpt

#

A sec-cpt response is an Akamai intermediate challenge with a challenge cookie and a JSON payload from the blocked response.

What makes Akamai sec-cpt different

This task returns a challenge token after the challenge-defined wait. It is separate from the URL-only Akamai web cookie task.

How to use the Akamai sec-cpt API

#

The Akamai sec-cpt API returns a token in token. Its solution format is token. Submit the token in the field or verification request expected by the target workflow.

  1. 01Read GET /api/v1/captcha/types and select the akamai_sec_cpt entry.
  2. 02Send type: "akamai_sec_cpt" and the required parameters to POST /api/v1/captcha.
  3. 03Read a token from token.
  4. 04Submit the token in the field or verification request expected by the target workflow.

Billing and availability EverySolve charges only when a solution is delivered successfully. An unsuccessful attempt is not charged, and any held amount goes back to your balance automatically. Read available and the price fields from GET /api/v1/captcha/types at request time rather than treating them as static page content.

Akamai sec-cpt integration questions

#

How can I identify Akamai sec-cpt before choosing a type?

A sec-cpt response is an Akamai intermediate challenge with a challenge cookie and a JSON payload from the blocked response. Use akamai_sec_cpt only after those signals match the target challenge.

Which target-page values belong in Akamai sec-cpt requests?

Copy both sec_cpt and sec_json from the same challenge response; the JSON payload is not a site key. Provide sec_cpt and sec_json. This type does not declare optional parameters.

What does Akamai sec-cpt return, and what is easy to confuse it with?

The Akamai sec-cpt API returns a token in token. Its solution format is token. This task returns a challenge token after the challenge-defined wait. It is separate from the URL-only Akamai web cookie task.

Which external source explains the Akamai sec-cpt integration?

Akamai's product page provides first-party context for the protection family. [Open the Akamai sec-cpt reference](https://www.akamai.com/products/bot-manager). EverySolve-specific fields and live availability still come from the type catalog.

Reference for Akamai sec-cpt

#
#

All CAPTCHA types

Errors and billing

#
401
Missing or invalid key.
402
Insufficient balance. Top up first.
422
Invalid parameter name or value. Fix it using the suggestions in the error. No charge.
429
Per-minute request limit reached. Wait for Retry-After, then try again.
503
Could not complete. The held charge is returned to your balance. If the outcome is unknown, verify it before you retry.
200 empty
No data. No charge.

Errors

Google Analytics needs consent. Privacy