Time Series API
Build Time Series APIs into your digital experience for quick investment and earnings summaries.
Troubleshooting
Use this page to diagnose a failed request or a response that doesn't contain what you expected. Each issue lists the likely causes and how to fix them. For the meaning of a specific error code, see Errors.
Before You Start
Most problems can be traced to one of the following. Check them first.
- The
Authorizationheader containsBearer {token}, with a token less than 60 minutes old. - The path follows the pattern
/direct-web-services/time-series/v1/{category}/{data-point}/{ids}, and the category and data point exist. - The request contains no more than 25 investments.
- Dates are in
yyyy-MM-ddformat. frequencyis one ofdaily,weekly,monthly,quarterlyorannually.- The time range is within the lookback limit for the frequency.
Reading an Error Response
A failed request returns a statusCode, an errorCode, a message and a requestId. The message describes the problem, often naming the parameter or data point involved.
{
"statusCode": 400,
"errorCode": "400.timeSeries.009",
"message": "Invalid frequency 'm' for datapoint 'daily-closing-price'.",
"requestId": "c63e7f6c-b52d-42c3-9d1b-4a4b4ac05f3c"
}
Use the errorCode to look up the issue on the Errors page. Keep the requestId in case you need to contact support.
Authentication and Access
Token Request Fails
401 Unauthorized
Investments Return No Data on a Trial Account
Request Errors
400 Bad Request
Invalid Frequency
Invalid Date Format
Too Many Investments
Time Range Is Beyond the Lookback Limit
Wrong Category or Data Point in the Path
Since Inception Isn't Supported for Multivariate Data Points
Unexpected Results
An Investment Is Missing From the Response
The Wrong Investment Was Returned
The Time Range Isn't What I Set
The Series Starts Later Than the Start Date
Investments Start on Different Dates
Fewer Observations Than Expected
Values Are in an Unexpected Currency
Computed Results Use a Different Performance Type
Euro Results Before 1999
The Data Has a Different Shape Than Expected
Still Stuck?
- Check the Errors page for the full list of error codes.
- Browse the FAQs.
- Review how requests are built in Request Time Series Data.
- If you contact support, include the
requestIdfrom the response.