[Deprecated] TV Chart API

Provides the Dexlab TradingView API.

page[Deprecated] Pair API

Get Base Config

GET https://tv-api.dexlab.space/v1/trade-history/tv/config

Get TradingView Chart Config.

{
    "supported_resolutions": [
        "1",
        "3",
        "5",
        "15",
        "30",
        "60",
        "120",
        "180",
        "240",
        "1D"
    ],
    "supports_group_request": false,
    "supports_marks": false,
    "supports_search": true,
    "supports_timescale_marks": false
}

Get Symbol Info

GET https://tv-api.dexlab.space/v1/trade-history/tv/symbols

Query Parameters

NameTypeDescription

symbol

string

DXL

{
    "name": "DXL",
    "ticker": "DXL",
    "description": "DXL",
    "type": "Spot",
    "session": "24x7",
    "exchange": "Dexlab",
    "listed_exchange": "Dexlab",
    "timezone": "Etc/UTC",
    "has_intraday": true,
    "supported_resolutions": [
        "1",
        "3",
        "5",
        "15",
        "30",
        "60",
        "120",
        "180",
        "240",
        "1D"
    ],
    "minmov": 1,
    "pricescale": 100
}

Get History

GET https://tv-api.dexlab.space/v1/trade-history/tv/history

Query Parameters

NameTypeDescription

symbol

string

DXL/USDC

from

number

1627826778( timestamp )

to

number

1627913178( timestamp )

resolution

string

{
    "s": "ok",
    "t": [
        1627827420,
        1627829760,
        1627830240,
        1627832220,
        1627912920
    ],
    "c": [
        0.0353,
        0.0354,
        0.0353,
        0.0353,
        0.0353
    ],
    "o": [
        0.0353,
        0.0354,
        0.0353,
        0.0353,
        0.0358
    ],
    "h": [
        0.0353,
        0.0354,
        0.0353,
        0.0353,
        0.0358,
        0.0365,
        0.0365,
        0.0358,
        0.0358,
        0.0358,
        0.0358,
        0.0358,
        0.0358,
        0.0358,
        0.0358,
        0.0358,
        0.0358,
        0.0358,
        0.0358,
        0.0358,
        0.0358,
        0.0358,
        0.0358,
        0.0358,
        0.0358,
        0.0358,
        0.0358,
        0.037,
        0.0358,
        0.037,
        0.0358,
        0.0369,
        0.0369,
        0.0358,
        0.0358,
        0.0358,
        0.0358,
        0.0358,
        0.037,
        0.0358,
        0.0358,
        0.037,
        0.037,
        0.039,
        0.039,
        0.039,
        0.039,
        0.0395,
        0.0394,
        0.0393,
        0.0393,
        0.0391,
        0.0389,
        0.0387,
        0.0387,
        0.0387,
        0.0385,
        0.0385,
        0.0385,
        0.0383,
        0.0381,
        0.0381,
        0.0381,
        0.0379,
        0.0379,
        0.0377,
        0.0377,
        0.0375,
        0.0377,
        0.0373,
        0.0372,
        0.0366,
        0.0358,
        0.0358,
        0.0358,
        0.036,
        0.0358,
        0.036,
        0.036,
        0.036,
        0.0361,
        0.036,
        0.0355,
        0.0355,
        0.0355,
        0.0353,
        0.0353,
        0.0352,
        0.0351,
        0.0351,
        0.0351,
        0.035,
        0.0352,
        0.035,
        0.035,
        0.035,
        0.035,
        0.0348,
        0.0346,
        0.0349,
        0.0346,
        0.0343,
        0.0346,
        0.0343,
        0.0343,
        0.0342,
        0.0342,
        0.0343,
        0.034,
        0.0339
    ],
    "l": [
        0.0353,
        0.0354,
        0.0353,
        0.0353,
        0.0358
    ],
    "v": [
        10000,
        71.27,
        5949.01,
        372.78,
        1000,
        1000
    ]
}

Last updated