Fetching Orders
Endpoint
GET https://round-snowflake-9c31.devops-118.workers.dev/Polling & Freshness
const REFRESH_INTERVAL = 30_000;
async function fetchAndUpdateOrders() {
const res = await fetch('https://round-snowflake-9c31.devops-118.workers.dev/');
const json = await res.json();
updateOrdersDisplay(json.data.orders);
if (json.data.market_data) updateMarketPrices(json.data.market_data);
}
fetchAndUpdateOrders();
setInterval(fetchAndUpdateOrders, REFRESH_INTERVAL);Response Shape (abridged)
Common Filters
Decimals
Field
Decimals
Example
Human
Last updated