StreamKit API

OpenAPI AGENTS.md

Read the catalog, get quotes and manage orders from your applications. The same services, prices and balance as your dashboard.

Authentication

Open account settings. In the “API key” section, click “Create key” and save it.

The full key is shown once. Rotating it immediately invalidates the previous key. Send it in the Authorization: Bearer header, never in the URL.

Authorization: Bearer YOUR_API_KEY

Base URL

https://streamkit.su/api/v1

Purchasing services

Get a service_id from the catalog and request a quote. Purchase with the quote_id and a unique Idempotency-Key, then read the status using order_id. Quotes are free and valid for 5 minutes.

  1. GET /services
  2. POST /quotes
  3. POST /orders
  4. GET /orders/{order_id}

Select the API currency in account settings: RUB, USD or EUR. The balance, catalog and new quotes use this currency. A quote locks its currency and exchange_rate for 5 minutes; changing preferences or rates does not alter an existing quote_id or the original price of a purchased order.

Amounts are strings with up to 8 decimal places; unit_price uses up to 18 to retain small amounts. The exchange_rate is RUB per unit of account currency; rate_date is the rate date. Internal debit amounts use price_rub; the base balance is balance_rub. Examples below use RUB.

Plans and configurators create stopped subscriptions and use a separate start action. YouTube viewers v2 launch after purchase. States pending, submitting and unknown do not mean rejection: check the same order instead of creating another.

Example variables

ParameterDescription
STREAMKIT_API_KEYYour full API key in an environment variable.
service_idThe catalog service ID, such as plan:12 or smm:45.
quote_idThe quote UUID returned by POST /quotes.
order_idThe full purchase response id, for example subscription:123.
targetThe channel, video or profile receiving the service.
Idempotency-KeyYour unique purchase key. Retain the original value for retries.

IDs, prices and responses in examples are illustrative. Substitute values from your catalog, quote and order.

Services

Products, plans, configurators, YouTube viewers v2 and AI chatbots share quote and purchase methods. Use family to select a service type. Get actual service_id values and constraints from GET /services. Services with available: false are temporarily unavailable.

The pagination object contains page, limit, total and pages. Additional catalog filters are platform and kind. Values service_id and order_id refer to different objects: retain the full identifiers from responses.

Products

Followers, likes, views and other products across platforms. Set the order volume in quantity and respect minimum, maximum and step from parameters.quantity. A purchase returns a product:<id> order.

Catalog filter

GET /services?family=product
ParameterDescription
targetA login or URL for the selected platform’s channel, profile, post or video.
quantityAn integer unit count respecting the service step.

POST /quotes request body

{
  "service_id": "product:123",
  "parameters": {
    "target": "https://t.me/your_channel",
    "quantity": 100
  }
}

Plans

Fixed viewer packages for Twitch, Kick, YouTube and VK Live. The plan defines the viewers count. Choose a target and duration. A subscription:<id> is created stopped; start, pause and other controls are available through the API and dashboard.

Catalog filter

GET /services?family=plan
ParameterDescription
targetThe selected platform's channel; for YouTube use a channel URL or @handle. A broadcast URL is resolved to its owner's channel.
durationPlan duration: 8h, 7d or 30d.

POST /quotes request body

{
  "service_id": "plan:12",
  "parameters": {
    "target": "your_channel",
    "duration": "8h"
  }
}

Configurator

Choose the viewer count and duration for Twitch, Kick, YouTube and VK Live. Pricing depends on the parameters. Like a plan, this creates a subscription:<id> with dashboard controls and requires start after purchase.

Catalog filter

GET /services?family=configurator
ParameterDescription
targetThe selected platform's channel. For YouTube use youtube.com/@handle or youtube.com/channel/UC….
viewersInteger viewer count between parameters.viewers.minimum and maximum.
duration_hoursDuration in hours: 1–8760.
durationAn alternative to duration_hours: 1h, 1d, 7d or 30d.

POST /quotes request body

{
  "service_id": "configurator:twitch",
  "parameters": {
    "target": "your_channel",
    "viewers": 100,
    "duration_hours": 24
  }
}

YouTube viewers v2

Viewers for YouTube live streams, launched automatically after purchase. Orders return as product:<id>. There are no subscription panel controls, pauses, channel changes or viewer adjustments.

Catalog filter

GET /services?family=youtube_v2
ParameterDescription
targetYouTube live stream URL.
quantityViewer count. Limits are in parameters.quantity.
duration_minutesA catalog field, not an input. Viewer duration belongs to the selected service, for example 60 minutes. Choose a different service_id for another duration. Larger viewer volumes are available; the exact limit is parameters.quantity.maximum.

POST /quotes request body

{
  "service_id": "smm:45",
  "parameters": {
    "target": "https://www.youtube.com/watch?v=AbCdEf01234",
    "quantity": 100
  }
}

