ACTIVE stream, the API computes currentStreamed (USDC paid out so far), remainingBalance (USDC still locked), secondsRemaining, and percentComplete from the stream’s start time and rate — no on-chain read required. The top-level metrics object gives you an instant dashboard view across all streams. You can narrow results using sender, receiver, status, or reference query parameters.
Endpoint
Authentication
Pass your API key in thex-api-key header.
Query Parameters
string
Filter by sender SCA wallet address. Returns only streams where
senderSCA matches this value exactly.string
Filter by receiver SCA wallet address. Returns only streams where
receiverSCA matches this value exactly.string
Filter by stream state. One of
"ACTIVE", "STOPPED", or "COMPLETED". Omit to return all statuses.string
Fetch a single stream by its exact reference ID — e.g.
"stream_n2p4q8_f3g7h1".Response
boolean
true when the query succeeded.object
Aggregate statistics across the filtered result set.
array
Array of enriched stream objects, ordered by
startedAt descending.Examples
Success Response
currentStreamed and remainingBalance are computed server-side at response time using ratePerSecond × elapsedSeconds. For stopped or completed streams the calculation uses stoppedAt rather than the current time, so those values are stable.
