resp = client.get_simplified_markets(next_cursor = "")
print(resp)
print("Done!")

Get available CLOB markets expressed in a simplified schema.

HTTP REQUEST

GET /<clob-endpoint>/simplified-markets?next_cursor=<next_cursor>

Response Format

NameTypeDescription
limitnumberlimit of results on a single page
countnumbernumber of results
next_cursorstringpagination item to retrieve the next page base64 encoded. ‘LTE=’ means the end and empty (”) means the beginning
dataSimplifiedMarket[]list of markets

A SimplifiedMarket object is of the form:

NameTypeDescription
condition_idstringid of market which is also the CTF condition ID
tokensToken[2]binary token pair for market
rewardsRewardsrewards related data
min_incentive_sizestringminimum resting order size for incentive qualification
max_incentive_spreadstringmax spread up to which orders are qualified for incentives (in cents)
activebooleanboolean indicating whether market is active/live
closedbooleanboolean indicating whether market is closed/open
resp = client.get_simplified_markets(next_cursor = "")
print(resp)
print("Done!")