API · /markethours-api

Market Hours API

healthy 3,313 Subscribers

Live trading hours and open/closed status for the world's major stock exchanges, computed on demand from the current time in each exchange's own time zone — no key, nothing cached. Find whether one exchange is trading right now, its local time, regular hours, lunch break and the minutes until it next opens or closes; get the live status of every covered exchange; or list only the exchanges trading right now. Daylight-saving is handled automatically. A market-clock layer — distinct from FX-session and exchange-registry tools: for 17 stock exchanges (NYSE, Nasdaq, LSE, Euronext, Xetra, TSE, HKEX, SSE and more) it answers "is this market open and when does it change?". Note: public holidays are not accounted for.

api.oanor.com/markethours-api
Get an API key Try in playground → Contact provider

Machine-readable spec so AI agents can integrate this API.

/api/markethours-api/openapi.json
/api/markethours-api/llms.txt

Discovery: GET /api/index.json lists every API.

API health

healthy
Uptime
100.00%
Server probes · 24h
Avg latency
97 ms
Server probes · 24h
Subscribers
3,313
active
Total calls
8
last 7 days
status Full status page → · 12 probes/24h

Pricing

Pick a tier — billed monthly, cancel anytime.

Free

Free

  • 5,650 calls / month
  • 3 requests / second
  • Hard cap (429 above quota, no overage)
  • 5.65k calls/month
  • 3 req/sec
  • Status, all exchanges & open-now
  • No credit card
Sign in to subscribe

Starter

€5.60 /month

  • 125,000 calls / month
  • 12 requests / second
  • Hard cap (429 above quota, no overage)
  • 125k calls/month
  • 12 req/sec
  • Email support
Sign in to subscribe

Pro

€16.10 /month

  • 590,000 calls / month
  • 30 requests / second
  • Hard cap (429 above quota, no overage)
  • 590k calls/month
  • 30 req/sec
  • Priority support
Sign in to subscribe

Business

€38.80 /month

  • 3,480,000 calls / month
  • 60 requests / second
  • Hard cap (429 above quota, no overage)
  • 3.48M calls/month
  • 60 req/sec
  • Dedicated SLA
Sign in to subscribe

Built by

Related APIs

Other APIs with overlapping tags.

Forex Market Sessions API

Live forex market-hours layer — a real-time read on which foreign-exchange trading sessions are open right now and where the liquidity is. The 24-hour forex market runs as a relay of four regional sessions — Sydney, Tokyo, London and New York — and this computes, from the current clock and each financial centre's own timezone (daylight-saving handled automatically), whether each session is open, its local time, and its standard open and close in both local time and UTC. It surfaces the active session overlaps that traders care about — above all the London–New York overlap, the most liquid window of the day — reports whether the overall market is open (it closes over the weekend), and gives a world-clock of the four centres. Deterministic and always live, no key. Distinct from FX rate, strength, volatility, seasonality and signal APIs — this is the market-hours layer for forex, trading and dashboard apps.

api.oanor.com/fxsessions-api

Earnings Surprise (Beat/Miss) API

Live earnings beat/miss track record for US stocks from Nasdaq — no key, nothing stored. The "does it beat the street" view of a stock: how its actual reported EPS has compared to the analyst consensus over the recent quarters, distinct from the earnings-calendar (upcoming dates), analyst (forward estimates) and financials APIs in the catalogue. The surprises endpoint returns the recent quarters with the actual EPS, the consensus forecast, the dollar and percent surprise, and whether the quarter was a beat, a miss or in line. The scorecard endpoint computes the track record — how many of the recent quarters beat, the beat rate, the average surprise, the latest result and the current beat/miss streak — so you can gauge how reliably a company tops expectations. Build earnings-quality screeners, beat-streak scanners, post-earnings-drift signals and event-driven trading tools on top of real Nasdaq earnings-surprise data. The surprise is the actual reported EPS versus the analyst consensus for the quarter; a positive percent surprise is a beat. Look up any US stock by its ticker.

api.oanor.com/earningssurprise-api

Stock Price History (OHLC) API

