Observed since 20 Oct, 17:48 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
The Abyiss Client Library
Python Client for Abyiss Cryptocurrency APIs.
To use our API please sign up for a free account here: Sign Up, and find your API Key in your Dashboard.
If you have any problems with this library, please open an issue request on Github or for any additional support please email us at support@abyiss.com.
pip install abyiss
from Abyiss import Abyiss
apiKey = "YOUR API KEY""
client = Abyiss.Client(apiKey)
exchanges = client.getExchanges()
exchangeDetails = client.getExchangeDetails("coinbasepro")
exchangeStatus = client.getExchangeStatus("coinbasepro")
exchangeMarkets = client.getExchangeMarkets("coinbasepro")
exchangeMarketDetails = client.getMarketDetails("coinbasepro", "BTC-USDT")
aggregates = client.aggregates("coinbasepro", "BTC-USDT", "1h", '300')
trades = client.trades("coinbasepro", "BTC-USDT", '300')
quotes = client.quotes("coinbasepro", "BTC-USDT")
orderbook = client.orderBook("coinbasepro", "BTC-USDT")
apiKey = "(s2nKF1s2S^Xj6(43z6x6VCh18Ao5Qhu@*6"
# Create an instance of the Abyiss class with your API key
client = Abyiss.Client(apiKey)
Instance of the Abyiss class with your API key
Parameters:
Returns a 200 status code upon successful query.
exchanges = client.getExchanges()
Returns an array of all supported exchanges in the form of market objects.
Parameters:
Response Attributes:
Response Object:
[
{
"name":"Binance",
"id":"binance"
},
{
"name":"Binance US",
"id":"binanceus"
},
{
"name":"Coinbase Pro",
"id":"coinbasepro"
},
{
"name":"BitBay",
"id":"bitbay"
}
]
exchangeDetails = client.getExchangeDetails("exchange id")
Returns an object with properties about the exchange.
Parameters:
Response Attributes:
Response Object:
{
"name":"Coinbase Pro",
"id":"coinbasepro",
"url":"https://pro.coinbase.com/",
"hasTrades":true,
"hasAggregates":true,
"aggregateTimeframes":
{
"1m":60,
"5m":300,
"15m":900,
"1h":3600,
"6h":21600,
"1d":86400
}
}
exchangeStatus = client.getExchangeStatus("exchange id*")
Returns an object with properties that describe an exchange's status.
Parameters:
Response Attributes:
Response Object:
{
"status":"ok",
"updated":1634929487916
}
exchangeMarkets = client.getExchangeMarkets("exchange id*")
Returns an array of all crypto pair ids on the exchange.
Parameters:
Response Attributes:
Response Object:
[
"OGN/BTC",
"REQ/BTC",
"KEEP/USD",
"AAVE/USD",
"SKL/GBP",
"MIR/EUR",
"FORTH/EUR",
"DOT/USDT"
]
exchangeMarketDetails = client.getMarketDetails("exchange id*", "market id*")
Returns an object with properties about the crypto pair.
Parameters:
Response Attributes:
Response Object:
{
"exchange":"coinbasepro",
"symbol":"BTC/USD",
"id":"BTC-USD",
"active":true,
"base":"BTC",
"quote":"USD",
"percentage":true,
"taker":0.005,
"maker":0.005,
"type":"spot"
}
aggregates = client.aggregates("exchange id*", "market id*", "aggregate size*", 'limit')
Returns an array of recent aggregate candlesticks of a given aggregate size for a market on an exchange.
Parameters:
Response Attributes:
Response Object:
{
"exchange": "coinbasepro",
"market": "BTC/USD",
"timestamp": 1639532040000,
"open": 48080,
"high": 48111.79,
"low": 48080,
"close": 48088.72,
"volume": 2.55482409
}
trades = client.trades("exchange id*", "market id*", 'limit')
Returns an array of recent trades that have occurred on an exchange for a crypto pair.
Parameters:
Response Attributes:
Response Object:
{
"exchange": "coinbasepro",
"market": "BTC/USD",
"id": "251180247",
"timestamp": "1639534096083",
"price": 47887.03,
"size": 0.00013904,
"cost": 6.6582126511999995,
"side": "sell"
}
quotes = client.quotes("exchange id*", "market id*")
Returns an array of recent quotes that have occurred on an exchange for a crypto pair.
Parameters:
Response Attributes:
Response Object:
{
"exchange":"coinbasepro",
"market":"BTC/USD",
"nonce":14601360013,
"bids":
[
[
61947.91,
1.48088
],
[
61947.9,
0.5
],
[
61944.07,
0.44094
]
],
"asks":
[
[
61947.92,
2.28573
],
[
61952.89,
0.11214
],
[
61952.9,
0.50224
]
]
}
level2 = client.orderBook("exchange id*", "market id*")
Returns a snapshot of the recent level 2 orderbook for a crypto pair on an exchange.
Parameters:
Response Attributes:
Response Object:
{
"exchange":"coinbasepro",
"market":"BTC/USD",
"nonce":14601360013,
"bids":
[
[
61947.91,
1.48088
],
[
61947.9,
0.5
],
[
61944.07,
0.44094
]
],
"asks":
[
[
61947.92,
2.28573
],
[
61952.89,
0.11214
],
[
61952.9,
0.50224
]
]
}
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 1.0.1 | 28 Aug 2022 | 5 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 17:48 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:2ac2c46c8471da2f1f7d1c4d266f0671f6752a77ff3720fcc1e3671f2517b728