Skip to main content
GET
/
tarifs
/
{tarifId}
Get tarif
curl --request GET \
  --url https://api.streamskill.pro/v1/tarifs/{tarifId} \
  --header 'Authorization: Bearer <token>'
{
  "id": 1,
  "title": "AI Chatbot",
  "text": [
    "Up to 350 chatbots",
    "AI-powered chat"
  ],
  "count": 100,
  "price": 135,
  "type": "ai_chatbots",
  "hourly": true,
  "pricing_type": "graduated",
  "graduated_prices": {
    "0": 135,
    "101": 180,
    "201": 270
  },
  "discounts": {
    "1": 0,
    "500": 10,
    "1000": 20
  },
  "link": {
    "prefix": "https://www.twitch.tv/",
    "placeholder": "twitch"
  },
  "panel": true
}

Pricing types

Each tariff has a pricing_type field that indicates how the price is calculated:

Standard pricing (pricing_type: "standard")

Price is calculated as: base_price / count * quantity * duration * volume_discount * personal_discount Use the discounts field to get volume discount tiers.

Graduated pricing (pricing_type: "graduated")

Price is a fixed amount based on quantity thresholds. The graduated_prices field contains an object where keys are quantity thresholds and values are prices with all discounts already applied. For example, if graduated_prices is {"0": 135, "101": 180, "201": 270}:
  • Ordering 50 units costs 135 per hour
  • Ordering 150 units costs 180 per hour
  • Ordering 250 units costs 270 per hour
For hourly tariffs, multiply the tier price by the number of hours.
The graduated_prices values already include your personal discount and any active promotions. The discounts field is not applicable for graduated pricing tariffs.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Accept-Language
enum<string>
default:en

The language of the response

Available options:
en,
ru

Path Parameters

tarifId
integer
required

The ID of the tarif

Query Parameters

expand
enum<string>

Additional data to include in the response

Available options:
panel
Example:

"panel"

Response

OK

id
integer

The ID of the tarif

Example:

1

title
string

The title of the tarif (localized)

Example:

"AI Chatbot"

text
string[]

Description lines (localized)

Example:
["Up to 350 chatbots", "AI-powered chat"]
count

Quantity info. For custom_count tariffs returns {min, max}, otherwise a single integer.

Example:

100

price
number

The calculated price (with all discounts applied). For standard pricing — price for default quantity. For graduated pricing — price for the minimum tier.

Example:

135

type
string

The group_id of the tarif

Example:

"ai_chatbots"

hourly
boolean

Whether the tarif supports hourly duration selection

Example:

true

pricing_type
enum<string>

Pricing model. standard — price is calculated as (base_price / count * quantity * duration * discounts). graduated — fixed price per quantity tier * duration * discounts.

Available options:
standard,
graduated
Example:

"graduated"

graduated_prices
object

Graduated pricing tiers with discounts applied. null for standard pricing tariffs.

Example:
{ "0": 135, "101": 180, "201": 270 }
discounts
object

Volume discount tiers (quantity threshold → discount percentage). Only applicable for standard pricing.

Example:
{ "1": 0, "500": 10, "1000": 20 }
panel
boolean

Whether the tarif supports panel

Example:

true