Skip to main content

Overview

GET /v2/streams/ returns confirmed streams. This is a public endpoint — no API key is required.
  • If no query parameters are sent, the endpoint returns all confirmed streams.
  • Use id to retrieve a specific stream by its UUID.
  • Use orgId to filter results to streams belonging to a specific organization.
This endpoint is intended for backoffice dashboards, reporting tools, campaign managers, and partner integrations that need to inspect stream configurations.

Endpoint

Get all streams

Get streams filtered by organization

Get one stream by ID

Query Parameters
id
uuid
Optional stream identifier. When provided, the endpoint filters the result set to that stream ID.
orgId
uuid
Optional organization identifier. When provided, the endpoint returns only streams belonging to that organization.
withSnapshots
boolean
default:"false"
Include the full historical snapshots array for each returned stream.
usersCount
boolean
default:"false"
Add userCount and activeUserCount to each included snapshot object.

Response Example

Response Semantics

If you omit all query parameters, the endpoint returns all confirmed streams across all organizations.
If you send id, the endpoint still returns a streams array. The array will contain either one matching stream or be empty if no stream with that ID exists.
If you send orgId, only streams belonging to that organization are returned. You can combine orgId with id to look up a specific stream within a specific organization.

Stream Fields

The response body contains a streams array. Each item in that array is a Stream object with the fields described below.
streams
Stream[]
required
List of confirmed streams matching the provided filters.

Stream

id
uuid
Unique stream identifier.
chainId
integer | null
Decimal EVM chain ID for on-chain streams. null for point-based streams that do not deploy a contract.
contractAddress
string | null
Deployed on-chain stream contract address when available. It can be null for point-based streams or token-based streams that are still pending confirmation.
userId
uuid | null
Optional user identifier associated with the stream when present.
orgId
uuid
Organization that owns the stream.
admin
string | null
Admin EVM address for the stream when applicable.
type
integer
Stream type. Supported values are 1 (Fixed Rate), 2 (Fixed APR), 3 (Daily Budget), 4 (Airdrop), and 5 (Yield Match).
createdAt
datetime
Timestamp when the stream record was created in Turtle’s backend.
updatedAt
datetime
Timestamp of the most recent update to the stream record.
startTimestamp
datetime
UTC start time for the stream.
endTimestamp
datetime | null
UTC end time for the stream when configured.
totalAmount
string | null
Total reward amount in base units when applicable.
creationConfirmedAt
datetime | null
Confirmation timestamp for stream creation. It can be null while a token-based stream is still pending on-chain creation.
snapshotComputationPaused
boolean
Whether snapshot computation is paused for the stream.
merkleTreeComputationPaused
boolean
Whether merkle tree computation is paused for the stream.
hashCommitmentPaused
boolean
Whether hash commitment updates are paused for the stream.
claimPaused
boolean
Whether claiming rewards is currently paused for the stream.
customArgs
object
Strategy-specific configuration object for the stream.
adapters
AdapterConfig[]
Persisted adapter configuration array. Each adapter item contains a type string and a params object.
point
Point | null
Point metadata when the stream uses a point-based reward source. null for token-based streams.
strategy
string
Human-readable strategy name for the stream.
lastSnapshot
StreamSnapshot | null
Most recent snapshot computed for the stream, if one exists.
committedSnapshot
StreamSnapshot | null
Most recent committed snapshot for the stream, if one exists.
snapshots
StreamSnapshot[]
Full snapshot history when withSnapshots=true. Otherwise this field can be empty or omitted.
rewardToken
SupportedToken | null
Reward-token metadata for token-based streams. This uses the public SupportedToken shape from Get Tokens.

AdapterConfig

type
string
Adapter type identifier.
params
object
Adapter-specific configuration object.

Point

See Get Points for the full Point schema and examples.

StreamSnapshot

APR-related snapshot fields are only populated for token-based streams. For point-based streams, baseApr, apr, and rewardTokenPrice are omitted from the snapshot.
timestamp
datetime
Snapshot timestamp.
amountDistributed
string
Amount distributed in the snapshot, encoded as a decimal string.
amountBase
string
Base amount used for the snapshot, encoded as a decimal string.
rootHash
string | null
Merkle root hash when the snapshot has one.
commitTxHash
string | null
Transaction hash of the commit operation when available.
createdAt
datetime
Timestamp when the snapshot record was created.
updatedAt
datetime
Timestamp of the latest update to the snapshot record.
tvl
string | null
Total value locked at snapshot time when available.
baseTvl
string | null
Base TVL at snapshot time when available.
baseApr
string | null
Base APR computed for the snapshot before adapter adjustments, expressed as a decimal fraction — multiply by 100 for the percentage (for example, 0.05 means 5%). This is only populated for token-based streams.
apr
string | null
Effective APR computed for the snapshot after adapter adjustments, expressed as a decimal fraction — multiply by 100 for the percentage (for example, 0.05 means 5%). This is only populated for token-based streams.
rewardTokenPrice
string | null
Time-weighted-average (TWA) USD price of the reward token across the snapshot interval. This is only populated for token-based streams.
customMetrics
object
Snapshot-specific computed metrics.
customArgs
object
Snapshot-specific custom arguments.
userCount
integer | null
Number of users represented in the snapshot when usersCount=true.
activeUserCount
integer | null
Number of active users represented in the snapshot when usersCount=true.

Error Handling

Status Code: 500 Internal Server ErrorSolution: Retry the request and contact Turtle if the issue persists.