API Reference

Integrate Kast into your applications

Overview

The Kast API allows you to programmatically manage your Kast account, devices, and streaming sessions. All API access is over HTTPS, and all data is sent and received as JSON.

Base URL: https://api.trykast.com/v1

Authentication

The Kast API uses Bearer token authentication. Include your API token in the Authorization header:

Authorization: Bearer YOUR_API_TOKEN

Generate an API token from your account settings.

Rate Limits

API requests are limited based on your subscription tier:

  • Free: 100 requests/hour
  • Personal: 1,000 requests/hour
  • Pro: 10,000 requests/hour
  • Enterprise: Unlimited

Endpoints

User

GET /user
Returns the authenticated user's profile information.

Devices

GET /devices
List all registered devices for the authenticated user.
GET /devices/{id}
Get details for a specific device.
DELETE /devices/{id}
Revoke a device's access.

Sessions

GET /sessions
List active streaming sessions.
POST /sessions/{id}/terminate
Terminate an active streaming session.

License

GET /license
Get current license status and tier information.

Webhooks

Configure webhooks to receive real-time notifications about events in your Kast account:

  • session.started - A streaming session has started
  • session.ended - A streaming session has ended
  • device.registered - A new device was registered
  • device.revoked - A device was revoked
  • subscription.changed - Subscription tier changed

SDKs

Official client libraries coming soon:

  • JavaScript/TypeScript (npm)
  • Python (pip)
  • Go
  • Rust

Support

For API-related questions, contact api@trykast.com or visit our support page.

API Version: 1.0 | Last updated: January 2026