changedInput schema / properties / request / anyOf
Previous value: -[
- {
- "additionalProperties": true,
- "type": "object"
- },
- {
- "description": "Request for smart money perp trades - flattened.\n\nNote: This endpoint returns recent trades only (no date filtering available).",
- "properties": {
- "action": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Filter by action: 'Add'/'Reduce'/'Open'/'Close' (can combine with side for precise filtering)."
- },
- "includeSmartMoneyLabels": {
- "description": "List of smart money labels to filter by (default: empty list). Use 'Any Smart Money' to include all smart money types.",
- "items": {
- "enum": [
- "30D Smart Trader",
- "90D Smart Trader",
- "180D Smart Trader",
- "All Time Smart Trader",
- "Fund",
- "Smart HL Perps Trader",
- "Any Smart Money"
- ],
- "type": "string"
- },
- "type": "array"
- },
- "orderBy": {
- "anyOf": [
- {
- "enum": [
- "timestamp",
- "amount",
- "price_usd"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Sort field. Pass an exact value above or None for default ('amount'). Native token amount is preferred over USD value."
- },
- "order_by_direction": {
- "default": "DESC",
- "enum": [
- "ASC",
- "DESC",
- "asc",
- "desc"
- ],
- "type": "string"
- },
- "page": {
- "default": 1,
- "type": "integer"
- },
- "side": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Filter by position side: 'Long'/'Short'."
- },
- "traderAddress": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Filter by trader address"
- },
- "valueUsd": {
- "anyOf": [
- {
- "description": "Numeric range where from_value and to_value are optional,\nallowing for open-ended ranges (e.g., only minimum or only maximum).",
- "properties": {
- "from": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Minimum value (inclusive), optional"
- },
- "to": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Maximum value (inclusive), optional"
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Filter by trade value in USD"
- }
- },
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "description": "Request for smart money perp trades - flattened.\n\nNote: This endpoint returns recent trades only (no date filtering available).",
+ "properties": {
+ "action": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Filter by action: 'Add'/'Reduce'/'Open'/'Close' (can combine with side for precise filtering)."
+ },
+ "includeSmartMoneyLabels": {
+ "description": "Optional subgroup filter. Omit it for the full Smart Money cohort. When set, an address must belong to Smart Money and match at least one selected label.",
+ "items": {
+ "description": "Labels that can narrow the fixed Hyperliquid Smart Money cohort.",
+ "enum": [
+ "30D Smart Trader",
+ "90D Smart Trader",
+ "180D Smart Trader",
+ "All Time Smart Trader",
+ "Fund"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "orderBy": {
+ "anyOf": [
+ {
+ "enum": [
+ "timestamp",
+ "amount",
+ "price_usd"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Sort field. Pass an exact value above or None for default ('amount'). Native token amount is preferred over USD value."
+ },
+ "order_by_direction": {
+ "default": "DESC",
+ "enum": [
+ "ASC",
+ "DESC",
+ "asc",
+ "desc"
+ ],
+ "type": "string"
+ },
+ "page": {
+ "default": 1,
+ "type": "integer"
+ },
+ "side": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Filter by position side: 'Long'/'Short'."
+ },
+ "traderAddress": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Filter by trader address"
+ },
+ "valueUsd": {
+ "anyOf": [
+ {
+ "description": "Numeric range where from_value and to_value are optional,\nallowing for open-ended ranges (e.g., only minimum or only maximum).",
+ "properties": {
+ "from": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Minimum value (inclusive), optional"
+ },
+ "to": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Maximum value (inclusive), optional"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Filter by trade value in USD"
+ }
+ },
+ "type": "object"
+ }
+]