跳至主要內容

Enabled Stream Count – Streams REST API

更新於
2026年7月20日

概覽

Retrieves the total count of currently enabled and active streams in your account. Use this endpoint to quickly check how many streams are actively running without fetching full stream details.

Key use cases:

  • Monitor stream usage against account limits
  • Build dashboard widgets showing active stream count
  • Quick health check for stream infrastructure

Endpoint

Send a GET request to retrieve the count of enabled streams.

GET https://api.quicknode.com/streams/rest/v1/streams/enabled_count

Example Request

curl -X GET "https://api.quicknode.com/streams/rest/v1/streams/enabled_count" \
-H "accept: application/json" \
-H "x-api-key: YOUR_API_KEY"

回應

On success, the API returns the count of enabled streams.

{
"total": 5
}

Response Fields

領域類型說明
總計整數Total count of enabled (active) streams in your account