Depa LogoDocsv1
API Reference

Market Data

Reference data for trading: the pairs you can trade, with minimum sizes and decimal precision, and current prices.

Availability depends on the liquidity venues enabled for your account.

List supported pairs

GET/supported_pairs

Returns the pairs you can trade, with the minimum order size and the decimal precision allowed on each side. Availability depends on the liquidity venues enabled for your account; pass provider to list one venue's pairs.

Authorization

BearerAuth
AuthorizationBearer <token>

Token from POST /sign_in, sent as Authorization: Bearer <token>.

In: header

Query Parameters

provider?string

Return only the pairs of this liquidity venue.

Value in

  • "binance"
  • "kraken"
  • "keyrock"

Response Body

application/json

application/json

curl -X GET "https://example.com/supported_pairs?provider=kraken"
{  "data": [    {      "pair": "USDC/EUR",      "quote_resolution": "2",      "base_resolution": "6",      "min_volume": "10",      "min_amount": "10"    }  ]}

Retrieve a price

GET/prices

Returns the current price of a pair, in quote asset per unit of base asset. Pass type=sell for the price you'd get selling; the default buy includes the buy-side spread.

Authorization

BearerAuth
AuthorizationBearer <token>

Token from POST /sign_in, sent as Authorization: Bearer <token>.

In: header

Query Parameters

pair*string

Pair to price, base/quote.

type?string

Side of the order. Each side has its own spread.

Default"buy"

Value in

  • "buy"
  • "sell"

Response Body

application/json

application/json

curl -X GET "https://example.com/prices?pair=BTC%2FEUR"
{  "data": {    "price": 61250.5,    "pair": "BTC/EUR"  }}
🍪 We do not track your behaviour or use any cookie on this site.