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
Returns the authenticated user's profile information.
/userReturns the authenticated user's profile information.
Devices
GET
List all registered devices for the authenticated user.
/devicesList all registered devices for the authenticated user.
GET
Get details for a specific device.
/devices/{id}Get details for a specific device.
DELETE
Revoke a device's access.
/devices/{id}Revoke a device's access.
Sessions
GET
List active streaming sessions.
/sessionsList active streaming sessions.
POST
Terminate an active streaming session.
/sessions/{id}/terminateTerminate an active streaming session.
License
GET
Get current license status and tier information.
/licenseGet 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 startedsession.ended- A streaming session has endeddevice.registered- A new device was registereddevice.revoked- A device was revokedsubscription.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