# Generate a liquidity-based asset ranking

Identify an asset's liquidity, put it into a ranking and then compare it with the market cap to evaluate its true value. Go beyond simple market capitalization to generate more accurate token value estimates.&#x20;

<figure><img src="https://lh7-eu.googleusercontent.com/docsz/AD_4nXd-soZkMfBr55ZxN9u1l7ekBpqu9L-5wbfcAI7SaiCMEdIZQx0rOEK6VYhX_DYJ1xbaehVcI69o8DYkN2wnEEKD1HMmwDfuaO4RYtr-rg5zcgjpIM04aPJW2n7MmVVBGhYrZb4j1Z4oVqdaF1xcSngWENg?key=yKeDMZ63ctoLut6nyqnEtA" alt=""><figcaption></figcaption></figure>

The graph above shows the market depth for FFT, and highlights how there was a significant drop in liquidity - even though it was in the top 20 for market cap - prior to its collapse.&#x20;

### <mark style="color:blue;">How to build the request</mark>

With the Market Metrics **Asset endpoint,** you can use the following parameters to source the specific information you're looking for:

| Paramater   | Value                    |
| ----------- | ------------------------ |
| asset       | FTT                      |
| start\_time | 2022-11-05T00:00:00.000Z |
| end\_time   | 2022-11-28T00:00:00.000Z |
| interval    | 1d                       |
| sources     | true                     |

You can find specific asset codes from our [instruments explorer](https://instruments.kaiko.com/#/instruments) or [reference data](https://docs.kaiko.com/#assets).

*NOTE: To calculate the gap between market depth, you'll need access to market cap data.*&#x20;

Here's an example of an HTTP string request using the values above:

<https://us.market-api.kaiko.io/v2/data/analytics.v2/asset\\_metrics?start\\_time=2022-11-05T00:00:00.000Z\\&end\\_time=2022-11-28T00:00:00.000Z\\&asset=fft\\&interval=1d><br>

When you receive your response, search for the following fields to find the data you need:

* timestamp
* buy\_market\_depths
* sell\_market\_depths

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.kaiko.com/getting-started/kaiko-examples/generate-a-liquidity-based-asset-ranking.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
