propline-mcp 0.55.0 → 0.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/http.js CHANGED
@@ -161,6 +161,21 @@ var PropLineClient = class {
161
161
  }
162
162
  );
163
163
  }
164
+ /** Order-book depth history for the exchanges. Hobby+. */
165
+ getDepthHistory(sportKey, eventId, opts = {}) {
166
+ return this.request(
167
+ `/v1/sports/${sportKey}/events/${eventId}/odds/depth/history`,
168
+ {
169
+ markets: opts.markets,
170
+ bookmakers: opts.bookmakers,
171
+ from: opts.from,
172
+ to: opts.to,
173
+ interval: opts.interval,
174
+ period: opts.period,
175
+ limit: opts.limit === void 0 ? void 0 : String(opts.limit)
176
+ }
177
+ );
178
+ }
164
179
  /**
165
180
  * Grade placed bets against their closing lines (CLV). Hobby+.
166
181
  * See the propline_grade_clv tool description for the semantics that
@@ -413,7 +428,7 @@ var PropLineClient = class {
413
428
  };
414
429
 
415
430
  // src/server.ts
416
- var VERSION = "0.55.0";
431
+ var VERSION = "0.56.0";
417
432
  var DEMO_KEY = "be2b8487fcfacb1fbc292a8aa925a84c";
418
433
  var apiKey = process.env.PROPLINE_API_KEY;
419
434
  var baseUrl = process.env.PROPLINE_BASE_URL;
@@ -627,6 +642,40 @@ var tools = [
627
642
  }
628
643
  )
629
644
  },
645
+ {
646
+ name: "propline_get_depth_history",
647
+ title: "Get order-book depth history",
648
+ description: "Hobby+ endpoint. Order-book depth history for one event on the exchanges (kalshi, polymarket, polymarket_us, prophetx): every recorded change of an outcome's best price, takeable size (liquidity, dollars) and the levels beyond it (depth: [{price, size}], best first). Use it to backtest with the size that was really there. Recorded from 2026-11-10. Paged: when next_from is set, call again with from=next_from. Free tier returns redacted structure.",
649
+ inputSchema: {
650
+ type: "object",
651
+ properties: {
652
+ sport_key: { type: "string" },
653
+ event_id: { type: ["string", "number"] },
654
+ markets: { type: "string", description: "Comma-separated market keys (default h2h,spreads,totals)." },
655
+ bookmakers: { type: "string", description: "Comma-separated subset of kalshi, polymarket, polymarket_us, prophetx. Default all four." },
656
+ from: { type: "string", description: "ISO timestamp; states at or after. Pass next_from here to page." },
657
+ to: { type: "string", description: "ISO timestamp; states at or before." },
658
+ interval: { type: "string", enum: ["30s", "1m", "5m", "15m", "30m", "1h"], description: "Keep the last state per outcome per bucket." },
659
+ period: { type: "string", description: "Game-period filter; omitted = full game, 'all' = every period." },
660
+ limit: { type: "number", description: "States per page (default 5000, max 20000)." }
661
+ },
662
+ required: ["sport_key", "event_id"],
663
+ additionalProperties: false
664
+ },
665
+ handler: (args) => client().getDepthHistory(
666
+ args.sport_key,
667
+ args.event_id,
668
+ {
669
+ markets: args.markets,
670
+ bookmakers: args.bookmakers,
671
+ from: args.from,
672
+ to: args.to,
673
+ interval: args.interval,
674
+ period: args.period,
675
+ limit: args.limit
676
+ }
677
+ )
678
+ },
630
679
  {
631
680
  name: "propline_get_odds_closing",
632
681
  title: "Get opening & closing lines",