Overview
Automate compliant trading on Polymarket by integrating Chainalysis Sanctions screening into your execution workflows. Ensure every prediction market trade adheres to global regulatory standards by instantly validating wallet addresses against OFAC, EU, and UN sanctions lists before execution.
Popular ways to use the Chainalysis Sanctions + Polymarket integration onchain
View all templates ›Automated Stop-Loss Manager for Polymarket
Periodically checks market positions and automatically closes any assets that fall below a predefined price threshold. It then sends a notification via Slack once a position is liquidated.
Compliance: Sanctions + Illicit Finance Monitoring
This workflow monitors contracts events and screens addresses interacting with that contract to flag santions/OFAC and high risk accounts. The data and flagged accounts are auto-logged into a Gsheet and a notification is sent. This allows teams to make sure they remain compliant and block any bad actors from interacting with their platform. ### Quick Setup: 1. Connect your Gsheets account 2. Input the contract address you want monitored 3. Input the chain the contract address is deployed on 4. Drop in the Gsheet Spreadsheet URL where you want the data to be logged 5. Specify the tab you want the data to be logged in the Spreadsheet (input 0 if first tab) 6. Test and Publish!
Drake News → Polymarket Auto-Bet
Monitors music-news X accounts every minute for breaking Drake stories, asks AI YES/NO on your chosen Polymarket Drake market, and auto-bets when the signal is clear. Telegram/Slack notification on every bet.

HIP-4 vs Polymarket Market Scanner
Scans all active HIP-4 outcome markets on Hyperliquid, automatically finds matching Polymarket markets using multi-signal scoring, and alerts when the fee-adjusted spread exceeds a configurable threshold.
Nothing Ever Happens: Auto-Buy No on Polymarket (H/T Sterling)
Auto-buys 'No' on every eligible non-sports Polymarket. Scans markets on a schedule, filters out sports/crypto/finance/negRisk, skips markets already held by your wallet, and posts GTC limit orders on 'No' outcomes priced at or below your threshold. Includes an orderbook + slippage pre-check so illiquid markets are skipped silently rather than failing the bet. Proceeds go to a segregated wallet, waiting for Sterling to claim it if he sees this. H/T Sterling for the strategy.

PM vs HL Edge Scanner
Scans for cross-platform arbitrage edges between Polymarket and Hyperliquid HIP-4 outcome markets. Compares implied probabilities on matching markets and sends a formatted report to your chosen notification channel.
Supported triggers and actions
Polymarket Search Markets
ActionSearch and browse Polymarket prediction markets. Use orderBy 'trending'/'volume'/'newest'/'liquidity' to browse all active markets without any filters. 'trending' ranks by 24-hour volume, one market per event — the same feed as polymarket.com's Trending page; use it for 'what's trending / hot / popular today'. 'volume' is ALL-TIME volume, which surfaces long-dated mega-markets that may barely trade today — use it for 'biggest markets ever', not for trending. Add a query for keyword search, or date filters (endDateMin/Max) for time-bounded browsing. Returns markets with question, outcomes, prices, volume, liquidity, and parent eventSlug/eventTitle. Search ranking: keyword queries match against EVENT titles, then surface that event's markets — so per-game markets (e.g. 'Belgium vs. Egypt') only appear when the query matches the event title. Results are volume-ranked by default so the liquid flagship market (e.g. 'World Cup Winner') surfaces first ahead of low-volume novelty markets (e.g. 'World Cup: Glove Brand'); for specific matchups, search by team/entity names alone (e.g. 'Belgium Egypt'). Absence from one query does not mean absence from Polymarket. Query vs tag: use `query` for keyword/entity search (e.g. 'bitcoin', 'Belgium Egypt'); use `tag` to BROWSE a whole category by its Polymarket slug (e.g. tag: 'weather' | 'sports' | 'politics' | 'fifa-world-cup'), which returns the same live markets as polymarket.com/<slug>. Prefer `tag` for topic/category requests — keyword search misses category markets whose text omits the word (e.g. query 'weather' finds nothing, but tag 'weather' surfaces the live 'Highest temperature in <city>' markets). A bare `tag` browses by volume. Ideal for: market discovery, automated market selection, finding short-duration markets, dashboards.
Polymarket Get Balance
ActionGet pUSD balance for Polymarket trading. Returns the pUSD collateral balance available for placing orders and allowance status. Ideal for: balance monitoring, pre-trade checks, portfolio overview, automated trading workflows.
Polymarket Get Positions
ActionGet current positions (open bets) for a given wallet address on Polymarket. Returns position details including size, average price, current value, and P&L. Optionally filter by market. Ideal for: portfolio tracking, P&L monitoring, position management, automated rebalancing.
Polymarket Get Orderbook
ActionGet the order book for one or more Polymarket tokens showing all bids and asks. Supports single token (tokenId) or batch mode (tokenIds array) for efficient multi-token lookup. Returns full depth of market with price levels, sizes, and spread information. Ideal for: market analysis, liquidity assessment, spread monitoring, trading strategy development.
Polymarket Place Bet (Batch)
ActionSubmit multiple orders atomically in a single CLOB request. All orders land on the orderbook simultaneously — no price drift between legs. Ideal for: arbitrage strategies, multi-leg hedges, portfolio rebalancing, event-based multi-market bets.
Screen Address for Sanctions
ActionCheck whether a blockchain address is on any sanctions list tracked by Chainalysis (OFAC SDN, EU, UN, etc.). Returns a boolean sanctioned flag, unique categories, and the full identifications list with source URLs. Chain-agnostic (EVM, BTC, Solana). Ideal for: compliance workflows, pre-transaction screening, counterparty risk checks, AML monitoring, audit trails.