POST

API health

24h health
Normal
  • Healthy / normal
  • Available
Normal

Last 24 hours

Last 30 days

EverySolve's Kasada API returns named solution fields for your challenge workflow.Kasada's browser flow is indicated by x-kpsdk requests and response headers around a protected page. It returns x-kpsdk-ct, x-kpsdk-cd, x-kpsdk-v, x-kpsdk-r, and x-kpsdk-st fields, not a browser cookie string.

Send POST https://api.everyinfra.com/api/v1/captcha with type set to kasada. 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 "Kasada" 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 kasada and put the parameters next to it at the same level.
- Required parameters:
  - website_url: The exact page where this challenge appears, including the relevant path rather than only the site home page.
  - proxy: The proxy for the solve session; when a result is network-bound, use the same exit for the subsequent target request.
- Optional parameters:
  - bootstrap_url: The bootstrap resource URL observed in the active protected-page session.
  - website_domain: The protected hostname associated with this challenge when it is requested separately from website_url.
  - cf_cookies: Cloudflare cookie context already present in the same browser session, when required by this protected flow.
- Example request body:
{
  "type": "kasada",
  "website_url": "<website_url>",
  "proxy": "<proxy>"
}
- 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.
typebodystringYeskasadaCAPTCHA type, fixed value.
website_urlbodystringYes-The exact page where this challenge appears, including the relevant path rather than only the site home page.
proxybodystringYes-The proxy for the solve session; when a result is network-bound, use the same exit for the subsequent target request.
bootstrap_urlbodystringNo-The bootstrap resource URL observed in the active protected-page session.
website_domainbodystringNo-The protected hostname associated with this challenge when it is requested separately from website_url.
cf_cookiesbodyobjectNo-Cloudflare cookie context already present in the same browser session, when required by this protected flow.

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": "kasada",
  "website_url": "<website_url>",
  "proxy": "<proxy>"
}'

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": "kasada",  "solution": {    "x-kpsdk-ct": "…",    "x-kpsdk-cd": "…",    "x-kpsdk-v": "…",    "x-kpsdk-r": "…",    "x-kpsdk-st": "…"  },  "billing": {    "charged": …,    "charged_usd": …,    "balance_after_usd": …,    …  },  "quota": { … }}

Where the Kasada parameters come from

#

Use website_url and the same proxy session; bootstrap_url, website_domain, and cf_cookies apply only when exposed by that target flow.

Code to find these values on the page

kasada-1.js
// In the DevTools Network panel, filter a protected request and read its Request/Response Headers
// Or list the sent requests in the console
performance.getEntriesByType('resource').map(e=>e.name).filter(u=>/\/\.k($|\?)|\/_ato/.test(u))

How to recognize Kasada

#

Kasada's browser flow is indicated by x-kpsdk requests and response headers around a protected page.

What makes Kasada different

It returns x-kpsdk-ct, x-kpsdk-cd, x-kpsdk-v, x-kpsdk-r, and x-kpsdk-st fields, not a browser cookie string.

How to use the Kasada API

#

The Kasada API returns named solution fields in x-kpsdk-ct, x-kpsdk-cd, x-kpsdk-v, x-kpsdk-r, and x-kpsdk-st. Its solution format is fields. Read the declared fields together; the target workflow may require the complete set.

  1. 01Read GET /api/v1/captcha/types and select the kasada entry.
  2. 02Send type: "kasada" and the required parameters to POST /api/v1/captcha.
  3. 03Read named solution fields from x-kpsdk-ct, x-kpsdk-cd, x-kpsdk-v, x-kpsdk-r, and x-kpsdk-st.
  4. 04Read the declared fields together; the target workflow may require the complete set.

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.

Kasada integration questions

#

How can I identify Kasada before choosing a type?

Kasada's browser flow is indicated by x-kpsdk requests and response headers around a protected page. Use kasada only after those signals match the target challenge.

Which target-page values belong in Kasada requests?

Use website_url and the same proxy session; bootstrap_url, website_domain, and cf_cookies apply only when exposed by that target flow. Provide website_url and proxy. Optional parameters are bootstrap_url, website_domain, and cf_cookies.

What does Kasada return, and what is easy to confuse it with?

The Kasada API returns named solution fields in x-kpsdk-ct, x-kpsdk-cd, x-kpsdk-v, x-kpsdk-r, and x-kpsdk-st. Its solution format is fields. It returns x-kpsdk-ct, x-kpsdk-cd, x-kpsdk-v, x-kpsdk-r, and x-kpsdk-st fields, not a browser cookie string.

Which external source explains the Kasada integration?

Kasada's first-party site provides product context for its browser-protection platform. [Open the Kasada reference](https://www.kasada.io/). EverySolve-specific fields and live availability still come from the type catalog.

Reference for Kasada

#
#

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