跳至主要內容

List All Streams – Streams REST API

更新於
Jul 31, 2026

概覽

Retrieves a paginated list of all streams in your account. Use this endpoint to get an overview of your deployed streams, including their configuration, status, destination details, and current processing position.

Key use cases:

  • Build dashboards to monitor all streams
  • Audit stream configurations across your account
  • Programmatically manage multiple streams
  • Check the status and progress of all active streams

Endpoint

Send a GET request to retrieve all streams with optional pagination.

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

查詢參數

參數類型Required說明
上限整數Maximum number of streams to return. Default: 20
offset整數Number of streams to skip before returning results. Default: 0

Example Request

curl -X GET "https://api.quicknode.com/streams/rest/v1/streams?limit=20&offset=0" \
-H "accept: application/json" \
-H "x-api-key: YOUR_API_KEY"

回應

On success, the API returns a paginated list of stream objects.

{
"data": [
{
"id": "f6ad6459-b5ad-4183-b370-1c1388e47e83",
"name": "My Stream",
"network": "ethereum-mainnet",
"dataset": "block",
"region": "usa_east",
"filter_function": "ZnVuY3Rpb24gbWFpbihkYXRhKSB7Li4ufQ==",
"start_range": 100,
"end_range": 200,
"dataset_batch_size": 1,
"elastic_batch_enabled": true,
"fix_block_reorgs": 0,
"keep_distance_from_tip": 0,
"destination": "webhook",
"destination_attributes": {
"url": "https://webhook.site",
"compression": "none",
"max_retry": 3,
"retry_interval_sec": 1,
"post_timeout_sec": 10,
"mtls": true,
"security_token": "qn_xxxxxxxxxxxxxx"
},
"status": "active",
"sequence": 150,
"current_hash": "0x1234567890abcdef...",
"notification_email": null,
"extra_destinations": [],
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T12:45:00Z"
}
],
"pageInfo": {
"total": 1,
"limit": 20,
"offset": 0
}
}

Response Fields

領域類型說明
資料陣列Array of stream objects
pageInfo物件Pagination information
pageInfo.total整數Total number of streams in your account
pageInfo.limit整數Maximum number of streams returned
pageInfo.offset整數Number of streams skipped

Stream Object Fields

Each stream object in the 資料 array contains the following fields:

領域類型說明
id字串Unique stream identifier (UUID)
名稱字串Stream name
網路字串Blockchain network
dataset字串Dataset type
region字串Deployment region
filter_function字串Base64-encoded filter function (if configured)
start_range整數Starting block number
end_range整數Ending block number (null for continuous)
資料集批次大小整數Number of blocks per batch
elastic_batch_enabled布林值Whether elastic batching is enabled
fix_block_reorgs整數Reorg detection setting (1 = enabled)
與尖端保持距離整數Blocks to stay behind chain tip
目的地字串Destination type (webhook, s3, azure, postgres)
destination_attributes物件Destination configuration (varies by type)
狀態字串Stream status (active or paused)
序列整數Last delivered block from the data range
current_hash字串Hash of the current block being processed
notification_email字串Email for stream termination alerts
extra_destinations陣列Additional destinations (if configured)
created_at字串Stream creation timestamp (ISO 8601)
更新時間字串Last update timestamp (ISO 8601)

Sensitive fields like secret_key (S3), sas_token (Azure), and password (PostgreSQL) are not returned in the response for security reasons.