All requests require an API key via the
X-API-Key header. Reads accept a publishable key (pk_live_) from browser code or a secret key (sk_live_) from your backend. See Authentication for details.Overview
GET /v2/streams/ returns confirmed streams.
- If no query parameters are sent, the endpoint returns all confirmed streams.
- Use
idto retrieve a specific stream by its UUID. - Use
orgIdto filter results to streams belonging to a specific organization.
To display the rate a stream is currently distributing, read
estimatedLiveApr — not lastSnapshot.apr. lastSnapshot.apr is a historical value tied to its own snapshot timestamp and stays populated forever after a stream is paused or ends. See Live APR vs snapshot APR.Endpoint
Get all streams
Get streams filtered by organization
Get one stream by ID
Optional stream identifier. When provided, the endpoint filters the result set to that stream ID.
Optional organization identifier. When provided, the endpoint returns only streams belonging to that organization.
Response Example
Response Semantics
No parameters means list all streams
No parameters means list all streams
If you omit all query parameters, the endpoint returns all confirmed streams across all organizations.
id is a filter, not a path selector
id is a filter, not a path selector
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.orgId narrows results to one organization
orgId narrows results to one organization
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.Live APR vs snapshot APR
The response exposes two different APR values, and they answer two different questions.
A paused or ended stream keeps its last snapshot indefinitely, so
lastSnapshot.apr keeps returning the stream’s final rate long after it stopped distributing. Reading it as the current rate is the mistake estimatedLiveApr exists to prevent.
estimatedLiveApr is sourced from lastSnapshot.apr and is null when any of these hold:
- the stream has no snapshot yet, or the last snapshot has no
apr— for example, point-based streams; snapshotComputationPausedistrue;- the stream has ended —
endTimestampis in the past; lastSnapshot.timestampis more than 24 hours old.
Stream Fields
The response body contains astreams array. Each item in that array is a Stream object with the fields described below.
Stream
Decimal EVM chain ID for on-chain streams.
null for point-based streams that do not deploy a contract.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.Stream type. Supported values are
1 (Fixed Rate), 2 (Fixed APR), 3 (Daily Budget), 4 (Airdrop), and 5 (Yield Match).Confirmation timestamp for stream creation. It can be
null while a token-based stream is still pending on-chain creation.Persisted adapter configuration array. Each adapter item contains a
type string and a params object.Point metadata when the stream uses a point-based reward source.
null for token-based streams.Full snapshot history when
withSnapshots=true. Otherwise this field can be empty or omitted.Reward-token metadata for token-based streams. This uses the public
SupportedToken shape from Get Tokens.Estimated APR the stream is currently distributing, expressed as a decimal fraction — multiply by 100 for the percentage (for example,
0.12 means 12%).Use this field, not lastSnapshot.apr, whenever you display a stream’s current rate. It is sourced from lastSnapshot.apr but only returned while the stream is actively accruing: it is null when the stream has no snapshot APR, when snapshotComputationPaused is true, when the stream has ended, or when lastSnapshot.timestamp is more than 24 hours old. A null value means no live rate is available — it does not mean 0%. See Live APR vs snapshot APR.AdapterConfig
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.
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.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.This is a historical value, valid as of timestamp. On lastSnapshot it keeps returning the stream’s final rate after the stream is paused or ends, so do not treat it as the current rate — use the stream-level estimatedLiveApr for that.Time-weighted-average (TWA) USD price of the reward token across the snapshot interval. This is only populated for token-based streams.
Error Handling
Missing or invalid API key
Missing or invalid API key
Status Code: 401 UnauthorizedA key that is present but invalid, inactive, or expired also returns
401, with "Invalid API key", "API key is inactive", or "API key has expired".Solution: Send a valid key on the X-API-Key header.Origin not allowed
Origin not allowed
Status Code: 403 ForbiddenPublishable keys (
pk_live_) are checked against the origin allowlist configured on the key. A request from an origin that is not on the list — including a server-side call that sends no Origin or Referer header — is rejected.Solution: Call from an allowlisted browser origin, or use a secret key (sk_live_) from your backend.Rate limit exceeded
Rate limit exceeded
Status Code: 429 Too Many RequestsUsage is metered per key, hourly and monthly. Every response carries the hourly budget in the
X-RateLimit-* headers; keys with a monthly limit also get X-Monthly-* headers. A monthly overrun returns "Monthly usage limit exceeded" instead.Solution: Back off until the window resets — hourly limits also return Retry-After — or ask the Turtle team for a higher limit. See Rate limits.Unexpected internal error
Unexpected internal error
Status Code: 500 Internal Server ErrorSolution: Retry the request and contact Turtle if the issue persists.

