@0xinsider/mcp 2.9.1 → 2.10.1
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/README.md +3 -3
- package/dist/constants.d.ts +1 -1
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +1 -1
- package/dist/constants.js.map +1 -1
- package/dist/sdk/schema.d.ts +53 -39
- package/dist/sdk/schema.d.ts.map +1 -1
- package/dist/tools/explore-markets.d.ts +2 -1
- package/dist/tools/explore-markets.d.ts.map +1 -1
- package/dist/tools/explore-markets.js +3 -3
- package/dist/tools/explore-markets.js.map +1 -1
- package/dist/tools/get-trader-pnl.d.ts +2 -0
- package/dist/tools/get-trader-pnl.d.ts.map +1 -1
- package/dist/tools/get-trader-pnl.js +22 -3
- package/dist/tools/get-trader-pnl.js.map +1 -1
- package/dist/tools/get-whale-trades.d.ts.map +1 -1
- package/dist/tools/get-whale-trades.js +9 -1
- package/dist/tools/get-whale-trades.js.map +1 -1
- package/dist/tools/read-parity.d.ts.map +1 -1
- package/dist/tools/read-parity.js +10 -4
- package/dist/tools/read-parity.js.map +1 -1
- package/dist/tools/result.d.ts +6 -0
- package/dist/tools/result.d.ts.map +1 -1
- package/dist/tools/result.js +2 -0
- package/dist/tools/result.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -228,9 +228,9 @@ hand. Markers are not used here because an HTML comment inside a table breaks it
|
|
|
228
228
|
|------|-------------|
|
|
229
229
|
| `get_trader` | Look up a trader by wallet address or username — grade, P&L, win rate, strategy, quant metrics |
|
|
230
230
|
| `batch_get_traders` | Look up 1-25 traders in one call with per-item results and batch-item quota |
|
|
231
|
-
| `get_whale_trades` | Recent large trades with a 0-1 review score (`review_score`; `signal_score` is its deprecated spelling) and persisted suspicion facts; filterable by size/category/grade/suspicious_only |
|
|
231
|
+
| `get_whale_trades` | Recent large trades with a 0-1 review score (`review_score`; `signal_score` is its deprecated spelling) and persisted suspicion facts; filterable by size/category/grade/suspicious_only/min_market_volume_share, sortable by `market_volume_share` |
|
|
232
232
|
| `get_whale_trade` | Read one whale trade by wt_ ID or raw whale_alerts.id, including persisted suspicion facts |
|
|
233
|
-
| `get_whale_trades_history` | Replay historical whale trades with cursor, market, trader, category, grade, suspicious_only, platform, and time filters |
|
|
233
|
+
| `get_whale_trades_history` | Replay historical whale trades with cursor, market, trader, category, grade, suspicious_only, platform, market-share, and time filters, sortable by `market_volume_share` |
|
|
234
234
|
| `get_leaderboard` | Top-ranked traders (S/A/B grades) with optional category/strategy filters |
|
|
235
235
|
| `search_markets` | Search prediction markets by keyword, with cursor pagination (`cursor`, `has_more`, `next_cursor`) |
|
|
236
236
|
| `explore_markets` | Browse whale-active markets with facets and grouped discovery entries |
|
|
@@ -241,7 +241,7 @@ hand. Markers are not used here because an HTML comment inside a table breaks it
|
|
|
241
241
|
| `get_sharp_money_flows` | Ranked sharp-money flow discovery across markets (timeframe, category, platform, min-grade, direction filters) |
|
|
242
242
|
| `get_smart_money_flows` | Deprecated alias of `get_sharp_money_flows` (byte-identical); kept for backward compatibility |
|
|
243
243
|
| `get_market_snapshot` | Live market-card snapshot with outcomes, liquidity, sports context, and freshness state |
|
|
244
|
-
| `get_positions` | Current positions with trader, market, value, side, P&L, and freshness context |
|
|
244
|
+
| `get_positions` | Current positions with trader, market, value, side, P&L, and freshness context; a `consistency=snapshot` page carries its `snapshot` (`as_of`, `expires_at`, `row_count`) |
|
|
245
245
|
| `get_position_timeline` | Per-market trader fills with running amount and average entry price |
|
|
246
246
|
| `get_position_timeline_by_id` | Per-market trader fills using an internal trader ID alias |
|
|
247
247
|
| `get_suspicious_trades` | Stored trades whose recorded suspicion score meets the live flag threshold (`severity=watch` returns none: no live watch policy exists) |
|
package/dist/constants.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export declare const API_BASE_URL = "https://api.0xinsider.com";
|
|
|
2
2
|
export declare const SITE_URL = "https://0xinsider.com";
|
|
3
3
|
export declare const DEVELOPERS_URL = "https://0xinsider.com/developers";
|
|
4
4
|
export declare const PRICING_URL = "https://0xinsider.com/pricing";
|
|
5
|
-
export declare const VERSION = "2.
|
|
5
|
+
export declare const VERSION = "2.10.1";
|
|
6
6
|
export declare const PACKAGE_NAME = "@0xinsider/mcp";
|
|
7
7
|
export declare const SERVER_NAME = "0xinsider";
|
|
8
8
|
export declare const API_KEY_ENV_VAR = "OXINSIDER_API_KEY";
|
package/dist/constants.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,8BAA8B,CAAC;AACxD,eAAO,MAAM,QAAQ,0BAA0B,CAAC;AAChD,eAAO,MAAM,cAAc,qCAA2B,CAAC;AACvD,eAAO,MAAM,WAAW,kCAAwB,CAAC;AAcjD,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,8BAA8B,CAAC;AACxD,eAAO,MAAM,QAAQ,0BAA0B,CAAC;AAChD,eAAO,MAAM,cAAc,qCAA2B,CAAC;AACvD,eAAO,MAAM,WAAW,kCAAwB,CAAC;AAcjD,eAAO,MAAM,OAAO,WAAW,CAAC;AAEhC,eAAO,MAAM,YAAY,mBAAmB,CAAC;AAC7C,eAAO,MAAM,WAAW,cAAc,CAAC;AACvC,eAAO,MAAM,eAAe,sBAAsB,CAAC;AACnD,eAAO,MAAM,eAAe,sBAAsB,CAAC;AACnD,eAAO,MAAM,eAAe,QAAQ,CAAC;AACrC,eAAO,MAAM,YAAY,YAAI,IAAI,mBAAwB,CAAC;AAU1D,eAAO,MAAM,eAAe,KAAK,CAAC"}
|
package/dist/constants.js
CHANGED
|
@@ -15,7 +15,7 @@ export const PRICING_URL = `${SITE_URL}/pricing`;
|
|
|
15
15
|
// flow runs `cd mcp && npm ci` from a clean checkout, where `web/node_modules` need not
|
|
16
16
|
// exist.
|
|
17
17
|
// generated-package-version:start
|
|
18
|
-
export const VERSION = "2.
|
|
18
|
+
export const VERSION = "2.10.1";
|
|
19
19
|
// generated-package-version:end
|
|
20
20
|
export const PACKAGE_NAME = "@0xinsider/mcp";
|
|
21
21
|
export const SERVER_NAME = "0xinsider";
|
package/dist/constants.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,YAAY,GAAG,2BAA2B,CAAC;AACxD,MAAM,CAAC,MAAM,QAAQ,GAAG,uBAAuB,CAAC;AAChD,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,QAAQ,aAAa,CAAC;AACvD,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,QAAQ,UAAU,CAAC;AACjD,mCAAmC;AACnC,EAAE;AACF,sFAAsF;AACtF,uFAAuF;AACvF,wFAAwF;AACxF,4EAA4E;AAC5E,sFAAsF;AACtF,yFAAyF;AACzF,oFAAoF;AACpF,uFAAuF;AACvF,wFAAwF;AACxF,SAAS;AACT,kCAAkC;AAClC,MAAM,CAAC,MAAM,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,YAAY,GAAG,2BAA2B,CAAC;AACxD,MAAM,CAAC,MAAM,QAAQ,GAAG,uBAAuB,CAAC;AAChD,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,QAAQ,aAAa,CAAC;AACvD,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,QAAQ,UAAU,CAAC;AACjD,mCAAmC;AACnC,EAAE;AACF,sFAAsF;AACtF,uFAAuF;AACvF,wFAAwF;AACxF,4EAA4E;AAC5E,sFAAsF;AACtF,yFAAyF;AACzF,oFAAoF;AACpF,uFAAuF;AACvF,wFAAwF;AACxF,SAAS;AACT,kCAAkC;AAClC,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAC;AAChC,gCAAgC;AAChC,MAAM,CAAC,MAAM,YAAY,GAAG,gBAAgB,CAAC;AAC7C,MAAM,CAAC,MAAM,WAAW,GAAG,WAAW,CAAC;AACvC,MAAM,CAAC,MAAM,eAAe,GAAG,mBAAmB,CAAC;AACnD,MAAM,CAAC,MAAM,eAAe,GAAG,mBAAmB,CAAC;AACnD,MAAM,CAAC,MAAM,eAAe,GAAG,KAAK,CAAC;AACrC,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,IAAI,EAAE,YAAY,CAAU,CAAC;AAE1D,oDAAoD;AACpD,EAAE;AACF,gFAAgF;AAChF,yFAAyF;AACzF,wFAAwF;AACxF,qFAAqF;AACrF,4EAA4E;AAC5E,iCAAiC;AACjC,MAAM,CAAC,MAAM,eAAe,GAAG,EAAE,CAAC;AAClC,+BAA+B"}
|
package/dist/sdk/schema.d.ts
CHANGED
|
@@ -1169,9 +1169,13 @@ export type PickHolder = {
|
|
|
1169
1169
|
name: string | null;
|
|
1170
1170
|
/** All-time trader grade (S, A, B, C, D, F). */
|
|
1171
1171
|
grade: string | null;
|
|
1172
|
+
/** The wallet's most recent recorded trade time, stamped at serve time from its current trader record rather than frozen with the pick. Always sent; null when no trade time is recorded. */
|
|
1173
|
+
last_traded_at: string | null;
|
|
1172
1174
|
/** 0xinsider profile path segment this wallet links to: `@<username>` when that username resolves to this wallet alone, otherwise the lowercase wallet. Percent-encode the part after `@` and append to `https://0xinsider.com/profile/`. Stamped at serve time; absent on a body cached before the field shipped. */
|
|
1173
1175
|
profile_segment?: string;
|
|
1174
1176
|
shares: number;
|
|
1177
|
+
/** USD entry value of this wallet's position: `shares` times the pick's frozen `backed_price`. An entry valuation, never a live balance or the provider's current value. Omitted when the holder snapshot has no valid price. */
|
|
1178
|
+
entry_value_usd?: number;
|
|
1175
1179
|
/** This wallet's win rate in the pick's canonical category bucket (the pick's `category` field, e.g. Basketball -- label the rate with it, never with the narrower `display_category` league, except when `category_win_rate_game` is present, in which case the rate is that game's and is labelled with it): the share of the wallet's resolved markets in that category whose realized P&L closed positive, as a 0..1 fraction. Present only with `category_win_rate_status` = `measured`, on `display_holders` entries, and only when the wallet clears the resolved-market floor; recomputed at serve time from the current category read model, not frozen with the pick. Absent on `holders` entries, legacy rows, and payloads predating the field. */
|
|
1176
1180
|
category_win_rate?: number;
|
|
1177
1181
|
/** The two counts `category_win_rate` is the ratio of, read from the same row: `wins / decided` equals the rate. Counts every resolved Polymarket market the wallet traded in the pick's canonical category (or in its game, when `category_win_rate_game` is present), at any position size; the counts are rebuilt daily. Present only with `category_win_rate_status` = `measured`; absent otherwise and on payloads predating the field. */
|
|
@@ -1224,6 +1228,8 @@ export type PickOfTheDay = {
|
|
|
1224
1228
|
is_locked?: boolean;
|
|
1225
1229
|
/** True once the backed game's kickoff has passed (kickoff <= now). When true the snapshotted pre-game price is no longer actionable. Absent for a legacy pick with no stored kickoff (treat as not-started). */
|
|
1226
1230
|
game_started?: boolean;
|
|
1231
|
+
/** Whether the backed game is over according to the cached live scoreboard, read at serve time. Tells a finished game from one still in play before `outcome` settles. Omitted when the pick has no event slug or no scoreboard is cached for it; absence is unknown, never false. */
|
|
1232
|
+
game_ended?: boolean;
|
|
1227
1233
|
/** Settlement outcome of the backed side; 'pending' until the market resolves. */
|
|
1228
1234
|
outcome?: "pending" | "win" | "loss" | "void";
|
|
1229
1235
|
/** Pre-formatted SETTLEMENT STATUS for display: "Win" / "Loss" / "Void" / "Pending" -- the outcome enum above as a label. Convenience only; outcome is the source value. NOTE: this is the win/loss STATUS, not the backed side. The backed side is pick_outcome_label ("Belgium (-2.5)") -- a different field answering a different question. */
|
|
@@ -1354,6 +1360,8 @@ export type PickOfTheDay = {
|
|
|
1354
1360
|
thesis?: string;
|
|
1355
1361
|
/** Canonical web market URL. */
|
|
1356
1362
|
market_url?: string;
|
|
1363
|
+
/** Where this pick's outbound Polymarket link lands: Polymarket's own redirect answer for `/event/<event_slug>`, carrying the referral tag. Omitted until that redirect has been resolved; link to the event page instead when it is absent. */
|
|
1364
|
+
polymarket_url?: string;
|
|
1357
1365
|
/** The canonical /event game-page slug (one neutral page per game); omitted when the game has no neutral event page. */
|
|
1358
1366
|
event_slug?: string;
|
|
1359
1367
|
/** Backend-resolved /event destination slug for this pick's source market; its absence is an authoritative no-link decision. */
|
|
@@ -1678,6 +1686,8 @@ export type PickSportsTeam = {
|
|
|
1678
1686
|
provider_id: number | null;
|
|
1679
1687
|
/** Team crest or flag URL. Provider-owned for most teams (Polymarket /teams crest for clubs, country flag for national teams and tennis players). A club with a vendored crest carries it instead, served same-origin as a relative path (`/api/sports/team-logos/{league}/{abbr}.svg?v=<content hash>` or `.png`, resolve it against this server): every NFL and WNBA team, whose provider asset is a text tile, and the soccer clubs whose provider asset is an empty object. */
|
|
1680
1688
|
logo: string | null;
|
|
1689
|
+
/** True when the team mark is dark enough to disappear on a dark background, measured from the artwork by the teams sync. Render a dark mark on a light plate. Always sent; false until the artwork has been measured. */
|
|
1690
|
+
logo_mark_dark: boolean;
|
|
1681
1691
|
/** Team brand color as a hex string (provider-owned). */
|
|
1682
1692
|
color: string | null;
|
|
1683
1693
|
/** Win-loss record as a display string (e.g. "12-4"). */
|
|
@@ -2344,7 +2354,7 @@ export type Trader = {
|
|
|
2344
2354
|
sharpe_7d: number | null;
|
|
2345
2355
|
/** Gross profit divided by gross loss; greater than 1 is profitable. Capped at 1000 when there are effectively no losses. null when insufficient history. */
|
|
2346
2356
|
profit_factor: number | null;
|
|
2347
|
-
/**
|
|
2357
|
+
/** Share of the trader's last 30 days with realized P&L that closed positive, 0-1 (higher is more consistent). A day with no realized P&L is not one of them, so the window can span months. null below 10 such days; null never means 0. */
|
|
2348
2358
|
edge_consistency: number | null;
|
|
2349
2359
|
/** Cross-sectional percentile rank of the trader's Sharpe ratio versus all traders, 0-100. null when insufficient history. */
|
|
2350
2360
|
sharpe_percentile: number | null;
|
|
@@ -3255,11 +3265,11 @@ export interface OperationQuery {
|
|
|
3255
3265
|
status?: "active" | "closed" | "all";
|
|
3256
3266
|
/** Filter by source platform. Explore is Polymarket-only; polymarket is the only supported value and the parameter is accepted for backward-compatibility but does not change the result set. */
|
|
3257
3267
|
platform?: "polymarket";
|
|
3258
|
-
/** Sort order for the discovery feed. */
|
|
3259
|
-
sort?: "trending" | "hot" | "expiring" | "whales" | "volume" | "newest";
|
|
3268
|
+
/** Sort order for the discovery feed. `large_trades` ranks by large-trade activity; `whales` is its deprecated spelling and selects the same order. */
|
|
3269
|
+
sort?: "trending" | "hot" | "expiring" | "large_trades" | "whales" | "volume" | "newest";
|
|
3260
3270
|
/** Opaque pagination cursor from the previous response. */
|
|
3261
3271
|
cursor?: string;
|
|
3262
|
-
/** Page size. */
|
|
3272
|
+
/** Page size. Out-of-range values are clamped to 1..48. */
|
|
3263
3273
|
limit?: number;
|
|
3264
3274
|
/** Keyword search against market titles. At most 64 characters before whitespace trimming. */
|
|
3265
3275
|
q?: string;
|
|
@@ -3268,13 +3278,13 @@ export interface OperationQuery {
|
|
|
3268
3278
|
getApiDiscovery: Record<string, never>;
|
|
3269
3279
|
getCoverage: Record<string, never>;
|
|
3270
3280
|
getDailyReportSnapshot: {
|
|
3271
|
-
/** UTC report date in YYYY-MM-DD format. */
|
|
3281
|
+
/** UTC report date in YYYY-MM-DD format, from 2024-03-01 (the first day report data covers) through tomorrow UTC. Any other date returns 400 bad_request with error.param=date. */
|
|
3272
3282
|
date: string;
|
|
3273
3283
|
};
|
|
3274
3284
|
getEventReplaySince: {
|
|
3275
3285
|
/** Opaque event replay cursor returned as next_cursor by a prior response. The cursor maps to the global (whale_alerts.inserted_xid, whale_alerts.id) commit-order position, is valid across backend replicas, and is bound to the filter set the walk ran with (trader, condition_id, min_grade, min_size): presenting it under different filters answers 400 bad_request with error.reason cursor_expired, and the walk restarts without a cursor. Cursors issued before 2026-09-22 (id-only) stay accepted and are bound to no filters. Omit to fetch the latest durable public suffix. */
|
|
3276
3286
|
cursor?: string;
|
|
3277
|
-
/** Maximum durable public whale-trade events to return. */
|
|
3287
|
+
/** Maximum durable public whale-trade events to return. Out-of-range values are clamped to 1..100. */
|
|
3278
3288
|
limit?: number;
|
|
3279
3289
|
/** Only this wallet's trades: a wallet address, trd_-prefixed trader id or username resolved against the traders table. Bound to the cursor: a cursor issued under other filters answers 400 with error.reason cursor_expired. An unknown trader matches nothing and the walk still advances. */
|
|
3280
3290
|
trader?: string;
|
|
@@ -3284,6 +3294,8 @@ export interface OperationQuery {
|
|
|
3284
3294
|
min_grade?: "S" | "A" | "B" | "C" | "D" | "F";
|
|
3285
3295
|
/** Only trades of at least this size in USD (compared in cents). Bound to the cursor. */
|
|
3286
3296
|
min_size?: number;
|
|
3297
|
+
/** Backward-compatible alias for expand. Repeatable: trade. */
|
|
3298
|
+
"expand[]"?: "trade"[];
|
|
3287
3299
|
/** Repeatable. trade adds the public trade read to every event (the object GET /api/v1/whale-trades/{id} returns for it), from one query per page, so a page of 100 events needs no per-event detail request. Not bound to the cursor: switch it on or off mid-walk. */
|
|
3288
3300
|
expand?: "trade"[];
|
|
3289
3301
|
};
|
|
@@ -3309,7 +3321,7 @@ export interface OperationQuery {
|
|
|
3309
3321
|
outcome?: "yes" | "no" | "all";
|
|
3310
3322
|
/** Narrow within the graded cohort: `S` keeps S, `A` keeps S and A, `B` (default) keeps S, A and B. `C`, `D` and `F` are rejected with 400: the route lists the S/A/B cohort only. The cohort is the wallet's current grade (`traders.latest_grade`), so no value here reaches a C, D, F or ungraded holder; those are counted only in `scan.wallet_count`. `min_grade=D` on GET /api/v1/positions does return C and D, which is one of the three reasons the two routes' counts differ for the same market. */
|
|
3311
3323
|
min_grade?: "S" | "A" | "B";
|
|
3312
|
-
/** Maximum holders per page. */
|
|
3324
|
+
/** Maximum holders per page. Out-of-range values are clamped to 1..100. */
|
|
3313
3325
|
limit?: number;
|
|
3314
3326
|
/** Opaque pagination cursor from the previous response's next_cursor. It encodes a page of one shared roster, so it stays valid across the roster's refresh, but a page read after a refresh can repeat or skip a holder. */
|
|
3315
3327
|
cursor?: string;
|
|
@@ -3325,7 +3337,7 @@ export interface OperationQuery {
|
|
|
3325
3337
|
expand?: "trust"[];
|
|
3326
3338
|
};
|
|
3327
3339
|
getMonthlyReportSnapshot: {
|
|
3328
|
-
/** UTC report month in YYYY-MM format. */
|
|
3340
|
+
/** UTC report month in YYYY-MM format. A month that ends before 2024-03-01, the first day report data covers, or starts after tomorrow UTC returns 400 bad_request with error.param=month. */
|
|
3329
3341
|
month: string;
|
|
3330
3342
|
};
|
|
3331
3343
|
getPickOfTheDay: Record<string, never>;
|
|
@@ -3335,7 +3347,7 @@ export interface OperationQuery {
|
|
|
3335
3347
|
getPositionTimeline: {
|
|
3336
3348
|
/** Market condition_id. One timeline per (trader, market). */
|
|
3337
3349
|
condition_id: string;
|
|
3338
|
-
/** Maximum number of timeline events to return. */
|
|
3350
|
+
/** Maximum number of timeline events to return. Out-of-range values are clamped to 1..100. */
|
|
3339
3351
|
limit?: number;
|
|
3340
3352
|
/** Pagination cursor from previous response's next_cursor. */
|
|
3341
3353
|
cursor?: string;
|
|
@@ -3343,7 +3355,7 @@ export interface OperationQuery {
|
|
|
3343
3355
|
getPositionTimelineById: {
|
|
3344
3356
|
/** Market condition_id. One timeline per (trader, market). */
|
|
3345
3357
|
condition_id: string;
|
|
3346
|
-
/** Maximum number of timeline events to return. */
|
|
3358
|
+
/** Maximum number of timeline events to return. Out-of-range values are clamped to 1..100. */
|
|
3347
3359
|
limit?: number;
|
|
3348
3360
|
/** Pagination cursor from previous response's next_cursor. */
|
|
3349
3361
|
cursor?: string;
|
|
@@ -3351,7 +3363,7 @@ export interface OperationQuery {
|
|
|
3351
3363
|
getReports: {
|
|
3352
3364
|
/** Report granularity selector. */
|
|
3353
3365
|
granularity: "daily" | "weekly" | "monthly";
|
|
3354
|
-
/** Period token for the granularity. daily: UTC date YYYY-MM-DD. weekly: ISO week YYYY-WW for a durable canonical snapshot, or a from,to YYYY-MM-DD pair for an exact ephemeral range limited to 31 inclusive UTC days. A wider explicit range returns 400 invalid_query. monthly: UTC month YYYY-MM. */
|
|
3366
|
+
/** Period token for the granularity. daily: UTC date YYYY-MM-DD. weekly: ISO week YYYY-WW for a durable canonical snapshot, or a from,to YYYY-MM-DD pair for an exact ephemeral range limited to 31 inclusive UTC days. A wider explicit range returns 400 invalid_query. monthly: UTC month YYYY-MM. A period that ends before 2024-03-01, the first day report data covers, or starts after tomorrow UTC returns 400 bad_request with error.param=period. */
|
|
3355
3367
|
period: string;
|
|
3356
3368
|
};
|
|
3357
3369
|
getStream: {
|
|
@@ -3407,11 +3419,11 @@ export interface OperationQuery {
|
|
|
3407
3419
|
getUsage: Record<string, never>;
|
|
3408
3420
|
getWebhook: Record<string, never>;
|
|
3409
3421
|
getWeeklyReportSnapshot: {
|
|
3410
|
-
/** UTC source-range start in YYYY-MM-DD format; required with to. Together with to, selects an exact ephemeral range of at most 31 inclusive UTC days. */
|
|
3422
|
+
/** UTC source-range start in YYYY-MM-DD format; required with to. Together with to, selects an exact ephemeral range of at most 31 inclusive UTC days. A start after tomorrow UTC returns 400 bad_request with error.param=from. */
|
|
3411
3423
|
from?: string;
|
|
3412
|
-
/** UTC source-range end in YYYY-MM-DD format; required with from. Together with from, selects an exact ephemeral range of at most 31 inclusive UTC days. */
|
|
3424
|
+
/** UTC source-range end in YYYY-MM-DD format; required with from. Together with from, selects an exact ephemeral range of at most 31 inclusive UTC days. An end before 2024-03-01, the first day report data covers, returns 400 bad_request with error.param=to. */
|
|
3413
3425
|
to?: string;
|
|
3414
|
-
/** ISO week selector in YYYY-WW format; alternative to from/to. Selects a durable canonical snapshot. */
|
|
3426
|
+
/** ISO week selector in YYYY-WW format; alternative to from/to. Selects a durable canonical snapshot. A week that ends before 2024-03-01, the first day report data covers, or starts after tomorrow UTC returns 400 bad_request with error.param=week. */
|
|
3415
3427
|
week?: string;
|
|
3416
3428
|
};
|
|
3417
3429
|
getWhaleTrade: Record<string, never>;
|
|
@@ -3426,13 +3438,13 @@ export interface OperationQuery {
|
|
|
3426
3438
|
starts_after?: string;
|
|
3427
3439
|
/** RFC 3339 instant. Keep only games whose kickoff is at or before it. Must be at or after starts_after. */
|
|
3428
3440
|
starts_before?: string;
|
|
3429
|
-
/** Page size. */
|
|
3441
|
+
/** Page size. Out-of-range values are clamped to 1..100. */
|
|
3430
3442
|
limit?: number;
|
|
3431
3443
|
/** Opaque gms_v1_ cursor from next_cursor. It pins the page position (kickoff and event_slug), not a snapshot: the catalog is live, so a game added or removed between pages moves with it. A cursor this endpoint did not issue returns 400 with error.param=cursor. */
|
|
3432
3444
|
cursor?: string;
|
|
3433
3445
|
};
|
|
3434
3446
|
listInsiderRadar: {
|
|
3435
|
-
/** Maximum number of radar flags to return. */
|
|
3447
|
+
/** Maximum number of radar flags to return. Out-of-range values are clamped to 1..100. */
|
|
3436
3448
|
limit?: number;
|
|
3437
3449
|
/** Pagination cursor from previous response. */
|
|
3438
3450
|
cursor?: string;
|
|
@@ -3444,7 +3456,7 @@ export interface OperationQuery {
|
|
|
3444
3456
|
mode?: "live" | "stable";
|
|
3445
3457
|
};
|
|
3446
3458
|
listLargePositions: {
|
|
3447
|
-
/** Maximum number of large positions to return. */
|
|
3459
|
+
/** Maximum number of large positions to return. Out-of-range values are clamped to 1..100. */
|
|
3448
3460
|
limit?: number;
|
|
3449
3461
|
/** Opaque pagination cursor from a previous response. */
|
|
3450
3462
|
cursor?: string;
|
|
@@ -3462,7 +3474,7 @@ export interface OperationQuery {
|
|
|
3462
3474
|
snapshot_id: string;
|
|
3463
3475
|
/** Opaque cursor from the previous response's next_cursor. */
|
|
3464
3476
|
cursor?: string;
|
|
3465
|
-
/** Maximum number of counterparty execution rows to return. */
|
|
3477
|
+
/** Maximum number of counterparty execution rows to return. Out-of-range values are clamped to 1..100. */
|
|
3466
3478
|
limit?: number;
|
|
3467
3479
|
};
|
|
3468
3480
|
listLargeTradeCounterpartyMakers: {
|
|
@@ -3470,11 +3482,11 @@ export interface OperationQuery {
|
|
|
3470
3482
|
snapshot_id: string;
|
|
3471
3483
|
/** Opaque cursor from the previous response's next_cursor. */
|
|
3472
3484
|
cursor?: string;
|
|
3473
|
-
/** Maximum number of maker rows to return. */
|
|
3485
|
+
/** Maximum number of maker rows to return. Out-of-range values are clamped to 1..100. */
|
|
3474
3486
|
limit?: number;
|
|
3475
3487
|
};
|
|
3476
3488
|
listLargeTradeHistory: {
|
|
3477
|
-
/** Maximum number of historical large trades to return. */
|
|
3489
|
+
/** Maximum number of historical large trades to return. Out-of-range values are clamped to 1..100. */
|
|
3478
3490
|
limit?: number;
|
|
3479
3491
|
/** Pagination cursor from previous response's next_cursor. Prefix: wth_. URL-encode when replaying as a query parameter. */
|
|
3480
3492
|
cursor?: string;
|
|
@@ -3502,7 +3514,7 @@ export interface OperationQuery {
|
|
|
3502
3514
|
sort?: "recent" | "market_volume_share";
|
|
3503
3515
|
};
|
|
3504
3516
|
listLargeTrades: {
|
|
3505
|
-
/** Maximum number of recent large trades to return. */
|
|
3517
|
+
/** Maximum number of recent large trades to return. Out-of-range values are clamped to 1..100. */
|
|
3506
3518
|
limit?: number;
|
|
3507
3519
|
/** Pagination cursor from previous response's next_cursor. */
|
|
3508
3520
|
cursor?: string;
|
|
@@ -3520,7 +3532,7 @@ export interface OperationQuery {
|
|
|
3520
3532
|
sort?: "recent" | "market_volume_share";
|
|
3521
3533
|
};
|
|
3522
3534
|
listLeaderboard: {
|
|
3523
|
-
/** Maximum number of ranked traders to return. */
|
|
3535
|
+
/** Maximum number of ranked traders to return. Out-of-range values are clamped to 1..100. */
|
|
3524
3536
|
limit?: number;
|
|
3525
3537
|
/** Opaque lbv1_ pagination cursor from a prior response. It binds the finite score/address boundary to the committed leaderboard generation and the effective category/strategy filters; legacy, malformed, non-finite, and unsupported-version cursors are rejected. */
|
|
3526
3538
|
cursor?: string;
|
|
@@ -3530,7 +3542,7 @@ export interface OperationQuery {
|
|
|
3530
3542
|
strategy?: "accumulator" | "algo_trader" | "arbitrageur" | "directional" | "event_driven" | "market_maker" | "momentum" | "scalper" | "speculator" | "swing_trader";
|
|
3531
3543
|
};
|
|
3532
3544
|
listPositions: {
|
|
3533
|
-
/** Maximum number of current positions to return. */
|
|
3545
|
+
/** Maximum number of current positions to return. Out-of-range values are clamped to 1..100. */
|
|
3534
3546
|
limit?: number;
|
|
3535
3547
|
/** Pagination cursor from previous response's next_cursor. */
|
|
3536
3548
|
cursor?: string;
|
|
@@ -3556,7 +3568,7 @@ export interface OperationQuery {
|
|
|
3556
3568
|
cohort: "wider_holder" | "in_play" | "emerging_pile";
|
|
3557
3569
|
/** Optional canonical sport bucket. Omitted or blank selects all registered sports. Raw provider categories resolve through the canonical taxonomy, including table-tennis or table tennis to Table Tennis and pickleball to Pickleball; a non-sport category returns an empty list. */
|
|
3558
3570
|
category?: string;
|
|
3559
|
-
/** Page size. */
|
|
3571
|
+
/** Page size. Out-of-range values are clamped to 1..100. */
|
|
3560
3572
|
limit?: number;
|
|
3561
3573
|
/** Server-authenticated opaque seo_v2_ cursor from next_cursor. Pins snapshot_as_of, cohort, rank, and condition_id; pre-deploy unsigned seo_ cursors are rejected, so clients must request the first page after this contract ships; emerging_pile cursors also pin the first-page projection_now cutoff so kickoff filtering cannot renumber continuation pages. Client edits fail closed; it cannot cross cohorts; a refreshed snapshot invalidates it with 400. */
|
|
3562
3574
|
cursor?: string;
|
|
@@ -3564,7 +3576,7 @@ export interface OperationQuery {
|
|
|
3564
3576
|
listPreGameSides: {
|
|
3565
3577
|
/** Optional canonical sport bucket filter (e.g. Basketball, Tennis, Soccer). A raw provider value (NBA) resolves to its canonical bucket. A non-sport category returns an empty list. */
|
|
3566
3578
|
category?: string;
|
|
3567
|
-
/** Page size. */
|
|
3579
|
+
/** Page size. Out-of-range values are clamped to 1..100. */
|
|
3568
3580
|
limit?: number;
|
|
3569
3581
|
/** Opaque cursor from a previous response's next_cursor. Encodes the snapshot anchor plus the last row's directional_rank_score, conviction_score, smart_score and condition_id. A cursor from an expired snapshot returns 400. */
|
|
3570
3582
|
cursor?: string;
|
|
@@ -3576,7 +3588,7 @@ export interface OperationQuery {
|
|
|
3576
3588
|
listSharpMoneyFlows: {
|
|
3577
3589
|
/** Lookback window for grade-filtered whale flow aggregation. */
|
|
3578
3590
|
timeframe?: "1h" | "4h" | "24h" | "7d";
|
|
3579
|
-
/** Page size. */
|
|
3591
|
+
/** Page size. Out-of-range values are clamped to 1..100. */
|
|
3580
3592
|
limit?: number;
|
|
3581
3593
|
/** Opaque cursor from previous response's next_cursor. Encodes the first-page as_of timestamp, normalized effective filters, ranking and aggregate collection revisions, plus the last row's absolute net flow and condition_id. A changed filter or collection returns cursor_expired; request the first page again. */
|
|
3582
3594
|
cursor?: string;
|
|
@@ -3592,7 +3604,7 @@ export interface OperationQuery {
|
|
|
3592
3604
|
listSmartMoneyFlows: {
|
|
3593
3605
|
/** Lookback window for grade-filtered whale flow aggregation. */
|
|
3594
3606
|
timeframe?: "1h" | "4h" | "24h" | "7d";
|
|
3595
|
-
/** Page size. */
|
|
3607
|
+
/** Page size. Out-of-range values are clamped to 1..100. */
|
|
3596
3608
|
limit?: number;
|
|
3597
3609
|
/** Opaque cursor from previous response's next_cursor. Encodes the first-page as_of timestamp, normalized effective filters, ranking and aggregate collection revisions, plus the last row's absolute net flow and condition_id. A changed filter or collection returns cursor_expired; request the first page again. */
|
|
3598
3610
|
cursor?: string;
|
|
@@ -3610,7 +3622,7 @@ export interface OperationQuery {
|
|
|
3610
3622
|
cohort: "wider_holder" | "in_play" | "emerging_pile";
|
|
3611
3623
|
/** Optional canonical sport bucket. Omitted or blank selects all registered sports. Raw provider categories resolve through the canonical taxonomy, including table-tennis or table tennis to Table Tennis and pickleball to Pickleball; a non-sport category returns an empty list. */
|
|
3612
3624
|
category?: string;
|
|
3613
|
-
/** Page size. */
|
|
3625
|
+
/** Page size. Out-of-range values are clamped to 1..100. */
|
|
3614
3626
|
limit?: number;
|
|
3615
3627
|
/** Server-authenticated opaque seo_v2_ cursor from next_cursor. Pins snapshot_as_of, cohort, rank, and condition_id; pre-deploy unsigned seo_ cursors are rejected, so clients must request the first page after this contract ships; emerging_pile cursors also pin the first-page projection_now cutoff so kickoff filtering cannot renumber continuation pages. Client edits fail closed; it cannot cross cohorts; a refreshed snapshot invalidates it with 400. */
|
|
3616
3628
|
cursor?: string;
|
|
@@ -3618,7 +3630,7 @@ export interface OperationQuery {
|
|
|
3618
3630
|
listSportsEdgeSignals: {
|
|
3619
3631
|
/** Optional canonical sport bucket filter (e.g. Basketball, Tennis, Soccer). A raw provider value (NBA) resolves to its canonical bucket. A non-sport category returns an empty list. */
|
|
3620
3632
|
category?: string;
|
|
3621
|
-
/** Page size. */
|
|
3633
|
+
/** Page size. Out-of-range values are clamped to 1..100. */
|
|
3622
3634
|
limit?: number;
|
|
3623
3635
|
/** Opaque cursor from a previous response's next_cursor. Encodes the snapshot anchor plus the last row's directional_rank_score, conviction_score, smart_score and condition_id. A cursor from an expired snapshot returns 400. */
|
|
3624
3636
|
cursor?: string;
|
|
@@ -3628,7 +3640,7 @@ export interface OperationQuery {
|
|
|
3628
3640
|
min_grade?: "S" | "A" | "B";
|
|
3629
3641
|
};
|
|
3630
3642
|
listSuspiciousTrades: {
|
|
3631
|
-
/** Maximum number of suspicious trades to return. */
|
|
3643
|
+
/** Maximum number of suspicious trades to return. Out-of-range values are clamped to 1..100. */
|
|
3632
3644
|
limit?: number;
|
|
3633
3645
|
/** Pagination cursor from previous response. */
|
|
3634
3646
|
cursor?: string;
|
|
@@ -3640,7 +3652,7 @@ export interface OperationQuery {
|
|
|
3640
3652
|
mode?: "live" | "stable";
|
|
3641
3653
|
};
|
|
3642
3654
|
listTrendingWallets: {
|
|
3643
|
-
/** Polymarket's weekly leaderboard caps the ranked set at 50 wallets; requests above 50 still return at most 50. */
|
|
3655
|
+
/** Polymarket's weekly leaderboard caps the ranked set at 50 wallets; requests above 50 still return at most 50. Out-of-range values are clamped to 1..50. */
|
|
3644
3656
|
limit?: number;
|
|
3645
3657
|
/** Opaque pagination cursor from a previous response, bound to its effective limit, window and ranked-board generation. A changed board or request scope returns error.reason=cursor_expired; legacy page-only cursors must restart from page one. */
|
|
3646
3658
|
cursor?: string;
|
|
@@ -3660,7 +3672,7 @@ export interface OperationQuery {
|
|
|
3660
3672
|
snapshot_id: string;
|
|
3661
3673
|
/** Opaque cursor from the previous response's next_cursor. */
|
|
3662
3674
|
cursor?: string;
|
|
3663
|
-
/** Maximum number of counterparty execution rows to return. */
|
|
3675
|
+
/** Maximum number of counterparty execution rows to return. Out-of-range values are clamped to 1..100. */
|
|
3664
3676
|
limit?: number;
|
|
3665
3677
|
};
|
|
3666
3678
|
listWhaleTradeCounterpartyMakers: {
|
|
@@ -3668,11 +3680,11 @@ export interface OperationQuery {
|
|
|
3668
3680
|
snapshot_id: string;
|
|
3669
3681
|
/** Opaque cursor from the previous response's next_cursor. */
|
|
3670
3682
|
cursor?: string;
|
|
3671
|
-
/** Maximum number of maker rows to return. */
|
|
3683
|
+
/** Maximum number of maker rows to return. Out-of-range values are clamped to 1..100. */
|
|
3672
3684
|
limit?: number;
|
|
3673
3685
|
};
|
|
3674
3686
|
listWhaleTradeHistory: {
|
|
3675
|
-
/** Maximum number of historical large trades to return. */
|
|
3687
|
+
/** Maximum number of historical large trades to return. Out-of-range values are clamped to 1..100. */
|
|
3676
3688
|
limit?: number;
|
|
3677
3689
|
/** Pagination cursor from previous response's next_cursor. Prefix: wth_. URL-encode when replaying as a query parameter. */
|
|
3678
3690
|
cursor?: string;
|
|
@@ -3700,7 +3712,7 @@ export interface OperationQuery {
|
|
|
3700
3712
|
sort?: "recent" | "market_volume_share";
|
|
3701
3713
|
};
|
|
3702
3714
|
listWhaleTrades: {
|
|
3703
|
-
/** Maximum number of recent large trades to return. */
|
|
3715
|
+
/** Maximum number of recent large trades to return. Out-of-range values are clamped to 1..100. */
|
|
3704
3716
|
limit?: number;
|
|
3705
3717
|
/** Pagination cursor from previous response's next_cursor. */
|
|
3706
3718
|
cursor?: string;
|
|
@@ -3725,13 +3737,13 @@ export interface OperationQuery {
|
|
|
3725
3737
|
searchContent: {
|
|
3726
3738
|
/** Search query. Must be 1-256 characters before whitespace trimming and non-empty after trimming. */
|
|
3727
3739
|
q: string;
|
|
3728
|
-
/** Maximum content items to return. */
|
|
3740
|
+
/** Maximum content items to return. Out-of-range values are clamped to 1..50. */
|
|
3729
3741
|
limit?: number;
|
|
3730
3742
|
};
|
|
3731
3743
|
searchMarkets: {
|
|
3732
3744
|
/** Search query. Must be 1-512 characters before whitespace trimming and non-empty after trimming. */
|
|
3733
3745
|
q: string;
|
|
3734
|
-
/** Maximum number of matching markets to return. */
|
|
3746
|
+
/** Maximum number of matching markets to return. Out-of-range values are clamped to 1..100. */
|
|
3735
3747
|
limit?: number;
|
|
3736
3748
|
/** Pagination cursor from previous response's next_cursor. */
|
|
3737
3749
|
cursor?: string;
|
|
@@ -4389,7 +4401,8 @@ export interface OperationResponse {
|
|
|
4389
4401
|
object: "list";
|
|
4390
4402
|
data: OperationData["listPreGameSideObservations"];
|
|
4391
4403
|
has_more: boolean;
|
|
4392
|
-
|
|
4404
|
+
/** Pass as cursor for the next page. Always sent; null on the last page. */
|
|
4405
|
+
next_cursor: string | null;
|
|
4393
4406
|
/** Completion time of the shared observation snapshot pinned by the cursor. */
|
|
4394
4407
|
snapshot_as_of: string;
|
|
4395
4408
|
/** True when an operational failure or unknown provider-board, holder, directional, reconciliation, or internal completeness state made this snapshot partial. This is snapshot-wide and can retain degradation that the funnel's one-terminal-per-input accounting cannot represent. Intentional bounded capacity_limited rows remain fully accounted in the funnel and do not by themselves set this field. */
|
|
@@ -4425,7 +4438,8 @@ export interface OperationResponse {
|
|
|
4425
4438
|
object: "list";
|
|
4426
4439
|
data: OperationData["listSportsEdgeObservations"];
|
|
4427
4440
|
has_more: boolean;
|
|
4428
|
-
|
|
4441
|
+
/** Pass as cursor for the next page. Always sent; null on the last page. */
|
|
4442
|
+
next_cursor: string | null;
|
|
4429
4443
|
/** Completion time of the shared observation snapshot pinned by the cursor. */
|
|
4430
4444
|
snapshot_as_of: string;
|
|
4431
4445
|
/** True when an operational failure or unknown provider-board, holder, directional, reconciliation, or internal completeness state made this snapshot partial. This is snapshot-wide and can retain degradation that the funnel's one-terminal-per-input accounting cannot represent. Intentional bounded capacity_limited rows remain fully accounted in the funnel and do not by themselves set this field. */
|