Last Aggregate

Get last aggregate returns the latest aggregate bar for a crypto pair.

Get Last Aggregate

GET https://api.abyiss.com/v1/{exchange}/{market}/lastaggregate/{aggregate size}

Returns an object with the latest aggregate or candlestick of a crypto pair.

Path Parameters

NameTypeDescription

exchange*

string

Unique exchange identifier used by Abyiss.

market*

string

Unique Crypto Pair identifier used by the exchange.

aggregate size*

string

Aggregate bar or candlestick time frame. (1m, 5m, 15m, 1h, 6h, 1d)

Query Parameters

NameTypeDescription

apiKey*

string

Your Abyiss API Key

{
    "exchange": "coinbasepro",
    "market": "BTC/USD",
    "timeframe": "1m",
    "t": 1644515400000,
    "o": 45203.6,
    "h": 45216.72,
    "l": 45183.93,
    "c": 45200.37,
    "v": 5.43995508
}

Copy & Paste Code

curl -H "apiKey: API KEY" https://api.abyiss.com/v1/coinbasepro/BTC-USD/lastaggregate/1m?apiKey=*

Response Object

Example URL: https://api.abyiss.com/v1/coinbasepro/BTC-USD/lastaggregate/1m?apiKey=

{
    "exchange": "coinbasepro",
    "market": "BTC/USD",
    "timeframe": "1m",
    "t": 1644515400000,
    "o": 45203.6,
    "h": 45216.72,
    "l": 45183.93,
    "c": 45200.37,
    "v": 5.43995508
}

Response Attributes

Attribute NameData TypeDescription

exchange

string

Unique identifier used by Abyiss for the exchange.

market

string

Unique identifier used by the exchange for ticker.

timeframe

string

Aggregate bar or candlestick time frame. (1m, 5m, 15m, 1h, 6h, 1d)

t

integer

Unix timestamp at the start of the aggregate.

o

float

The open or first price of the aggregate.

h

float

The highest price of the aggregate.

l

float

The lowest price of the aggregate.

c

float

The close or last price of the aggregate.

v

float

The volume or quantity traded within the aggregate.

Last updated