cURL
curl --request POST \ --url https://api.fairground.fi/market_service.v1.MarketService/GetMarketSummary \ --header 'Authorization: Bearer <token>' \ --header 'Connect-Protocol-Version: <connect-protocol-version>' \ --header 'Content-Type: application/json' \ --data ' { "market": { "marketId": 123 } } '
{ "marketSummary": { "marketId": 123, "marketName": "<string>", "openInterest": 123, "priceChange24h": 123, "volume24h": 123, "executableDepth": { "short": 123, "long": 123 } } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Define the version of the Connect protocol
1
Define the timeout, in ms
Show child attributes
Success