Skip to main content
The Streams API is the core of Hitorino’s platform. You can use it to retrieve real-time and scheduled stream data for display in your app, or to programmatically schedule new solo streams on behalf of authenticated creators. All three endpoints follow the standard Hitorino request/response conventions described in the API Overview.

List Streams

Retrieves a paginated list of streams. By default the response includes all streams regardless of status. Use the query parameters below to filter by status, creator, or category.

Query Parameters

string
Filter by stream status. Accepted values: live, scheduled, ended. Omit to return streams of all statuses.
string
Return only streams belonging to the creator with this user ID.
string
Filter streams by category slug (e.g., gaming, music, talk). Category slugs are lowercase and hyphen-separated.
integer
Maximum number of streams to return. Defaults to 20. Maximum is 100.
string
Pagination cursor from the previous response’s pagination.next_cursor. Omit to start from the first page.

Request Examples

Response

array
Array of stream objects matching the query.
object
Pagination metadata for fetching subsequent pages.

Get Stream

Retrieves a single stream by its unique ID, including all fields from the list response plus any extended metadata.

Path Parameters

string
required
The unique stream ID (e.g., str_01HXYZ1234).

Request Examples

Response

integer
Highest concurrent viewer count recorded during the stream’s lifetime.
string
ISO 8601 timestamp of when the stream ended. null if the stream is still live or scheduled.
string
ISO 8601 timestamp of the most recent update to this stream resource.
All other response fields are identical to those returned in the list endpoint. See the List Streams section for full field descriptions.

Create Stream

Creates or schedules a new stream. Supply a scheduled_at timestamp to schedule the stream for a future time, or omit it to create a stream you intend to start immediately via your streaming software.
This endpoint requires a write-scoped API key. Requests made with a read-scoped key return 403 Forbidden.

Request Body

string
required
Display title for the stream. Maximum 120 characters.
string
Optional description visible to viewers. Maximum 2,000 characters.
string
ISO 8601 timestamp of the planned start time (e.g., 2024-07-01T18:00:00Z). Must be in the future. Omit to create an unscheduled stream ready to go live immediately.
string
Category slug for the stream (e.g., gaming, music, coding, talk). Must match a valid Hitorino category.
string
Visibility setting. One of public (default) or private. Private streams are accessible only via direct link.

Request Examples

Response

Returns 201 Created with the newly created stream object.
After creating a scheduled stream, share the stream_url with your audience. Hitorino automatically sends a stream.started webhook event when the stream goes live — see the Webhooks reference to register your endpoint.