Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Castr Analytics API

Activity logs, activity events, and stream stats.

Castr Analytics API is one of 5 APIs that Castr publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Analytics. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 3 operations across 3 paths, and defines 3 schemas. It is described by OpenAPI 3.0.3, at version 1.0.

Requests are made against a single base URL, https://api.castr.com/v2.

3 operations 3 paths 3 schemas 3 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1.0
Base URL
https://api.castr.com/v2
Authentication
API Key
Contact
Resource Areas
1

Authentication & Security 1

Castr Analytics API declares 1 security scheme for authenticating requests. An API key is passed in the header as authorization (apiToken). By default, every request must be authenticated.

  • apiToken — API token issued from the Castr account settings API section (https://castr.com/app/manage/api), sent in the authorization header.

Paths & Operations 3

Across 3 paths, the API surfaces 3 operations — 3 GET. Each is listed below with its method, path, parameters, and response codes.

Analytics 3

Activity logs, activity events, and stream stats.

GET
/live_streams/{stream_id}/stats
Get stream stats
getLiveStreamStats 1 param → 200404
GET
/activity_logs/stream/{stream_id}
Get stream activity logs
getStreamLogs 1 param → 200404
GET
/activity_events/stream/{stream_id}
Get stream activity events
getStreamEvents 1 param → 200404

Schemas 3

The contract defines 3 schemas that model the data the API accepts and returns. The most detailed are StreamStats (6 properties), ActivityEntry (4 properties), Error (2 properties). Each schema is shown below with its type and property counts.

ActivityEntry
object
4 properties
StreamStats
object
6 properties
Error
object
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

castr-live-analytics-api-openapi.yml Raw ↑

Other APIs Castr publishes across the network.

Castr Live Streams API
Castr Sub-Second Streams API
Castr Video Hosting API
Castr Webhooks API