[Deprecated] Volume API

Market transaction volume inquiry ( Volume for 24 hours )

Get All market 24h volume

GET https://open-api.dexlab.space/v1/volumes

{
    "success": true,
    "data": [
        {
            "name": "SRM/SOL",
            "address": "8Jzed8Fafu1RU1CQDWdiETSrqAJy1ukZ5JL6Pma3p3a2",
            "programId": "EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o",
            "totalVolume": 934.3882,
            "sellVolume": 471.6509,
            "buyVolume": 462.73729999999995,
            "highPrice": "0.4940000000",
            "lowPrice": "0.4560000000"
        },
        {
            "name": "ALEPH/USDT",
            "address": "5xnYnWca2bFwC6cPufpdsCbDJhMjYCC59YgwoZHEfiee",
            "programId": "EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o",
            "totalVolume": 13.525680000000001,
            "sellVolume": 0,
            "buyVolume": 13.525680000000001,
            "highPrice": "0.4074000000",
            "lowPrice": "0.4074000000"
        }
    ]
}

Get market 24h volume for address

GET https://open-api.dexlab.space/v1/volumes/:address

Path Parameters

NameTypeDescription

address

string

market address( ex. 7xLk17EQQ5KLDLDe44wCmupJKJjTGd8hs3eSVVhCx932 )

{
    "success": true,
    "data": {
        "market_name": "SOL/USDT",
        "address": "7xLk17EQQ5KLDLDe44wCmupJKJjTGd8hs3eSVVhCx932",
        "programId": "EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o",
        "price": 3.562,
        "summary": {
            "totalVolume": 29755.070900000002,
            "sellVolume": 24890.7649,
            "buyVolume": 4864.306,
            "highPrice": "3.4910000000",
            "lowPrice": "3.0000000000"
        },
        "last24hOrder": {
            "exist": true,
            "time": "2021-01-16T16:03:31.100Z",
            "price": "3.4070000000",
            "percent": 0
        }
    }
}

Last updated