AI Chatbots

AI chatbots for Twitch, Kick, VK Live and YouTube. Send bots, hours and variant for Twitch, Kick and VK Live; use messages, speed and language for YouTube. Select values from offers. All purchases return chatbot:<id>.

Catalog filter

GET /services?family=ai_chatbots

Twitch / Kick / VK Live

ParameterDescription
targetLive stream channel.
botsBot count from an available entry in offers.
hoursAn available duration in hours.
variantAn audio or audio_video variant from offers.

POST /quotes request body

{
  "service_id": "ai-chatbots:twitch",
  "parameters": {
    "target": "your_channel",
    "bots": 10,
    "hours": 1,
    "variant": "audio"
  }
}

YouTube

YouTube is priced by messages, rather than bot count or hours. Use speed_min and speed_max from offers to choose a speed, such as 2-5.

ParameterDescription
targetYouTube live stream or premiere URL.
messagesInteger message count within the offer limits.
speedA speed from offers, for example 2-5 messages per minute.
languageAutomatic language detection: auto.

POST /quotes request body

{
  "service_id": "ai-chatbots:youtube",
  "parameters": {
    "target": "https://www.youtube.com/watch?v=AbCdEf01234",
    "messages": 100,
    "speed": "2-5",
    "language": "auto"
  }
}

API methods

Account balance and currency

GET /account

curl "https://streamkit.su/api/v1/account" \
  -H "Authorization: Bearer $STREAMKIT_API_KEY"
Response HTTP 200
{
  "data": {
    "id": 42,
    "balance": "1250.00",
    "currency": "RUB",
    "ai_demo_balance": null,
    "balance_rub": "1250.00",
    "exchange_rate": "1",
    "rate_date": null
  }
}

All service types

GET /services

curl "https://streamkit.su/api/v1/services?family=youtube_v2&platform=youtube&page=1&limit=25" \
  -H "Authorization: Bearer $STREAMKIT_API_KEY"
