Overview

Seamlessly automate your prediction market strategies by connecting Polymarket's CLOB API with your B3OS workflow wallet. Orchestrate complex betting logic and automated hedging by combining Polymarket's real-time liquidity with secure, programmatic wallet execution.

Popular ways to use the Polymarket + Wallet integration onchain

View all templates ›
Token Received
Run JavaScript
if
if

Acorns for Your Spare Crypto

Acorns for your crypto wallet on Base. Auto save the spare change from any incoming ERC-20 payment into cbBTC. For example, if you receive $1.50 in USDC on Base, then $0.50 gets set aside in a spare change pot. Once your pot hits your chosen threshold, it auto-swaps to cbBTC. Tiny transfers below your desired minimum are ignored, so dust and spam payments don't clutter your savings. ### Quick Setup: 1. Import your wallet or use your B3OS Treasury Wallet 2. Pick the Base tokens you want to round down 3. Set a minimum - transfers under this amount are ignored, so dust and spam don't clutter your savings 4. Test and publish!

Recurring Schedule
Aerodrome Get Claimable Rewards
Aerodrome Claim Rebases
Run JavaScript

Aerodrome: Auto Rewards Claimer

This workflow will claim any earned veNFT rewards from Aerodrome on a weekly basis, to include fees, bribes, emissions, and rebases. It will also send a summary of what was collected to a notification channel of your choosing. ### Quick Setup: 1. Choose the wallet you wish to claim rewards with (either your embedded Treasury Wallet, or an imported wallet of your choosing) 2. Select a notification channel by which to receive updates upon claims successfully processing. 3. Test & publish

Token Received
Run JavaScript
if
if

Arbitrum: Crypto Savings Account

Akin to the app Acorns, but for your crypto wallet on Arbitrum. Auto save the spare change from any incoming ERC-20 payment into WBTC. For example, if you receive $1.50 in USDC on Arbitrum, then $0.50 gets set aside in a spare change pot. Once your pot hits your chosen threshold, it auto-swaps to WBTC. Tiny transfers below your desired minimum are ignored, so dust and spam payments don't clutter your savings. ### Quick Setup: 1. Import your wallet or use your B3OS Treasury Wallet 2. Pick the Arbitrum tokens you want to round down 3. Set a minimum - transfers under this amount are ignored, so dust and spam don't clutter your savings 4. Test and publish!

Recurring Schedule
Polymarket Get Positions
Run JavaScript
Run JavaScript

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.

Manual Trigger
Disperse Native ETH
notification

Batch Gas Funding

**This workflow help you batch distribute gas to an unlimited list of wallets.** You get to select the wallet which will fund the gas, the network you want and drop in a list of wallets. Once gas has been distributed to wallets, you will get a notification of completion. *The default amount is 0.01 ETH/native token but can be adjusted.* ### Quick Setup: 1. Select which wallet you want to fund gas from 2. Select where you'd like to be notified once workflow is complete 3. Drop in a list of addresses you want to receive gas 4. Specify the amount of gas you want to be dispensed into each wallet 5. Publish!

Recurring Schedule
Database Query
for-each
if

Clanker: Auto-take profit or stop loss on positions

Watches your open Clanker snipe positions and auto-sells the moment your take-profit or stop-loss threshold hits. Pricing comes from a live 0x DEX quote, so it works even for new tokens that haven't shown up on CoinGecko yet. Your profits land in whatever token and chain you pick Use it with the Clanker Launch Sniper template - snipe with that one, exit with this one ### Quick Setup: 1. Import your wallet or use your B3OS Treasury Wallet 2. Pick the Slack channel for sell notifications 3. Set your take-profit eg 3 means sell when the position is worth 3× what you paid (200% gain) 4. Set your stop-loss eg 0.5 means sell when the position drops to half its buy price (50% loss) 5. Choose the chain and token you want your sell profits in (default: USDC on Base) 6. Test and publish

Supported triggers and actions

Polymarket Search Markets

Polymarket Search Markets

Action

Search 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

Polymarket Get Balance

Action

Get 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

Polymarket Get Positions

Action

Get 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

Polymarket Get Orderbook

Action

Get 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)

Polymarket Place Bet (Batch)

Action

Submit 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.

Polymarket Place Bet

Polymarket Place Bet

Action

Place a bet (order) on Polymarket prediction markets. Supports BUY/SELL orders with GTC, FOK, or FAK order types. Flexible pricing modes: market, limit, or copy from variables. Ideal for: automated trading strategies, event-based betting, portfolio diversification, prediction market arbitrage.

Create workflows with Polymarket integrations

Loading integrations...

FAQs about Polymarket