A typescript client for the IEX Cloud API.
Install package
yarn add iex-cloud
Create an account on IEX Cloud and get a publishable token from the IEX cloud console. You should use a sandbox token and endpoint for testing.
Put your API tokens to your environment file (.env
) and specify version (default is v1
) and IEX environment cloud
(default) or sandbox
if needed:
IEX_API_TOKEN=pk_XXXX
IEX_API_SECRET_TOKEN=sk_XXXX
IEX_API_SECRET_VERSION=beta
IEX_API_ENV=cloud
Call any methods:
import { metadata } from 'iex-cloud';
metadata().then(result => console.log(result));
Below is a list of the APIs that have and have not been implemented. If you want a particular API to be developed next, please open an issue.
- Batch Requests
- Time Series
- Calendar
- Data Points
- Message Budget
- Metadata
- Pay as you go
- Signed Requests
- Usage
- Status
- Book
- Delayed Quote
- Historical Prices
- Intraday Prices
- Largest Trades
- OHLC
- Previous Day Price
- Price Only
- Quote
- Volume by Venue
- Company
- Insider Roster
- Insider Summary
- Insider Transactions
- Logo
- Peer Groups
- Balance Sheet
- Cash Flow
- Dividends (Basic)
- Earnings
- Financials
- Financials As Reported
- Income Statement
- Splits (Basic)
- Advanced Stats
- Analyst Recommendations
- Estimates
- Fund Ownership
- Institutional Ownership
- Key Stats
- Price Target
- Technical Indicators
- Bonus Issue
- Distribution
- Dividends
- Return of Capital
- Rights Issue
- Right to Purchase
- Security Reclassification
- Security Swap
- Spinoff
- Splits
- Collections
- Earnings Today
- IPO Calendar
- List
- Market Volume (U.S.)
- Sector Performance
- Upcoming Events
- News
- Streaming News
- Historical News
- Cryptocurrency Book
- Cryptocurrency Events
- Cryptocurrency Price
- Cryptocurrency Quote
- Real-time Streaming
- Latest Currency Rates
- Currency Conversion
- Historical Daily
- End of Day Options
- Social Sentiment
- CEO Compensation
- Daily Treasury Rates
- Oil Prices
- Natural Gas Price
- Heating Oil Prices
- Jet Fuel Prices
- Diesel Price
- Gas Prices
- Propane Prices
- CD Rates
- Consumer Price Index
- Credit Card Interest Rate
- Federal Fund Rates
- Real GDP
- Institutional Money Funds
- Initial Claims
- Industrial Production Index
- Mortgage Rates
- Total Housing Starts
- Total Payrolls
- Total Vehicle Sales
- Retail Money Funds
- Unemployment Rates
- US Recession Probabilities
- Search
- Cryptocurrency Symbols
- FX Symbols
- IEX Symbols
- International Symbols
- International Exchanges
- ISIN Mapping
- Mutual Fund Symbols
- Options Symbols
- OTC Symbols
- Sectors
- Symbols
- Tags
- U.S. Exchanges
- U.S. Holidays and Trading Days
- DEEP
- DEEP Auction
- DEEP Book
- DEEP Operational Halt Status
- DEEP Official Price
- DEEP Security Event
- DEEP Short Sale Price Test Status
- DEEP System Event
- DEEP Trades
- DEEP Trade Break
- DEEP Trading Status
- Last
- Listed Regulation SHO Threshold Securities List
- Stats Historical Daily
- Stats Historical Summary
- Stats Intraday
- Stats Recent
- Stats Records
- TOPS
See documentation here
See CONTRIBUTING.
MIT License Copyright (c) 2019 Alexander Kireev and Contributors.