📕
Vaultoro API Docs
  • Getting Started
  • Example API Calls
  • Public
    • Reset email
    • OHLC
    • Orders
    • Ticker
    • Trades
    • Trading Fees
    • Audit
  • Private
  • Ledger
  • Assets
  • Balances
  • History
    • Export
    • Fees
    • Trades
    • Transactions
  • Orders
  • OTC
  • Referrals
  • Tokens
  • Trading Fees
  • User
  • Login History
  • Change Email
  • Audit
  • Portfolio
  • Pending Approvals
  • Unverify
  • Update Terms Version
  • Address Book
    • Delete address
    • Update Address
    • List Addresses
    • Enable Address Book Whitelist
    • Disable address book whitelist
Powered by GitBook
On this page

Was this helpful?

  1. Public

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

Name
Type
Description

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
    }
}

PreviousReset emailNextOrders

Last updated 4 years ago

Was this helpful?