Skip to main content

What you'll build

A lightweight web dashboard that pulls data from multiple Kwery sources — Binance spot, Binance Futures, Hyperliquid, Chainlink, and Polymarket — and renders a unified view of market state.

Prerequisites

  • A Kwery API key (get one here)
  • Node.js 18+ or Python 3.10+
  • Basic familiarity with your framework of choice (React, Next.js, Streamlit, etc.)

Outline

  1. Design the data model
  2. Build API fetching layer
  3. Aggregate cross-source data
  4. Render the dashboard
  5. Add auto-refresh

Step 1 — Design the data model

Define which fields from each source you want to display. A minimal dashboard might show: symbol, spot price, futures price, funding rate, oracle price, and prediction market probability.

Section coming soon — will include a TypeScript interface / Python dataclass definition.

Step 2 — Build the fetching layer

Create a module that calls the relevant Kwery endpoints and returns normalized data:

  • /v1/binance/spot/{symbol}/ticker for spot prices
  • /v1/binance/futures/{symbol}/ticker for futures prices
  • /v1/hyperliquid/{symbol} for Hyperliquid state
  • /v1/chainlink/{symbol} for oracle prices
  • /v1/markets for prediction market data

Section coming soon.

Step 3 — Aggregate cross-source data

Join data across sources by symbol, handle missing fields gracefully, and compute derived values like basis spread and funding rate differential.

Section coming soon.

Step 4 — Render the dashboard

Display the aggregated data in a table or card layout. Include conditional formatting for notable values (e.g., high funding rates, wide basis).

Section coming soon.

Step 5 — Add auto-refresh

Set up a polling interval to re-fetch data periodically. Respect your plan's rate limits — check /v1/limits to see your current usage.

curl "https://kwery-api.com/v1/limits?api-key=YOUR_KEY"

Section coming soon.


Next steps

  • Deploy to Vercel, Railway, or your preferred platform
  • Add historical charts using snapshot data
  • Implement WebSocket-style updates with short polling intervals