Bid and ask curves
/sigmafi/zc/markets/{market}/curvesThe best bid line (the lowest yield any offer accepts at each maturity), the ask dots and line (each ask dot carrying borrowedByMe), and market totals, computed with the batcher's own rules.
Path parameters
marketstringrequiredERG | SigUSDThe market:
ERGorSigUSD.
Query parameters
coverageinteger · int64Asks with cover of at least this many bps; offers with a floor of at most this many. Default 15000.
kindstringall | new | resale | sharesall,new(borrow orders),resale(bond units and shares) orshares. Defaultall.matchablebooleanLeave out paused, expired and flagged boxes. Default true.
gridbooleanOnly maturities on the 21,600-block grid, and window orders that can pick one. Default false.
ifRevisioninteger · int64Answer 304 when the snapshot revision still equals this.
Responses
200The curvesZcObject▶
▶
atZcAtThe snapshot a read or quote was taken from.
heightintegerblockIdstringindexedHeightintegerrevisioninteger · int64Changes whenever anything a read returns changes, the mempool included.
cutbooleanTrue when the book is at its size cap and left boxes out.
mempoolbooleanWhether unconfirmed boxes are laid over the confirmed book.
304Nothing changed since `ifRevision`.▶
400A malformed field, or terms the contracts refuse.ApiError▶
errorintegerrequiredError code
reasonstringrequiredError message explaining the reason of the error
detailstringrequirednullableDetailed error description
429Too many concurrent quotes, simulations, or heavy reads (`/curves`, `/orderbook`, `/fills`): at most 4 quotes/simulations and at most 4 heavy reads run or wait at once across all callers, and simulations are additionally limited to 5 in flight per caller, then 1 a second. Retry shortly.ApiError▶
errorintegerrequiredError code
reasonstringrequiredError message explaining the reason of the error
detailstringrequirednullableDetailed error description
503ZC tracking is off or not seeded, or the node, its index or the wallet did not answer. Nothing was sent.ApiError▶
errorintegerrequiredError code
reasonstringrequiredError message explaining the reason of the error
detailstringrequirednullableDetailed error description