Radio Mast · Capability

Radio Mast API

The Radio Mast API allows you to integrate Radio Mast functionality into your app or website, including streaming network management, stream monitoring, listener analytics, and encoder credentials.

Run with Naftiko RadioMastAPI

What You Can Do

GET
Get — List available API resources
/
GET
Get radiostreams radiomast — List Radio Mast streams
/radiostreams/radiomast/
GET
Get radiostreams external — List external streams
/radiostreams/external/
GET
Get radiostations — List radio stations
/radiostations/
GET
Get analytics listener sessions time series — Listener session time-series analytics
/analytics/listener-sessions/time-series/
GET
Get analytics listener sessions aggregate — Aggregate listener session analytics
/analytics/listener-sessions/aggregate/
GET
Get analytics reports — Listener analytics reports
/analytics/reports/
GET
Get listener pools — List listener pools
/listener-pools/

MCP Tools

get

List available API resources

read-only idempotent
get-radiostreams-radiomast

List Radio Mast streams

read-only idempotent
get-radiostreams-external

List external streams

read-only idempotent
get-radiostations

List radio stations

read-only idempotent
get-analytics-listener-sessions-time-series

Listener session time-series analytics

read-only idempotent
get-analytics-listener-sessions-aggregate

Aggregate listener session analytics

read-only idempotent
get-analytics-reports

Listener analytics reports

read-only idempotent
get-listener-pools

List listener pools

read-only idempotent

Capability Spec

radio-mast-capability.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Radio Mast API
  description: The Radio Mast API allows you to integrate Radio Mast functionality into your app or website, including streaming
    network management, stream monitoring, listener analytics, and encoder credentials.
  tags:
  - Radio
  - Mast
  - API
  created: '2026-05-06'
  modified: '2026-05-06'
capability:
  consumes:
  - type: http
    namespace: radio-mast
    baseUri: https://api.radiomast.io/v1
    description: Radio Mast API HTTP API.
    authentication:
      type: apikey
      in: header
      name: Authorization
      value: '{{RADIO_MAST_TOKEN}}'
    resources:
    - name: resource
      path: /
      operations:
      - name: get
        method: GET
        description: List available API resources
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: radiostreams-radiomast
      path: /radiostreams/radiomast/
      operations:
      - name: get-radiostreams-radiomast
        method: GET
        description: List Radio Mast streams
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: radiostreams-external
      path: /radiostreams/external/
      operations:
      - name: get-radiostreams-external
        method: GET
        description: List external streams
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: radiostations
      path: /radiostations/
      operations:
      - name: get-radiostations
        method: GET
        description: List radio stations
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: analytics-listener-sessions-time-series
      path: /analytics/listener-sessions/time-series/
      operations:
      - name: get-analytics-listener-sessions-time-series
        method: GET
        description: Listener session time-series analytics
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: analytics-listener-sessions-aggregate
      path: /analytics/listener-sessions/aggregate/
      operations:
      - name: get-analytics-listener-sessions-aggregate
        method: GET
        description: Aggregate listener session analytics
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: analytics-reports
      path: /analytics/reports/
      operations:
      - name: get-analytics-reports
        method: GET
        description: Listener analytics reports
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: listener-pools
      path: /listener-pools/
      operations:
      - name: get-listener-pools
        method: GET
        description: List listener pools
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    port: 8080
    namespace: radio-mast-rest
    description: REST adapter for Radio Mast API.
    resources:
    - path: /
      name: get
      operations:
      - method: GET
        name: get
        description: List available API resources
        call: radio-mast.get
        outputParameters:
        - type: object
          mapping: $.
    - path: /radiostreams/radiomast/
      name: get-radiostreams-radiomast
      operations:
      - method: GET
        name: get-radiostreams-radiomast
        description: List Radio Mast streams
        call: radio-mast.get-radiostreams-radiomast
        outputParameters:
        - type: object
          mapping: $.
    - path: /radiostreams/external/
      name: get-radiostreams-external
      operations:
      - method: GET
        name: get-radiostreams-external
        description: List external streams
        call: radio-mast.get-radiostreams-external
        outputParameters:
        - type: object
          mapping: $.
    - path: /radiostations/
      name: get-radiostations
      operations:
      - method: GET
        name: get-radiostations
        description: List radio stations
        call: radio-mast.get-radiostations
        outputParameters:
        - type: object
          mapping: $.
    - path: /analytics/listener-sessions/time-series/
      name: get-analytics-listener-sessions-time-series
      operations:
      - method: GET
        name: get-analytics-listener-sessions-time-series
        description: Listener session time-series analytics
        call: radio-mast.get-analytics-listener-sessions-time-series
        outputParameters:
        - type: object
          mapping: $.
    - path: /analytics/listener-sessions/aggregate/
      name: get-analytics-listener-sessions-aggregate
      operations:
      - method: GET
        name: get-analytics-listener-sessions-aggregate
        description: Aggregate listener session analytics
        call: radio-mast.get-analytics-listener-sessions-aggregate
        outputParameters:
        - type: object
          mapping: $.
    - path: /analytics/reports/
      name: get-analytics-reports
      operations:
      - method: GET
        name: get-analytics-reports
        description: Listener analytics reports
        call: radio-mast.get-analytics-reports
        outputParameters:
        - type: object
          mapping: $.
    - path: /listener-pools/
      name: get-listener-pools
      operations:
      - method: GET
        name: get-listener-pools
        description: List listener pools
        call: radio-mast.get-listener-pools
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    port: 9090
    namespace: radio-mast-mcp
    transport: http
    description: MCP adapter for Radio Mast API for AI agent use.
    tools:
    - name: get
      description: List available API resources
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: radio-mast.get
      outputParameters:
      - type: object
        mapping: $.
    - name: get-radiostreams-radiomast
      description: List Radio Mast streams
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: radio-mast.get-radiostreams-radiomast
      outputParameters:
      - type: object
        mapping: $.
    - name: get-radiostreams-external
      description: List external streams
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: radio-mast.get-radiostreams-external
      outputParameters:
      - type: object
        mapping: $.
    - name: get-radiostations
      description: List radio stations
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: radio-mast.get-radiostations
      outputParameters:
      - type: object
        mapping: $.
    - name: get-analytics-listener-sessions-time-series
      description: Listener session time-series analytics
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: radio-mast.get-analytics-listener-sessions-time-series
      outputParameters:
      - type: object
        mapping: $.
    - name: get-analytics-listener-sessions-aggregate
      description: Aggregate listener session analytics
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: radio-mast.get-analytics-listener-sessions-aggregate
      outputParameters:
      - type: object
        mapping: $.
    - name: get-analytics-reports
      description: Listener analytics reports
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: radio-mast.get-analytics-reports
      outputParameters:
      - type: object
        mapping: $.
    - name: get-listener-pools
      description: List listener pools
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: radio-mast.get-listener-pools
      outputParameters:
      - type: object
        mapping: $.
binds:
- namespace: env
  keys:
    RADIO_MAST_TOKEN: RADIO_MAST_TOKEN