Is there a 1-Year Historical Lookback Limit for 1-Minute Interval Data in get_history?

Options
Ariel
Ariel Newcomer

Hello Developer Community,

I am trying to retrieve historical intraday data with a 1-minute interval for periods extending further back than one year using the lseg.data library in Python.

THE GOAL: My objective is to pull a continuous stream of minute-level data for a ticker like 'AAPL.O' for a period like July 2020 to July 2024.

THE PROBLEM:When I run a query with a start date older than one year, the API does not return an error. Instead, it silently ignores my start date and only returns data starting from exactly one year ago from the current date.

EXAMPLE CODE:
// --- Start of Code ---//
# Today's Date: 2025-07-08
ld.get_history(    universe=['AAPL.O'],    interval='minute',    start='2023-07-05 00:00:00',    end='2024-07-10 23:59:59')
// --- End of Code ---

Expected Result: A dataframe with data starting on or after 2023-07-05.Actual Result: The dataframe returned starts on 2024-07-08.

DEBUGGING STEPS TAKEN:To rule out general API data point limits, we performed a second test for a very small date range that was older than one year.

Test 2 Parameters: start='2023-07-05', end='2023-07-10'.This request is for a very small amount of data, well below the 3,000 point limit.

The result of this test was an EMPTY DATAFRAME.

This strongly suggests the issue is a hard limit on the data's age, not the size of the request.

THE CORE QUESTION:Could you please confirm if a one-year historical lookback limitation for 1-minute interval data is the expected behavior for the get_history function? If this one-year limit for the get_history function is indeed by design, could you please advise if there is an alternative method to retrieve older intraday data? For example, is there another function, a different API endpoint, or a specific parameter we should be using for this purpose?

Thank you for your time and any clarification you can provide.
Gustavo

Answers