API Docs

Sign in to try

Sign in to request data for symbols: BTC/USDT, AI/USDT, DASH/HUSD.

Sign in

/huobi/huobi/tickers

Returns a list of huobi ticker symbols (pairs). This list is updated daily.

ticker

Filter by ticker symbol

Example: BTC/USDT

page

Specific page of a paginated result to be displayed

Example: 0

page_size

Number of items displayed per page in a paginated result

Default value: 1000

data

array of object
Attributes

publisher

string
Publisher code

ticker

string
Instrument symbol (ticker)

meta

object
Request general information
Attributes

pagination

object
Pagination information
Attributes

page

integer
Current page of result

per_page

integer
Number of items displayed per page

Response

{
    "data": [
        {
            "publisher": "binance",
            "ticker": "BTC/USDT"
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "per_page": 100
        }
    }
}

/huobi/huobi/price

Returns price value for given huobi ticker.

ticker

Filter by ticker symbol

Example: BTC/USDT

at

Filter by start time using a UNIX timestamp. If not specified - last price. Else - last price from 1min interval at the event_at <= at

Example: 1686956400

p

number
Price at which the trade occurred

/huobi/huobi/time_series

This endpoint returns a time series of data points for any given huobi ticker.

ticker

Filter by ticker symbol

Example: BTC/USDT

interval

Interval between two consecutive points in time series

Values: 1m 2m 3m 4m 5m 10m 15m 20m 30m 45m 1h 2h 3h 4h 8h 12h 1d 1w 1mo 2mo 3mo 4mo

order

Sorting order of the output series

Values: desc asc

Default value: desc

start_at

Filter output by start time using a UNIX timestamp

Example: 1681963910

end_at

Filter output by end time using a UNIX timestamp

Example: 1687209110

page

Specific page of a paginated result to be displayed

Default value: 0

page_size

Number of items displayed per page in a paginated result

Default value: 30

data

array of object
Attributes

t

integer
Timestamp indicating when the trading interval opened

o

number
Price at the opening of the trading interval

h

number
Highest price reached during the trading interval

l

number
Lowest price reached during the trading interval

c

number
Closing price at the end of the trading interval

v

number
Trading volume recorded during the trading interval

Response

{
    "data": [
        {
            "t": 1675256340,
            "o": 145.35001,
            "h": 145.49001,
            "l": 145.13,
            "c": 145.46001,
            "v": 1006162
        }
    ]
}

/huobi/huobi/ticker_snapshot

This endpoint returns a combination of different data points, such as daily performance, last quote, last trade, minute data, and previous day performance.

ticker

Filter by ticker symbol

Example: BTC/USDT

country

Filter by ISO 3166 alpha-2 code

Example: US

1d

object
TickerSnapshotLastDay last day quote
Attributes

o

string
Open

h

string
High

l

string
Low

c

string
Close

v

string
Volume

1m

object
TickerSnapshotLastMonth last month quote
Attributes

o

string
Open

h

string
High

l

string
Low

c

string
Close

v

string
Volume

52w

object
TickerSnapshotLastFiftyTwoWeek fifty-two week data
Attributes

h

string
Highest price

ht

integer
Highest price timestamp

l

string
Lowest price

lt

integer
Lowest price timestamp

ch

number
Change price

chp

number
Change price percent

av

integer
Average volume

ch

object
TickerSnapshotChange quote changes
Attributes

dap

number
Daily change price percent

wep

number
Weekly change price percent

mop

number
Monthly change price percent

lt

object
TickerSnapshotLastTrade last trade
Attributes

tm

integer
Timestamp in millisencds

p

string
core_entity.Price

s

integer
Shares

p1d

object
TickerSnapshotPreviousDay previous day quote
Attributes

o

string
Open

h

string
High

l

string
Low

c

string
Close

v

string
Volume

Response

{
    "1d": {
        "o": "154.12",
        "h": "154.9",
        "l": "153.2",
        "c": "154.55",
        "v": "65893054"
    },
    "1m": {
        "o": "154.12",
        "h": "154.9",
        "l": "153.2",
        "c": "154.55",
        "v": "65893054"
    },
    "52w": {
        "h": "154.9",
        "ht": 1679951555,
        "l": "153.2",
        "lt": 1679951555,
        "ch": 30.2,
        "chp": 0.23,
        "av": 34853128
    },
    "ch": {
        "dap": 0.156,
        "wep": 0.243,
        "mop": -0.034
    },
    "lt": {
        "tm": 1687543759200,
        "p": "154.75",
        "s": 17
    },
    "p1d": {
        "o": "154.12",
        "h": "154.9",
        "l": "153.2",
        "c": "154.55",
        "v": "65893054"
    }
}

/huobi/huobi/api_usage

Returns API usage for the current dataset

No parameters are required

api_calls

object
Attributes

limit

integer
Quota limit

usage

integer
Quota usage

api_calls_dataset

object
Attributes

limit

integer
Quota limit

usage

integer
Quota usage

api_calls_price

object
Attributes

limit

integer
Quota limit

usage

integer
Quota usage

api_calls_reference

object
Attributes

limit

integer
Quota limit

usage

integer
Quota usage

api_calls_snapshots

object
Attributes

limit

integer
Quota limit

usage

integer
Quota usage

api_calls_time_series

object
Attributes

limit

integer
Quota limit

usage

integer
Quota usage

api_calls_trades

object
Attributes

limit

integer
Quota limit

usage

integer
Quota usage

historical_api_calls

object
Attributes

limit

integer
Quota limit

usage

integer
Quota usage

Response

{
    "api_calls": {
        "limit": 1000,
        "usage": 10
    },
    "api_calls_dataset": {
        "limit": 1000,
        "usage": 10
    },
    "api_calls_price": {
        "limit": 1000,
        "usage": 10
    },
    "api_calls_reference": {
        "limit": 1000,
        "usage": 10
    },
    "api_calls_snapshots": {
        "limit": 1000,
        "usage": 10
    },
    "api_calls_time_series": {
        "limit": 1000,
        "usage": 10
    },
    "api_calls_trades": {
        "limit": 1000,
        "usage": 10
    },
    "historical_api_calls": {
        "limit": 1000,
        "usage": 10
    }
}
Finazon • Marketplace for the Global Financial Data APIs
Finazon is a financial data marketplace covering stocks, forex, cryptocurrencies and beyond. Access real-time, historical and alternative data via API & WebSocket.
Url:
credit card
Finazon LLC