Returns the product market liquidity by id
Changed onRequest
- Base URLhttps://api.ethereal.trade
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Id representing the registered product
Response
Example response
{
"asks": [
[
"4200.69",
"1337.420"
]
],
"bids": [
[
"4199.42",
"420.55"
]
],
"previousTimestamp": 1731664105881,
"productId": "9036443a-441a-4a66-87f2-bd5c44cdca7a",
"timestamp": 1731664105881
}Changes
- info
added the non-success response with the status
- info
- 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
messagelist-of-types was narrowed by removing typesarrayfrom media typeapplication/jsonof response400
- info