Resources and Endpoints
Below is a list of the main resources and endpoints in the SensaAI REST API.
Resource | Description | EndPoints |
---|---|---|
Stock Ratings | Retrieves a stock ratings object or a list of stock ratings objects. | GET /data/v1/stock_ratings/:tickerGET /data/v1/stock_ratings |
Stock Financials | Retrieves financial data for a stock. | GET /data/v1/stock_financials/:ticker |
Stock Metrics | Retrieves performance metrics for a stock. | GET /data/v1/stock_metrics/:ticker |
Stock Performance | Retrieves periodic performance for a stock. | GET /data/v1/stock_performance/:ticker |
Portfolios | Retrieves a portfolio or a list of portfolios. | GET /data/v1/portfolios/:idGET /data/v1/portfolios |
Portfolio Holdings | Retrieves portfolio holdings for a portfolio. | GET /data/v1/portfolio_holdings/:id |
Portfolio Trades | Retrieves trade instructions for a portfolio on latest rebalance date. | GET /data/v1/portfolio_trades/:id |
Portfolio Metrics | Retrieves performance metrics for a portfolio. | GET /data/v1/portfolio_metrics/:id |
Portfolio Performance | Retrieves periodic portfolio performance for a portfolio | GET /data/v1/portfolio_performance/:id |
Watchlists | Retrieves a watchlist or a list of watchlists. | GET /data/v1/watchlists/:idGET /data/v1/watchlists |
Watchlist Items | Retrieves list of stocks in a watchlist. | GET /data/v1/watchlist_items |
Benchmarks | Retrieves a list of available benchmarks which can be utilized for performance comparison purposes. | GET /data/v1/benchmarks |