API Documentation
REST API for US stock market hours data
Overview
Access real-time US stock market hours, holiday schedules, and trading day information through our REST API. All times are returned in UTC (ISO 8601).
Planned API Specification
Endpoints shown below are planned specifications — not yet publicly operational. Contact mopentime@gmail.com to express interest or request early access when the API launches.
/market-hours/todayCurrent day market hours and status
Example Response
{
"date": "2026-07-04",
"day_of_week": "Saturday",
"is_open": false,
"status": "CLOSED",
"open_time_utc": null,
"close_time_utc": null,
"notes": "Weekend - Market Closed"
}/market-hours/week7-day schedule starting from today
Example Response
{
"days": [
{
"date": "2026-07-06",
"day_of_week": "Monday",
"is_open": true,
"status": "OPEN",
"open_time_utc": "2026-07-06T13:30:00Z",
"close_time_utc": "2026-07-06T20:00:00Z",
"notes": "Regular trading hours"
}
]
}/market-hours/date/{date}Market hours for a specific date
Parameters
dateDate in YYYY-MM-DD format
Example Response
{
"date": "2026-12-25",
"day_of_week": "Friday",
"is_open": false,
"status": "CLOSED",
"open_time_utc": null,
"close_time_utc": null,
"notes": "Christmas Day - Market Closed"
}/market-hours/rangeMarket hours for a date range
Parameters
start_dateStart date (YYYY-MM-DD)
end_dateEnd date (YYYY-MM-DD)
Example Response
{
"start_date": "2026-07-06",
"end_date": "2026-07-10",
"days": [
{
"date": "2026-07-06",
"is_open": true,
"status": "OPEN"
}
]
}/insightsLatest market insights articles (paginated)
Parameters
limitResults per page (default 20, max 100)
offsetPagination offset (default 0)
Example Response
{
"articles": [
{
"id": 1,
"slug": "example-article",
"title": "Example Title",
"description": "Article summary...",
"source": "Reuters",
"author": "Market Open Time",
"published_at": "2026-03-30T10:30:00Z"
}
],
"total": 42,
"limit": 20,
"offset": 0
}/insights/{slug}Single article by slug
Parameters
slugArticle URL slug
Example Response
{
"id": 1,
"slug": "example-article",
"title": "Example Title",
"description": "Article summary...",
"content": "Full article content...",
"source": "Reuters",
"source_url": "https://reuters.com/article/...",
"author": "Market Open Time",
"published_at": "2026-03-30T10:30:00Z"
}/healthHealth check
Example Response
{
"status": "healthy"
}Authentication
When authentication is enabled, include your API key as a header:
X-API-Key: your-api-key- Requests without a valid key return 401
- Keep your key secure and out of client-side code
- Contact mopentime@gmail.com to request a key
Notes
- This specification is subject to change before launch
- All times will be returned in UTC (ISO 8601)
- Data will refresh daily from official exchange calendars
- Rate limits and authentication will be determined before public launch