Pre-Market and After-Hours Movers: How to Track Extended Trading Session Data

A stock can move several percent before the opening bell or after the close, usually on earnings or news. If you only look at regular-session prices, you see that move as a gap the next morning. Mboum's quotes carry the extended-hours prices alongside the regular ones, so you can watch those sessions directly. This guide covers the fields, a way to check the session, and a script that ranks a watchlist by its extended-hours move.

One thing to know first

Mboum has no dedicated list of pre-market or after-hours movers. The Market Movers page and the /v1/markets/movers endpoint rank the latest regular session. To find extended-hours movers, request quotes for the symbols you care about and sort them by their pre-market or post-market change. That is what the script below does.

The sessions

The /v2/markets/market-info endpoint (weight 1) returns the US session times in Eastern Time. At the time of our check they were:

  • Pre-market: 4:00 AM to 9:30 AM
  • Regular session: 9:30 AM to 4:00 PM
  • After hours: 4:00 PM to 8:00 PM

The same response has marketIndicator (for example "Market Closed"), isTradingHours, a countdown to the next open, and the previous and next trade dates. On a weekend, its display times pointed at the next session while the *Raw fields still showed the last one, so rely on the display fields.

The extended-hours fields

GET https://api.mboum.com/v1/markets/stock/quotes has weight 2 and takes up to 200 comma-separated symbols. Each record has:

  • marketState: CLOSED for US equities outside trading hours in our check, and REGULAR for crypto and futures.
  • regularMarketPrice and regularMarketTime: the last regular-session price and its Unix timestamp.
  • preMarketPrice, preMarketChange, preMarketChangePercent and preMarketTime.
  • postMarketPrice, postMarketChange, postMarketChangePercent and postMarketTime.

All eight extended-hours fields are always in the record and are null when there is no print. They were also null for the index, crypto, futures and forex symbols we tried, so expect values for equities and ETFs only. These are the fields for AAPL after the Friday close:

{
  "symbol": "AAPL",
  "marketState": "CLOSED",
  "regularMarketPrice": 342.56,
  "regularMarketTime": 1795208402,
  "preMarketPrice": null,
  "preMarketChangePercent": null,
  "preMarketTime": null,
  "postMarketPrice": 344.87,
  "postMarketChangePercent": 0.6743337,
  "postMarketTime": 1795222798
}

The post-market change percent is measured against the regular-session close. Here 344.87 against 342.56 is +0.674%. The timestamps are Unix seconds, so they show how fresh each price is. postMarketTime here is 7:59 PM Eastern on Nov 20.

Rank a watchlist by extended-hours move

The script makes one quotes call for the list. For each symbol it takes the newest extended-hours print, whether pre-market or post-market, skips symbols with none, and sorts by the size of the move.

from datetime import datetime
from zoneinfo import ZoneInfo

import requests

URL = "https://api.mboum.com/v1/markets/stock/quotes"
HEADERS = {"Authorization": "Bearer YOUR_MBOUM_API_KEY"}
NY = ZoneInfo("America/New_York")

WATCHLIST = ["AAPL", "MSFT", "NVDA", "TSLA", "AMD", "SPY", "QQQ", "META", "GOOGL", "AMZN"]


def fetch_quotes(symbols):
    params = {"ticker": ",".join(symbols)}
    resp = requests.get(URL, headers=HEADERS, params=params, timeout=30)
    resp.raise_for_status()
    data = resp.json()
    body = data.get("body")
    if data.get("success") is False or not isinstance(body, list):
        raise SystemExit(f"No data returned: {data.get('message')}")
    return body


def extended_move(quote):
    """Return (session, price, percent, timestamp) for the newest extended-hours print."""
    prints = []
    for session in ("preMarket", "postMarket"):
        price = quote.get(f"{session}Price")
        if price is not None:
            stamp = quote.get(f"{session}Time") or 0
            prints.append((stamp, session, price, quote.get(f"{session}ChangePercent")))
    if not prints:
        return None
    stamp, session, price, percent = max(prints)
    return session, price, percent, stamp


def main():
    rows = []
    for quote in fetch_quotes(WATCHLIST):
        move = extended_move(quote)
        if move and move[2] is not None:
            rows.append((quote, move))

    if not rows:
        print("No extended-hours prints for this watchlist right now.")
        return

    rows.sort(key=lambda r: abs(r[1][2]), reverse=True)
    print(f"{'Symbol':<7}{'Session':<7}{'Close':>9}{'Ext price':>11}{'Move':>8}  Time (ET)")
    for quote, (session, price, percent, stamp) in rows:
        label = "PRE" if session == "preMarket" else "POST"
        when = datetime.fromtimestamp(stamp, NY).strftime("%Y-%m-%d %H:%M")
        print(
            f"{quote['symbol']:<7}{label:<7}{quote['regularMarketPrice']:>9.2f}"
            f"{price:>11.2f}{percent:>+7.2f}%  {when}"
        )


if __name__ == "__main__":
    main()

This is the real output for the ten symbols above after the Friday, Nov 20 close. The run costs 2 requests.

Symbol Session    Close  Ext price    Move  Time (ET)
NVDA   POST      125.53     130.01  +3.57%  2026-11-20 19:59
AMD    POST      424.39     439.39  +3.53%  2026-11-20 19:59
GOOGL  POST      265.29     270.18  +1.84%  2026-11-20 19:59
AMZN   POST      246.82     251.00  +1.69%  2026-11-20 19:59
QQQ    POST      608.45     617.74  +1.53%  2026-11-20 19:59
TSLA   POST      345.82     351.08  +1.52%  2026-11-20 19:59
META   POST      560.84     567.50  +1.19%  2026-11-20 19:59
SPY    POST      689.81     697.49  +1.11%  2026-11-20 19:59
MSFT   POST      484.52     489.49  +1.02%  2026-11-20 19:59
AAPL   POST      342.56     344.87  +0.67%  2026-11-20 19:59

The script also handles pre-market prints, and the newest print wins when a record has both. We could only capture the after-hours side live, because our check ran on a weekend.

Best practices

  • Handle nulls. A symbol with no extended-hours trade has null price fields, not zeros. The script skips those rows.
  • Check the timestamp. A print from hours ago is not a current move. Compare preMarketTime and postMarketTime with the clock before you act on a number.
  • Treat marketState as open-ended. We saw CLOSED and REGULAR. Handle any other value as unknown instead of failing.
  • Expect thin trading. Extended-hours volume is usually much lower than the regular session, so prices can jump on a few trades. Use limit orders.
  • Check for failures. If every symbol is invalid, you get HTTP 200 with "success": false. If only some are invalid, those are dropped and the rest come back.

Next steps

Put your own watchlist in WATCHLIST and schedule the script for 8:00 AM Eastern and 6:00 PM Eastern. For every field the quotes endpoint returns, see the API documentation, and get a free key at mboum.com/pages/api.

The data is for information only. It is not investment advice.