Documentation
Learn how to integrate Peak API into your application.
Quick Start
1. Get an API Key
Start the Telegram bot and create an API key from the API Keys menu.
2. Top Up Balance
Add funds to your account using cryptocurrency. Minimum top-up is $5.
3. Make Requests
Send POST requests to our API with your API key in the header.
Authentication
Include your API key in every request.
X-API-Key: pk_your_api_key_hereAlternatively, use Bearer token authentication:
Authorization: Bearer pk_your_api_key_hereBase URL
https://api.peak.foResponse Format
Success
{
"success": true,
"data": {
"token": "0.xxxxx..."
}
}Error
{
"success": false,
"error": "Error message"
}Error Messages
| Error | Description |
|---|---|
| Proxy connection failed | Invalid proxy or proxy is offline |
| Solve failed | Could not complete the challenge |
| Request timed out | Request exceeded timeout limit |
| Insufficient balance | Top up your account balance |
You are not charged for failed solves.