Response HTTP 200
{
  "data": [
    {
      "id": "smm:45",
      "kind": "product",
      "family": "youtube_v2",
      "platform": "youtube",
      "name": "Viewers",
      "description": "v2\n1 h",
      "available": true,
      "currency": "RUB",
      "unit_price": "0.02",
      "parameters": {
        "target": "string",
        "quantity": {
          "minimum": 10,
          "maximum": 100000,
          "step": 1
        }
      },
      "quality": "",
      "duration_minutes": 60
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 25,
    "total": 1,
    "pages": 1
  }
}

One service and its parameters

GET /services/{service_id}

curl "https://streamkit.su/api/v1/services/plan:12" \
  -H "Authorization: Bearer $STREAMKIT_API_KEY"
Response HTTP 200
{
  "data": {
    "id": "plan:12",
    "kind": "subscription",
    "family": "plan",
    "platform": "twitch",
    "name": "Twitch 100",
    "viewers": 100,
    "currency": "RUB",
    "available": true,
    "prices": {
      "8h": "150.00",
      "7d": "900.00",
      "30d": "3000.00"
    },
    "parameters": {
      "target": "string",
      "duration": [
        "8h",
        "7d",
        "30d"
      ]
    }
  }
}

Free price quote

POST /quotes

curl -X POST "https://streamkit.su/api/v1/quotes" \
  -H "Authorization: Bearer $STREAMKIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"service_id":"plan:12","parameters":{"target":"your_channel","duration":"8h"}}'
Response HTTP 201
{
  "data": {
    "quote_id": "cebe71b9-c8cb-4dfb-8315-c56ad787c640",
    "service_id": "plan:12",
    "parameters": {
      "target": "your_channel",
      "duration": "8h"
    },
    "price": "150.00",
    "currency": "RUB",
    "price_rub": "150.00",
    "exchange_rate": "1",
    "rate_date": null,
    "expires_at": "2026-11-16T12:05:00+00:00"
  }
}

Purchase a quote

POST /orders

curl -X POST "https://streamkit.su/api/v1/orders" \
  -H "Authorization: Bearer $STREAMKIT_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: my-order-0001" \
  -d '{"quote_id":"cebe71b9-c8cb-4dfb-8315-c56ad787c640"}'
Response HTTP 201
{
  "data": {
    "id": "subscription:123",
    "kind": "subscription",
    "platform": "twitch",
    "name": "Twitch 100",
    "target": "your_channel",
    "price": "150.00",
    "currency": "RUB",
    "status": "stopped",
    "price_rub": "150.00",
    "exchange_rate": "1",
    "rate_date": null,
    "actions": [
      "start",
      "pause",
      "stop",
      "viewers",
      "channel"
    ],
    "created_at": "2026-11-16T12:00:00+00:00",
    "viewers": 100,
    "purchased_viewers": 100,
    "duration": "8h",
    "remaining_seconds": null,
    "channel_changes_remaining": 3,
    "expires_at": null
  },
  "created": true
}

All your orders, including website purchases

GET /orders

curl "https://streamkit.su/api/v1/orders?page=1&limit=25" \
  -H "Authorization: Bearer $STREAMKIT_API_KEY"
Response HTTP 200
{
  "data": [
    {
      "id": "subscription:123",
      "kind": "subscription",
      "platform": "twitch",
      "name": "Twitch 100",
      "target": "your_channel",
      "price": "150.00",
      "currency": "RUB",
      "status": "stopped",
      "price_rub": "150.00",
      "exchange_rate": "1",
      "rate_date": null,
      "actions": [
        "start",
        "pause",
        "stop",
        "viewers",
        "channel"
      ],
      "created_at": "2026-11-16T12:00:00+00:00",
      "viewers": 100,
      "purchased_viewers": 100,
      "duration": "8h",
      "remaining_seconds": null,
      "channel_changes_remaining": 3,
      "expires_at": null
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 25,
    "total": 1,
    "pages": 1
  }
}

Current order state

GET /orders/{order_id}

curl "https://streamkit.su/api/v1/orders/subscription:123" \
  -H "Authorization: Bearer $STREAMKIT_API_KEY"
Response HTTP 200
{
  "data": {
    "id": "subscription:123",
    "kind": "subscription",
    "platform": "twitch",
    "name": "Twitch 100",
    "target": "your_channel",
    "price": "150.00",
    "currency": "RUB",
    "status": "stopped",
    "price_rub": "150.00",
    "exchange_rate": "1",
    "rate_date": null,
    "actions": [
      "start",
      "pause",
      "stop",
      "viewers",
      "channel"
    ],
    "created_at": "2026-11-16T12:00:00+00:00",
    "viewers": 100,
    "purchased_viewers": 100,
    "duration": "8h",
    "remaining_seconds": null,
    "channel_changes_remaining": 3,
    "expires_at": null
  }
}

Start and control an order

POST /orders/{order_id}/actions

curl -X POST "https://streamkit.su/api/v1/orders/subscription:123/actions" \
  -H "Authorization: Bearer $STREAMKIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"action":"start","viewers":50}'
Response HTTP 200
{
  "data": {
    "id": "subscription:123",
    "kind": "subscription",
    "platform": "twitch",
    "name": "Twitch 100",
    "target": "your_channel",
    "price": "150.00",
    "currency": "RUB",
    "status": "running",
    "price_rub": "150.00",
    "exchange_rate": "1",
    "rate_date": null,
    "actions": [
      "start",
      "pause",
      "stop",
      "viewers",
      "channel"
    ],
    "created_at": "2026-11-16T12:00:00+00:00",
    "viewers": 50,
    "purchased_viewers": 100,
    "duration": "8h",
    "remaining_seconds": null,
    "channel_changes_remaining": 3,
    "expires_at": "2026-11-16T20:00:00+00:00"
  }
}

Order controls

The actions array lists supported operations. Subscriptions support start, pause, stop, viewers and channel. The viewers count must be 1–purchased_viewers. Channel changes depend on quota and cooldown. AI orders can use start when their state is ready.

Start start

curl -X POST "https://streamkit.su/api/v1/orders/subscription:123/actions" \
  -H "Authorization: Bearer $STREAMKIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"action":"start","viewers":50}'
Response HTTP 200
{
  "data": {
    "id": "subscription:123",
    "kind": "subscription",
    "platform": "twitch",
    "name": "Twitch 100",
    "target": "your_channel",
    "price": "150.00",
    "currency": "RUB",
    "status": "running",
    "price_rub": "150.00",
    "exchange_rate": "1",
    "rate_date": null,
    "actions": [
      "start",
      "pause",
      "stop",
      "viewers",
      "channel"
    ],
    "created_at": "2026-11-16T12:00:00+00:00",
    "viewers": 50,
    "purchased_viewers": 100,
    "duration": "8h",
    "remaining_seconds": null,
    "channel_changes_remaining": 3,
    "expires_at": "2026-11-16T20:00:00+00:00"
  }
}

Pause pause

curl -X POST "https://streamkit.su/api/v1/orders/subscription:123/actions" \
  -H "Authorization: Bearer $STREAMKIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"action":"pause"}'
Response HTTP 200
{
  "data": {
    "id": "subscription:123",
    "kind": "subscription",
    "platform": "twitch",
    "name": "Twitch 100",
    "target": "your_channel",
    "price": "150.00",
    "currency": "RUB",
    "status": "stopped",
    "price_rub": "150.00",
    "exchange_rate": "1",
    "rate_date": null,
    "actions": [
      "start",
      "pause",
      "stop",
      "viewers",
      "channel"
    ],
    "created_at": "2026-11-16T12:00:00+00:00",
    "viewers": 100,
    "purchased_viewers": 100,
    "duration": "8h",
    "remaining_seconds": 25200,
    "channel_changes_remaining": 3,
    "expires_at": null
  }
}

Stop stop

curl -X POST "https://streamkit.su/api/v1/orders/subscription:123/actions" \
  -H "Authorization: Bearer $STREAMKIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"action":"stop"}'
Response HTTP 200
{
  "data": {
    "id": "subscription:123",
    "kind": "subscription",
    "platform": "twitch",
    "name": "Twitch 100",
    "target": "your_channel",
    "price": "150.00",
    "currency": "RUB",
    "status": "stopped",
    "price_rub": "150.00",
    "exchange_rate": "1",
    "rate_date": null,
    "actions": [
      "start",
      "pause",
      "stop",
      "viewers",
      "channel"
    ],
    "created_at": "2026-11-16T12:00:00+00:00",
    "viewers": 100,
    "purchased_viewers": 100,
    "duration": "8h",
    "remaining_seconds": 25200,
    "channel_changes_remaining": 3,
    "expires_at": null
  }
}

Change viewer count viewers

curl -X POST "https://streamkit.su/api/v1/orders/subscription:123/actions" \
  -H "Authorization: Bearer $STREAMKIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"action":"viewers","viewers":25}'
Response HTTP 200
{
  "data": {
    "id": "subscription:123",
    "kind": "subscription",
    "platform": "twitch",
    "name": "Twitch 100",
    "target": "your_channel",
    "price": "150.00",
    "currency": "RUB",
    "status": "running",
    "price_rub": "150.00",
    "exchange_rate": "1",
    "rate_date": null,
    "actions": [
      "start",
      "pause",
      "stop",
      "viewers",
      "channel"
    ],
    "created_at": "2026-11-16T12:00:00+00:00",
    "viewers": 25,
    "purchased_viewers": 100,
    "duration": "8h",
    "remaining_seconds": null,
    "channel_changes_remaining": 3,
    "expires_at": "2026-11-16T20:00:00+00:00"
  }
}

Channel change channel

curl -X POST "https://streamkit.su/api/v1/orders/subscription:123/actions" \
  -H "Authorization: Bearer $STREAMKIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"action":"channel","target":"new_channel"}'
Response HTTP 200
{
  "data": {
    "id": "subscription:123",
    "kind": "subscription",
    "platform": "twitch",
    "name": "Twitch 100",
    "target": "new_channel",
    "price": "150.00",
    "currency": "RUB",
    "status": "stopped",
    "price_rub": "150.00",
    "exchange_rate": "1",
    "rate_date": null,
    "actions": [
      "start",
      "pause",
      "stop",
      "viewers",
      "channel"
    ],
    "created_at": "2026-11-16T12:00:00+00:00",
    "viewers": 100,
    "purchased_viewers": 100,
    "duration": "8h",
    "remaining_seconds": null,
    "channel_changes_remaining": 2,
    "expires_at": null
  }
}

Integration examples

Complete purchase example. Persist quote_id and Idempotency-Key before checkout and reuse both values after a timeout.

# 1. Read the catalog and choose a real service_id
curl "https://streamkit.su/api/v1/services?limit=25" \
  -H "Authorization: Bearer $STREAMKIT_API_KEY"

# 2. Request a quote using that service's parameters
curl -X POST "https://streamkit.su/api/v1/quotes" \
  -H "Authorization: Bearer $STREAMKIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"service_id":"product:123","parameters":{"target":"https://t.me/your_channel","quantity":100}}'

# 3. Replace QUOTE_ID with the quote_id returned above
curl -X POST "https://streamkit.su/api/v1/orders" \
  -H "Authorization: Bearer $STREAMKIT_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: my-order-0001" \
  -d '{"quote_id":"QUOTE_ID"}' 

Retrying requests

After a network error, retry the same quote_id and Idempotency-Key. You receive the same order and current status without another debit. Reusing the key for a different quote returns 409. Each quote can be purchased once.

Idempotency-Key: my-order-0001

201 Created: "created": true
200 OK:      "created": false
Idempotency-Replayed: true

Limits and errors

600 GET and 120 POST requests per minute per key. The limit parameter is 1–100, default 25. JSON bodies: up to 32 KiB. A 429 response includes Retry-After with the waiting time in seconds.

{
  "error": {
    "code": "insufficient_balance",
    "message": "Insufficient balance"
  }
}
400 invalid_parameters401 unauthorized402 insufficient_balance404 order_not_found409 quote_expired / idempotency_conflict415 unsupported_media_type429 rate_limited503 unavailable