← Back

📊 Telegram Boost API – Rx Hoster

Simple, fast, and reliable API for calculating Telegram boost requirements based on subscriber count and level.

🔗 API Endpoint

https://rxhoster.top/boost-calculator.php

📥 Required Parameters

?subscribers=1500&level=10

✅ Example Response

{
  "status": "success",
  "subscribers": 1500,
  "level": 10,
  "boosts_needed": 12,
  "credit": "API Made By Rx Hoster"
}

❌ Error Example

{
  "status": "error",
  "message": "Invalid parameters. Use ?subscribers=XXX&level=1-100",
  "credit": "API Made By Rx Hoster"
}

💻 Code Examples

🔸 JavaScript (Fetch)

fetch("https://rxhoster.top/boost-calculator.php?subscribers=1500&level=10")
  .then(res => res.json())
  .then(data => console.log(data));

🔸 PHP (cURL)

$url = "https://rxhoster.top/boost-calculator.php?subscribers=1500&level=10";
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
$data = json_decode($response, true);
print_r($data);

🔸 Python (Requests)

import requests

url = "https://rxhoster.top/boost-calculator.php?subscribers=1500&level=10"
response = requests.get(url)
data = response.json()
print(data)

📌 Notes

📬 Contact

Created by Rx Hoster — Telegram: @yourusername