---
name: polymarket-trader-7ac7c36ef0b4
description: Query Polymarket prediction markets - trending events, crypto, politics, sports, and search
homepage: https://polymarket.com
user-invocable: true
metadata: {"moltbot":{"emoji":"🔮","requires":{"env":["UNIFAI_AGENT_API_KEY","GOOGLE_API_KEY"]},"primaryEnv":"UNIFAI_AGENT_API_KEY"}}
---

# Polymarket Trader

Query Polymarket, the leading decentralized prediction market on Polygon blockchain.

## About Polymarket

Polymarket is a decentralized prediction market platform where users can trade on the outcomes of real-world events. It operates on the Polygon blockchain using USDC.e for settlements.

## Commands

### Trending Events
```bash
python3 {baseDir}/scripts/polymarket.py trending
```
Get currently trending prediction events.

### Crypto Markets
```bash
python3 {baseDir}/scripts/polymarket.py crypto
```
Get cryptocurrency-related prediction markets.

### Politics Markets
```bash
python3 {baseDir}/scripts/polymarket.py politics
```
Get political prediction markets.

### Search Markets
```bash
python3 {baseDir}/scripts/polymarket.py search "<query>"
```
Search markets by keyword.

### Category Markets
```bash
python3 {baseDir}/scripts/polymarket.py category <name>
```
Get markets by category (trending, new, politics, crypto, tech, culture, sports, world, economy).

## Output Format

Results include:
- Event/market title
- YES/NO prices (probability)
- Trading volume
- Liquidity
- End date

## Categories

| Category | Description |
|----------|-------------|
| trending | Most popular markets |
| new | Recently created markets |
| politics | Political events and elections |
| crypto | Cryptocurrency predictions |
| tech | Technology sector events |
| culture | Entertainment and culture |
| sports | Sports outcomes |
| world | Global events |
| economy | Economic indicators |

## Example Usage

**User**: "What's trending on Polymarket?"

**Assistant**: I'll fetch the trending events from Polymarket.

```bash
python3 {baseDir}/scripts/polymarket.py trending
```

**User**: "Search for Bitcoin markets"

**Assistant**: Let me search Polymarket for Bitcoin-related markets.

```bash
python3 {baseDir}/scripts/polymarket.py search "bitcoin"
```

## Requirements

- `UNIFAI_AGENT_API_KEY` - UnifAI SDK key for Polymarket tools
- `GOOGLE_API_KEY` - Gemini API key for LLM processing

## API Information

- **Data Source**: UnifAI Polymarket tools (toolkit ID: 127)
- **Available Tools**: search, getEventsByCategory, getPrices, getOrderBooks
- **Rate Limits**: UnifAI API rate limits apply

## Notes

- This tool is read-only (trading requires wallet authentication)
- Prices shown as decimals (0.75 = 75% probability)
- Markets settle on Polygon blockchain
- USDC.e used for trading
- Not available in restricted jurisdictions


---
Source attribution: kbarbel640-del
Original project: https://github.com/kbarbel640-del/skills/blob/e7e336ac628c3e3bd771aff1aaa469c93778f94a/skills/zbruceli/unifai-trading-suite/skills/polymarket-trader/SKILL.md
License: MIT
License information: https://opensource.org/license/mit
Original upstream instructions; downloaded from Mega AI Hub.

## Upstream license notice

MIT License

Copyright (c) 2026 clawdbot

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.



# Mega AI Hub resource metadata

Creator / publisher: kbarbel640-del
Original project: https://github.com/kbarbel640-del/skills/blob/e7e336ac628c3e3bd771aff1aaa469c93778f94a/skills/zbruceli/unifai-trading-suite/skills/polymarket-trader/SKILL.md
Attribution basis: Source repository record

Fields of work: Marketing
Roles: Growth Marketer, Marketing Analyst, Product Marketer
Specialties: API
Tools: Google Api, Unifai Agent Api
Country applicability: Country not specified
Classification basis: Source catalog labels
Instruction SHA-256: abb9920a3e796a0ef0b5e7cfb6df9f1b5a7d72d2b021a93319c216304130e42e
