指定要从中获取数据的确切市场

Specifying exact market to fetch data from

我有这个 GET 请求(我正在使用 CoinGecko v3 API):

https://api.coingecko.com/api/v3/coins/markets?vs_currency=usd&ids=bitcoin%2Cethereum&order=market_cap_desc&per_page=10&page=1&sparkline=false&price_change_percentage=24h

这是回复:

[
    {
        "id": "bitcoin",
        "symbol": "btc",
        "name": "Bitcoin",
        "image": "https://assets.coingecko.com/coins/images/1/large/bitcoin.png?1547033579",
        "current_price": 37282,
        "market_cap": 695279311602,
        "market_cap_rank": 1,
        "fully_diluted_valuation": 779474926827,
        "total_volume": 52300678011,
        "high_24h": 38849,
        "low_24h": 34846,
        "price_change_24h": 2176.11,
        "price_change_percentage_24h": 6.19871,
        "market_cap_change_24h": 40112069740,
        "market_cap_change_percentage_24h": 6.12242,
        "circulating_supply": 18731668.0,
        "total_supply": 21000000.0,
        "max_supply": 21000000.0,
        "ath": 64805,
        "ath_change_percentage": -42.55568,
        "ath_date": "2021-04-14T11:54:46.763Z",
        "atl": 67.81,
        "atl_change_percentage": 54799.24708,
        "atl_date": "2013-07-06T00:00:00.000Z",
        "roi": null,
        "last_updated": "2021-06-10T14:42:39.019Z",
        "price_change_percentage_24h_in_currency": 6.198713712795321
    },
    {
        "id": "ethereum",
        "symbol": "eth",
        "name": "Ethereum",
        "image": "https://assets.coingecko.com/coins/images/279/large/ethereum.png?1595348880",
        "current_price": 2520.14,
        "market_cap": 291669768272,
        "market_cap_rank": 2,
        "fully_diluted_valuation": null,
        "total_volume": 38753989678,
        "high_24h": 2636.43,
        "low_24h": 2491.85,
        "price_change_24h": -6.0279837,
        "price_change_percentage_24h": -0.23862,
        "market_cap_change_24h": -1426298398.7143555,
        "market_cap_change_percentage_24h": -0.48663,
        "circulating_supply": 116234761.124,
        "total_supply": null,
        "max_supply": null,
        "ath": 4356.99,
        "ath_change_percentage": -42.23601,
        "ath_date": "2021-05-12T14:41:48.623Z",
        "atl": 0.432979,
        "atl_change_percentage": 581168.88568,
        "atl_date": "2015-10-20T00:00:00.000Z",
        "roi": {
            "times": 89.12606988362417,
            "currency": "btc",
            "percentage": 8912.606988362417
        },
        "last_updated": "2021-06-10T14:42:34.517Z",
        "price_change_percentage_24h_in_currency": -0.2386217557990123
    }
]

我对 total_volume 字段及其值感兴趣。

我不确定,文档中没有解释这个值是如何计算的。 我想,但也许我完全错了,这个领域的价值就像所有市场的平均水平。

但是我如何从特定市场(比如 Binance)获得这个价值。

是否有这样的事情的终点,例如。传递市场 ID 并仅从该市场获取数据?

我不完全确定,但在我看来,这更多是货币本身的问题,而不是市场的问题。就是24小时内的总兑换量,24小时内兑换了多少这种货币?

唯一让我不安的一点是缺少时间指示器。但是如果我参考这个:https://support.coinmarketcap.com/hc/en-us/articles/360043395912-Volume-Market-Pair-Cryptoasset-Exchange-Aggregate。我认为这是在给定时间内交换的数量。

比较这里的值:https://coinmarketcap.com/en/currencies/bitcoin/ 在“Volume 24h”中,我看到该值几乎相同。