polymarket

|

INSTALLATION
npx skills add https://github.com/machina-sports/sports-skills --skill polymarket
Run in your project or agent environment. Adjust flags if your CLI version differs.

SKILL.md

$2c

polymarket.search_markets(sport='nba', sports_market_types='moneyline')

polymarket.get_todays_events(sport='epl')

polymarket.search_markets(sport='epl', query='Leeds')

polymarket.get_sports_config()

## CRITICAL: Before Any Query

CRITICAL: Before calling any market endpoint, verify:

- The `sport` parameter is always passed to `search_markets` and `get_todays_events` for single-game markets.

- Prices are probabilities on a 0-1 scale (0.65 = 65%) — no conversion needed.

- For price/orderbook endpoints, use `token_id` (CLOB), not `market_id` (Gamma). Call `get_market_details` first to get `clobTokenIds`.

Without the `sport` parameter:

WRONG: search_markets(query="Leeds") → 0 results

RIGHT: search_markets(sport='epl', query='Leeds') → returns all Leeds markets

## Prerequisites

**Core commands** (no dependencies, no API keys):

All read commands work out of the box.

**Trading commands** require `py_clob_client`:

pip install sports-skills[polymarket]


Additionally requires a configured wallet:

export POLYMARKET_PRIVATE_KEY=0x...

BrowserAct

Let your agent run on any real-world website

Bypass CAPTCHA & anti-bot for free. Start local, scale to cloud.

Explore BrowserAct Skills →

Stop writing automation&scrapers

Install the CLI. Run your first Skill in 30 seconds. Scale when you're ready.

Start free
free · no credit card