一键导入
polymarket
// Query Polymarket prediction market data — search markets, get prices, orderbooks, and price history. Read-only via public REST APIs, no API key needed.
// Query Polymarket prediction market data — search markets, get prices, orderbooks, and price history. Read-only via public REST APIs, no API key needed.
Manage Apple Notes via the memo CLI on macOS (create, view, search, edit).
Manage Apple Reminders via remindctl CLI (list, add, complete, delete).
Send and receive iMessages/SMS via the imsg CLI on macOS.
Simplest distributed training API. 4 lines to add distributed support to any PyTorch script. Unified API for DeepSpeed/FSDP/Megatron/DDP. Automatic device placement, mixed precision (FP16/BF16/FP8). Interactive config, single launch command. HuggingFace ecosystem standard.
PyTorch library for audio generation including text-to-music (MusicGen) and text-to-sound (AudioGen). Use when you need to generate music from text descriptions, create sound effects, or perform melody-conditioned music generation.
Facebook's library for efficient similarity search and clustering of dense vectors. Supports billions of vectors, GPU acceleration, and various index types (Flat, IVF, HNSW). Use for fast k-NN search, large-scale vector retrieval, or when you need pure similarity search without metadata. Best for high-performance applications.
| name | polymarket |
| description | Query Polymarket prediction market data — search markets, get prices, orderbooks, and price history. Read-only via public REST APIs, no API key needed. |
| version | 1.0.0 |
| author | Hermes Agent + Teknium |
| tags | ["polymarket","prediction-markets","market-data","trading"] |
Query prediction market data from Polymarket using their public REST APIs. All endpoints are read-only and require zero authentication.
See references/api-endpoints.md for the full endpoint reference with curl examples.
outcomePrices field: JSON-encoded array like ["0.80", "0.20"]clobTokenIds field: JSON-encoded array of two token IDs [Yes, No] for price/book queriesconditionId field: hex string used for price history queriesgamma-api.polymarket.com — Discovery, search, browsingclob.polymarket.com — Real-time prices, orderbooks, historydata-api.polymarket.com — Trades, open interestWhen a user asks about prediction market odds:
Format prices as percentages for readability:
["0.652", "0.348"] becomes "Yes: 65.2%, No: 34.8%"Example: "Will X happen?" — 65.2% Yes ($1.2M volume)
The Gamma API returns outcomePrices, outcomes, and clobTokenIds as JSON strings
inside JSON responses (double-encoded). When processing with Python, parse them with
json.loads(market['outcomePrices']) to get the actual array.
Generous — unlikely to hit for normal usage: