# 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.

```
// Returns 10 buckets of market data
fetch("https://api.aquarius.loan/api/market_history/graph?asset=0xf5dce57282a584d2746faf1593d3121fcac444dc&type=1day");
```

{% content-ref url="markethistoryservice/get-graph" %}
[get-graph](https://docs.aquarius.loan/api/markethistoryservice/get-graph)
{% endcontent-ref %}
