{"openapi":"3.1.0","info":{"title":"Hyperpeak API","version":"1.0.0","description":"Hyperliquid market intelligence, tracked wallet context and a read-only upstream gateway. Free: 10,000 admitted requests per UTC calendar month and 60 per rolling 60 seconds, enforced independently for both account and shared network. All keys share the account allowance. IPv6 networks are grouped by \/64.","contact":{"name":"Hyperpeak","url":"https:\/\/hyperpeak.ai"}},"servers":[{"url":"https:\/\/api.hyperpeak.ai"}],"security":[{"BearerAuth":[]}],"tags":[{"name":"Overview"},{"name":"Markets"},{"name":"Wallets"},{"name":"Positions"},{"name":"Leaderboards"},{"name":"Cohorts"},{"name":"Liquidation risk"},{"name":"Hyperliquid proxy"}],"paths":{"\/v1\/state":{"get":{"operationId":"state","summary":"Data freshness and coverage","tags":["Overview"],"description":"Freshness of the currently tracked datasets. Wallet counts are database estimates and do not claim complete network coverage.","parameters":[],"responses":{"200":{"description":"Successful response. Timestamps in numeric timestamp fields are Unix seconds; request time ranges use milliseconds. Database datetime strings are UTC. Financial decimals may be strings to retain precision.","headers":{"X-Request-Id":{"$ref":"#\/components\/headers\/X-Request-Id"},"X-Cache":{"$ref":"#\/components\/headers\/X-Cache"},"X-Source":{"$ref":"#\/components\/headers\/X-Source"},"X-Data-As-Of":{"$ref":"#\/components\/headers\/X-Data-As-Of"},"X-Fetched-At":{"$ref":"#\/components\/headers\/X-Fetched-At"},"X-RateLimit-Limit":{"$ref":"#\/components\/headers\/X-RateLimit-Limit"},"X-RateLimit-Account-Remaining":{"$ref":"#\/components\/headers\/X-RateLimit-Account-Remaining"},"X-RateLimit-IP-Remaining":{"$ref":"#\/components\/headers\/X-RateLimit-IP-Remaining"},"X-RateLimit-Account-Reset":{"$ref":"#\/components\/headers\/X-RateLimit-Account-Reset"},"X-RateLimit-IP-Reset":{"$ref":"#\/components\/headers\/X-RateLimit-IP-Reset"},"X-Quota-Limit":{"$ref":"#\/components\/headers\/X-Quota-Limit"},"X-Quota-Account-Remaining":{"$ref":"#\/components\/headers\/X-Quota-Account-Remaining"},"X-Quota-IP-Remaining":{"$ref":"#\/components\/headers\/X-Quota-IP-Remaining"},"X-Quota-Reset":{"$ref":"#\/components\/headers\/X-Quota-Reset"},"Retry-After":{"$ref":"#\/components\/headers\/Retry-After"}},"content":{"application\/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#\/components\/schemas\/State"},"meta":{"allOf":[{"$ref":"#\/components\/schemas\/Meta"}]}}}}}},"401":{"$ref":"#\/components\/responses\/Error401"},"404":{"$ref":"#\/components\/responses\/Error404"},"413":{"$ref":"#\/components\/responses\/Error413"},"422":{"$ref":"#\/components\/responses\/Error422"},"429":{"$ref":"#\/components\/responses\/Error429"},"500":{"$ref":"#\/components\/responses\/Error500"},"502":{"$ref":"#\/components\/responses\/Error502"},"503":{"$ref":"#\/components\/responses\/Error503"},"504":{"$ref":"#\/components\/responses\/Error504"}}}},"\/v1\/markets":{"get":{"operationId":"markets","summary":"List perpetual markets","tags":["Markets"],"description":"Read-only access to the available Hyperpeak dataset. Check meta for freshness, coverage and the next cursor.","parameters":[{"name":"dex","in":"query","required":false,"schema":{"type":"string","maxLength":50,"description":"Empty string selects the original DEX; omit for all DEXes."}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":200,"default":50}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","maxLength":2048,"description":"Opaque cursor returned in meta.pagination.nextCursor. Keep the same filters."}}],"responses":{"200":{"description":"Successful response. Timestamps in numeric timestamp fields are Unix seconds; request time ranges use milliseconds. Database datetime strings are UTC. Financial decimals may be strings to retain precision.","headers":{"X-Request-Id":{"$ref":"#\/components\/headers\/X-Request-Id"},"X-Cache":{"$ref":"#\/components\/headers\/X-Cache"},"X-Source":{"$ref":"#\/components\/headers\/X-Source"},"X-Data-As-Of":{"$ref":"#\/components\/headers\/X-Data-As-Of"},"X-Fetched-At":{"$ref":"#\/components\/headers\/X-Fetched-At"},"X-RateLimit-Limit":{"$ref":"#\/components\/headers\/X-RateLimit-Limit"},"X-RateLimit-Account-Remaining":{"$ref":"#\/components\/headers\/X-RateLimit-Account-Remaining"},"X-RateLimit-IP-Remaining":{"$ref":"#\/components\/headers\/X-RateLimit-IP-Remaining"},"X-RateLimit-Account-Reset":{"$ref":"#\/components\/headers\/X-RateLimit-Account-Reset"},"X-RateLimit-IP-Reset":{"$ref":"#\/components\/headers\/X-RateLimit-IP-Reset"},"X-Quota-Limit":{"$ref":"#\/components\/headers\/X-Quota-Limit"},"X-Quota-Account-Remaining":{"$ref":"#\/components\/headers\/X-Quota-Account-Remaining"},"X-Quota-IP-Remaining":{"$ref":"#\/components\/headers\/X-Quota-IP-Remaining"},"X-Quota-Reset":{"$ref":"#\/components\/headers\/X-Quota-Reset"},"Retry-After":{"$ref":"#\/components\/headers\/Retry-After"}},"content":{"application\/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/Market"}},"meta":{"allOf":[{"$ref":"#\/components\/schemas\/Meta"},{"type":"object","required":["pagination"],"properties":{"pagination":{"$ref":"#\/components\/schemas\/Pagination"}}}]}}}}}},"401":{"$ref":"#\/components\/responses\/Error401"},"404":{"$ref":"#\/components\/responses\/Error404"},"413":{"$ref":"#\/components\/responses\/Error413"},"422":{"$ref":"#\/components\/responses\/Error422"},"429":{"$ref":"#\/components\/responses\/Error429"},"500":{"$ref":"#\/components\/responses\/Error500"},"502":{"$ref":"#\/components\/responses\/Error502"},"503":{"$ref":"#\/components\/responses\/Error503"},"504":{"$ref":"#\/components\/responses\/Error504"}}}},"\/v1\/markets\/{coin}":{"get":{"operationId":"market","summary":"Market metadata and latest snapshot","tags":["Markets"],"description":"Read-only access to the available Hyperpeak dataset. Check meta for freshness, coverage and the next cursor.","parameters":[{"name":"coin","in":"path","required":true,"schema":{"type":"string","example":"BTC"}}],"responses":{"200":{"description":"Successful response. Timestamps in numeric timestamp fields are Unix seconds; request time ranges use milliseconds. Database datetime strings are UTC. Financial decimals may be strings to retain precision.","headers":{"X-Request-Id":{"$ref":"#\/components\/headers\/X-Request-Id"},"X-Cache":{"$ref":"#\/components\/headers\/X-Cache"},"X-Source":{"$ref":"#\/components\/headers\/X-Source"},"X-Data-As-Of":{"$ref":"#\/components\/headers\/X-Data-As-Of"},"X-Fetched-At":{"$ref":"#\/components\/headers\/X-Fetched-At"},"X-RateLimit-Limit":{"$ref":"#\/components\/headers\/X-RateLimit-Limit"},"X-RateLimit-Account-Remaining":{"$ref":"#\/components\/headers\/X-RateLimit-Account-Remaining"},"X-RateLimit-IP-Remaining":{"$ref":"#\/components\/headers\/X-RateLimit-IP-Remaining"},"X-RateLimit-Account-Reset":{"$ref":"#\/components\/headers\/X-RateLimit-Account-Reset"},"X-RateLimit-IP-Reset":{"$ref":"#\/components\/headers\/X-RateLimit-IP-Reset"},"X-Quota-Limit":{"$ref":"#\/components\/headers\/X-Quota-Limit"},"X-Quota-Account-Remaining":{"$ref":"#\/components\/headers\/X-Quota-Account-Remaining"},"X-Quota-IP-Remaining":{"$ref":"#\/components\/headers\/X-Quota-IP-Remaining"},"X-Quota-Reset":{"$ref":"#\/components\/headers\/X-Quota-Reset"},"Retry-After":{"$ref":"#\/components\/headers\/Retry-After"}},"content":{"application\/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#\/components\/schemas\/MarketDetail"},"meta":{"allOf":[{"$ref":"#\/components\/schemas\/Meta"}]}}}}}},"401":{"$ref":"#\/components\/responses\/Error401"},"404":{"$ref":"#\/components\/responses\/Error404"},"413":{"$ref":"#\/components\/responses\/Error413"},"422":{"$ref":"#\/components\/responses\/Error422"},"429":{"$ref":"#\/components\/responses\/Error429"},"500":{"$ref":"#\/components\/responses\/Error500"},"502":{"$ref":"#\/components\/responses\/Error502"},"503":{"$ref":"#\/components\/responses\/Error503"},"504":{"$ref":"#\/components\/responses\/Error504"}}}},"\/v1\/markets\/{coin}\/history":{"get":{"operationId":"history","summary":"Historical market snapshots","tags":["Markets"],"description":"Available indexed snapshots in the requested time window. Missing periods are not interpolated.","parameters":[{"name":"coin","in":"path","required":true,"schema":{"type":"string","example":"BTC"}},{"name":"startTime","in":"query","required":true,"schema":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Unix milliseconds. Ordered range, maximum 31 days."}},{"name":"endTime","in":"query","required":true,"schema":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Unix milliseconds. Ordered range, maximum 31 days."}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":200,"default":50}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","maxLength":2048,"description":"Opaque cursor returned in meta.pagination.nextCursor. Keep the same filters."}}],"responses":{"200":{"description":"Successful response. Timestamps in numeric timestamp fields are Unix seconds; request time ranges use milliseconds. Database datetime strings are UTC. Financial decimals may be strings to retain precision.","headers":{"X-Request-Id":{"$ref":"#\/components\/headers\/X-Request-Id"},"X-Cache":{"$ref":"#\/components\/headers\/X-Cache"},"X-Source":{"$ref":"#\/components\/headers\/X-Source"},"X-Data-As-Of":{"$ref":"#\/components\/headers\/X-Data-As-Of"},"X-Fetched-At":{"$ref":"#\/components\/headers\/X-Fetched-At"},"X-RateLimit-Limit":{"$ref":"#\/components\/headers\/X-RateLimit-Limit"},"X-RateLimit-Account-Remaining":{"$ref":"#\/components\/headers\/X-RateLimit-Account-Remaining"},"X-RateLimit-IP-Remaining":{"$ref":"#\/components\/headers\/X-RateLimit-IP-Remaining"},"X-RateLimit-Account-Reset":{"$ref":"#\/components\/headers\/X-RateLimit-Account-Reset"},"X-RateLimit-IP-Reset":{"$ref":"#\/components\/headers\/X-RateLimit-IP-Reset"},"X-Quota-Limit":{"$ref":"#\/components\/headers\/X-Quota-Limit"},"X-Quota-Account-Remaining":{"$ref":"#\/components\/headers\/X-Quota-Account-Remaining"},"X-Quota-IP-Remaining":{"$ref":"#\/components\/headers\/X-Quota-IP-Remaining"},"X-Quota-Reset":{"$ref":"#\/components\/headers\/X-Quota-Reset"},"Retry-After":{"$ref":"#\/components\/headers\/Retry-After"}},"content":{"application\/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/TickerPoint"}},"meta":{"allOf":[{"$ref":"#\/components\/schemas\/Meta"},{"type":"object","required":["pagination"],"properties":{"pagination":{"$ref":"#\/components\/schemas\/Pagination"}}}]}}}}}},"401":{"$ref":"#\/components\/responses\/Error401"},"404":{"$ref":"#\/components\/responses\/Error404"},"413":{"$ref":"#\/components\/responses\/Error413"},"422":{"$ref":"#\/components\/responses\/Error422"},"429":{"$ref":"#\/components\/responses\/Error429"},"500":{"$ref":"#\/components\/responses\/Error500"},"502":{"$ref":"#\/components\/responses\/Error502"},"503":{"$ref":"#\/components\/responses\/Error503"},"504":{"$ref":"#\/components\/responses\/Error504"}}}},"\/v1\/markets\/{coin}\/candles":{"get":{"operationId":"candles","summary":"Historical OHLCV candles","tags":["Markets"],"description":"Uses existing stored OHLCV tables. An unavailable market\/interval returns 404; archived data is not backfilled on demand.","parameters":[{"name":"coin","in":"path","required":true,"schema":{"type":"string","example":"BTC"}},{"name":"interval","in":"query","required":false,"schema":{"type":"string","enum":["1m","3m","5m","15m","30m","1h","2h","4h","8h","12h","1d","3d","1w","1M"],"default":"1h"}},{"name":"startTime","in":"query","required":true,"schema":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Unix milliseconds. Ordered range, maximum 31 days."}},{"name":"endTime","in":"query","required":true,"schema":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Unix milliseconds. Ordered range, maximum 31 days."}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":200,"default":50}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","maxLength":2048,"description":"Opaque cursor returned in meta.pagination.nextCursor. Keep the same filters."}}],"responses":{"200":{"description":"Successful response. Timestamps in numeric timestamp fields are Unix seconds; request time ranges use milliseconds. Database datetime strings are UTC. Financial decimals may be strings to retain precision.","headers":{"X-Request-Id":{"$ref":"#\/components\/headers\/X-Request-Id"},"X-Cache":{"$ref":"#\/components\/headers\/X-Cache"},"X-Source":{"$ref":"#\/components\/headers\/X-Source"},"X-Data-As-Of":{"$ref":"#\/components\/headers\/X-Data-As-Of"},"X-Fetched-At":{"$ref":"#\/components\/headers\/X-Fetched-At"},"X-RateLimit-Limit":{"$ref":"#\/components\/headers\/X-RateLimit-Limit"},"X-RateLimit-Account-Remaining":{"$ref":"#\/components\/headers\/X-RateLimit-Account-Remaining"},"X-RateLimit-IP-Remaining":{"$ref":"#\/components\/headers\/X-RateLimit-IP-Remaining"},"X-RateLimit-Account-Reset":{"$ref":"#\/components\/headers\/X-RateLimit-Account-Reset"},"X-RateLimit-IP-Reset":{"$ref":"#\/components\/headers\/X-RateLimit-IP-Reset"},"X-Quota-Limit":{"$ref":"#\/components\/headers\/X-Quota-Limit"},"X-Quota-Account-Remaining":{"$ref":"#\/components\/headers\/X-Quota-Account-Remaining"},"X-Quota-IP-Remaining":{"$ref":"#\/components\/headers\/X-Quota-IP-Remaining"},"X-Quota-Reset":{"$ref":"#\/components\/headers\/X-Quota-Reset"},"Retry-After":{"$ref":"#\/components\/headers\/Retry-After"}},"content":{"application\/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/Candle"}},"meta":{"allOf":[{"$ref":"#\/components\/schemas\/Meta"},{"type":"object","required":["pagination"],"properties":{"pagination":{"$ref":"#\/components\/schemas\/Pagination"}}}]}}}}}},"401":{"$ref":"#\/components\/responses\/Error401"},"404":{"$ref":"#\/components\/responses\/Error404"},"413":{"$ref":"#\/components\/responses\/Error413"},"422":{"$ref":"#\/components\/responses\/Error422"},"429":{"$ref":"#\/components\/responses\/Error429"},"500":{"$ref":"#\/components\/responses\/Error500"},"502":{"$ref":"#\/components\/responses\/Error502"},"503":{"$ref":"#\/components\/responses\/Error503"},"504":{"$ref":"#\/components\/responses\/Error504"}}}},"\/v1\/wallets\/{address}":{"get":{"operationId":"wallet","summary":"Tracked wallet perpetual summary","tags":["Wallets"],"description":"Tracked perpetual data only. Spot, staking and vault balances are available through the Hyperliquid info gateway.","parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"}}],"responses":{"200":{"description":"Successful response. Timestamps in numeric timestamp fields are Unix seconds; request time ranges use milliseconds. Database datetime strings are UTC. Financial decimals may be strings to retain precision.","headers":{"X-Request-Id":{"$ref":"#\/components\/headers\/X-Request-Id"},"X-Cache":{"$ref":"#\/components\/headers\/X-Cache"},"X-Source":{"$ref":"#\/components\/headers\/X-Source"},"X-Data-As-Of":{"$ref":"#\/components\/headers\/X-Data-As-Of"},"X-Fetched-At":{"$ref":"#\/components\/headers\/X-Fetched-At"},"X-RateLimit-Limit":{"$ref":"#\/components\/headers\/X-RateLimit-Limit"},"X-RateLimit-Account-Remaining":{"$ref":"#\/components\/headers\/X-RateLimit-Account-Remaining"},"X-RateLimit-IP-Remaining":{"$ref":"#\/components\/headers\/X-RateLimit-IP-Remaining"},"X-RateLimit-Account-Reset":{"$ref":"#\/components\/headers\/X-RateLimit-Account-Reset"},"X-RateLimit-IP-Reset":{"$ref":"#\/components\/headers\/X-RateLimit-IP-Reset"},"X-Quota-Limit":{"$ref":"#\/components\/headers\/X-Quota-Limit"},"X-Quota-Account-Remaining":{"$ref":"#\/components\/headers\/X-Quota-Account-Remaining"},"X-Quota-IP-Remaining":{"$ref":"#\/components\/headers\/X-Quota-IP-Remaining"},"X-Quota-Reset":{"$ref":"#\/components\/headers\/X-Quota-Reset"},"Retry-After":{"$ref":"#\/components\/headers\/Retry-After"}},"content":{"application\/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#\/components\/schemas\/Wallet"},"meta":{"allOf":[{"$ref":"#\/components\/schemas\/Meta"}]}}}}}},"401":{"$ref":"#\/components\/responses\/Error401"},"404":{"$ref":"#\/components\/responses\/Error404"},"413":{"$ref":"#\/components\/responses\/Error413"},"422":{"$ref":"#\/components\/responses\/Error422"},"429":{"$ref":"#\/components\/responses\/Error429"},"500":{"$ref":"#\/components\/responses\/Error500"},"502":{"$ref":"#\/components\/responses\/Error502"},"503":{"$ref":"#\/components\/responses\/Error503"},"504":{"$ref":"#\/components\/responses\/Error504"}}}},"\/v1\/wallets\/{address}\/positions":{"get":{"operationId":"walletPositions","summary":"A wallet\u2019s current positions","tags":["Wallets"],"description":"Tracked perpetual data only. Spot, staking and vault balances are available through the Hyperliquid info gateway.","parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"}},{"name":"dex","in":"query","required":false,"schema":{"type":"string","maxLength":50,"description":"Empty string selects the original DEX; omit for all DEXes."}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":200,"default":50}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","maxLength":2048,"description":"Opaque cursor returned in meta.pagination.nextCursor. Keep the same filters."}}],"responses":{"200":{"description":"Successful response. Timestamps in numeric timestamp fields are Unix seconds; request time ranges use milliseconds. Database datetime strings are UTC. Financial decimals may be strings to retain precision.","headers":{"X-Request-Id":{"$ref":"#\/components\/headers\/X-Request-Id"},"X-Cache":{"$ref":"#\/components\/headers\/X-Cache"},"X-Source":{"$ref":"#\/components\/headers\/X-Source"},"X-Data-As-Of":{"$ref":"#\/components\/headers\/X-Data-As-Of"},"X-Fetched-At":{"$ref":"#\/components\/headers\/X-Fetched-At"},"X-RateLimit-Limit":{"$ref":"#\/components\/headers\/X-RateLimit-Limit"},"X-RateLimit-Account-Remaining":{"$ref":"#\/components\/headers\/X-RateLimit-Account-Remaining"},"X-RateLimit-IP-Remaining":{"$ref":"#\/components\/headers\/X-RateLimit-IP-Remaining"},"X-RateLimit-Account-Reset":{"$ref":"#\/components\/headers\/X-RateLimit-Account-Reset"},"X-RateLimit-IP-Reset":{"$ref":"#\/components\/headers\/X-RateLimit-IP-Reset"},"X-Quota-Limit":{"$ref":"#\/components\/headers\/X-Quota-Limit"},"X-Quota-Account-Remaining":{"$ref":"#\/components\/headers\/X-Quota-Account-Remaining"},"X-Quota-IP-Remaining":{"$ref":"#\/components\/headers\/X-Quota-IP-Remaining"},"X-Quota-Reset":{"$ref":"#\/components\/headers\/X-Quota-Reset"},"Retry-After":{"$ref":"#\/components\/headers\/Retry-After"}},"content":{"application\/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/Position"}},"meta":{"allOf":[{"$ref":"#\/components\/schemas\/Meta"},{"type":"object","required":["pagination"],"properties":{"pagination":{"$ref":"#\/components\/schemas\/Pagination"}}}]}}}}}},"401":{"$ref":"#\/components\/responses\/Error401"},"404":{"$ref":"#\/components\/responses\/Error404"},"413":{"$ref":"#\/components\/responses\/Error413"},"422":{"$ref":"#\/components\/responses\/Error422"},"429":{"$ref":"#\/components\/responses\/Error429"},"500":{"$ref":"#\/components\/responses\/Error500"},"502":{"$ref":"#\/components\/responses\/Error502"},"503":{"$ref":"#\/components\/responses\/Error503"},"504":{"$ref":"#\/components\/responses\/Error504"}}}},"\/v1\/markets\/{coin}\/positions":{"get":{"operationId":"positions","summary":"Current positions in a market","tags":["Positions"],"description":"Current tracked positions. Historical opening times and openedWithin filters are not available.","parameters":[{"name":"coin","in":"path","required":true,"schema":{"type":"string","example":"BTC"}},{"name":"direction","in":"query","required":false,"schema":{"type":"string","enum":["long","short"]}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":200,"default":50}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","maxLength":2048,"description":"Opaque cursor returned in meta.pagination.nextCursor. Keep the same filters."}}],"responses":{"200":{"description":"Successful response. Timestamps in numeric timestamp fields are Unix seconds; request time ranges use milliseconds. Database datetime strings are UTC. Financial decimals may be strings to retain precision.","headers":{"X-Request-Id":{"$ref":"#\/components\/headers\/X-Request-Id"},"X-Cache":{"$ref":"#\/components\/headers\/X-Cache"},"X-Source":{"$ref":"#\/components\/headers\/X-Source"},"X-Data-As-Of":{"$ref":"#\/components\/headers\/X-Data-As-Of"},"X-Fetched-At":{"$ref":"#\/components\/headers\/X-Fetched-At"},"X-RateLimit-Limit":{"$ref":"#\/components\/headers\/X-RateLimit-Limit"},"X-RateLimit-Account-Remaining":{"$ref":"#\/components\/headers\/X-RateLimit-Account-Remaining"},"X-RateLimit-IP-Remaining":{"$ref":"#\/components\/headers\/X-RateLimit-IP-Remaining"},"X-RateLimit-Account-Reset":{"$ref":"#\/components\/headers\/X-RateLimit-Account-Reset"},"X-RateLimit-IP-Reset":{"$ref":"#\/components\/headers\/X-RateLimit-IP-Reset"},"X-Quota-Limit":{"$ref":"#\/components\/headers\/X-Quota-Limit"},"X-Quota-Account-Remaining":{"$ref":"#\/components\/headers\/X-Quota-Account-Remaining"},"X-Quota-IP-Remaining":{"$ref":"#\/components\/headers\/X-Quota-IP-Remaining"},"X-Quota-Reset":{"$ref":"#\/components\/headers\/X-Quota-Reset"},"Retry-After":{"$ref":"#\/components\/headers\/Retry-After"}},"content":{"application\/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/Position"}},"meta":{"allOf":[{"$ref":"#\/components\/schemas\/Meta"},{"type":"object","required":["pagination"],"properties":{"pagination":{"$ref":"#\/components\/schemas\/Pagination"}}}]}}}}}},"401":{"$ref":"#\/components\/responses\/Error401"},"404":{"$ref":"#\/components\/responses\/Error404"},"413":{"$ref":"#\/components\/responses\/Error413"},"422":{"$ref":"#\/components\/responses\/Error422"},"429":{"$ref":"#\/components\/responses\/Error429"},"500":{"$ref":"#\/components\/responses\/Error500"},"502":{"$ref":"#\/components\/responses\/Error502"},"503":{"$ref":"#\/components\/responses\/Error503"},"504":{"$ref":"#\/components\/responses\/Error504"}}}},"\/v1\/leaderboards\/perp-pnl":{"get":{"operationId":"pnlLeaderboard","summary":"Perpetual PNL leaderboard","tags":["Leaderboards"],"description":"Ranks tracked accounts by day, week, month or all-time perpetual PNL. This is not a total-wallet PNL ranking.","parameters":[{"name":"period","in":"query","required":false,"schema":{"type":"string","enum":["day","week","month","all_time"],"default":"all_time"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":200,"default":50}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","maxLength":2048,"description":"Opaque cursor returned in meta.pagination.nextCursor. Keep the same filters."}}],"responses":{"200":{"description":"Successful response. Timestamps in numeric timestamp fields are Unix seconds; request time ranges use milliseconds. Database datetime strings are UTC. Financial decimals may be strings to retain precision.","headers":{"X-Request-Id":{"$ref":"#\/components\/headers\/X-Request-Id"},"X-Cache":{"$ref":"#\/components\/headers\/X-Cache"},"X-Source":{"$ref":"#\/components\/headers\/X-Source"},"X-Data-As-Of":{"$ref":"#\/components\/headers\/X-Data-As-Of"},"X-Fetched-At":{"$ref":"#\/components\/headers\/X-Fetched-At"},"X-RateLimit-Limit":{"$ref":"#\/components\/headers\/X-RateLimit-Limit"},"X-RateLimit-Account-Remaining":{"$ref":"#\/components\/headers\/X-RateLimit-Account-Remaining"},"X-RateLimit-IP-Remaining":{"$ref":"#\/components\/headers\/X-RateLimit-IP-Remaining"},"X-RateLimit-Account-Reset":{"$ref":"#\/components\/headers\/X-RateLimit-Account-Reset"},"X-RateLimit-IP-Reset":{"$ref":"#\/components\/headers\/X-RateLimit-IP-Reset"},"X-Quota-Limit":{"$ref":"#\/components\/headers\/X-Quota-Limit"},"X-Quota-Account-Remaining":{"$ref":"#\/components\/headers\/X-Quota-Account-Remaining"},"X-Quota-IP-Remaining":{"$ref":"#\/components\/headers\/X-Quota-IP-Remaining"},"X-Quota-Reset":{"$ref":"#\/components\/headers\/X-Quota-Reset"},"Retry-After":{"$ref":"#\/components\/headers\/Retry-After"}},"content":{"application\/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/Wallet"}},"meta":{"allOf":[{"$ref":"#\/components\/schemas\/Meta"},{"type":"object","required":["pagination"],"properties":{"pagination":{"$ref":"#\/components\/schemas\/Pagination"}}}]}}}}}},"401":{"$ref":"#\/components\/responses\/Error401"},"404":{"$ref":"#\/components\/responses\/Error404"},"413":{"$ref":"#\/components\/responses\/Error413"},"422":{"$ref":"#\/components\/responses\/Error422"},"429":{"$ref":"#\/components\/responses\/Error429"},"500":{"$ref":"#\/components\/responses\/Error500"},"502":{"$ref":"#\/components\/responses\/Error502"},"503":{"$ref":"#\/components\/responses\/Error503"},"504":{"$ref":"#\/components\/responses\/Error504"}}}},"\/v1\/leaderboards\/positions":{"get":{"operationId":"positionLeaderboard","summary":"Largest current positions","tags":["Leaderboards"],"description":"Current tracked positions. Historical opening times and openedWithin filters are not available.","parameters":[{"name":"dex","in":"query","required":false,"schema":{"type":"string","maxLength":50,"description":"Empty string selects the original DEX; omit for all DEXes."}},{"name":"direction","in":"query","required":false,"schema":{"type":"string","enum":["long","short"]}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":200,"default":50}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","maxLength":2048,"description":"Opaque cursor returned in meta.pagination.nextCursor. Keep the same filters."}}],"responses":{"200":{"description":"Successful response. Timestamps in numeric timestamp fields are Unix seconds; request time ranges use milliseconds. Database datetime strings are UTC. Financial decimals may be strings to retain precision.","headers":{"X-Request-Id":{"$ref":"#\/components\/headers\/X-Request-Id"},"X-Cache":{"$ref":"#\/components\/headers\/X-Cache"},"X-Source":{"$ref":"#\/components\/headers\/X-Source"},"X-Data-As-Of":{"$ref":"#\/components\/headers\/X-Data-As-Of"},"X-Fetched-At":{"$ref":"#\/components\/headers\/X-Fetched-At"},"X-RateLimit-Limit":{"$ref":"#\/components\/headers\/X-RateLimit-Limit"},"X-RateLimit-Account-Remaining":{"$ref":"#\/components\/headers\/X-RateLimit-Account-Remaining"},"X-RateLimit-IP-Remaining":{"$ref":"#\/components\/headers\/X-RateLimit-IP-Remaining"},"X-RateLimit-Account-Reset":{"$ref":"#\/components\/headers\/X-RateLimit-Account-Reset"},"X-RateLimit-IP-Reset":{"$ref":"#\/components\/headers\/X-RateLimit-IP-Reset"},"X-Quota-Limit":{"$ref":"#\/components\/headers\/X-Quota-Limit"},"X-Quota-Account-Remaining":{"$ref":"#\/components\/headers\/X-Quota-Account-Remaining"},"X-Quota-IP-Remaining":{"$ref":"#\/components\/headers\/X-Quota-IP-Remaining"},"X-Quota-Reset":{"$ref":"#\/components\/headers\/X-Quota-Reset"},"Retry-After":{"$ref":"#\/components\/headers\/Retry-After"}},"content":{"application\/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/Position"}},"meta":{"allOf":[{"$ref":"#\/components\/schemas\/Meta"},{"type":"object","required":["pagination"],"properties":{"pagination":{"$ref":"#\/components\/schemas\/Pagination"}}}]}}}}}},"401":{"$ref":"#\/components\/responses\/Error401"},"404":{"$ref":"#\/components\/responses\/Error404"},"413":{"$ref":"#\/components\/responses\/Error413"},"422":{"$ref":"#\/components\/responses\/Error422"},"429":{"$ref":"#\/components\/responses\/Error429"},"500":{"$ref":"#\/components\/responses\/Error500"},"502":{"$ref":"#\/components\/responses\/Error502"},"503":{"$ref":"#\/components\/responses\/Error503"},"504":{"$ref":"#\/components\/responses\/Error504"}}}},"\/v1\/cohorts":{"get":{"operationId":"cohorts","summary":"PNL and equity cohort definitions","tags":["Cohorts"],"description":"Read-only access to the available Hyperpeak dataset. Check meta for freshness, coverage and the next cursor.","parameters":[],"responses":{"200":{"description":"Successful response. Timestamps in numeric timestamp fields are Unix seconds; request time ranges use milliseconds. Database datetime strings are UTC. Financial decimals may be strings to retain precision.","headers":{"X-Request-Id":{"$ref":"#\/components\/headers\/X-Request-Id"},"X-Cache":{"$ref":"#\/components\/headers\/X-Cache"},"X-Source":{"$ref":"#\/components\/headers\/X-Source"},"X-Data-As-Of":{"$ref":"#\/components\/headers\/X-Data-As-Of"},"X-Fetched-At":{"$ref":"#\/components\/headers\/X-Fetched-At"},"X-RateLimit-Limit":{"$ref":"#\/components\/headers\/X-RateLimit-Limit"},"X-RateLimit-Account-Remaining":{"$ref":"#\/components\/headers\/X-RateLimit-Account-Remaining"},"X-RateLimit-IP-Remaining":{"$ref":"#\/components\/headers\/X-RateLimit-IP-Remaining"},"X-RateLimit-Account-Reset":{"$ref":"#\/components\/headers\/X-RateLimit-Account-Reset"},"X-RateLimit-IP-Reset":{"$ref":"#\/components\/headers\/X-RateLimit-IP-Reset"},"X-Quota-Limit":{"$ref":"#\/components\/headers\/X-Quota-Limit"},"X-Quota-Account-Remaining":{"$ref":"#\/components\/headers\/X-Quota-Account-Remaining"},"X-Quota-IP-Remaining":{"$ref":"#\/components\/headers\/X-Quota-IP-Remaining"},"X-Quota-Reset":{"$ref":"#\/components\/headers\/X-Quota-Reset"},"Retry-After":{"$ref":"#\/components\/headers\/Retry-After"}},"content":{"application\/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/Cohort"}},"meta":{"allOf":[{"$ref":"#\/components\/schemas\/Meta"}]}}}}}},"401":{"$ref":"#\/components\/responses\/Error401"},"404":{"$ref":"#\/components\/responses\/Error404"},"413":{"$ref":"#\/components\/responses\/Error413"},"422":{"$ref":"#\/components\/responses\/Error422"},"429":{"$ref":"#\/components\/responses\/Error429"},"500":{"$ref":"#\/components\/responses\/Error500"},"502":{"$ref":"#\/components\/responses\/Error502"},"503":{"$ref":"#\/components\/responses\/Error503"},"504":{"$ref":"#\/components\/responses\/Error504"}}}},"\/v1\/cohorts\/history":{"get":{"operationId":"cohortHistory","summary":"Historical cohort exposure","tags":["Cohorts"],"description":"Available indexed snapshots in the requested time window. Missing periods are not interpolated.","parameters":[{"name":"coin","in":"query","required":true,"schema":{"type":"string","example":"BTC"}},{"name":"cohort","in":"query","required":false,"schema":{"type":"string","example":"smart_money"}},{"name":"startTime","in":"query","required":true,"schema":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Unix milliseconds. Ordered range, maximum 31 days."}},{"name":"endTime","in":"query","required":true,"schema":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Unix milliseconds. Ordered range, maximum 31 days."}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":200,"default":50}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","maxLength":2048,"description":"Opaque cursor returned in meta.pagination.nextCursor. Keep the same filters."}}],"responses":{"200":{"description":"Successful response. Timestamps in numeric timestamp fields are Unix seconds; request time ranges use milliseconds. Database datetime strings are UTC. Financial decimals may be strings to retain precision.","headers":{"X-Request-Id":{"$ref":"#\/components\/headers\/X-Request-Id"},"X-Cache":{"$ref":"#\/components\/headers\/X-Cache"},"X-Source":{"$ref":"#\/components\/headers\/X-Source"},"X-Data-As-Of":{"$ref":"#\/components\/headers\/X-Data-As-Of"},"X-Fetched-At":{"$ref":"#\/components\/headers\/X-Fetched-At"},"X-RateLimit-Limit":{"$ref":"#\/components\/headers\/X-RateLimit-Limit"},"X-RateLimit-Account-Remaining":{"$ref":"#\/components\/headers\/X-RateLimit-Account-Remaining"},"X-RateLimit-IP-Remaining":{"$ref":"#\/components\/headers\/X-RateLimit-IP-Remaining"},"X-RateLimit-Account-Reset":{"$ref":"#\/components\/headers\/X-RateLimit-Account-Reset"},"X-RateLimit-IP-Reset":{"$ref":"#\/components\/headers\/X-RateLimit-IP-Reset"},"X-Quota-Limit":{"$ref":"#\/components\/headers\/X-Quota-Limit"},"X-Quota-Account-Remaining":{"$ref":"#\/components\/headers\/X-Quota-Account-Remaining"},"X-Quota-IP-Remaining":{"$ref":"#\/components\/headers\/X-Quota-IP-Remaining"},"X-Quota-Reset":{"$ref":"#\/components\/headers\/X-Quota-Reset"},"Retry-After":{"$ref":"#\/components\/headers\/Retry-After"}},"content":{"application\/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/HeatmapEntry"}},"meta":{"allOf":[{"$ref":"#\/components\/schemas\/Meta"},{"type":"object","required":["pagination"],"properties":{"pagination":{"$ref":"#\/components\/schemas\/Pagination"}}}]}}}}}},"401":{"$ref":"#\/components\/responses\/Error401"},"404":{"$ref":"#\/components\/responses\/Error404"},"413":{"$ref":"#\/components\/responses\/Error413"},"422":{"$ref":"#\/components\/responses\/Error422"},"429":{"$ref":"#\/components\/responses\/Error429"},"500":{"$ref":"#\/components\/responses\/Error500"},"502":{"$ref":"#\/components\/responses\/Error502"},"503":{"$ref":"#\/components\/responses\/Error503"},"504":{"$ref":"#\/components\/responses\/Error504"}}}},"\/v1\/heatmap":{"get":{"operationId":"heatmap","summary":"Current cohort exposure and bias","tags":["Cohorts"],"description":"Read-only access to the available Hyperpeak dataset. Check meta for freshness, coverage and the next cursor.","parameters":[{"name":"coin","in":"query","required":false,"schema":{"type":"string","example":"BTC"}},{"name":"cohort","in":"query","required":false,"schema":{"type":"string","example":"smart_money"}},{"name":"type","in":"query","required":false,"schema":{"type":"string","enum":["pnl","balance"]}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":200,"default":50}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","maxLength":2048,"description":"Opaque cursor returned in meta.pagination.nextCursor. Keep the same filters."}}],"responses":{"200":{"description":"Successful response. Timestamps in numeric timestamp fields are Unix seconds; request time ranges use milliseconds. Database datetime strings are UTC. Financial decimals may be strings to retain precision.","headers":{"X-Request-Id":{"$ref":"#\/components\/headers\/X-Request-Id"},"X-Cache":{"$ref":"#\/components\/headers\/X-Cache"},"X-Source":{"$ref":"#\/components\/headers\/X-Source"},"X-Data-As-Of":{"$ref":"#\/components\/headers\/X-Data-As-Of"},"X-Fetched-At":{"$ref":"#\/components\/headers\/X-Fetched-At"},"X-RateLimit-Limit":{"$ref":"#\/components\/headers\/X-RateLimit-Limit"},"X-RateLimit-Account-Remaining":{"$ref":"#\/components\/headers\/X-RateLimit-Account-Remaining"},"X-RateLimit-IP-Remaining":{"$ref":"#\/components\/headers\/X-RateLimit-IP-Remaining"},"X-RateLimit-Account-Reset":{"$ref":"#\/components\/headers\/X-RateLimit-Account-Reset"},"X-RateLimit-IP-Reset":{"$ref":"#\/components\/headers\/X-RateLimit-IP-Reset"},"X-Quota-Limit":{"$ref":"#\/components\/headers\/X-Quota-Limit"},"X-Quota-Account-Remaining":{"$ref":"#\/components\/headers\/X-Quota-Account-Remaining"},"X-Quota-IP-Remaining":{"$ref":"#\/components\/headers\/X-Quota-IP-Remaining"},"X-Quota-Reset":{"$ref":"#\/components\/headers\/X-Quota-Reset"},"Retry-After":{"$ref":"#\/components\/headers\/Retry-After"}},"content":{"application\/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/HeatmapEntry"}},"meta":{"allOf":[{"$ref":"#\/components\/schemas\/Meta"},{"type":"object","required":["pagination"],"properties":{"pagination":{"$ref":"#\/components\/schemas\/Pagination"}}}]}}}}}},"401":{"$ref":"#\/components\/responses\/Error401"},"404":{"$ref":"#\/components\/responses\/Error404"},"413":{"$ref":"#\/components\/responses\/Error413"},"422":{"$ref":"#\/components\/responses\/Error422"},"429":{"$ref":"#\/components\/responses\/Error429"},"500":{"$ref":"#\/components\/responses\/Error500"},"502":{"$ref":"#\/components\/responses\/Error502"},"503":{"$ref":"#\/components\/responses\/Error503"},"504":{"$ref":"#\/components\/responses\/Error504"}}}},"\/v1\/liquidations\/heatmap":{"get":{"operationId":"liquidationHeatmap","summary":"Estimated liquidation price distribution","tags":["Liquidation risk"],"description":"Estimated exposure from position snapshots, not actual liquidation events. Prices and position sizes can change after a snapshot.","parameters":[{"name":"coin","in":"query","required":true,"schema":{"type":"string","example":"BTC"}},{"name":"range","in":"query","required":false,"schema":{"type":"integer","enum":[2,5,10,25,50,75],"default":25,"description":"Percentage distance either side of the snapshot reference price."}},{"name":"bins","in":"query","required":false,"schema":{"type":"integer","minimum":10,"maximum":200,"default":80}}],"responses":{"200":{"description":"Successful response. Timestamps in numeric timestamp fields are Unix seconds; request time ranges use milliseconds. Database datetime strings are UTC. Financial decimals may be strings to retain precision.","headers":{"X-Request-Id":{"$ref":"#\/components\/headers\/X-Request-Id"},"X-Cache":{"$ref":"#\/components\/headers\/X-Cache"},"X-Source":{"$ref":"#\/components\/headers\/X-Source"},"X-Data-As-Of":{"$ref":"#\/components\/headers\/X-Data-As-Of"},"X-Fetched-At":{"$ref":"#\/components\/headers\/X-Fetched-At"},"X-RateLimit-Limit":{"$ref":"#\/components\/headers\/X-RateLimit-Limit"},"X-RateLimit-Account-Remaining":{"$ref":"#\/components\/headers\/X-RateLimit-Account-Remaining"},"X-RateLimit-IP-Remaining":{"$ref":"#\/components\/headers\/X-RateLimit-IP-Remaining"},"X-RateLimit-Account-Reset":{"$ref":"#\/components\/headers\/X-RateLimit-Account-Reset"},"X-RateLimit-IP-Reset":{"$ref":"#\/components\/headers\/X-RateLimit-IP-Reset"},"X-Quota-Limit":{"$ref":"#\/components\/headers\/X-Quota-Limit"},"X-Quota-Account-Remaining":{"$ref":"#\/components\/headers\/X-Quota-Account-Remaining"},"X-Quota-IP-Remaining":{"$ref":"#\/components\/headers\/X-Quota-IP-Remaining"},"X-Quota-Reset":{"$ref":"#\/components\/headers\/X-Quota-Reset"},"Retry-After":{"$ref":"#\/components\/headers\/Retry-After"}},"content":{"application\/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#\/components\/schemas\/LiquidationDistribution"},"meta":{"allOf":[{"$ref":"#\/components\/schemas\/Meta"}]}}}}}},"401":{"$ref":"#\/components\/responses\/Error401"},"404":{"$ref":"#\/components\/responses\/Error404"},"413":{"$ref":"#\/components\/responses\/Error413"},"422":{"$ref":"#\/components\/responses\/Error422"},"429":{"$ref":"#\/components\/responses\/Error429"},"500":{"$ref":"#\/components\/responses\/Error500"},"502":{"$ref":"#\/components\/responses\/Error502"},"503":{"$ref":"#\/components\/responses\/Error503"},"504":{"$ref":"#\/components\/responses\/Error504"}}}},"\/v1\/liquidations\/risk":{"get":{"operationId":"liquidationRisk","summary":"Estimated liquidation exposure by distance","tags":["Liquidation risk"],"description":"Estimated exposure from position snapshots, not actual liquidation events. Prices and position sizes can change after a snapshot.","parameters":[{"name":"coin","in":"query","required":true,"schema":{"type":"string","example":"BTC"}}],"responses":{"200":{"description":"Successful response. Timestamps in numeric timestamp fields are Unix seconds; request time ranges use milliseconds. Database datetime strings are UTC. Financial decimals may be strings to retain precision.","headers":{"X-Request-Id":{"$ref":"#\/components\/headers\/X-Request-Id"},"X-Cache":{"$ref":"#\/components\/headers\/X-Cache"},"X-Source":{"$ref":"#\/components\/headers\/X-Source"},"X-Data-As-Of":{"$ref":"#\/components\/headers\/X-Data-As-Of"},"X-Fetched-At":{"$ref":"#\/components\/headers\/X-Fetched-At"},"X-RateLimit-Limit":{"$ref":"#\/components\/headers\/X-RateLimit-Limit"},"X-RateLimit-Account-Remaining":{"$ref":"#\/components\/headers\/X-RateLimit-Account-Remaining"},"X-RateLimit-IP-Remaining":{"$ref":"#\/components\/headers\/X-RateLimit-IP-Remaining"},"X-RateLimit-Account-Reset":{"$ref":"#\/components\/headers\/X-RateLimit-Account-Reset"},"X-RateLimit-IP-Reset":{"$ref":"#\/components\/headers\/X-RateLimit-IP-Reset"},"X-Quota-Limit":{"$ref":"#\/components\/headers\/X-Quota-Limit"},"X-Quota-Account-Remaining":{"$ref":"#\/components\/headers\/X-Quota-Account-Remaining"},"X-Quota-IP-Remaining":{"$ref":"#\/components\/headers\/X-Quota-IP-Remaining"},"X-Quota-Reset":{"$ref":"#\/components\/headers\/X-Quota-Reset"},"Retry-After":{"$ref":"#\/components\/headers\/Retry-After"}},"content":{"application\/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#\/components\/schemas\/LiquidationRisk"},"meta":{"allOf":[{"$ref":"#\/components\/schemas\/Meta"}]}}}}}},"401":{"$ref":"#\/components\/responses\/Error401"},"404":{"$ref":"#\/components\/responses\/Error404"},"413":{"$ref":"#\/components\/responses\/Error413"},"422":{"$ref":"#\/components\/responses\/Error422"},"429":{"$ref":"#\/components\/responses\/Error429"},"500":{"$ref":"#\/components\/responses\/Error500"},"502":{"$ref":"#\/components\/responses\/Error502"},"503":{"$ref":"#\/components\/responses\/Error503"},"504":{"$ref":"#\/components\/responses\/Error504"}}}},"\/v1\/hyperliquid\/info":{"post":{"operationId":"hyperliquidInfo","summary":"Query the read-only Hyperliquid info API","tags":["Hyperliquid proxy"],"description":"55 explicitly supported read-only operations. Payloads and successful upstream JSON are preserved. Unknown fields and operations are rejected. Ranges are at most 31 days. userFills and historicalOrders return at most 2,000 entries; userFillsByTime exposes only the latest 10,000 fills; candleSnapshot exposes at most the latest 5,000 candles. Each accepted call consumes one Hyperpeak request, including a cache hit or error. Upstream calls also share a weighted server allowance.","requestBody":{"required":true,"content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Info_activeAssetData"},{"$ref":"#\/components\/schemas\/Info_allBorrowLendReserveStates"},{"$ref":"#\/components\/schemas\/Info_allMids"},{"$ref":"#\/components\/schemas\/Info_allPerpMetas"},{"$ref":"#\/components\/schemas\/Info_approvedBuilders"},{"$ref":"#\/components\/schemas\/Info_borrowLendReserveState"},{"$ref":"#\/components\/schemas\/Info_borrowLendUserState"},{"$ref":"#\/components\/schemas\/Info_candleSnapshot"},{"$ref":"#\/components\/schemas\/Info_clearinghouseState"},{"$ref":"#\/components\/schemas\/Info_delegations"},{"$ref":"#\/components\/schemas\/Info_delegatorHistory"},{"$ref":"#\/components\/schemas\/Info_delegatorRewards"},{"$ref":"#\/components\/schemas\/Info_delegatorSummary"},{"$ref":"#\/components\/schemas\/Info_frontendOpenOrders"},{"$ref":"#\/components\/schemas\/Info_fundingHistory"},{"$ref":"#\/components\/schemas\/Info_historicalOrders"},{"$ref":"#\/components\/schemas\/Info_l2Book"},{"$ref":"#\/components\/schemas\/Info_maxBuilderFee"},{"$ref":"#\/components\/schemas\/Info_meta"},{"$ref":"#\/components\/schemas\/Info_metaAndAssetCtxs"},{"$ref":"#\/components\/schemas\/Info_openOrders"},{"$ref":"#\/components\/schemas\/Info_orderStatus"},{"$ref":"#\/components\/schemas\/Info_outcomeDeployerLimits"},{"$ref":"#\/components\/schemas\/Info_outcomeMeta"},{"$ref":"#\/components\/schemas\/Info_perpAnnotation"},{"$ref":"#\/components\/schemas\/Info_perpCategories"},{"$ref":"#\/components\/schemas\/Info_perpConciseAnnotations"},{"$ref":"#\/components\/schemas\/Info_perpDeployAuctionStatus"},{"$ref":"#\/components\/schemas\/Info_perpDexLimits"},{"$ref":"#\/components\/schemas\/Info_perpDexStatus"},{"$ref":"#\/components\/schemas\/Info_perpDexs"},{"$ref":"#\/components\/schemas\/Info_perpsAtOpenInterestCap"},{"$ref":"#\/components\/schemas\/Info_portfolio"},{"$ref":"#\/components\/schemas\/Info_predictedFundings"},{"$ref":"#\/components\/schemas\/Info_referral"},{"$ref":"#\/components\/schemas\/Info_settledOutcome"},{"$ref":"#\/components\/schemas\/Info_spotClearinghouseState"},{"$ref":"#\/components\/schemas\/Info_spotDeployState"},{"$ref":"#\/components\/schemas\/Info_spotMeta"},{"$ref":"#\/components\/schemas\/Info_spotMetaAndAssetCtxs"},{"$ref":"#\/components\/schemas\/Info_spotPairDeployAuctionStatus"},{"$ref":"#\/components\/schemas\/Info_subAccounts"},{"$ref":"#\/components\/schemas\/Info_tokenDetails"},{"$ref":"#\/components\/schemas\/Info_userAbstraction"},{"$ref":"#\/components\/schemas\/Info_userDexAbstraction"},{"$ref":"#\/components\/schemas\/Info_userFees"},{"$ref":"#\/components\/schemas\/Info_userFills"},{"$ref":"#\/components\/schemas\/Info_userFillsByTime"},{"$ref":"#\/components\/schemas\/Info_userFunding"},{"$ref":"#\/components\/schemas\/Info_userNonFundingLedgerUpdates"},{"$ref":"#\/components\/schemas\/Info_userRateLimit"},{"$ref":"#\/components\/schemas\/Info_userRole"},{"$ref":"#\/components\/schemas\/Info_userTwapSliceFills"},{"$ref":"#\/components\/schemas\/Info_userVaultEquities"},{"$ref":"#\/components\/schemas\/Info_vaultDetails"}]},"example":{"type":"allMids"}}}},"responses":{"200":{"description":"Original Hyperliquid JSON. Response structure depends on type.","headers":{"X-Request-Id":{"$ref":"#\/components\/headers\/X-Request-Id"},"X-Cache":{"$ref":"#\/components\/headers\/X-Cache"},"X-Source":{"$ref":"#\/components\/headers\/X-Source"},"X-Data-As-Of":{"$ref":"#\/components\/headers\/X-Data-As-Of"},"X-Fetched-At":{"$ref":"#\/components\/headers\/X-Fetched-At"},"X-RateLimit-Limit":{"$ref":"#\/components\/headers\/X-RateLimit-Limit"},"X-RateLimit-Account-Remaining":{"$ref":"#\/components\/headers\/X-RateLimit-Account-Remaining"},"X-RateLimit-IP-Remaining":{"$ref":"#\/components\/headers\/X-RateLimit-IP-Remaining"},"X-RateLimit-Account-Reset":{"$ref":"#\/components\/headers\/X-RateLimit-Account-Reset"},"X-RateLimit-IP-Reset":{"$ref":"#\/components\/headers\/X-RateLimit-IP-Reset"},"X-Quota-Limit":{"$ref":"#\/components\/headers\/X-Quota-Limit"},"X-Quota-Account-Remaining":{"$ref":"#\/components\/headers\/X-Quota-Account-Remaining"},"X-Quota-IP-Remaining":{"$ref":"#\/components\/headers\/X-Quota-IP-Remaining"},"X-Quota-Reset":{"$ref":"#\/components\/headers\/X-Quota-Reset"},"Retry-After":{"$ref":"#\/components\/headers\/Retry-After"}},"content":{"application\/json":{"schema":{"type":["object","array","string","number","boolean","null"]}}}},"401":{"$ref":"#\/components\/responses\/Error401"},"404":{"$ref":"#\/components\/responses\/Error404"},"413":{"$ref":"#\/components\/responses\/Error413"},"422":{"$ref":"#\/components\/responses\/Error422"},"429":{"$ref":"#\/components\/responses\/Error429"},"500":{"$ref":"#\/components\/responses\/Error500"},"502":{"$ref":"#\/components\/responses\/Error502"},"503":{"$ref":"#\/components\/responses\/Error503"},"504":{"$ref":"#\/components\/responses\/Error504"}}}}},"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","description":"Create up to five keys in the member portal. Browser sessions are not API credentials."}},"schemas":{"Error":{"type":"object","required":["error","requestId"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":true}}},"requestId":{"type":["string","null"]}}},"Meta":{"type":"object","required":["source","dataAsOf","fetchedAt","coverage"],"properties":{"source":{"type":"string","const":"hyperpeak"},"dataAsOf":{"type":["string","null"]},"fetchedAt":{"type":"string"},"coverage":{"type":"object","required":["dex","wallets","historical","networkComplete"],"properties":{"dex":{"type":"string"},"wallets":{"const":"tracked_only"},"historical":{"const":"available_snapshots"},"networkComplete":{"const":false}}}}},"Pagination":{"type":"object","required":["limit","nextCursor","hasMore"],"properties":{"limit":{"type":"integer","minimum":1,"maximum":200},"nextCursor":{"type":["string","null"]},"hasMore":{"type":"boolean"}}},"State":{"type":"object","required":["accountsUpdatedAt","marketSnapshotAt","cohortsUpdatedAt","activeMarkets","dexes","trackedWalletsApprox","walletCountIsEstimate","networkComplete"],"properties":{"accountsUpdatedAt":{"type":["string","null"]},"marketSnapshotAt":{"type":["string","null"]},"cohortsUpdatedAt":{"type":["string","null"]},"activeMarkets":{"type":"integer"},"dexes":{"type":"array","items":{"type":"string"}},"trackedWalletsApprox":{"type":"integer"},"walletCountIsEstimate":{"const":true},"networkComplete":{"const":false}}},"Market":{"type":"object","required":["coin","dex","name","mark_px","updated_at"],"properties":{"coin":{"type":"string"},"dex":{"type":"string"},"asset_id":{"type":["integer","null"]},"name":{"type":"string"},"dex_full_name":{"type":["string","null"]},"updated_at":{"type":["string","null"]},"mark_px":{"type":["number","string","null"]},"mid_px":{"type":["number","string","null"]},"open_interest":{"type":["number","string","null"]},"day_ntl_vlm":{"type":["number","string","null"]},"funding":{"type":["number","string","null"]},"oracle_px":{"type":["number","string","null"]},"prev_day_px":{"type":["number","string","null"]}}},"Position":{"type":"object","required":["trader_address","coin","direction","timestamp","size","entry_price","liquidation_price","leverage","position_value","unrealized_pnl","margin_used","max_leverage","cum_funding_all_time","cum_funding_since_open","cum_funding_since_change"],"properties":{"trader_address":{"type":"string"},"coin":{"type":"string"},"direction":{"type":"string","enum":["long","short"]},"timestamp":{"type":"integer"},"size":{"type":["number","string","null"]},"entry_price":{"type":["number","string","null"]},"liquidation_price":{"type":["number","string","null"]},"leverage":{"type":["number","string","null"]},"position_value":{"type":["number","string","null"]},"unrealized_pnl":{"type":["number","string","null"]},"margin_used":{"type":["number","string","null"]},"max_leverage":{"type":["number","string","null"]},"cum_funding_all_time":{"type":["number","string","null"]},"cum_funding_since_open":{"type":["number","string","null"]},"cum_funding_since_change":{"type":["number","string","null"]}}},"Wallet":{"type":"object","required":["trader_address","timestamp","total_positions","first_activity","perp_balance","unrealized_pnl_total","perp_pnl_day","perp_pnl_week","perp_pnl_month","perp_pnl_all_time"],"properties":{"trader_address":{"type":"string"},"timestamp":{"type":"integer"},"total_positions":{"type":"integer"},"first_activity":{"type":["string","null"]},"perp_balance":{"type":["number","string","null"]},"unrealized_pnl_total":{"type":["number","string","null"]},"perp_pnl_day":{"type":["number","string","null"]},"perp_pnl_week":{"type":["number","string","null"]},"perp_pnl_month":{"type":["number","string","null"]},"perp_pnl_all_time":{"type":["number","string","null"]}}},"TickerPoint":{"type":"object","required":["id","coin","snapshot_time","bid_price","ask_price","spread_percent","price_change_24h","volume_24h","open_interest","long_interest","short_interest","funding_1h","funding_8h"],"properties":{"id":{"type":"integer"},"coin":{"type":"string"},"snapshot_time":{"type":"string"},"bid_price":{"type":["number","string","null"]},"ask_price":{"type":["number","string","null"]},"spread_percent":{"type":["number","string","null"]},"price_change_24h":{"type":["number","string","null"]},"volume_24h":{"type":["number","string","null"]},"open_interest":{"type":["number","string","null"]},"long_interest":{"type":["number","string","null"]},"short_interest":{"type":["number","string","null"]},"funding_1h":{"type":["number","string","null"]},"funding_8h":{"type":["number","string","null"]}}},"MarketDetail":{"type":"object","required":["market","snapshot"],"properties":{"market":{"$ref":"#\/components\/schemas\/Market"},"snapshot":{"anyOf":[{"$ref":"#\/components\/schemas\/TickerPoint"},{"type":"null"}]}}},"Candle":{"type":"object","required":["timestamp","open","high","low","close","volume"],"properties":{"timestamp":{"type":"integer"},"open":{"type":["number","string","null"]},"high":{"type":["number","string","null"]},"low":{"type":["number","string","null"]},"close":{"type":["number","string","null"]},"volume":{"type":["number","string","null"]}}},"Cohort":{"type":"object","required":["id","name","type","min","max","field","unit"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"type":{"enum":["pnl","balance"]},"min":{"type":["number","string","null"]},"max":{"type":["number","string","null"]},"field":{"type":"string"},"unit":{"const":"USD"}}},"HeatmapEntry":{"type":"object","required":["coin","cohort_id","cohort_type","bias_direction","long_oi","short_oi","total_oi","bias","long_traders","short_traders","total_traders"],"properties":{"coin":{"type":"string"},"cohort_id":{"type":"string"},"cohort_type":{"enum":["pnl","balance"]},"bias_direction":{"type":"string"},"long_oi":{"type":["number","string","null"]},"short_oi":{"type":["number","string","null"]},"total_oi":{"type":["number","string","null"]},"bias":{"type":["number","string","null"]},"long_traders":{"type":"integer"},"short_traders":{"type":"integer"},"total_traders":{"type":"integer"}}},"LiquidationDistribution":{"type":"object","required":["coin","kind","referencePrice","rangePercent","bins"],"properties":{"coin":{"type":"string"},"kind":{"const":"estimated_liquidation_distribution"},"referencePrice":{"type":"number"},"rangePercent":{"type":"integer"},"bins":{"type":"array","items":{"type":"object","required":["priceFrom","priceTo","longValue","shortValue","positions"],"properties":{"priceFrom":{"type":"number"},"priceTo":{"type":"number"},"longValue":{"type":"number"},"shortValue":{"type":"number"},"positions":{"type":"integer"}}}}}},"LiquidationRisk":{"type":"object","required":["coin","kind","levels"],"properties":{"coin":{"type":"string"},"kind":{"const":"estimated_liquidation_risk"},"levels":{"type":"array","items":{"type":"object","required":["distancePercent","longValue","shortValue"],"properties":{"distancePercent":{"type":"integer"},"longValue":{"type":["number","string","null"]},"shortValue":{"type":["number","string","null"]}}}}}},"Info_activeAssetData":{"type":"object","additionalProperties":false,"required":["type","user","coin"],"properties":{"type":{"type":"string","const":"activeAssetData"},"user":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Wallet address, not an agent address."},"coin":{"type":"string","maxLength":80,"description":"Canonical coin, including HIP-3 prefix, e.g. BTC or xyz:XYZ100."}}},"Info_allBorrowLendReserveStates":{"type":"object","additionalProperties":false,"required":["type"],"properties":{"type":{"type":"string","const":"allBorrowLendReserveStates"}}},"Info_allMids":{"type":"object","additionalProperties":false,"required":["type"],"properties":{"type":{"type":"string","const":"allMids"},"dex":{"type":"string","maxLength":50,"description":"Empty string selects the original Hyperliquid DEX."}}},"Info_allPerpMetas":{"type":"object","additionalProperties":false,"required":["type"],"properties":{"type":{"type":"string","const":"allPerpMetas"}}},"Info_approvedBuilders":{"type":"object","additionalProperties":false,"required":["type","user"],"properties":{"type":{"type":"string","const":"approvedBuilders"},"user":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Wallet address, not an agent address."}}},"Info_borrowLendReserveState":{"type":"object","additionalProperties":false,"required":["type","token"],"properties":{"type":{"type":"string","const":"borrowLendReserveState"},"token":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Nonnegative index."}}},"Info_borrowLendUserState":{"type":"object","additionalProperties":false,"required":["type","user"],"properties":{"type":{"type":"string","const":"borrowLendUserState"},"user":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Wallet address, not an agent address."}}},"Info_candleSnapshot":{"type":"object","additionalProperties":false,"required":["type","req"],"properties":{"type":{"type":"string","const":"candleSnapshot"},"req":{"type":"object","additionalProperties":false,"required":["coin","interval","startTime","endTime"],"properties":{"coin":{"type":"string","maxLength":80,"description":"Canonical coin, including HIP-3 prefix, e.g. BTC or xyz:XYZ100."},"interval":{"type":"string","enum":["1m","3m","5m","15m","30m","1h","2h","4h","8h","12h","1d","3d","1w","1M"]},"startTime":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Unix timestamp in milliseconds. Maximum range: 31 days."},"endTime":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Unix timestamp in milliseconds. Maximum range: 31 days."}}}}},"Info_clearinghouseState":{"type":"object","additionalProperties":false,"required":["type","user"],"properties":{"type":{"type":"string","const":"clearinghouseState"},"user":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Wallet address, not an agent address."},"dex":{"type":"string","maxLength":50,"description":"Empty string selects the original Hyperliquid DEX."}}},"Info_delegations":{"type":"object","additionalProperties":false,"required":["type","user"],"properties":{"type":{"type":"string","const":"delegations"},"user":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Wallet address, not an agent address."}}},"Info_delegatorHistory":{"type":"object","additionalProperties":false,"required":["type","user"],"properties":{"type":{"type":"string","const":"delegatorHistory"},"user":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Wallet address, not an agent address."}}},"Info_delegatorRewards":{"type":"object","additionalProperties":false,"required":["type","user"],"properties":{"type":{"type":"string","const":"delegatorRewards"},"user":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Wallet address, not an agent address."}}},"Info_delegatorSummary":{"type":"object","additionalProperties":false,"required":["type","user"],"properties":{"type":{"type":"string","const":"delegatorSummary"},"user":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Wallet address, not an agent address."}}},"Info_frontendOpenOrders":{"type":"object","additionalProperties":false,"required":["type","user"],"properties":{"type":{"type":"string","const":"frontendOpenOrders"},"user":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Wallet address, not an agent address."},"dex":{"type":"string","maxLength":50,"description":"Empty string selects the original Hyperliquid DEX."}}},"Info_fundingHistory":{"type":"object","additionalProperties":false,"required":["type","coin","startTime"],"properties":{"type":{"type":"string","const":"fundingHistory"},"coin":{"type":"string","maxLength":80,"description":"Canonical coin, including HIP-3 prefix, e.g. BTC or xyz:XYZ100."},"startTime":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Unix timestamp in milliseconds. Maximum range: 31 days."},"endTime":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Unix timestamp in milliseconds. Maximum range: 31 days."}}},"Info_historicalOrders":{"type":"object","additionalProperties":false,"required":["type","user"],"properties":{"type":{"type":"string","const":"historicalOrders"},"user":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Wallet address, not an agent address."}}},"Info_l2Book":{"type":"object","additionalProperties":false,"required":["type","coin"],"properties":{"type":{"type":"string","const":"l2Book"},"coin":{"type":"string","maxLength":80,"description":"Canonical coin, including HIP-3 prefix, e.g. BTC or xyz:XYZ100."},"nSigFigs":{"type":["integer","null"],"enum":[2,3,4,5,null]},"mantissa":{"type":"integer","enum":[1,2,5],"description":"Requires nSigFigs=5."}}},"Info_maxBuilderFee":{"type":"object","additionalProperties":false,"required":["type","user","builder"],"properties":{"type":{"type":"string","const":"maxBuilderFee"},"user":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Wallet address, not an agent address."},"builder":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Wallet address, not an agent address."}}},"Info_meta":{"type":"object","additionalProperties":false,"required":["type"],"properties":{"type":{"type":"string","const":"meta"},"dex":{"type":"string","maxLength":50,"description":"Empty string selects the original Hyperliquid DEX."}}},"Info_metaAndAssetCtxs":{"type":"object","additionalProperties":false,"required":["type"],"properties":{"type":{"type":"string","const":"metaAndAssetCtxs"},"dex":{"type":"string","maxLength":50,"description":"Empty string selects the original Hyperliquid DEX."}}},"Info_openOrders":{"type":"object","additionalProperties":false,"required":["type","user"],"properties":{"type":{"type":"string","const":"openOrders"},"user":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Wallet address, not an agent address."},"dex":{"type":"string","maxLength":50,"description":"Empty string selects the original Hyperliquid DEX."}}},"Info_orderStatus":{"type":"object","additionalProperties":false,"required":["type","user","oid"],"properties":{"type":{"type":"string","const":"orderStatus"},"user":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Wallet address, not an agent address."},"oid":{"oneOf":[{"type":"integer","minimum":0},{"type":"string","pattern":"^0x[a-fA-F0-9]{32}$"}]}}},"Info_outcomeDeployerLimits":{"type":"object","additionalProperties":false,"required":["type","venue"],"properties":{"type":{"type":"string","const":"outcomeDeployerLimits"},"venue":{"type":"string","minLength":1,"maxLength":50}}},"Info_outcomeMeta":{"type":"object","additionalProperties":false,"required":["type"],"properties":{"type":{"type":"string","const":"outcomeMeta"}}},"Info_perpAnnotation":{"type":"object","additionalProperties":false,"required":["type","coin"],"properties":{"type":{"type":"string","const":"perpAnnotation"},"coin":{"type":"string","maxLength":80,"description":"Canonical coin, including HIP-3 prefix, e.g. BTC or xyz:XYZ100."}}},"Info_perpCategories":{"type":"object","additionalProperties":false,"required":["type"],"properties":{"type":{"type":"string","const":"perpCategories"}}},"Info_perpConciseAnnotations":{"type":"object","additionalProperties":false,"required":["type"],"properties":{"type":{"type":"string","const":"perpConciseAnnotations"}}},"Info_perpDeployAuctionStatus":{"type":"object","additionalProperties":false,"required":["type"],"properties":{"type":{"type":"string","const":"perpDeployAuctionStatus"}}},"Info_perpDexLimits":{"type":"object","additionalProperties":false,"required":["type","dex"],"properties":{"type":{"type":"string","const":"perpDexLimits"},"dex":{"type":"string","minLength":1,"maxLength":50}}},"Info_perpDexStatus":{"type":"object","additionalProperties":false,"required":["type","dex"],"properties":{"type":{"type":"string","const":"perpDexStatus"},"dex":{"type":"string","maxLength":50,"description":"Empty string selects the original Hyperliquid DEX."}}},"Info_perpDexs":{"type":"object","additionalProperties":false,"required":["type"],"properties":{"type":{"type":"string","const":"perpDexs"}}},"Info_perpsAtOpenInterestCap":{"type":"object","additionalProperties":false,"required":["type"],"properties":{"type":{"type":"string","const":"perpsAtOpenInterestCap"},"dex":{"type":"string","maxLength":50,"description":"Empty string selects the original Hyperliquid DEX."}}},"Info_portfolio":{"type":"object","additionalProperties":false,"required":["type","user"],"properties":{"type":{"type":"string","const":"portfolio"},"user":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Wallet address, not an agent address."}}},"Info_predictedFundings":{"type":"object","additionalProperties":false,"required":["type"],"properties":{"type":{"type":"string","const":"predictedFundings"}}},"Info_referral":{"type":"object","additionalProperties":false,"required":["type","user"],"properties":{"type":{"type":"string","const":"referral"},"user":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Wallet address, not an agent address."}}},"Info_settledOutcome":{"type":"object","additionalProperties":false,"required":["type","outcome"],"properties":{"type":{"type":"string","const":"settledOutcome"},"outcome":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Nonnegative index."}}},"Info_spotClearinghouseState":{"type":"object","additionalProperties":false,"required":["type","user"],"properties":{"type":{"type":"string","const":"spotClearinghouseState"},"user":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Wallet address, not an agent address."}}},"Info_spotDeployState":{"type":"object","additionalProperties":false,"required":["type","user"],"properties":{"type":{"type":"string","const":"spotDeployState"},"user":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Wallet address, not an agent address."}}},"Info_spotMeta":{"type":"object","additionalProperties":false,"required":["type"],"properties":{"type":{"type":"string","const":"spotMeta"}}},"Info_spotMetaAndAssetCtxs":{"type":"object","additionalProperties":false,"required":["type"],"properties":{"type":{"type":"string","const":"spotMetaAndAssetCtxs"}}},"Info_spotPairDeployAuctionStatus":{"type":"object","additionalProperties":false,"required":["type"],"properties":{"type":{"type":"string","const":"spotPairDeployAuctionStatus"}}},"Info_subAccounts":{"type":"object","additionalProperties":false,"required":["type","user"],"properties":{"type":{"type":"string","const":"subAccounts"},"user":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Wallet address, not an agent address."}}},"Info_tokenDetails":{"type":"object","additionalProperties":false,"required":["type","tokenId"],"properties":{"type":{"type":"string","const":"tokenDetails"},"tokenId":{"type":"string","pattern":"^0x[a-fA-F0-9]{32}$"}}},"Info_userAbstraction":{"type":"object","additionalProperties":false,"required":["type","user"],"properties":{"type":{"type":"string","const":"userAbstraction"},"user":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Wallet address, not an agent address."}}},"Info_userDexAbstraction":{"type":"object","additionalProperties":false,"required":["type","user"],"properties":{"type":{"type":"string","const":"userDexAbstraction"},"user":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Wallet address, not an agent address."}}},"Info_userFees":{"type":"object","additionalProperties":false,"required":["type","user"],"properties":{"type":{"type":"string","const":"userFees"},"user":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Wallet address, not an agent address."}}},"Info_userFills":{"type":"object","additionalProperties":false,"required":["type","user"],"properties":{"type":{"type":"string","const":"userFills"},"user":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Wallet address, not an agent address."},"aggregateByTime":{"type":"boolean"}}},"Info_userFillsByTime":{"type":"object","additionalProperties":false,"required":["type","user","startTime"],"properties":{"type":{"type":"string","const":"userFillsByTime"},"user":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Wallet address, not an agent address."},"startTime":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Unix timestamp in milliseconds. Maximum range: 31 days."},"endTime":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Unix timestamp in milliseconds. Maximum range: 31 days."},"aggregateByTime":{"type":"boolean"}}},"Info_userFunding":{"type":"object","additionalProperties":false,"required":["type","user","startTime"],"properties":{"type":{"type":"string","const":"userFunding"},"user":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Wallet address, not an agent address."},"startTime":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Unix timestamp in milliseconds. Maximum range: 31 days."},"endTime":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Unix timestamp in milliseconds. Maximum range: 31 days."}}},"Info_userNonFundingLedgerUpdates":{"type":"object","additionalProperties":false,"required":["type","user","startTime"],"properties":{"type":{"type":"string","const":"userNonFundingLedgerUpdates"},"user":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Wallet address, not an agent address."},"startTime":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Unix timestamp in milliseconds. Maximum range: 31 days."},"endTime":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Unix timestamp in milliseconds. Maximum range: 31 days."}}},"Info_userRateLimit":{"type":"object","additionalProperties":false,"required":["type","user"],"properties":{"type":{"type":"string","const":"userRateLimit"},"user":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Wallet address, not an agent address."}}},"Info_userRole":{"type":"object","additionalProperties":false,"required":["type","user"],"properties":{"type":{"type":"string","const":"userRole"},"user":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Wallet address, not an agent address."}}},"Info_userTwapSliceFills":{"type":"object","additionalProperties":false,"required":["type","user"],"properties":{"type":{"type":"string","const":"userTwapSliceFills"},"user":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Wallet address, not an agent address."}}},"Info_userVaultEquities":{"type":"object","additionalProperties":false,"required":["type","user"],"properties":{"type":{"type":"string","const":"userVaultEquities"},"user":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Wallet address, not an agent address."}}},"Info_vaultDetails":{"type":"object","additionalProperties":false,"required":["type","vaultAddress"],"properties":{"type":{"type":"string","const":"vaultDetails"},"vaultAddress":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Wallet address, not an agent address."},"user":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Wallet address, not an agent address."}}}},"headers":{"X-Request-Id":{"description":"Opaque request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"HIT or MISS.","schema":{"type":"string"}},"X-Source":{"description":"hyperpeak or hyperliquid.","schema":{"type":"string"}},"X-Data-As-Of":{"description":"Data timestamp, when known, for Hyperpeak datasets.","schema":{"type":"string"}},"X-Fetched-At":{"description":"Time the upstream response was fetched, not a guarantee of upstream record freshness.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"60 requests in a rolling 60-second window.","schema":{"type":"string"}},"X-RateLimit-Account-Remaining":{"description":"Remaining account minute allowance.","schema":{"type":"string"}},"X-RateLimit-IP-Remaining":{"description":"Remaining shared network minute allowance.","schema":{"type":"string"}},"X-RateLimit-Account-Reset":{"description":"UTC Unix seconds when the oldest account admission leaves its rolling window.","schema":{"type":"string"}},"X-RateLimit-IP-Reset":{"description":"UTC Unix seconds when the oldest shared network admission leaves its rolling window.","schema":{"type":"string"}},"X-Quota-Limit":{"description":"10,000 requests per UTC calendar month.","schema":{"type":"string"}},"X-Quota-Account-Remaining":{"description":"Remaining account monthly allowance.","schema":{"type":"string"}},"X-Quota-IP-Remaining":{"description":"Remaining shared network monthly allowance.","schema":{"type":"string"}},"X-Quota-Reset":{"description":"UTC Unix seconds of the next monthly reset.","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait when a quota or upstream limit blocks the request.","schema":{"type":"string"}}},"responses":{"Error401":{"description":"Missing, expired, revoked or unavailable API key.","headers":{"X-Request-Id":{"$ref":"#\/components\/headers\/X-Request-Id"},"X-Cache":{"$ref":"#\/components\/headers\/X-Cache"},"X-Source":{"$ref":"#\/components\/headers\/X-Source"},"X-Data-As-Of":{"$ref":"#\/components\/headers\/X-Data-As-Of"},"X-Fetched-At":{"$ref":"#\/components\/headers\/X-Fetched-At"},"X-RateLimit-Limit":{"$ref":"#\/components\/headers\/X-RateLimit-Limit"},"X-RateLimit-Account-Remaining":{"$ref":"#\/components\/headers\/X-RateLimit-Account-Remaining"},"X-RateLimit-IP-Remaining":{"$ref":"#\/components\/headers\/X-RateLimit-IP-Remaining"},"X-RateLimit-Account-Reset":{"$ref":"#\/components\/headers\/X-RateLimit-Account-Reset"},"X-RateLimit-IP-Reset":{"$ref":"#\/components\/headers\/X-RateLimit-IP-Reset"},"X-Quota-Limit":{"$ref":"#\/components\/headers\/X-Quota-Limit"},"X-Quota-Account-Remaining":{"$ref":"#\/components\/headers\/X-Quota-Account-Remaining"},"X-Quota-IP-Remaining":{"$ref":"#\/components\/headers\/X-Quota-IP-Remaining"},"X-Quota-Reset":{"$ref":"#\/components\/headers\/X-Quota-Reset"},"Retry-After":{"$ref":"#\/components\/headers\/Retry-After"}},"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"Error404":{"description":"Unknown market, wallet, endpoint or unavailable dataset.","headers":{"X-Request-Id":{"$ref":"#\/components\/headers\/X-Request-Id"},"X-Cache":{"$ref":"#\/components\/headers\/X-Cache"},"X-Source":{"$ref":"#\/components\/headers\/X-Source"},"X-Data-As-Of":{"$ref":"#\/components\/headers\/X-Data-As-Of"},"X-Fetched-At":{"$ref":"#\/components\/headers\/X-Fetched-At"},"X-RateLimit-Limit":{"$ref":"#\/components\/headers\/X-RateLimit-Limit"},"X-RateLimit-Account-Remaining":{"$ref":"#\/components\/headers\/X-RateLimit-Account-Remaining"},"X-RateLimit-IP-Remaining":{"$ref":"#\/components\/headers\/X-RateLimit-IP-Remaining"},"X-RateLimit-Account-Reset":{"$ref":"#\/components\/headers\/X-RateLimit-Account-Reset"},"X-RateLimit-IP-Reset":{"$ref":"#\/components\/headers\/X-RateLimit-IP-Reset"},"X-Quota-Limit":{"$ref":"#\/components\/headers\/X-Quota-Limit"},"X-Quota-Account-Remaining":{"$ref":"#\/components\/headers\/X-Quota-Account-Remaining"},"X-Quota-IP-Remaining":{"$ref":"#\/components\/headers\/X-Quota-IP-Remaining"},"X-Quota-Reset":{"$ref":"#\/components\/headers\/X-Quota-Reset"},"Retry-After":{"$ref":"#\/components\/headers\/Retry-After"}},"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"Error413":{"description":"Payload is too large.","headers":{"X-Request-Id":{"$ref":"#\/components\/headers\/X-Request-Id"},"X-Cache":{"$ref":"#\/components\/headers\/X-Cache"},"X-Source":{"$ref":"#\/components\/headers\/X-Source"},"X-Data-As-Of":{"$ref":"#\/components\/headers\/X-Data-As-Of"},"X-Fetched-At":{"$ref":"#\/components\/headers\/X-Fetched-At"},"X-RateLimit-Limit":{"$ref":"#\/components\/headers\/X-RateLimit-Limit"},"X-RateLimit-Account-Remaining":{"$ref":"#\/components\/headers\/X-RateLimit-Account-Remaining"},"X-RateLimit-IP-Remaining":{"$ref":"#\/components\/headers\/X-RateLimit-IP-Remaining"},"X-RateLimit-Account-Reset":{"$ref":"#\/components\/headers\/X-RateLimit-Account-Reset"},"X-RateLimit-IP-Reset":{"$ref":"#\/components\/headers\/X-RateLimit-IP-Reset"},"X-Quota-Limit":{"$ref":"#\/components\/headers\/X-Quota-Limit"},"X-Quota-Account-Remaining":{"$ref":"#\/components\/headers\/X-Quota-Account-Remaining"},"X-Quota-IP-Remaining":{"$ref":"#\/components\/headers\/X-Quota-IP-Remaining"},"X-Quota-Reset":{"$ref":"#\/components\/headers\/X-Quota-Reset"},"Retry-After":{"$ref":"#\/components\/headers\/Retry-After"}},"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"Error422":{"description":"Invalid parameters or a rejected upstream query.","headers":{"X-Request-Id":{"$ref":"#\/components\/headers\/X-Request-Id"},"X-Cache":{"$ref":"#\/components\/headers\/X-Cache"},"X-Source":{"$ref":"#\/components\/headers\/X-Source"},"X-Data-As-Of":{"$ref":"#\/components\/headers\/X-Data-As-Of"},"X-Fetched-At":{"$ref":"#\/components\/headers\/X-Fetched-At"},"X-RateLimit-Limit":{"$ref":"#\/components\/headers\/X-RateLimit-Limit"},"X-RateLimit-Account-Remaining":{"$ref":"#\/components\/headers\/X-RateLimit-Account-Remaining"},"X-RateLimit-IP-Remaining":{"$ref":"#\/components\/headers\/X-RateLimit-IP-Remaining"},"X-RateLimit-Account-Reset":{"$ref":"#\/components\/headers\/X-RateLimit-Account-Reset"},"X-RateLimit-IP-Reset":{"$ref":"#\/components\/headers\/X-RateLimit-IP-Reset"},"X-Quota-Limit":{"$ref":"#\/components\/headers\/X-Quota-Limit"},"X-Quota-Account-Remaining":{"$ref":"#\/components\/headers\/X-Quota-Account-Remaining"},"X-Quota-IP-Remaining":{"$ref":"#\/components\/headers\/X-Quota-IP-Remaining"},"X-Quota-Reset":{"$ref":"#\/components\/headers\/X-Quota-Reset"},"Retry-After":{"$ref":"#\/components\/headers\/Retry-After"}},"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"Error429":{"description":"Account or IP limit exceeded. Retry-After identifies when to retry.","headers":{"X-Request-Id":{"$ref":"#\/components\/headers\/X-Request-Id"},"X-Cache":{"$ref":"#\/components\/headers\/X-Cache"},"X-Source":{"$ref":"#\/components\/headers\/X-Source"},"X-Data-As-Of":{"$ref":"#\/components\/headers\/X-Data-As-Of"},"X-Fetched-At":{"$ref":"#\/components\/headers\/X-Fetched-At"},"X-RateLimit-Limit":{"$ref":"#\/components\/headers\/X-RateLimit-Limit"},"X-RateLimit-Account-Remaining":{"$ref":"#\/components\/headers\/X-RateLimit-Account-Remaining"},"X-RateLimit-IP-Remaining":{"$ref":"#\/components\/headers\/X-RateLimit-IP-Remaining"},"X-RateLimit-Account-Reset":{"$ref":"#\/components\/headers\/X-RateLimit-Account-Reset"},"X-RateLimit-IP-Reset":{"$ref":"#\/components\/headers\/X-RateLimit-IP-Reset"},"X-Quota-Limit":{"$ref":"#\/components\/headers\/X-Quota-Limit"},"X-Quota-Account-Remaining":{"$ref":"#\/components\/headers\/X-Quota-Account-Remaining"},"X-Quota-IP-Remaining":{"$ref":"#\/components\/headers\/X-Quota-IP-Remaining"},"X-Quota-Reset":{"$ref":"#\/components\/headers\/X-Quota-Reset"},"Retry-After":{"$ref":"#\/components\/headers\/Retry-After"}},"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"Error500":{"description":"Unexpected request failure.","headers":{"X-Request-Id":{"$ref":"#\/components\/headers\/X-Request-Id"},"X-Cache":{"$ref":"#\/components\/headers\/X-Cache"},"X-Source":{"$ref":"#\/components\/headers\/X-Source"},"X-Data-As-Of":{"$ref":"#\/components\/headers\/X-Data-As-Of"},"X-Fetched-At":{"$ref":"#\/components\/headers\/X-Fetched-At"},"X-RateLimit-Limit":{"$ref":"#\/components\/headers\/X-RateLimit-Limit"},"X-RateLimit-Account-Remaining":{"$ref":"#\/components\/headers\/X-RateLimit-Account-Remaining"},"X-RateLimit-IP-Remaining":{"$ref":"#\/components\/headers\/X-RateLimit-IP-Remaining"},"X-RateLimit-Account-Reset":{"$ref":"#\/components\/headers\/X-RateLimit-Account-Reset"},"X-RateLimit-IP-Reset":{"$ref":"#\/components\/headers\/X-RateLimit-IP-Reset"},"X-Quota-Limit":{"$ref":"#\/components\/headers\/X-Quota-Limit"},"X-Quota-Account-Remaining":{"$ref":"#\/components\/headers\/X-Quota-Account-Remaining"},"X-Quota-IP-Remaining":{"$ref":"#\/components\/headers\/X-Quota-IP-Remaining"},"X-Quota-Reset":{"$ref":"#\/components\/headers\/X-Quota-Reset"},"Retry-After":{"$ref":"#\/components\/headers\/Retry-After"}},"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"Error502":{"description":"Invalid or failed upstream response.","headers":{"X-Request-Id":{"$ref":"#\/components\/headers\/X-Request-Id"},"X-Cache":{"$ref":"#\/components\/headers\/X-Cache"},"X-Source":{"$ref":"#\/components\/headers\/X-Source"},"X-Data-As-Of":{"$ref":"#\/components\/headers\/X-Data-As-Of"},"X-Fetched-At":{"$ref":"#\/components\/headers\/X-Fetched-At"},"X-RateLimit-Limit":{"$ref":"#\/components\/headers\/X-RateLimit-Limit"},"X-RateLimit-Account-Remaining":{"$ref":"#\/components\/headers\/X-RateLimit-Account-Remaining"},"X-RateLimit-IP-Remaining":{"$ref":"#\/components\/headers\/X-RateLimit-IP-Remaining"},"X-RateLimit-Account-Reset":{"$ref":"#\/components\/headers\/X-RateLimit-Account-Reset"},"X-RateLimit-IP-Reset":{"$ref":"#\/components\/headers\/X-RateLimit-IP-Reset"},"X-Quota-Limit":{"$ref":"#\/components\/headers\/X-Quota-Limit"},"X-Quota-Account-Remaining":{"$ref":"#\/components\/headers\/X-Quota-Account-Remaining"},"X-Quota-IP-Remaining":{"$ref":"#\/components\/headers\/X-Quota-IP-Remaining"},"X-Quota-Reset":{"$ref":"#\/components\/headers\/X-Quota-Reset"},"Retry-After":{"$ref":"#\/components\/headers\/Retry-After"}},"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"Error503":{"description":"Quota storage, dataset or upstream temporarily unavailable.","headers":{"X-Request-Id":{"$ref":"#\/components\/headers\/X-Request-Id"},"X-Cache":{"$ref":"#\/components\/headers\/X-Cache"},"X-Source":{"$ref":"#\/components\/headers\/X-Source"},"X-Data-As-Of":{"$ref":"#\/components\/headers\/X-Data-As-Of"},"X-Fetched-At":{"$ref":"#\/components\/headers\/X-Fetched-At"},"X-RateLimit-Limit":{"$ref":"#\/components\/headers\/X-RateLimit-Limit"},"X-RateLimit-Account-Remaining":{"$ref":"#\/components\/headers\/X-RateLimit-Account-Remaining"},"X-RateLimit-IP-Remaining":{"$ref":"#\/components\/headers\/X-RateLimit-IP-Remaining"},"X-RateLimit-Account-Reset":{"$ref":"#\/components\/headers\/X-RateLimit-Account-Reset"},"X-RateLimit-IP-Reset":{"$ref":"#\/components\/headers\/X-RateLimit-IP-Reset"},"X-Quota-Limit":{"$ref":"#\/components\/headers\/X-Quota-Limit"},"X-Quota-Account-Remaining":{"$ref":"#\/components\/headers\/X-Quota-Account-Remaining"},"X-Quota-IP-Remaining":{"$ref":"#\/components\/headers\/X-Quota-IP-Remaining"},"X-Quota-Reset":{"$ref":"#\/components\/headers\/X-Quota-Reset"},"Retry-After":{"$ref":"#\/components\/headers\/Retry-After"}},"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"Error504":{"description":"Upstream timeout.","headers":{"X-Request-Id":{"$ref":"#\/components\/headers\/X-Request-Id"},"X-Cache":{"$ref":"#\/components\/headers\/X-Cache"},"X-Source":{"$ref":"#\/components\/headers\/X-Source"},"X-Data-As-Of":{"$ref":"#\/components\/headers\/X-Data-As-Of"},"X-Fetched-At":{"$ref":"#\/components\/headers\/X-Fetched-At"},"X-RateLimit-Limit":{"$ref":"#\/components\/headers\/X-RateLimit-Limit"},"X-RateLimit-Account-Remaining":{"$ref":"#\/components\/headers\/X-RateLimit-Account-Remaining"},"X-RateLimit-IP-Remaining":{"$ref":"#\/components\/headers\/X-RateLimit-IP-Remaining"},"X-RateLimit-Account-Reset":{"$ref":"#\/components\/headers\/X-RateLimit-Account-Reset"},"X-RateLimit-IP-Reset":{"$ref":"#\/components\/headers\/X-RateLimit-IP-Reset"},"X-Quota-Limit":{"$ref":"#\/components\/headers\/X-Quota-Limit"},"X-Quota-Account-Remaining":{"$ref":"#\/components\/headers\/X-Quota-Account-Remaining"},"X-Quota-IP-Remaining":{"$ref":"#\/components\/headers\/X-Quota-IP-Remaining"},"X-Quota-Reset":{"$ref":"#\/components\/headers\/X-Quota-Reset"},"Retry-After":{"$ref":"#\/components\/headers\/Retry-After"}},"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}}}}