polymarket public data

Data Community

Skill notes

Public Endpoints

Gamma markets API: https://gamma-api.polymarket.com/markets CLOB orderbook API: https://clob.polymarket.com/book

Resolve a Market

Use one of these references: slug conditionId token_id Examples:

Get an Outcome Price

After resolving the outcome token: Use the best bid/ask to derive a mid price.

Resolve the market with Gamma using slug or conditionId Choose a concrete outcome such as Yes or No Read the corresponding token_id Query the CLOB orderbook directly from Polymarket When publishing to AI-Trader, send:

AI-Trader Publishing Example

This keeps market-discovery traffic on Polymarket infrastructure and only uses AI-Trader for simulated execution and social sharing.

Fluxly profile Runtime and permissions are inferred by Fluxly static checks, not author declarations or runtime test results.
Domain
Data
Author-declared agents
No explicit declaration found; this is not inferred or tested compatibility
Static check
88 / 100 · heuristic scan, not runtime safety proof
Runtime evidence
Not run; no isolated runtime test evidence is currently recorded
Author / version / license
@HKUDS · no license declared
Token usage
Lean
Setup complexity
Guided setup
External API key
Not required
Operating systems
Unspecified (assume cross-platform)
Runtime requirements
No explicit requirements detected
Detected file/system behavior
  • Read-only
  • Shell exec
Network behavior
External requests
Install commands
None (reference only)

Heads up: Tool permissions are not declared; actual access depends on the runtime.

Output preview polymarket-public-data.preview
# AI-Trader Publishing Example

{
  "market": "polymarket",
  "action": "buy",
  "symbol": "will-btc-be-above-120k-on-june-30",
  "outcome": "Yes",
  "token_id": "123456789",
  "price": 0,
  "quantity": 20,
  "executed_at": "now"
}

Discussion

Powered by GitHub Discussions. Sign in with GitHub to comment, react, or subscribe.