AzuraCast icon

AzuraCast

Interact with AzuraCast Web API

Actions263

Station Report → Get Best And Worst

AI-generated

Summary

Fetches the best and worst performing tracks for a specified AzuraCast station.

Inputs

  • path__getstationreportbestandworst__station_id (required) — Identifies the station. Choose a name from the list or specify an ID using an expression. Path parameter: {station_id}.
  • sendAdditionalHeaders — Whether to include extra HTTP headers in the request.
  • additionalHeaders — Provide additional HTTP headers as a JSON object (e.g., {"X-Trace-ID":"abc123"}). Visible only when sendAdditionalHeaders is enabled.
  • bodyModeOverride — Choose how the request body is sent. Auto uses built-in fields; options include Binary, JSON, Multipart Form-Data, Raw, or None.
  • manualJsonBody — Manual request body as JSON. Used only when Body Mode Override is set to JSON.
  • manualRawBody — Manual request body as plain text. Used only when Body Mode Override is set to Raw.
  • responseFormat — Choose how n8n parses the response from AzuraCast: Auto, Binary, JSON, or Text.
  • returnFullResponse — Whether to return the full HTTP response (headers, status code, and body).
  • wrapResponseData — Whether to keep the response body in a single output item. If disabled, array responses are split into multiple items (hidden when returnFullResponse is true).

Output shape

one or more items, each containing the station's best and worst tracks data in JSON format.

The exact shape of the returned JSON data depends on the AzuraCast station report API.

Examples

Example 1: Fetch best and worst tracks for a specific station using its ID.

Set path__getstationreportbestandworst__station_id to the station ID (e.g., 1) and ensure responseFormat is set to JSON.

Example 2: Use a workflow expression to dynamically select the station ID.

Set path__getstationreportbestandworst__station_id to an expression like $node["Your Node"].item..stationId.

Links

Discussion