Market Status API
Check if the U.S. market is open right now, plus today/tomorrow flags and the next open date.
GET /v1/market-statusQuick Copy & Paste
Sign in to auto-include your API key in copied URLs.
https://api.earningsapi.com/v1/market-status?apikey=YOUR_API_KEYParameters
Query
| Parameter | Type | Required | Description |
|---|---|---|---|
apikey | string | Yes | Your API key |
No additional parameters required. This endpoint returns the current market session state.
Response Example
{
"isTodayOpen": true,
"isTomorrowOpen": true,
"nextOpenDate": "2026-01-27",
"currentMarketStatus": "closed"
}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 |
cURL Example
curl "https://api.earningsapi.com/v1/market-status?apikey=YOUR_API_KEY"
Rate Limiting
- Free tier: 1,000 requests / month
- 429 returned when limit is exceeded