/v1/hyperliquid/instruments or /v1/lighter/instruments instead. Get all available trading instruments with their specifications.
Route Metadata
| Field | Value |
|---|---|
| Method | GET |
| Path | /v1/instruments |
| operationId | listInstruments |
| Tag | Legacy |
| Family | Legacy |
| Deprecated or legacy | yes |
Response Contracts
Status 200
List of instrumentsapplication/json
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "listInstruments response 200",
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"description": "Trading instrument specification (Hyperliquid)",
"type": "object",
"required": [
"is_active",
"name",
"sz_decimals"
],
"properties": {
"instrument_type": {
"description": "Type of instrument",
"type": "string",
"enum": [
"perp",
"spot"
],
"nullable": true,
"example": "perp"
},
"is_active": {
"description": "Whether the instrument is currently tradeable",
"type": "boolean",
"example": true
},
"max_leverage": {
"description": "Maximum leverage allowed",
"type": "integer",
"nullable": true,
"example": 50
},
"name": {
"description": "Instrument symbol",
"type": "string",
"example": "BTC"
},
"only_isolated": {
"description": "If true, only isolated margin mode is allowed",
"type": "boolean",
"nullable": true
},
"sz_decimals": {
"description": "Size decimal precision",
"type": "integer",
"example": 4
}
}
}
},
"meta": {
"description": "Response metadata",
"type": "object",
"properties": {
"count": {
"description": "Number of records returned",
"type": "integer"
},
"coverage_from": {
"description": "Earliest coverage for the requested symbol and data type. Present only when the requested window ends before coverage begins.",
"type": "string",
"format": "date-time"
},
"next_cursor": {
"description": "Cursor for pagination (timestamp). Use this value as the `cursor` parameter to fetch the next page of results.",
"type": "string",
"nullable": true
},
"notice": {
"description": "Human-readable advisory about the response. Currently used when the requested window ends before coverage begins for the symbol; may carry other advisories in future.",
"type": "string"
},
"request_id": {
"description": "Unique request ID for support",
"type": "string",
"format": "uuid"
}
}
},
"success": {
"type": "boolean",
"example": true
}
}
}
Status 401
Authentication requiredapplication/json
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "listInstruments response 401",
"description": "Error response",
"type": "object",
"properties": {
"code": {
"description": "HTTP status code",
"type": "integer"
},
"error": {
"description": "Error message",
"type": "string"
},
"error_code": {
"description": "Machine-readable error code. Common values: `invalid_query_params` (a query parameter failed to parse or validate) and `invalid_path_params` (a path parameter failed to parse). Other endpoint-specific codes exist; treat unknown codes as generic errors of the given HTTP status.",
"type": "string"
},
"request_id": {
"description": "Unique request ID for support",
"type": "string",
"format": "uuid"
}
}
}
OpenAPI example
{
"code": 401,
"error": "Missing or invalid API key. Provide X-API-Key header."
}
Status 429
Rate limit exceededapplication/json
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "listInstruments response 429",
"description": "Error response",
"type": "object",
"properties": {
"code": {
"description": "HTTP status code",
"type": "integer"
},
"error": {
"description": "Error message",
"type": "string"
},
"error_code": {
"description": "Machine-readable error code. Common values: `invalid_query_params` (a query parameter failed to parse or validate) and `invalid_path_params` (a path parameter failed to parse). Other endpoint-specific codes exist; treat unknown codes as generic errors of the given HTTP status.",
"type": "string"
},
"request_id": {
"description": "Unique request ID for support",
"type": "string",
"format": "uuid"
}
}
}
OpenAPI example
{
"code": 429,
"error": "Rate limit exceeded"
}