Quickstart
Create an account, get your API key and test it.
Step 1: Create an account
Go to peak.fo/login and click Create an account. Enter your email and a password, then open the confirmation link we email you.
Step 2: Claim your free trial
Open the Dashboard and click Claim 1,000 solves. It adds $0.90 of credit to your balance, enough for 1,000 Turnstile solves. No card needed.
Step 3: Get your API key
Open Dashboard → API keys, click Generate API key and copy it. Keys start with pk_.
Step 4: Test your key
Ask for your balance. It's free, and it confirms the key works. Replace pk_your_api_key with your key:
curl https://api.peak.fo/balance \
-H "X-API-Key: pk_your_api_key"If the key works, you get your balance back:
{
"success": true,
"data": {
"type": "pay_per_solve",
"balance": 0.9
}
}If you get "success": false instead, error_code and error say why. See Authentication.
Want to try a solve before writing code? Use the Playground in your dashboard.