Does the aggs/ticker with Stocks Basic not include the current day?

I am trying to fetch the 5 minute data for the current day (or just past hour would be sufficient) and it seems no matter what I put for from/to it always says that “Your plan doesn’t include this data timeframe”. For example:

https://api.polygon.io/v2/aggs/ticker/SPY/range/5/minute/2025-02-24/2025-02-24?apiKey=MY_API_KEY

I understand that other realtime APIs like Websocket and Snapshot require Stocks Starter, but I don’t see anything about this limitation. Am I doing something wrong?

The Basic plan doesn’t provide access to current-day intraday data, which is likely why you’re seeing that message. Instead, it typically allows only historical data for previous days.

If you need 5-minute data for the current day, you might want to consider upgrading to the Stocks Starter plan, which includes access to real-time data via Websocket and Snapshot, as well as current intraday data.

Hi!

The issue you’re encountering is related to the limitations of the Stocks Basic plan on Polygon io. The aggs/ticker endpoint for intraday data, such as 5-minute bars, does not include the current trading day’s data on the Basic plan. Instead, the Basic plan typically provides end-of-day (EOD) aggregated data and historical data, but not intraday or real-time granular data.

Here’s a breakdown:

  • Stocks Basic plan:

    • Access to daily aggregates (EOD data) and historical bars, but not intraday data for the current day.

    • If you try to request intraday aggregates (like 5-minute bars) for today or recent timeframes, you’ll get an error about plan limitations.

  • Stocks Starter or higher plans:

    • Include access to intraday data such as 1-minute, 5-minute bars, and real-time WebSocket streams.

    • Allow fetching intraday bars for the current trading day, including recent hours.

The error message you’re seeing — “Your plan doesn’t include this data timeframe” — confirms this limitation.

What can you do?

  • Upgrade your plan to Stocks Starter or above if you need intraday data for the current day or near real-time info.

  • Alternatively, use EOD data or historical data within the Basic plan’s scope.

If you want to verify your available data or learn more about plan features, check Polygon’s pricing and docsa