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-status

Quick Copy & Paste

Sign in to auto-include your API key in copied URLs.

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

Parameters

Query

ParameterTypeRequiredDescription
apikeystringYesYour 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

FieldTypeDescription
isTodayOpenbooleanWhether the market is open at any point today
isTomorrowOpenbooleanWhether the market is open at any point tomorrow
nextOpenDatestringNext open date in YYYY-MM-DD format
currentMarketStatusstringOne 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