Example

Market Status / Holiday-Aware Scheduler

Make production sync jobs aware of market sessions.

Request

This request has no required inputs.

GET https://api.earningsapi.com/v1/market-status?apikey=YOUR_API_KEY

Code example

ExamplePython
import requests

API_KEY = "YOUR_API_KEY"
status = requests.get("https://api.earningsapi.com/v1/market-status", params={"apikey": API_KEY}, timeout=30).json()

if status["currentMarketStatus"] == "closed":
    print("Skip intraday sync until", status["nextOpenDate"])
else:
    print("Run market workflow")

Result shape

signalvalueaction
currentMarketStatusclosedDelay intraday sync
nextOpenDate2026-01-27Schedule next run

Build steps

  1. 1Call market status before intraday or post-close jobs.
  2. 2Use market holidays for planning early-close and holiday windows.
  3. 3Skip or reschedule jobs when the market is closed.

Data API quota and limits

Compare plan limits and historical data access.

Free

  • 60 requests / minute
  • 100 requests / day
  • 1,000 requests / month
  • The most recent 24 months of historical data on supported endpoints

Pro

Price increasing soon
  • 300 requests / minute
  • Unlimited daily requests
  • Unlimited monthly requests
  • All available history on supported endpoints

Get Pro before the price goes up.

Upgrade to Pro

Free daily and monthly quotas reset in New York time. Historical access applies to endpoints marked Historical access.

View usage and plans