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 enumintervalобязательно
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"
}