OHLC

Returns the latest OHLC data.

Get OHLC

GET https://api.vaultoro.com/v1/public/ohlc

This endpoint allows you to get OHLC data. If you don't send the since parameter in the query, it will return the OHLC data for the last 24 hours.

Query Parameters

NameTypeDescription

since

number

Unix timestamp to filter the results since.

pair

string

Allowed pair to filter results by.

{
    "data": [
        {
            "close": "0.00615450",
            "createdAt": 1595355655,
            "high": "2.00000000",
            "low": "0.00615450",
            "open": "0.00615450",
            "pair": "GOLDBTC",
            "volume": 47
        },
        {
            "close": "0.00615450",
            "createdAt": 1595355636,
            "high": "0.00615450",
            "low": "0.00615450",
            "open": "0.00615450",
            "pair": "GOLDBTC",
            "volume": 5
        },
        {
            "close": "0.00615450",
            "createdAt": 1595355528,
            "high": "0.00615450",
            "low": "0.00615450",
            "open": "0.00615450",
            "pair": "GOLDBTC",
            "volume": 5
        },
        {
            "close": "0.00615450",
            "createdAt": 1595355111,
            "high": "0.00615450",
            "low": "0.00615450",
            "open": "0.00615450",
            "pair": "GOLDBTC",
            "volume": 5
        },
        {
            "close": "0.00615450",
            "createdAt": 1595355010,
            "high": "0.00615450",
            "low": "0.00615450",
            "open": "0.00615450",
            "pair": "GOLDBTC",
            "volume": 5
        },
        {
            "close": "0.00615450",
            "createdAt": 1595180916,
            "high": "0.00615450",
            "low": "0.00615450",
            "open": "0.00615450",
            "pair": "GOLDBTC",
            "volume": 5659
        },
        {
            "close": "0.00615450",
            "createdAt": 1594844392,
            "high": "0.00615450",
            "low": "0.00615450",
            "open": "0.00615450",
            "pair": "GOLDBTC",
            "volume": 57
        },
        {
            "close": "0.00615450",
            "createdAt": 1594757057,
            "high": "0.00615450",
            "low": "0.00615450",
            "open": "0.00615450",
            "pair": "GOLDBTC",
            "volume": 18
        }
    ],
    "pagination": {
        "count": 8
    }
}

Last updated