volumes
Retrieve traded volumes by market ids.
Changed onget/v3/markets/{market_ids}/volumes/
Request
- Base URLhttps://api.smarkets.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
market_idsinteger[] required
Market IDs to filter by<br>maxItems:300
Response
Volumes success response
Example response
{
"volumes": [
{
"double_stake_volume": 123343,
"market_id": "128939",
"volume": 123534
}
]
}Changes
- warning
added the new
BAD_REQUESTenum value to theresponse property for the response status
- warning
- breaking
the response's body type changed from
objectto no type for status - breaking
the
response's property type changed fromnulltoobjectfor status - breaking
the
response's property type changed fromstringtostringobjectfor status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- breaking