v1

latestOpenAPI 3.1.02026-07-1411015.4 KB

Get Product By ID

Return details for a specific product by id

get/v1/products/product-by-id/{productID}

Path parameters

productIDinteger required

1002, 1003, etc.

Response

200

idinteger
typestring
symbolstring
activeboolean
baseAssetstring
quoteAssetstring
minQuantitystring
maxQuantitystring
incrementstring
takerFeestring
makerFeestring
isMakerRebateboolean
initialLongWeightstring
initialShortWeightstring
maintenanceLongWeightstring
maintenanceShortWeightstring
minLimitPriceMultiplierstring
maxLimitPriceMultiplierstring
oiDollarCapstring
baseAssetAddressstring
quoteAssetAddressstring
markPricestring

Example response

{
  "id": 1002,
  "type": "PERP",
  "symbol": "ethperp",
  "active": true,
  "baseAsset": "WETH",
  "quoteAsset": "USDB",
  "minQuantity": "100000000000000",
  "maxQuantity": "100000000000000000000000",
  "increment": "10000000000000",
  "takerFee": "200000000000000",
  "makerFee": "50000000000000",
  "isMakerRebate": true,
  "initialLongWeight": "950000000000000000",
  "initialShortWeight": "1050000000000000000",
  "maintenanceLongWeight": "970000000000000000",
  "maintenanceShortWeight": "1030000000000000000",
  "minLimitPriceMultiplier": "250000000000000000",
  "maxLimitPriceMultiplier": "4000000000000000000",
  "oiDollarCap": "1000000000000000000000000000000",
  "baseAssetAddress": "0x4200000000000000000000000000000000000023",
  "quoteAssetAddress": "0x79a59c326c715ac2d31c169c85d1232319e341ce",
  "markPrice": "3104025893791460427908"
}