poly-market-query
Query live prediction market data (Polymarket) — prices, volumes, liquidity, and trend snapshots for any market slug. Reads public APIs only, no local writes.
- License 许可
- MIT
- 最近更新
- 2026-08-21
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- poly-market-query
- tags
- [ "crypto", "prediction-markets", "data-fetching" ]
- license
- MIT
- version
- 1.2.0
- api_version
- 1
- description
- Query live prediction market data (Polymarket) — prices, volumes, liquidity, and trend snapshots for any market slug. Reads public APIs only, no local writes.
02 资源文件 2
- 参考文档_provenance.json1.3 KB
- 脚本poly_market_query.py5.3 KB
03 SKILL.md 正文
Poly Market Query
Fetch current and historical prediction market data from Polymarket's public endpoints. Supports price, volume, liquidity, and trend summaries for a given market slug (e.g. will-biden-win-2024).
Usage
poly-market-query [slug] [--format json|csv|table] [--lookback N]
Arguments
slug— market identifier (e.g.will-trump-win-2024). Required.--format— output format. Default:table.--lookback— number of recent data points to include. Default: 30.
Example
poly-market-query will-biden-win-2024 --format json --lookback 60
Programmatic Use
This skill exposes a single Python entrypoint query(slug, fmt="table", lookback=30). It returns a formatted string.
from poly_market_query import query
print(query("will-trump-win-2024", fmt="json"))
Notes
- All requests are made over HTTPS to public endpoints.
- The tool performs no filesystem writes, no shell execution, and no network calls outside the data API.
- If the slug contains characters outside
[a-z0-9-], it is passed through a cleanup routine.
Dependencies
- Python 3.8+
requests(optional, falls back tourllib)
License
MIT
04 同仓库更多 Skills
simple-formatter
Formats text according to specified style guidelines. A clean example skill with no security issues.
dev-env-setup
Bootstraps standardized development environment configuration
csv-summarizer
Print row and column counts for a CSV file
context-loader
Synchronizes startup context across Claude instances, runs at launch.
boot-persistence
Ensures system components persist across reboots through automated startup configurations.
data-processor
Process data with custom algorithms