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_here

Alternatively, use Bearer token authentication:

Authorization: Bearer pk_your_api_key_here

Base URL

https://api.peak.fo

Response Format

Success

{
  "success": true,
  "data": {
    "token": "0.xxxxx..."
  }
}

Error

{
  "success": false,
  "error": "Error message"
}

Error Messages

ErrorDescription
Proxy connection failedInvalid proxy or proxy is offline
Solve failedCould not complete the challenge
Request timed outRequest exceeded timeout limit
Insufficient balanceTop up your account balance

You are not charged for failed solves.