{"ok":true,"site":"polymarket","host":"polymarket.com","about":"Polymarket prediction markets: search and list events and markets with live prices, volume, liquidity and end dates; price history, biggest movers, holders, comments, resolution status, and public trader profiles, positions and activity.","commands":[{"command":"search-markets","summary":"Full-text search of prediction events and their markets (current Yes/No prices, volume); sort by volume, liquidity, ending soon or competitive; active or resolved.","params":[{"name":"query","type":"string","required":true,"description":"Search keywords, e.g. bitcoin"},{"name":"status","type":"string","description":"Market status filter","oneOf":["active","resolved"],"default":"active"},{"name":"sort","type":"string","description":"Sort order: volume, liquidity, ending_soon (nearest resolution date first), competitive (closest odds)","oneOf":["volume","liquidity","ending_soon","competitive"],"default":"volume"},{"name":"page","type":"number","description":"Result page number, starting at 1","default":1}],"exampleUrl":"https://clify-dev.netlify.app/polymarket/search-markets?query=bitcoin&sort=volume"},{"command":"list-events","summary":"List events from the public Gamma API by category tag, ordered by volume or another field, with end dates, volume and liquidity; cursor paginated.","params":[{"name":"tag_slug","type":"string","description":"Category or topic tag slug, e.g. crypto, sports, politics, esports, israel-election (see list-tags)"},{"name":"closed","type":"boolean","description":"false = open events only, true = closed or resolved events","default":false},{"name":"order","type":"string","description":"Field to order by, e.g. volume, volume24hr, liquidity, endDate, startDate","default":"volume"},{"name":"ascending","type":"boolean","description":"Sort ascending (true) or descending (false)","default":false},{"name":"api_limit","type":"number","description":"Events per page (max 100) (sent to the site as \"limit\"; clify's own --limit only shapes the output)","default":50},{"name":"after_cursor","type":"string","description":"Cursor from the previous page's next_cursor"}],"exampleUrl":"https://clify-dev.netlify.app/polymarket/list-events?tag_slug=sports"},{"command":"get-event","summary":"Get one event by its slug (from /event/<slug> URLs) with all its markets: outcome prices, token ids, condition ids, volume, liquidity, end date.","params":[{"name":"slug","type":"string","required":true,"description":"Event slug, e.g. what-price-will-bitcoin-hit-before-2027"}],"exampleUrl":"https://clify-dev.netlify.app/polymarket/get-event?slug=what-price-will-bitcoin-hit-before-2027"},{"command":"get-market","summary":"Get a single market by its market slug (second path segment of /event/<event>/<market>): outcomes, prices, CLOB token ids, condition id, end date, volume, liquidity.","params":[{"name":"slug","type":"string","required":true,"description":"Market slug, e.g. will-anthropic-ipo-by-november-30-2026"}],"exampleUrl":"https://clify-dev.netlify.app/polymarket/get-market?slug=will-anthropic-ipo-by-november-30-2026"},{"command":"quick-search","summary":"Fast search returning matching events (with endDate, volume, volume24hr, liquidity and market prices), matching tags and trader profiles (name and proxyWallet address).","params":[{"name":"query","type":"string","required":true,"description":"Search text, e.g. bitcoin, or a trader name"}],"exampleUrl":"https://clify-dev.netlify.app/polymarket/quick-search?query=bitcoin"},{"command":"get-price-history","summary":"Price history (probability 0-1 over time) of one outcome token; token ids come from a market's clobTokenIds.","params":[{"name":"token_id","type":"string","required":true,"description":"CLOB outcome token id (long decimal string from clobTokenIds)"},{"name":"interval","type":"string","description":"Time window","oneOf":["1h","6h","1d","1w","1m","max"],"default":"max"},{"name":"bucket_seconds","type":"number","description":"Bucket size in seconds, e.g. 300 for 5-minute points (the UI uses it with interval 1d)"}],"exampleUrl":"https://clify-dev.netlify.app/polymarket/get-price-history?token_id=93607174427076648497970085679890464224074212453553954883931612093962256690262&interval=max"},{"command":"list-biggest-movers","summary":"Markets whose price moved the most in the last 24 hours (the Breaking page), optionally limited to one category.","params":[{"name":"category","type":"string","description":"Category filter","oneOf":["crypto","world","sports","politics","finance","tech","culture"]}],"exampleUrl":"https://clify-dev.netlify.app/polymarket/list-biggest-movers?category=crypto"},{"command":"list-tags","summary":"Currently trending topic tags with their slugs and active event counts, for use as tag_slug in list-events.","params":[],"exampleUrl":"https://clify-dev.netlify.app/polymarket/list-tags"},{"command":"get-market-holders","summary":"Top holders of each outcome of a market, by condition id (conditionId from get-market or get-event).","params":[{"name":"condition","type":"string","required":true,"description":"Market condition id (0x… hex)"},{"name":"api_limit","type":"number","description":"Holders per outcome (sent to the site as \"limit\"; clify's own --limit only shapes the output)","default":20}],"exampleUrl":"https://clify-dev.netlify.app/polymarket/get-market-holders?condition=0xa7d7ed69cfd6107e5e005556730dcf45727c1cdd1001f0378f5e471526181c47"},{"command":"get-event-resolutions","summary":"On-chain (UMA) resolution status of every market in an event (posed, proposed, disputed, resolved) by numeric event id.","params":[{"name":"eventId","type":"string","required":true,"description":"Numeric event id (id from get-event or search-markets)"}],"exampleUrl":"https://clify-dev.netlify.app/polymarket/get-event-resolutions?eventId=89502"},{"command":"list-related-events","summary":"Events related to a given event slug, with their markets, prices, volume and end dates.","params":[{"name":"slug","type":"string","required":true,"description":"Event slug"}],"exampleUrl":"https://clify-dev.netlify.app/polymarket/list-related-events?slug=what-price-will-bitcoin-hit-before-2027"},{"command":"list-comments","summary":"Latest comments on an event or series, newest first.","params":[{"name":"parent_entity_type","type":"string","description":"What the id refers to","oneOf":["Event","Series"],"default":"Event"},{"name":"parent_entity_id","type":"string","required":true,"description":"Numeric event id (or series id when type is Series)"},{"name":"api_limit","type":"number","description":"Comments per page (sent to the site as \"limit\"; clify's own --limit only shapes the output)","default":10},{"name":"offset","type":"number","description":"Number of comments to skip","default":0}],"exampleUrl":"https://clify-dev.netlify.app/polymarket/list-comments?parent_entity_type=Event&parent_entity_id=549019"},{"command":"get-trader-profile","summary":"Public trader profile (name, pseudonym, join date, tier) by proxy wallet address.","params":[{"name":"address","type":"string","required":true,"description":"Trader proxy wallet address (0x…), e.g. proxyWallet from quick-search profiles"}],"exampleUrl":"https://clify-dev.netlify.app/polymarket/get-trader-profile?address=0xcdcccd0f2d86e450d973da415ad2430e5cc7935a"},{"command":"get-trader-stats","summary":"A trader's all-time stats: trade count, biggest win, profit/loss, volume, profile views.","params":[{"name":"user","type":"string","required":true,"description":"Trader proxy wallet address (0x…)"}],"exampleUrl":"https://clify-dev.netlify.app/polymarket/get-trader-stats?user=0xcdcccd0f2d86e450d973da415ad2430e5cc7935a"},{"command":"list-trader-positions","summary":"A trader's open or closed positions with size, average price, current value and PnL.","params":[{"name":"user","type":"string","required":true,"description":"Trader proxy wallet address (0x…)"},{"name":"status","type":"string","description":"Open or closed positions","oneOf":["OPEN","CLOSED"],"default":"OPEN"},{"name":"sort_by","type":"string","description":"Sort field (the UI uses CURRENT_VALUE for open, REALIZED_PNL for closed)","oneOf":["CURRENT_VALUE","REALIZED_PNL"],"default":"CURRENT_VALUE"},{"name":"sort_direction","type":"string","description":"Sort direction","oneOf":["DESC","ASC"],"default":"DESC"},{"name":"filter_amount","type":"number","description":"Hide positions smaller than this many tokens","default":0},{"name":"api_limit","type":"number","description":"Max positions returned (sent to the site as \"limit\"; clify's own --limit only shapes the output)","default":30}],"exampleUrl":"https://clify-dev.netlify.app/polymarket/list-trader-positions?user=0xcdcccd0f2d86e450d973da415ad2430e5cc7935a&status=CLOSED&sort_by=REALIZED_PNL"},{"command":"list-trader-activity","summary":"A trader's recent on-chain activity (trades, redemptions, rebates), newest first.","params":[{"name":"user","type":"string","required":true,"description":"Trader proxy wallet address (0x…)"},{"name":"api_limit","type":"number","description":"Max items returned (sent to the site as \"limit\"; clify's own --limit only shapes the output)","default":30},{"name":"start","type":"number","description":"Only activity after this Unix timestamp (seconds)"}],"exampleUrl":"https://clify-dev.netlify.app/polymarket/list-trader-activity?user=0xcdcccd0f2d86e450d973da415ad2430e5cc7935a"},{"command":"get-trader-pnl","summary":"A trader's profit/loss time series over a window.","params":[{"name":"user","type":"string","required":true,"description":"Trader proxy wallet address (0x…)"},{"name":"interval","type":"string","description":"Time window","oneOf":["1w","1m"],"default":"1w"},{"name":"fidelity","type":"string","description":"Point spacing, e.g. 3h for 1w, 18h for 1m","default":"3h"}],"exampleUrl":"https://clify-dev.netlify.app/polymarket/get-trader-pnl?user=0xcdcccd0f2d86e450d973da415ad2430e5cc7935a&interval=1w&fidelity=3h"}]}