GET
/v1/market-statusMarket Status
Check if the U.S. market is open right now, plus today/tomorrow flags and the next open date.
Request
GET https://api.earningsapi.com/v1/market-status?apikey=YOUR_API_KEYRequestPython
import requests
response = requests.get("https://api.earningsapi.com/v1/market-status", params={"apikey": "YOUR_API_KEY"}, timeout=30)
response.raise_for_status()
print(response.json())Query parameters
No additional parameters.
Response fields
| Field | Type | Description |
|---|---|---|
isTodayOpen | boolean | Whether the market is open at any point today |
isTomorrowOpen | boolean | Whether the market is open at any point tomorrow |
nextOpenDate | string | Next open date in YYYY-MM-DD format |
currentMarketStatus | string | One of: pre-market, open, after-hours, closed |
Response example
JSON response
{
"isTodayOpen": true,
"isTomorrowOpen": true,
"nextOpenDate": "2026-01-27",
"currentMarketStatus": "closed"
}