Financial Data
Company fundamentals, financial statements, market prices and economic data.
Get historical stock price data
Historical OHLCV bars for one stock. All four of ticker, interval, start_date and end_date are required — there is no trailing-window shortcut. interval is one of day, week, month or year. Each bar carries open, close, high, low, volume and time, wrapped in a prices array alongside the echoed ticker. Use it to chart or to measure a move across a known window. For just the latest price use get_financial_prices_snapshot.
- 類型: stringticker必填
The stock ticker symbol (e.g. AAPL, MSFT).
- 類型: string 列舉interval必填
The time interval for the price data.
值- day
- week
- month
- year
- 類型: string 格式: datestart
_date 必填The start date for the price data (format: YYYY-MM-DD).
- 類型: string 格式: dateend
_date 必填The end date for the price data (format: YYYY-MM-DD).
- 類型: object · PricesResponse200
Price data response
- 類型: stringnext
_page _url The URL to the next page of results.
- 類型: array object[] · Price[]prices
- close類型: number
The close price of the ticker in the given time period.
- high類型: number
The high price of the ticker in the given time period.
- low類型: number
The low price of the ticker in the given time period.
- open類型: number
The open price of the ticker in the given time period.
- time類型: string
The human-readable time format of the price in UTC.
- time類型: number
_milliseconds The timestamp of the price in milliseconds since epoch.
- volume類型: integer 格式: number
The volume of the ticker in the given time period.
application/json - 類型: object · ErrorResponse400
Bad request
- 類型: stringerror
A short error message.
- 類型: stringmessage
A more detailed error message.
application/json - 類型: object · ErrorResponse401
Unauthorized
- 類型: stringerror
A short error message.
- 類型: stringmessage
A more detailed error message.
application/json - 類型: object · ErrorResponse402
The request requires a paid subscription
- 類型: stringerror
A short error message.
- 類型: stringmessage
A more detailed error message.
application/json - 403
The account is not permitted to perform this operation.
- 類型: object · ErrorResponse404
The specified resource was not found
- 類型: stringerror
A short error message.
- 類型: stringmessage
A more detailed error message.
application/json - 429
A request or spending limit has been reached.
- 502
The service could not complete the request.
- 503
The API or billing service is temporarily unavailable.
- 504
The service timed out while processing the request.
- default
The operation failed. Keep the response request ID when contacting Felo support.
curl 'https://openapi.felo.ai/v1/beta/financial/prices?ticker=&interval=day&start_date=&end_date=' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"prices": [
{
"open": 1,
"close": 1,
"high": 1,
"low": 1,
"volume": 1,
"time": "string",
"time_milliseconds": 1
}
],
"next_page_url": "string"
}