query_subgraph
Run custom GraphQL queries on Polymarket subgraphs to access prediction market data, prices, order books, and trader analytics.
Instructions
Execute a custom GraphQL query against a Polymarket subgraph
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | GraphQL query string | |
| subgraph | Yes | Subgraph identifier: main, beefy_pnl, slimmed_pnl, activity, or orderbook | |
| variables | No | Optional GraphQL variables as key-value pairs |