Live historical daily prices (OHLC) for US stocks from Nasdaq — no key, nothing stored. The price-history-and-charting view of a stock: the daily open, high, low, close and volume going back months or years, distinct from the live-quote, movers, earnings and analyst APIs in the catalogue. The history endpoint returns the daily OHLC time series over a chosen range — 1 month to 5 years, or explicit from/to dates — ready to plot or backtest. The stats endpoint computes the period statistics from that series: the period high and low, the latest close, the total return over the period, the average daily volume and the annualised volatility (from daily log returns). Build charting widgets, backtesting tools, technical-analysis pipelines, performance trackers and risk models on top of real Nasdaq price history. Look up any US stock by its ticker (symbol=AAPL) and a range (1m, 3m, 6m, 1y, 2y, 5y) or explicit from=YYYY-MM-DD and to=YYYY-MM-DD; prices and volumes are returned as clean numbers.

api.oanor.com/stockhistory-api

Stock Short Interest API

Live short-interest data for US stocks from Nasdaq — no key, nothing stored. The "how heavily is it shorted, and is a squeeze building" view of a stock: the number of shares sold short, the average daily volume and the resulting days-to-cover, reported each settlement period, distinct from the quote, movers, insider and analyst APIs in the catalogue. The current endpoint returns the latest short-interest reading together with the change from the prior period — a rising or falling short position with the share delta and percent change. The history endpoint returns the full settlement-by-settlement timeline so you can see how the short position has trended over the year. Days-to-cover — short interest divided by average daily volume — is the headline squeeze metric: the higher it is, the longer shorts would need to buy back their position. Build short-squeeze scanners, bearish-positioning dashboards, risk overlays and contrarian-signal bots on top of real Nasdaq short-interest data. Look up any US stock by its ticker; share counts are returned as clean numbers. Note that short interest is reported about twice a month and a few non-Nasdaq listings may not be covered.

api.oanor.com/shortinterest-api

Frequently asked questions

Quick answers about pricing, quotas, and integration.

How do I get an API key for Market Hours API?
Sign up for free at oanor.com, generate an API key from the developer dashboard, and call Market Hours API with the x-oanor-key header. No credit card needed for the free tier.
What's the rate limit for Market Hours API?
Free tier allows 1 request per second. Paid plans scale up to 50 requests per second on the Mega tier. Hard limits return HTTP 429 above the quota — no surprise overage charges.
How much does Market Hours API cost?
Market Hours API has a free tier with 100 calls / month. Paid plans start at €5.60 / month with higher quotas and faster rate limits.
Can I cancel my subscription anytime?
Yes. Plans are billed monthly and you can cancel anytime from your billing dashboard. No long-term contracts and no cancellation fee.
Is Market Hours API GDPR-compliant?
All requests to Market Hours API go through our EU-based gateway. Your upstream API key never leaves our server and no personal data is shared with the upstream provider beyond the request you send.

Pick an endpoint from the list on the left to see its details and try it.

Code snippets

Sign up to get an API key, then call any path under your slug.

curl https://api.oanor.com/markethours-api/SOME_PATH \
  -H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/markethours-api/SOME_PATH", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/markethours-api/SOME_PATH");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
$response = curl_exec($ch);
import requests
r = requests.get(
    "https://api.oanor.com/markethours-api/SOME_PATH",
    headers={"x-oanor-key": "oanor_test_..."},
)
print(r.json())

Ratings

Sign in to rate.

No reviews yet.

Discussion

Ask questions, share usage tips, get answers from the provider and other developers. Public — anyone can read.

Sign in to start a thread or reply.

Sign in

New thread

/ 4000

📌 Pinned 🔒 Locked

·

· ·

/ 4000

🔒 This thread is locked — no new replies.

  • No threads yet — start the discussion.

Support

Private 1:1 support with the provider — billing questions, integration issues, account problems. Only you and the provider team can see these threads.

Sign in to open a support ticket.

Sign in

Open new ticket

Describe what you need help with. The provider team gets an email and replies on the ticket page.

  • No tickets yet for this API.

Subscription active — calls can start immediately.

Send your first request —

Subscription active — copy a snippet and fire off your first call.