Skip to content
Economic calendar
  1. REST reference
  2. Market context
  3. Economic calendar

Post-news windows

GET/public/v1/post-news-window

The post-news windows of the US Eastern sessions (Asian 18:00–00:30, London 01:00–06:00, New York 07:00–10:00, London close 10:00–12:00, PM 12:00–16:50). A window opens 15 minutes after each high-impact economic release, from any country, and runs to the next one or the session close. No high-impact release: the whole session is clear, one window from open to close. The same for every market. Starter keys are accepted on this route.

PremiumAnnualLifetime

Request

curl "https://api.tradeeasyai.net/public/v1/post-news-window?days=1" \
  -H "X-API-Key: $TRADEEASY_API_KEY"

Response shape

Field names and types; no sample values.

200 · application/json
{
  "success": true,
  "data": {
    "sessions": [ … ],
    "windows": [ … ],
    "events": [ … ],
    "now_state": "<string>",
    "degraded": "<boolean>"
  },
  "meta": { "timestamp": "<string>", "request_id": "<string>" }
}

Parameters#

  • datestringquery

    ET trade date YYYY-MM-DD the range ends on. Default: the trade date of now.

  • daysintegerquery

    Trailing trade dates (Mon–Fri) ending at date, 1 to 180. Default 1.

  • fromstringquery

    Instead of date + days: first ET trade date. Use with to; at most 180 trade dates.

  • tostringquery

    Last ET trade date (requires from).

  • tzstringquery

    IANA zone for the *_local labels only. Default America/New_York.

  • include_gap_eventsbooleanquery

    Also list releases between sessions (counted: false). Default true.

Response fields#

  • sessions[]array

    Per trade date, the five sessions with start, end, release moments and the pending span before the first release.

  • windows[]array

    Each window: trade_date, session, start, end, minutes, kind (after_event or clear) and the release it follows.

  • events[]array

    High-impact releases with time, country, name, session and counted.

  • now_state.statestring

    post_news, clear, news_pending, settling, no_window, between_sessions, market_closed or unknown.

  • now_state.untilstring · ISO 8601

    When the current state ends; next_change says when to read again.

  • degradedboolean

    True when the live calendar could not be read: sessions are returned without windows.

Also rules_version, session_defs, dropped (windows removed because fewer than 15 minutes remained), days[].status, served_at and data_as_of.

Errors#

  • 401detail

    Missing, invalid or revoked key, or a locked account. FastAPI {"detail": …} body, not the envelope.

  • 403detail

    The plan does not include the REST API, or the subscription is not active.

  • 422detail[]

    A query value is outside its range (FastAPI validation).

  • 429RATE_LIMIT_EXCEEDED

    Per-key minute or day bucket spent. Honour Retry-After.

  • 500FETCH_FAILED

    Unexpected read failure. Retry with backoff.