List your orders
const url = 'https://api.hyperstream.dev/v2/orders?state=delivered&limit=20';const options = {method: 'GET', headers: {'X-API-Key': '<X-API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.hyperstream.dev/v2/orders?state=delivered&limit=20' \ --header 'X-API-Key: <X-API-Key>'Your orders, newest first by build time, always scoped to your key. traces.chainObservations is empty here; read the
single order for its trail.
The cursor is a keyset: orders built after your first page do not appear on later pages. Poll the first page for new orders, and keep the filters unchanged while paging.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Only orders from this EVM depositor, including BTC, Solana and Hub-funded orders. Spoke-funded TRON/Stellar orders have none; filter them by from and to.
Only orders in this state.
Example
deliverednextCursor from the previous page. Keep the other filters unchanged while paging.
Page size, clamped to 1–200. Default 50.
Example
20Responses
Section titled “Responses”A page of orders.
A page of your orders.
object
Newest first by build time.
One order and its lifecycle. Nested objects are null until their event is observed.
object
keccak256(abi.encode(depositor, nonce)), lowercase. Keys every later call: persist it.
Your integrator name.
Address in the chain’s native display form: EVM 0x hex, TRON base58.
Address in the chain’s native display form: EVM 0x hex, TRON base58.
The deposit, in source base units.
Solana source observation, independent of order state. Refreshed on single-order reads, including after delivery; omitted from bulk lists. Unavailable does not prove that no payment arrived.
object
Native Solana deposit signature.
Native Solana recovery signature.
Address in the chain’s native display form: EVM 0x hex, TRON base58.
Address in the chain’s native display form: EVM 0x hex, TRON base58.
The slippage signed into the order, in bps. It pays out at most intentOutcomeRate ÷ (1 − slippageBps / 10⁴) per unit filled.
Closed set. Poll until delivered or delivery_failed; withdrawn_on_hub means hub settlement with delivery not yet fully recorded. Use a local timeout and resume by orderId if the result remains unconfirmed.
object
When the last leg was recorded.
Diagnostics. Track state, deposit and deliver instead.
object
Ordered trail of the intent and its fills. Always empty in the order list.
object
Pass as cursor for the next page. Non-null on every non-empty page: stop when orders comes back empty.
Example
{ "orders": [ { "orderId": "0x35dc8d390877c71baacadb4001eea0055804cfc306f599fbfc97c1d69d64d30a", "integrator": "acme", "srcToken": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831", "dstToken": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "srcChainId": 42161, "dstChainId": 8453, "srcAmountSpoke": "100000000", "depositor": "0x5b38da6a701c568545dcfcb03fcb875f56beddc4", "depositAddress": null, "payoutAddr": "0x5b38da6a701c568545dcfcb03fcb875f56beddc4", "refundAddr": "0x5b38da6a701c568545dcfcb03fcb875f56beddc4", "fullFee": "349850", "intentOutcomeRate": "999700000000000000", "slippageBps": 0, "minOutcome": "99620254", "state": "delivered", "deposit": { "tx": "0xa37fc5f866fdd03a6443129b95f5a328eba3a36b0c4d68c467849e846775a04d", "at": 1786999720 }, "deliver": { "payout": { "tx": "0x938eedc52713a24442d412eca2d8aae68c3df30fca154226113c438f82df5aa7", "amount": "99620254" }, "refund": null, "withoutTx": { "payout": null, "refund": null }, "at": 1786999810 }, "deliveryFailed": null, "traces": { "rootIntentId": "0x01cb37f4c5f512f757df0452b51e3fe8daefda8dfdd7e6d298d841ac54f7d18b", "publish": { "tx": "0xad257bdb68adfa6f6d2bf551f29edeeadc2c58bbbc1806ee42a741c2e36f1d07", "at": 1786999745 }, "withdraw": { "tx": "0x17c2da9cc8b27b31e95406d399f5468b2caddbd272afd102d148a9de5bb5dde5", "settledOutcome": "99620254", "refundSource": "0", "accruedFee": "329910", "at": 1786999790 }, "chainObservations": [] } } ], "nextCursor": "1786999700_0x35dc8d390877c71baacadb4001eea0055804cfc306f599fbfc97c1d69d64d30a"}Invalid query.
The request failed schema validation. Carries message, not error.
object
object
Example
{ "message": "Validation failed", "name": "ValidationException"}The X-API-Key header is missing.
An error raised by the route itself.
object
object
Smallest deposit that would quote, in source base units.
Largest deposit that would quote, in source base units.
The deployment setting this direction needs.
Example
{ "error": "X-API-Key required"}The key is unknown or past its rotation window. A 403 is always about your account: do not retry.
An error raised by the route itself.
object
object
Smallest deposit that would quote, in source base units.
Largest deposit that would quote, in source base units.
The deployment setting this direction needs.
Example
{ "error": "Unknown or inactive integrator"}Rate limited per IP. No Retry-After; back off and retry.
Rate limited. No Retry-After; back off and retry.
object
Example
{ "errorCode": "RATE_LIMITED", "message": "Too many requests, please retry later"}Unhandled failure. Retry once, then escalate with the x-request-id response header.
Maintenance, a malformed JSON body, or an unhandled failure. Carries message, not error.
object
MaintenanceException (503), BadRequestException (malformed JSON) or InternalErrorException (500).
Example
{ "message": "Internal Error", "name": "InternalErrorException"}