Ir diretamente para o conteúdo principal

Get a Stream by ID – Streams REST API

Atualizado em
Jul 31, 2026

Visão geral

Retrieves the full configuration and current state of a single stream by its unique ID. Use this endpoint to inspect a specific stream's settings including its network, dataset, filter function, block range, destination attributes, reorg handling configuration, and current processing position.

Key use cases:

  • Monitor a stream's progress during backfills
  • Debug delivery issues by checking configuration
  • Verify configuration changes after an update
  • Check the current sequence number and processing status

Endpoint

Send a GET request to retrieve a specific stream by its ID.

GET https://api.quicknode.com/streams/rest/v1/streams/{id}

Parâmetros do caminho

ParameterTipoRequiredDescrição
idcadeia de caracteresSimThe unique identifier (UUID) of the stream to retrieve

Example Request

curl -X GET "https://api.quicknode.com/streams/rest/v1/streams/f6ad6459-b5ad-4183-b370-1c1388e47e83" \
-H "accept: application/json" \
-H "x-api-key: YOUR_API_KEY"

Resposta

On success, the API returns the stream object with all configuration and status information.

{
"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",
"headers": { "Authorization": "Bearer token" },
"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"
}

Response Fields

FieldTipoDescrição
idcadeia de caracteresUnique stream identifier (UUID)
nomecadeia de caracteresStream name
networkcadeia de caracteresBlockchain network
datasetcadeia de caracteresDataset type
regioncadeia de caracteresDeployment region
filter_functioncadeia de caracteresBase64-encoded filter function (if configured)
start_rangenúmero inteiroStarting block number
end_rangenúmero inteiroEnding block number (null for continuous)
dataset_batch_sizenúmero inteiroNumber of blocks per batch
elastic_batch_enabledbooleanoWhether elastic batching is enabled
fix_block_reorgsnúmero inteiroReorg detection setting (1 = enabled)
keep_distance_from_tipnúmero inteiroBlocks to stay behind chain tip
destinationcadeia de caracteresDestination type (webhook, s3, azure, postgres)
destination_attributesobjetoDestination configuration (varies by type)
statuscadeia de caracteresStream status (active or paused)
sequêncianúmero inteiroLast delivered block from the data range
current_hashcadeia de caracteresHash of the current block being processed
notification_emailcadeia de caracteresEmail for stream termination alerts
extra_destinationsmatrizAdditional destinations (if configured)
created_atcadeia de caracteresStream creation timestamp (ISO 8601)
atualizado_emcadeia de caracteresLast update timestamp (ISO 8601)

Response Destination Attributes

O destination_attributes object in the response varies based on the destination type. Select a tab below to view the fields returned for each destination.

FieldTipoDescrição
urlcadeia de caracteresWebhook endpoint URL
compressioncadeia de caracteresCompression type (none or gzip)
headersobjetoCustom headers (if configured)
max_retrynúmero inteiroMaximum retry attempts
retry_interval_secnúmero inteiroSeconds between retries
post_timeout_secnúmero inteiroRequest timeout in seconds
token_de_segurançacadeia de caracteresAuto-generated token for validating webhook authenticity
mtlsbooleanoWhether Quicknode authenticates to this endpoint with its client certificate (mutual TLS)
ssl_ca_pemcadeia de caracteresCA certificate (PEM) used to verify the endpoint's server certificate (only set for private CAs)
note

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