api.xeggex.com Open in urlscan Pro
2606:4700:20::681a:72b  Public Scan

Submitted URL: http://api.xeggex.com/
Effective URL: https://api.xeggex.com/
Submission: On November 26 via api from US — Scanned from DE

Form analysis 1 forms found in the DOM

<form class="download-url-wrapper"><input class="download-url-input" type="text" value="/openapi.json"><button class="download-url-button button">Explore</button></form>

Text Content

Explore


XEGGEX REST API

 1.2.1 

OAS3

/openapi.json

API Documentation for the Xeggex.com REST API

ENDPOINT URL

https://api.xeggex.com/api/v2



DATETIME FORMATTING

Timestamps returned as String are in ISO8601 format in UTC. Example:
"2021-12-01T00:00:00Z" or "2021-12-01T00:00:00.000Z". If a timestamp is returned
as a Number, then that is a Unix timestamp in milliseconds.



PRECISION FORMATTING

All finance data such as price, quantity, and fee should be string
representation of arbitrary precision numbers to prevent floating point issues.
Example: "9823.23932892". Integers should be represented in integer format and
not a string.



AUTHENTICATION

There are two authentication methods available for you to choose from. Basic
Auth & HmacSha256 Signed Requests. Signed requests are more secure as it
prevents replay attacks and accidental duplicate calls.



FIND A LIBRARY TO USE AND OTHER EXAMPLES IN OUR GITHUB:

GitHub: https://github.com/xeggex/



ERROR CODES



Error Code HTTP Status Code Message Details 400 400 Unknown error An unknown
error occurred somewhere in the system 402 400 Method not found The requested
API method was not found 403 401 Action is forbidden for account 429 429 Too
many requests Action is being rate limited for account 500 500 Internal Server
Error 503 503 Service Unavailable Try it again later 504 504 Gateway Timeout
Check the result of your request later 1001 401 Authorization required 1002 401
Authorization failed 1003 403 Action is forbidden for this API key Check
permissions for API key 1004 401 Unsupported authorisation method Use Basic
authentication 2001 400 Symbol not found 2002 400 Currency not found 10001 400
Validation error Input not valid 20001 400 Insufficient funds Insufficient funds
for creating order or any account operation 20002 400 Order not found Attempt to
get active order that not existing, filled, canceled or expired. 20003 400 Limit
exceeded Withdrawal limit exceeded 20004 400 Transaction not found Requested
transaction not found 20005 400 Payout not found 20006 400 Payout already
committed 20007 400 Payout already rolled back 20008 400 Duplicate clientOrderId
20010 400 Address generation error Unable to generate a new deposit address. Try
request later. 20011 400 Withdrawal not found The referenced withdrawal was not
found. 20012 400 Withdrawals disabled Withdrawals are disabled for this currency
or system wide. Check system status page. 20013 400 Withdrawal amount below
minimum Minimum withdrawal amount for any currency is Withdraw Fee * 2. 20014
400 Withdrawal address invalid Ensure the address you are withdrawing to is
correct. 20015 400 Payment ID Required This currency requires a paymentId when
making a withdrawal request. 20016 400 Invalid confirmation code The provided
confirmation code is incorrect. 20017 400 Withdraw already confirmed The
withdrawal request has already been confirmed.

Servers
https://api.xeggex.com/api/v2
Authorize



PUBLIC


GET/asset/getlist
Get a list of assets
GET/asset/getbyid/{assetId}
Get asset by id
GET/asset/getbyticker/{ticker}
Get asset by ticker
GET/market/getlist
Get list of markets
GET/market/getbyid/{marketId}
Get market by marketid
GET/market/getbysymbol/{symbol}
Get market by symbol
GET/pool/getlist
Get list of liquidity pools
GET/pool/getbyid/{poolId}
Get liquidity pool by poolid
GET/pool/getbysymbol/{symbol}
Get liquidity pool by symbol
GET/market/getorderbookbysymbol/{symbol}
Get orderbooks by symbol
GET/market/getorderbookbymarketid/{marketId}
Get orderbooks by marketid
GET/market/candles
Get candlesticks by symbol


AGGREGATOR DATAFEED FORMAT


GET/info
Information about the exchange.
GET/summary
CMC summary information for all markets.
GET/cmcassets
CMC datafeed endpoint A1
GET/cmctickers
CMC datafeed endpoint A2
GET/cmcorderbook/{symbol}
CMC datafeed endpoint A3
GET/cmctrades/{symbol}
CMC datafeed endpoint A4
GET/markets
Get Markets Listing.
GET/trades
Get historical trades for a market.
GET/orders/snapshot
Get market orderbook snapshot.
GET/pairs
Details on cryptoassets traded on an exchange.
GET/ticker/{symbol}
Market related statistics for single market for the last 24 hours.
GET/tickers
Market related statistics for all markets for the last 24 hours.
GET/orderbook
Order book depth of any given market trading pair, split into two different
arrays for bid and ask orders
GET/historical_trades
Historical market trade data for any given trading pair.
GET/historical_pooltrades
Historical liquidity pool trade data for any given trading pair.


ACCOUNT


GET/balances
Get detailed acccount balance information
GET/getdepositaddress/{ticker}
Get your deposit address
POST/createorder
Make a new spot market trade order
POST/cancelorder
Cancel an open spot trade order
POST/cancelallorders
Cancel a batch of open orders in a spot market
POST/createwithdrawal
Make a new withdrawal request
GET/getdeposits
Get a list of your account deposits.
GET/getwithdrawals
Get a list of your account withdrawals.
GET/getorder/{orderId}
Get an order by id.
GET/getorders
Get a list of your spot market orders.
GET/gettrades
Get a list of your spot market trades.
GET/gettradessince
Get a list of your spot trades since a timestamp in millisec.
GET/getpooltrades
Get a list of your liquidity pool trades.
GET/getpooltradessince
Get a list of your liquidity pool trades since a timestamp in millisec.

SCHEMAS

Asset
DepositAddress
LiquidityPool
Market
Market2
Market3
LiquidityPool2
LiquidityPool3
Info
Markets
Trades
Snapshot
Pair
Ticker
OrderBook
OrderBook2
OrderBookItem
Trade
PoolTrade
Order
Candlesticks
CandlestickItem
HistoricalTrade
Balance
Deposit
Withdrawal
Summary
Error