The datafeed
Hyperodds serves a public datafeed in the UDF format, which TradingView's charting library reads through its UDF adapter. Each side of every HIP-4 market, from every deployer, is a symbol you can chart. No sign-up or key.
https://api.usehyperodds.com/udf
Bars are built from the HIP-4 trades Hyperodds records, and the newest bar includes the latest trade. Symbol search covers live markets and those settled in the last 6 hours; older markets still chart by ticker or outcome id.
The market chart in the Console is drawn with Lightweight Charts, TradingView's open-source chart library, and every interval on it, from 1m to 24h, reads this feed.
Live example
This chart runs in your browser. It asks the feed for the busiest markets, then for the last 300 bars of the one you pick, and draws them with Lightweight Charts.
Loading bars…
The same idea fits in one HTML file. Save it and open it in a browser to chart Barcelona to win the 2026/27 Champions League, then change the symbol to chart any other market.
<!doctype html>
<meta charset="utf-8">
<div id="chart" style="height: 420px"></div>
<p id="note"></p>
<script src="https://unpkg.com/lightweight-charts@5.2.1/dist/lightweight-charts.standalone.production.js"></script>
<script>
const feed = "https://api.usehyperodds.com/udf";
// Barcelona to win the 2026/27 Champions League, the Yes side.
const symbol = "HIP4:14800";
// Hourly bars, prices in cents to the feed's 0.001¢. A bar exists only where something traded,
// and Lightweight Charts sets bars side by side, so a quiet stretch leaves no gap.
const resolution = "60";
const note = (text) => (document.getElementById("note").textContent = text);
const chart = LightweightCharts.createChart(document.getElementById("chart"), {
autoSize: true,
timeScale: { timeVisible: resolution !== "1D", fixLeftEdge: true, fixRightEdge: true },
});
const candles = chart.addSeries(LightweightCharts.CandlestickSeries, {
priceFormat: { type: "price", precision: 3, minMove: 0.001 },
});
const to = Math.ceil(Date.now() / 1000);
fetch(`${feed}/history?symbol=${symbol}&resolution=${resolution}&countback=300&to=${to}`)
.then((res) => res.json())
.then((h) => {
// An unknown symbol answers 404 with s: "error" and errmsg: "Unknown symbol."
if (h.s === "error") return note(`${symbol}: ${h.errmsg}`);
if (h.s !== "ok") return note(`${symbol} has no trades yet.`);
candles.setData(h.t.map((time, i) => ({ time, open: h.o[i], high: h.h[i], low: h.l[i], close: h.c[i] })));
chart.timeScale().fitContent();
})
.catch(() => note("The feed didn't answer. Try again in a moment."));
</script>Advanced Charts
Advanced Charts is TradingView's own charting library. It comes from TradingView with a UDF adapter; give the adapter the feed's address:
new TradingView.widget({
container: "chart",
library_path: "charting_library/",
datafeed: new Datafeeds.UDFCompatibleDatafeed("https://api.usehyperodds.com/udf", 10000, {
maxResponseLength: 5000,
expectedOrder: "latestFirst",
}),
symbol: "HIP4:14800",
interval: "60",
timezone: "Etc/UTC",
autosize: true,
});The library's symbol search then finds markets by name, asset or deployer (try bitcoin or nba), by outcome id or by ticker. One answer holds the newest 5,000 bars, and the two options after the address let the adapter page back for earlier ones.
Symbols and prices
Each side of a market is its own symbol.
| Property | Value | What it means |
|---|---|---|
| Ticker | HIP4:14800 | HIP4: and the side's Hyperliquid coin number: the outcome id times ten, plus 0 for the first side or 1 for the second. HIP4:14801 is the other side of the same market. |
| Price | Cents per share | From 0 to 100 in steps of 0.001¢, as Hyperliquid prices outcomes. A share pays $1 if its side wins, so 57.3 means 57.3¢, a 57.3% chance at that price. |
| Volume | Shares | Shares traded in the bar. |
| Bars | 1, 5, 15, 30, 60, 240, 360, 720 min, 1D | In UTC. The library builds weeks and months from days. A bar exists where something traded, and symbols ask the library to draw quiet stretches as flat bars. |
| Session | 24x7 · Etc/UTC | HIP-4 markets trade around the clock. |
| Type | Category | sports, crypto, equities, commodities, indices, macro, ipo, awards or other. Symbol search filters on it. |
| Settled markets | Expired symbols | They stay chartable, marked expired from the time they settled or left the listing. |
A market's history starts at the first trade Hyperodds recorded for it.
Endpoints
| Path | Answer |
|---|---|
/config | Resolutions, symbol search, server time, and the market categories as symbol types. |
/symbols?symbol= | One symbol's description, session, price scale and resolutions. An unknown ticker answers 404 with unknown_symbol. |
/search?query=&type=&exchange=&limit= | Markets by name, asset, deployer, outcome id or ticker, busiest first, each side listed: 30 by default, 100 at most. Names cover live markets and those settled in the last 6 hours; an outcome id or ticker also finds older ones. |
/history?symbol=&resolution=&from=&to=&countback= | Bars as columns: t in Unix seconds, o, h, l and c in cents, v in shares. With countback, the last that many bars before to, whatever from says. With nothing in range, no_data and nextTime, the start of the closest earlier bar. |
/time | The server's clock, in Unix seconds. |
Try one from a terminal:
curl "https://api.usehyperodds.com/udf/history?symbol=HIP4:14800&resolution=1D&countback=3&to=$(date +%s)"
{
"s": "ok",
"t": [1793577600, 1793664000, 1793750400],
"o": [22.444, 22.001, 21.95],
"h": [22.446, 22.115, 21.951],
"l": [22, 21.95, 21.002],
"c": [22.001, 21.951, 21.002],
"v": [150782, 154005, 180116]
}Limits and caching
Each IP address can make 5 requests a second, in bursts of up to 40. Past that the feed answers 429 with a Retry-After header. One answer holds at most 5,000 bars.
Answers carry Cache-Control headers, so a browser or a CDN in front can reuse them: an hour for bars that ended more than 23 hours ago, 5 seconds for newer ones, an hour for the configuration, a minute for symbols and 30 seconds for search. The adapter asks for new bars every 10 seconds by default.
Credits
The charts on this site are drawn with TradingView Lightweight Charts, used under the Apache License 2.0. The TradingView logo on each chart links to TradingView.
TradingView Lightweight Charts™ Copyright (c) 2025 TradingView, Inc. https://www.tradingview.com/