The shop price list covers the Telegram Premium and Telegram Stars products, priced in USDT. Buy them with Telegram services.
The gift cards and subscriptions of the SwapWallet shop aren’t part of this list or of this API.
Endpoints
One product and its current price.
idintegerRequiredProduct ID.
namestringRequiredProduct name, in English.
codestringRequiredProduct code. TG-STARS-{count} and TG-PREMIUM-{months}M are the ones Telegram services sell.
priceMoneyRequiredCurrent price, in USDT.
numberdecimal stringRequiredThe amount as a decimal string. Trailing zeros are dropped, so 0.5, not 0.50.
unitstringRequiredThe token symbol, such as USDT, TON or BTC. IRT is the Toman; USD marks a value in US dollars.
{
"id": 52,
"name": "Telegram 100 Stars",
"code": "TG-STARS-100",
"price": {
"number": "1.65",
"unit": "USDT"
}
}/v1/shop/pricesReturns every Telegram product and its current price, ordered by id. Use code to see which star counts and Premium durations you can buy. The list can include products the Telegram endpoints don’t sell, such as Premium bundles with boosts.
No parameters.
Returns an array of Product objects in result.
curl https://swapwallet.app/api/v1/shop/prices \
-H "Authorization: Bearer $SWAPWALLET_API_KEY"const response = await fetch('https://swapwallet.app/api/v1/shop/prices', {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.SWAPWALLET_API_KEY}`,
},
});
const data = await response.json();
console.log(data.result);import os
import requests
response = requests.get(
"https://swapwallet.app/api/v1/shop/prices",
headers={"Authorization": f"Bearer {os.environ['SWAPWALLET_API_KEY']}"},
)
print(response.json()["result"])<?php
$ch = curl_init('https://swapwallet.app/api/v1/shop/prices');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . getenv('SWAPWALLET_API_KEY'),
],
]);
$data = json_decode(curl_exec($ch), true);
print_r($data['result']);package main
import (
"fmt"
"io"
"net/http"
"os"
)
func main() {
req, _ := http.NewRequest("GET", "https://swapwallet.app/api/v1/shop/prices", nil)
req.Header.Set("Authorization", "Bearer "+os.Getenv("SWAPWALLET_API_KEY"))
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
data, _ := io.ReadAll(res.Body)
fmt.Println(string(data))
}{
"status": "OK",
"result": [
{
"id": 1,
"name": "Telegram Premium 3 Months",
"code": "TG-PREMIUM-3M",
"price": {
"number": "12.99",
"unit": "USDT"
}
},
{
"id": 2,
"name": "Telegram Premium 6 Months",
"code": "TG-PREMIUM-6M",
"price": {
"number": "17.99",
"unit": "USDT"
}
},
{
"id": 3,
"name": "Telegram Premium 12 Months",
"code": "TG-PREMIUM-12M",
"price": {
"number": "31.99",
"unit": "USDT"
}
},
{
"id": 52,
"name": "Telegram 100 Stars",
"code": "TG-STARS-100",
"price": {
"number": "1.65",
"unit": "USDT"
}
},
{
"id": 53,
"name": "Telegram 250 Stars",
"code": "TG-STARS-250",
"price": {
"number": "4.125",
"unit": "USDT"
}
},
{
"id": 54,
"name": "Telegram 500 Stars",
"code": "TG-STARS-500",
"price": {
"number": "8.25",
"unit": "USDT"
}
},
{
"id": 55,
"name": "Telegram 1000 Stars",
"code": "TG-STARS-1000",
"price": {
"number": "16.5",
"unit": "USDT"
}
},
{
"id": 56,
"name": "Telegram 5000 Stars",
"code": "TG-STARS-5000",
"price": {
"number": "82.5",
"unit": "USDT"
}
},
{
"id": 112,
"name": "Telegram Premium 3 Months + 4 Boosts",
"code": "TG-PREMIUM-3M-4BOOST",
"price": {
"number": "12.99",
"unit": "USDT"
}
}
]
}