polymarket-api SKILL.md skillA

polymarket-api from agentmc15/polymarket-trader is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add agentmc15/polymarket-trader/polymarket-api@git:20260906.08ff3f1

Pins git:20260906.08ff3f1 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
agentmc15/polymarket-trader
Path
.claude/skills/polymarket-api/SKILL.md
Versions recorded
2
Latest version
git:20260906.08ff3f1, committed Sep 6, 2026
First version recorded
Dec 25, 2025
Size
7,237 bytes
Repository stars
26
License
none declared

Deep integration guide for Polymarket's CLOB API, Gamma API, and on-chain data. Use when building trading functionality, fetching market data, or implementing order execution.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Polymarket API Integration Skill

## Overview

This skill provides comprehensive guidance for integrating with Polymarket's APIs and smart contracts.

## API Endpoints

### CLOB API (Central Limit Order Book)
Base URL: `https://clob.polymarket.com`

#### Authentication Levels
- **Level 0 (Public)**: Market data, orderbooks, prices
- **Level 1 (Signer)**: Create/derive API keys
- **Level 2 (Authenticated)**: Trading, orders, positions

#### Key Endpoints
```
GET  /markets              # List all markets
GET  /markets/{condition_id}  # Get specific market (condition_id is the
                               # MARKET key; token_id is the per-outcome
                               # BOOK key used by /price, /midpoint, /book
                               # below — the two are not interchangeable)
GET  /price?token_id=X     # Get current price
GET  /midpoint?token_id=X  # Get midpoint price
GET  /book?token_id=X      # Get orderbook
GET  /trades               # Get user trades
POST /order                # Place order
DELETE /order/{id}         # Cancel order
GET  /positions            # Get positions
```

### Gamma API (Market Metadata)
Base URL: `https://gamma-api.polymarket.com`
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add agentmc15/polymarket-trader/polymarket-api@sha256:1c2b23d6bb7bbbcf

The line at the top of this page pins the label git:20260906.08ff3f1, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_wocn4gs4b6mojznh.svg)](https://markdownregistry.com/a/art_wocn4gs4b6mojznh)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, between Dec 25, 2025 and Sep 6, 2026, about one every 254 days.

versioncommittedcommitsizeaudit
git:20260906.08ff3f1 latest2026-09-06 08ff3f1 7,237 BA view · diff
git:20251225.4b10de32025-12-25 4b10de3 5,686 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (7237 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

agentmc15/polymarket-trader · 26 stars · license none declared · pushed 2026-09-13 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_wocn4gs4b6mojznh
GET https://markdownregistry.com/api/v1/resolve?ref=agentmc15/polymarket-trader/polymarket-api
GET https://markdownregistry.com/api/v1/blob/1c2b23d6bb7bbbcf6935954624dfd18b0926b2973d32f411b8a6a46a93e0ca2d

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from agentmc15/polymarket-trader

kalshi-api SKILL.md skill
agentmc15/polymarket-trader · .claude/skills/kalshi-api/SKILL.md · Kalshi Trade API v2 integration facts, endpoints, and fee model. Reference for venue adapter implementation…
git:20260906.08ff3f1 · audit A · 26 stars
trading-strategies SKILL.md skill
agentmc15/polymarket-trader · .claude/skills/trading-strategies/SKILL.md · Framework for developing, testing, and deploying trading strategies for prediction markets. Use when creating new…
git:20260906.08ff3f1 · audit A · 26 stars
CLAUDE.md CLAUDE.md file
agentmc15/polymarket-trader · CLAUDE.md
git:20260906.08ff3f1 · audit A · 26 stars

Every file in agentmc15/polymarket-trader

Browse by kind, by grade A, or by owner.