curl --request GET \
--url https://api.0xarchive.io/v1/lighter/instruments \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.0xarchive.io/v1/lighter/instruments"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.0xarchive.io/v1/lighter/instruments', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.0xarchive.io/v1/lighter/instruments"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"success": true,
"data": [
{
"symbol": "ETH",
"market_id": 0,
"market_type": "perp",
"status": "active",
"taker_fee": 0.0004,
"maker_fee": 0.0001,
"liquidation_fee": 0.005,
"min_base_amount": 0.001,
"min_quote_amount": 1,
"size_decimals": 4,
"price_decimals": 2,
"quote_decimals": 6,
"is_active": true
}
],
"meta": {
"count": 123,
"next_cursor": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"coverage_from": "2023-11-07T05:31:56Z",
"notice": "<string>"
}
}{
"code": 401,
"error": "Missing or invalid API key. Provide X-API-Key header."
}{
"code": 429,
"error": "Rate limit exceeded"
}List Lighter instruments
0xArchive API reference for List Lighter instruments. Includes authentication, parameters, response shape, examples, and route-safe implementation notes.
curl --request GET \
--url https://api.0xarchive.io/v1/lighter/instruments \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.0xarchive.io/v1/lighter/instruments"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.0xarchive.io/v1/lighter/instruments', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.0xarchive.io/v1/lighter/instruments"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"success": true,
"data": [
{
"symbol": "ETH",
"market_id": 0,
"market_type": "perp",
"status": "active",
"taker_fee": 0.0004,
"maker_fee": 0.0001,
"liquidation_fee": 0.005,
"min_base_amount": 0.001,
"min_quote_amount": 1,
"size_decimals": 4,
"price_decimals": 2,
"quote_decimals": 6,
"is_active": true
}
],
"meta": {
"count": 123,
"next_cursor": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"coverage_from": "2023-11-07T05:31:56Z",
"notice": "<string>"
}
}{
"code": 401,
"error": "Missing or invalid API key. Provide X-API-Key header."
}{
"code": 429,
"error": "Rate limit exceeded"
}Authorizations
API key for authentication. Get yours at https://0xarchive.io/dashboard
Response
List of Lighter instruments
true
Hide child attributes
Hide child attributes
Instrument symbol
"ETH"
Unique market identifier
0
Type of market
perp, spot "perp"
Market status
active, inactive, delisted "active"
Taker fee rate (e.g., 0.0004 = 0.04%)
0.0004
Maker fee rate (can be negative for rebates)
0.0001
Liquidation fee rate
0.005
Minimum order size in base currency
0.001
Minimum order value in quote currency
1
Size decimal precision
4
Price decimal precision
2
Quote currency decimal precision
6
Whether the instrument is currently tradeable
true
Response metadata
Hide child attributes
Hide child attributes
Number of records returned
Cursor for pagination (timestamp). Use this value as the cursor parameter to fetch the next page of results.
Unique request ID for support
Earliest coverage for the requested symbol and data type. Present only when the requested window ends before coverage begins.
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.
Was this page helpful?