Dev.to WebDev 🛠 Dev 👁 2 📖 6 min read

24/7 Price API for Stocks, Oil and Gold: Weekend Prices from Hyperliquid

Originally published on the Hyperdash blog. Stock exchanges close every night and all weekend, and oil and gold futures stop from Friday evening to Sunday evening. Hyperliquid's HIP-3 markets keep trading. Perpetual fut

Originally published on the Hyperdash blog.

Stock exchanges close every night and all weekend, and oil and gold futures stop from Friday evening to Sunday evening. Hyperliquid's HIP-3 markets keep trading. Perpetual futures on Nvidia (xyz:NVDA), the S&P 500 (xyz:SP500), WTI oil (xyz:CL), Brent (xyz:BRENTOIL), gold (xyz:GOLD), silver (xyz:SILVER) and the euro (xyz:EUR) trade 24/7, so they give a live, traded price at hours when the usual feeds stand still. You can read those prices by API on any day of the week.

Our pick: the Hyperdash Data API. The Hyperdash Data API serves live and historical prices for every Hyperliquid stock, index, commodity and currency market over REST and a WebSocket stream. It adds what a weekend price feed needs on top of the live price: candles from 1 minute to 1 month, the price at Friday's close, the gap to Monday's open, and HIP-3 oracle prices. The same API covers every crypto market on Hyperliquid. Plans start at $20 a month.

Which stocks, commodities and currencies trade 24/7 on Hyperliquid?

The largest set sits on the xyz HIP-3 dex, which lists 128 markets as of December 5, 2026. Among them:

  • Stocks: Nvidia (xyz:NVDA), Tesla (xyz:TSLA), Oracle (xyz:ORCL), Circle (xyz:CRCL) and more.
  • Indices: the S&P 500 (xyz:SP500) and xyz:XYZ100.
  • Energy: WTI crude (xyz:CL), Brent crude (xyz:BRENTOIL) and natural gas (xyz:NATGAS).
  • Metals: gold (xyz:GOLD), silver (xyz:SILVER), platinum (xyz:PLATINUM) and copper (xyz:COPPER).
  • Currencies: the euro (xyz:EUR) and the Japanese yen (xyz:JPY).

GET /v1/markets/catalog returns every market's category, sector and asset class, so an app can build its list without hard-coding tickers. Hyperliquid stocks and commodities lists the markets, and What is HIP-3 explains how outside teams deploy them.

How do you get live 24/7 prices by API?

One request returns every market on the xyz dex with its mark, oracle and mid prices, funding, open interest and 24-hour volume:

curl "https://data.hyperdash.com/v1/markets?dex=xyz" -H "Authorization: Bearer $HYPERDASH_API_KEY"

For an app that updates continuously, stream instead. Connect to wss://data.hyperdash.com/v1/stream and subscribe to ctx for one market:

{"op": "subscribe", "channel": "ctx", "coin": "xyz:GOLD"}

The ctx channel sends mark, oracle, mid, funding, open interest and 24-hour volume whenever they change, and at least every 10 seconds. The markets channel sends the same fields for every perp market in one event about once a second (streams). Each event costs 1 credit, or 5 on markets.

Hyperdash endpoints for a 24/7 price feed

You want Endpoint or channel Credits
Live prices of every stock and commodity market GET /v1/markets?dex=xyz 10 + 5 per node read
Live prices pushed as they change ctx stream, or markets for every market 1 per event, 5 on markets
Candles from 1 minute to 1 month GET /v1/markets/{coin}/candles 10 + 1 per bar + 2 per node read
Friday's close against Monday's open GET /v1/markets/{coin}/session-gaps 20 + 1 per row
Price change of every market GET /v1/markets/price-changes 20 + 1 per row + 5 per node read
HIP-3 oracle prices GET /v1/markets/{coin}/oracle 10 + 1 per row

How do you measure a weekend move from Friday's close?

Take the last price before the New York close on Friday, then compare it with the live price. The weekend prices guide does it in two calls: the live price from GET /v1/markets?dex=xyz, and Friday's close from the last 1-minute candle before the 4:00 PM New York close:

curl "https://data.hyperdash.com/v1/markets/xyz:NVDA/candles?interval=1m&start_time=...&end_time=..." -H "Authorization: Bearer $HYPERDASH_API_KEY"

