Annex Docs
Search…
Annex Docs
Annex Docs
Annex Finance Documentation
Getting Started
ATokens
Comptroller
Governance
API
STokenService
MarketHistoryService
GET: /market_history/graph
ProposalService
VoterService
GovernanceService
Shared Data Types
Annex.js
Auction
Security
Pools
Powered By
GitBook
MarketHistoryService
The market history service retrieves historical information about a market. You can use this API to find out the values of interest rates at a certain point in time. Its especially useful for making charts and graphs of the time-series values.
1
// Returns 10 buckets of market data
2
fetch("https://api.annex.finance/api/market_history/graph?asset=0xf5dce57282a584d2746faf1593d3121fcac444dc&type=1day");
Copied!
GET: /market_history/graph
Previous
GET: /atoken
Next
GET: /market_history/graph
Last modified
10mo ago
Copy link