APIHub
Back to Explore

Peak

The Peak API lets you programmatically submit Cloudflare Turnstile or 5‑second challenge tasks for solving and retrieve the resulting token, and provides an endpoint to query the current balance or package status associated with your API key.

Development
apiKeyHeader
HTTPS
CORS: Yes
Description enriched
Visit official documentation

Latency

1051ms p95

Uptime

100.0% 30d

Playground

Verified

live

Endpoints

REST · JSON
POST

/solve

Solve Cloudflare Turnstile (proxied or proxy‑less) and Cloudflare 5‑second challenge tasks.

  • task_type (query, required) — Specifies the type of solve task (e.g., "turnstiletask", "TurnstileTaskProxyLess", "cloudflare5stask").
  • sitekey (query, required) — Cloudflare Turnstile sitekey for the target site.
  • url (query, required) — Target page URL – must end with a trailing slash (/).
  • proxy (query, required) — Proxy in http://user:pass@ip:port format (required for proxied tasks and 5‑second challenge).
  • action (query) — Turnstile action value – must match the value configured on the target site.
  • cdata (query) — Turnstile cdata value – must match the value configured on the target site.
  • user_agent (query) — Windows Chrome user‑agent (only Windows Chrome is supported) for 5‑second challenge tasks.
  • html (query) — Pre‑fetched page HTML — optional optimisation to skip an initial fetch for 5‑second challenge tasks.
GET

/balance

Retrieve the current balance or package status for the authenticated API key.

2 endpoints auto-detected

Authentication

This API uses an API key, passed in the "X-API-Key" header. No OAuth required.

curl -X POST \
  "https://peak.fo/docs/solve" \
  -H "X-API-Key: YOUR_API_KEY"

peak.fo · HTTPS only