Times are epoch milliseconds in UTC, and c in each candle is the close. The guide's example run, on Saturday, November 28, 2026, at 8:40 PM EST, compared every market with its close on Friday, November 27. US markets closed early that day, at 1:00 PM EST after Thanksgiving, so Friday's close is the last candle before 1:00 PM EST. Six of the markets:

Weekend moves on Hyperliquid since Friday's close, November 28, 2026

Market Friday close Saturday Change
xyz:INTC 58.12 56.71 -2.42%
xyz:NVDA 150.79 147.98 -1.86%
xyz:SP500 7,305.60 7,287.15 -0.25%
xyz:GOLD 3,651.60 3,658.50 +0.19%
xyz:CL 82.84 83.18 +0.41%
xyz:BRENTOIL 90.04 90.49 +0.50%

On Monday, GET /v1/markets/{coin}/session-gaps returns one row per New York date with the last price before the 4:00 PM New York close and the price at the 9:30 AM open, so you can check how close the weekend price came to the open. Early-close days use the regular 4:00 PM close. GET /v1/markets/{coin}/session-slots breaks each day into 30-minute activity slots.

What should a 24/7 price feed show users?

Four details for an app that shows weekend prices:

  • Label the source. These are prices of perpetual futures traded on Hyperliquid, not the stock exchange's or the futures exchange's own quote. Say "Hyperliquid price" next to the number.
  • Show both prices. The API returns the mid price, from the order book on Hyperliquid, and the oracle price, the market's reference price. Showing both tells users where the perp trades against its reference.
  • Show volume and open interest. Weekend trading is thinner than weekday trading. The 24-hour volume and open interest in each response tell users how much trading sits behind the price.
  • Use the right history. Candles start at each market's listing (xyz:NVDA on November 12, 2025, xyz:GOLD on December 22, 2025), and HIP-3 oracle bars start on November 5, 2026. How far back you can read depends on the plan: 90 days on Hobby and Starter, up to full history on Enterprise (plans).

For how weekend gaps affect open positions, read The weekend gap is killing your edge.

Ask your AI agent about weekend prices

Connect an agent to Hyperdash and ask: "How are stocks, oil and gold trading this weekend compared with Friday's close?"

Further reading: How to trade stocks on weekends and the Hyperliquid OHLCV API.

FAQ

Is there a stock price API that works on weekends? Yes. Hyperliquid's HIP-3 perps on stocks such as Nvidia and Tesla and on the S&P 500 trade 24/7, and the Hyperdash Data API serves their live prices on any day through GET /v1/markets?dex=xyz or the ctx stream.

Can I get a live oil price on the weekend? Yes. WTI (xyz:CL), Brent (xyz:BRENTOIL) and natural gas (xyz:NATGAS) trade on Hyperliquid through the weekend, and Hyperdash returns their live mark, oracle and mid prices.

Can I get a live gold price on Saturday or Sunday? Yes. Gold (xyz:GOLD), silver (xyz:SILVER) and platinum (xyz:PLATINUM) keep trading on Hyperliquid on weekends, and the same endpoints return their prices.

Is a Hyperliquid weekend price the same as the official price? No. It is the price of a perpetual future traded on Hyperliquid. When the underlying market reopens, GET /v1/markets/{coin}/session-gaps shows how far the opening price was from Friday's close.

How much does a 24/7 price feed cost on Hyperdash? Plans start at $20 a month with 500,000 credits. One GET /v1/markets?dex=xyz call costs 10 credits plus 5 per node read, and the weekend prices guide's full comparison uses about 200 credits.

Do I need to write code? No. Connect your agent to the Hyperdash MCP server and ask about weekend prices in plain words. To watch the prices on a chart, the Hyperdash platform is free to use: see Global Markets. The API calls above are for building the feed into your own app.

Get started with Hyperdash

  1. Create your Hyperdash account and get your first API key. Plans start at $20 a month.
  2. Connect the Hyperdash MCP server to Claude, ChatGPT, Claude Code, Codex or Cursor in about 2 minutes, with no API key.
  3. Make your first request with the Quickstart.

Need full history, an SLA or Hyperliquid Peering in Tokyo or Frankfurt? Talk to the Hyperdash team.

📰 Read the original article on Dev.to WebDev

Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.