curl --request GET \
--url https://api.streamskill.pro/v1/tarifs \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.streamskill.pro/v1/tarifs"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.streamskill.pro/v1/tarifs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.streamskill.pro/v1/tarifs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.streamskill.pro/v1/tarifs"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.streamskill.pro/v1/tarifs")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.streamskill.pro/v1/tarifs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body[
{
"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
}
]{
"name": "Unauthorized",
"message": "Your request was made with invalid credentials.",
"code": 0,
"status": 401,
"type": "unauthorized_http_exception"
}Get all
curl --request GET \
--url https://api.streamskill.pro/v1/tarifs \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.streamskill.pro/v1/tarifs"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.streamskill.pro/v1/tarifs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.streamskill.pro/v1/tarifs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.streamskill.pro/v1/tarifs"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.streamskill.pro/v1/tarifs")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.streamskill.pro/v1/tarifs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body[
{
"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
}
]{
"name": "Unauthorized",
"message": "Your request was made with invalid credentials.",
"code": 0,
"status": 401,
"type": "unauthorized_http_exception"
}Pricing types
Each tariff has apricing_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
graduated_prices values already include your personal discount and any active promotions. The discounts field is not applicable for graduated pricing tariffs.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
The language of the response
en, ru Query Parameters
Additional data to include in the response
panel "panel"
Response
OK
The ID of the tarif
1
The title of the tarif (localized)
"AI Chatbot"
Description lines (localized)
["Up to 350 chatbots", "AI-powered chat"]
Quantity info. For custom_count tariffs returns {min, max}, otherwise a single integer.
100
The calculated price (with all discounts applied). For standard pricing — price for default quantity. For graduated pricing — price for the minimum tier.
135
The group_id of the tarif
"ai_chatbots"
Whether the tarif supports hourly duration selection
true
Pricing model. standard — price is calculated as (base_price / count * quantity * duration * discounts). graduated — fixed price per quantity tier * duration * discounts.
standard, graduated "graduated"
Graduated pricing tiers with discounts applied. null for standard pricing tariffs.
Show child attributes
Show child attributes
{ "0": 135, "101": 180, "201": 270 }
Volume discount tiers (quantity threshold → discount percentage). Only applicable for standard pricing.
Show child attributes
Show child attributes
{ "1": 0, "500": 10, "1000": 20 }
Show child attributes
Show child attributes
Whether the tarif supports panel
true