Akamai SEC-CPT
Solves an Akamai SEC-CPT proof-of-work challenge and returns the payload with the wait it still owes.
Scope akamai:seccpt
PriceSelf-serve
$1.00per 1,000 successful solves
POST
https://api.cyxkit.app /v1/akamai/sec-cpt- Your key
- Your key goes in the
X-API-Keyheader. Nothing else is read: anAuthorizationheader is ignored. - Key in the body
- A top-level
clientKeyfield in the body is refused with 400bad_request. The header is the only place a key goes. - Method
- Every route is a POST with
Content-Type: application/json. - Body limit
- A request body is at most 1 MiB.
- What is charged
- A failure is not charged. The price is held when the call starts and charged only when the answer proves a success; anything else is given back in full before the answer reaches you.
Rules of the call
- Your key
- Your key goes in the
X-API-Keyheader. Nothing else is read: anAuthorizationheader is ignored. - Key in the body
- A top-level
clientKeyfield in the body is refused with 400bad_request. The header is the only place a key goes. - Method
- Every route is a POST with
Content-Type: application/json. - Body limit
- A request body is at most 1 MiB.
- What is charged
- A failure is not charged. The price is held when the call starts and charged only when the answer proves a success; anything else is given back in full before the answer reaches you.
Request
Send these as JSON in the body. Required means a first call will not work without it, and a missing one comes back as the solver's own 400 naming the field.
| Field | Needed | What it is |
|---|---|---|
| body | Required | The challenge as the edge served it: the 428 JSON, or the sec-cpt interstitial HTML. |
| secCptCookie | Required | The sec_cpt cookie the edge set along with that challenge. The proof is bound to it. |
Example call
curl -X POST 'https://api.cyxkit.app/v1/akamai/sec-cpt' \
-H "X-API-Key: $CYXKIT_KEY" \
-H 'Content-Type: application/json' \
-d '{"body": "CHALLENGE_JSON_OR_HTML", "secCptCookie": "SEC_CPT_COOKIE"}'$CYXKIT_KEY, so the line you copy holds no secret. Set it first with export CYXKIT_KEY='PASTE_YOUR_KEY'.Response
One success and two refusals. Which refusal you get says who turned the call down.
Success
{
"payload": "{\"token\":\"...\",\"answers\":[...]}",
"provider": "crypto",
"token": "...",
"duration": 5,
"durationMs": 5000,
"verifyUrl": "/_sec/verify"
}Refused by the solver
{
"error": "secCptCookie is required: the sec_cpt cookie the edge set with the challenge"
}Refused by cyxkit
{
"error": "<code>",
"status": <int>
}On every answer
The headers to read off a response, and what is true of this route only.
| Header | What it carries |
|---|---|
| X-Cyxkit-Request-Id | On every answer. Quote it when you ask for help. |
| X-Charge-Micros | What this call cost, and 0 when it cost nothing. Money is micro-USD: 1 USD is 1,000,000. |
| X-Balance-Micros | Your available balance after the call, whenever cyxkit has a reading for it. |
| X-RateLimit-Limit | Your key’s per-minute limit. A key with no per-minute limit gets no X-RateLimit header at all. |
| X-RateLimit-Remaining | What is left of that limit. It comes back with the limit, for a key that has one. |
Only on this route
- WAIT the full duration before you post. The edge times the challenge, so a correct payload sent early is still refused; duration is in seconds and durationMs is the same wait in milliseconds.
- POST the payload to verifyUrl, resolved against the page you were challenged on, then check that your sec_cpt cookie now contains ~3~. That is the proof it was accepted.
- verifyUrl comes back only for the challenges that have one. The crypto and adaptive challenges verify at a static address of their own, so an answer without it is still a good answer.
- The proof is bound to the sec_cpt cookie you sent, so solve each challenge with the cookie that came with it and do not reuse a payload.
Get a key and top up
Sign in with Discord, add funds with crypto, then call /v1/tmpt or /v1/recaptcha/tmstd or /v1/akamai/sensor or /v1/akamai/sbsd or /v1/akamai/pixel or /v1/akamai/sec-cpt or /v1/tmpt/evaluate or /v1/kasada/mint. Nothing limits how fast you call. Ask about Unlimited once a plan works out cheaper per solve.