Current Price

Get current price returns the real-time price of a crypto pair.

Get Current Price

GET https://api.abyiss.com/v2/cex/{exchange}/{market}/currentprice

Returns an object with the real-time price of a crypto pair.

Path Parameters

NameTypeDescription

exchange*

sring

Unique exchange identifier used by Abyiss.

market*

string

Unique Crypto Pair identifier used by the exchange.

Query Parameters

NameTypeDescription

apiKey*

string

Your Abyiss API Key

{
    "exchange": "coinbasepro",
    "market": "BTC/USD",
    "timestamp": "1644510051396",
    "price": 45202.18
}

Copy & Paste Code

curl -H "apiKey: API KEY" https://api.abyiss.com/v2/cex/coinbasepro/BTC-USD/currentprice

Response Object

Example URL: https://api.abyiss.com/v2/cex/coinbasepro/BTC-USD/currentprice?apiKey=

{
    "exchange": "coinbasepro",
    "market": "BTC/USD",
    "timestamp": "1644510051396",
    "price": 45202.18
}

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.

timestamp

string

Unix timestamp of the current price.

price

float

The latest price of the crypto asset.

Last updated