Skip to content
SwapWalletDocs
فارسیGet an API key

Shop prices

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.

The Product object

One product and its current price.

Attributes

  • idintegerRequired

    Product ID.

  • namestringRequired

    Product name, in English.

  • codestringRequired

    Product code. TG-STARS-{count} and TG-PREMIUM-{months}M are the ones Telegram services sell.

  • priceMoneyRequired

    Current price, in USDT.

    Show child attributesHide child attributes
    • numberdecimal stringRequired

      The amount as a decimal string. Trailing zeros are dropped, so 0.5, not 0.50.

    • unitstringRequired

      The token symbol, such as USDT, TON or BTC. IRT is the Toman; USD marks a value in US dollars.

The Product object
{
  "id": 52,
  "name": "Telegram 100 Stars",
  "code": "TG-STARS-100",
  "price": {
    "number": "1.65",
    "unit": "USDT"
  }
}

List shop prices

GET/v1/shop/prices

Returns 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.

Parameters

No parameters.

Returns

Returns an array of Product objects in result.

GET/v1/shop/prices
curl https://swapwallet.app/api/v1/shop/prices \
  -H "Authorization: Bearer $SWAPWALLET_API_KEY"
Response
{
  "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"
      }
    }
  ]
}