Returns product by id
Changed onRequest
- Base URLhttps://api.ethereal.trade
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Response
Example response
{
"baseTokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"baseTokenName": "ETH",
"blockNumber": "123062737",
"createdAt": 1712019600000,
"cumulativeFundingUsd": "1.001",
"displayTicker": "ETH-USD",
"fundingBaselineApr": "0.15",
"fundingClampApr": "0.01",
"fundingMaxApr": "2.0",
"fundingRate1h": "0.01",
"fundingUpdatedAt": 1721724269,
"id": "9036443a-441a-4a66-87f2-bd5c44cdca7a",
"lotSize": "0.01",
"makerFee": "0.001",
"maxLeverage": 20,
"maxOpenInterestUsd": "200000000.0",
"maxPositionNotionalUsd": "50000000.0",
"maxPrice": "100000",
"maxQuantity": "100000",
"minPrice": "0",
"minQuantity": "0.01",
"onchainId": 1,
"openInterest": "3300.17",
"pythFeedId": 2,
"quoteTokenAddress": "0x4c9EDD5852cd905f086C759E8383e09bff1E68B3",
"quoteTokenName": "USDe",
"status": "ACTIVE",
"takerFee": "0.004",
"tickSize": "0.0001",
"ticker": "ETHUSD",
"volume24h": "500000000.42"
}Changes
- warning
added the new
DELISTEDenum value to theresponse property for the response status - info
added the non-success response with the status
- warning
- breaking
the
response's property type changed fromnumberto no type for status - info
added to the
response propertyallOflist for the response status - info
the
response's property default valueBad Requestwas removed for the status - info
the
response's property default valueForbiddenwas removed for the status - info
the
response's property default valueNot Foundwas removed for the status - info
the
response's property default valueToo Many Requestswas removed for the status - info
the
response's property default valueUnauthorizedwas removed for the status - info
the
response's property default valueUnprocessable Entitywas removed for the status - info
the
response's property default value400was removed for the status - info
the
response's property default value401was removed for the status - info
the
response's property default value403was removed for the status - info
the
response's property default value404was removed for the status - info
the
response's property default value422was removed for the status - info
the
response's property default value429was removed for the status - info
response property
minQuantitydeprecated - info
removed the
0.00enum value from theresponse property for the response status - info
removed the
1.00enum value from theresponse property for the response status - info
response property
messagelist-of-types was narrowed by removing typesarrayfrom media typeapplication/jsonof response400
- breaking