{
  "info": {
    "name": "GaiaEx API",
    "description": "Official Postman collection for GaiaEx — Decentralized Perpetual Exchange",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "variable": [
    {
      "key": "api_key",
      "value": "",
      "type": "string"
    },
    {
      "key": "api_secret",
      "value": "",
      "type": "string"
    },
    {
      "key": "session_token",
      "value": "",
      "type": "string"
    },
    {
      "key": "user_address",
      "value": "0xYourAddress",
      "type": "string"
    },
    {
      "key": "timestamp",
      "value": "",
      "type": "string"
    },
    {
      "key": "signature",
      "value": "",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "Market Data",
      "item": [
        {
          "name": "List Symbols",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://openapi.gaiaex.com/v1/trade/symbols/list",
              "protocol": "https",
              "host": [
                "openapi.gaiaex.com"
              ],
              "path": [
                "v1",
                "trade",
                "symbols",
                "list"
              ]
            }
          }
        },
        {
          "name": "Server Time",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://openapi.gaiaex.com/v1/trade/time",
              "protocol": "https",
              "host": [
                "openapi.gaiaex.com"
              ],
              "path": [
                "v1",
                "trade",
                "time"
              ]
            }
          }
        },
        {
          "name": "Health Check",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://openapi.gaiaex.com/v1/trade/health",
              "protocol": "https",
              "host": [
                "openapi.gaiaex.com"
              ],
              "path": [
                "v1",
                "trade",
                "health"
              ]
            }
          }
        }
      ]
    },
    {
      "name": "Spot Market Data",
      "item": [
        {
          "name": "List Spot Symbols",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://openapi.gaiaex.com/v1/trade/spot/symbols",
              "protocol": "https",
              "host": [
                "openapi.gaiaex.com"
              ],
              "path": [
                "v1",
                "trade",
                "spot",
                "symbols"
              ]
            }
          }
        },
        {
          "name": "Get Spot Ticker",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://openapi.gaiaex.com/v1/trade/spot/ticker/:symbol",
              "protocol": "https",
              "host": [
                "openapi.gaiaex.com"
              ],
              "path": [
                "v1",
                "trade",
                "spot",
                "ticker",
                "{symbol}"
              ]
            }
          }
        },
        {
          "name": "Get Spot Order Book",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://openapi.gaiaex.com/v1/trade/spot/orderbook/:symbol",
              "protocol": "https",
              "host": [
                "openapi.gaiaex.com"
              ],
              "path": [
                "v1",
                "trade",
                "spot",
                "orderbook",
                "{symbol}"
              ]
            }
          }
        }
      ]
    },
    {
      "name": "Perpetual Trading",
      "item": [
        {
          "name": "Place Order",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-GAIAEX-APIKEY",
                "value": "{{api_key}}"
              },
              {
                "key": "X-GAIAEX-TIMESTAMP",
                "value": "{{timestamp}}"
              },
              {
                "key": "X-GAIAEX-SIGNATURE",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "https://openapi.gaiaex.com/v1/trade/order",
              "protocol": "https",
              "host": [
                "openapi.gaiaex.com"
              ],
              "path": [
                "v1",
                "trade",
                "order"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"user_address\": \"0xYourAddress\",\n  \"symbol\": \"\",\n  \"is_buy\": true,\n  \"size\": \"\",\n  \"price\": \"\",\n  \"order_type\": \"\"\n}"
            }
          }
        },
        {
          "name": "Test Order",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-GAIAEX-APIKEY",
                "value": "{{api_key}}"
              },
              {
                "key": "X-GAIAEX-TIMESTAMP",
                "value": "{{timestamp}}"
              },
              {
                "key": "X-GAIAEX-SIGNATURE",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "https://openapi.gaiaex.com/v1/trade/order/test",
              "protocol": "https",
              "host": [
                "openapi.gaiaex.com"
              ],
              "path": [
                "v1",
                "trade",
                "order",
                "test"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"user_address\": \"0xYourAddress\",\n  \"symbol\": \"\",\n  \"is_buy\": true,\n  \"size\": \"\",\n  \"price\": \"\",\n  \"order_type\": \"\"\n}"
            }
          }
        },
        {
          "name": "Cancel Order",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-GAIAEX-APIKEY",
                "value": "{{api_key}}"
              },
              {
                "key": "X-GAIAEX-TIMESTAMP",
                "value": "{{timestamp}}"
              },
              {
                "key": "X-GAIAEX-SIGNATURE",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "https://openapi.gaiaex.com/v1/trade/order/cancel",
              "protocol": "https",
              "host": [
                "openapi.gaiaex.com"
              ],
              "path": [
                "v1",
                "trade",
                "order",
                "cancel"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"user_address\": \"0xYourAddress\",\n  \"symbol\": \"\",\n  \"order_id\": 0\n}"
            }
          }
        },
        {
          "name": "Cancel All Orders",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-GAIAEX-APIKEY",
                "value": "{{api_key}}"
              },
              {
                "key": "X-GAIAEX-TIMESTAMP",
                "value": "{{timestamp}}"
              },
              {
                "key": "X-GAIAEX-SIGNATURE",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "https://openapi.gaiaex.com/v1/trade/order/cancel-all",
              "protocol": "https",
              "host": [
                "openapi.gaiaex.com"
              ],
              "path": [
                "v1",
                "trade",
                "order",
                "cancel-all"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"user_address\": \"0xYourAddress\",\n  \"symbol\": \"\"\n}"
            }
          }
        },
        {
          "name": "Modify Order",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-GAIAEX-APIKEY",
                "value": "{{api_key}}"
              },
              {
                "key": "X-GAIAEX-TIMESTAMP",
                "value": "{{timestamp}}"
              },
              {
                "key": "X-GAIAEX-SIGNATURE",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "https://openapi.gaiaex.com/v1/trade/order/modify",
              "protocol": "https",
              "host": [
                "openapi.gaiaex.com"
              ],
              "path": [
                "v1",
                "trade",
                "order",
                "modify"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"user_address\": \"0xYourAddress\",\n  \"symbol\": \"\",\n  \"order_id\": 0,\n  \"price\": \"\",\n  \"size\": \"\"\n}"
            }
          }
        },
        {
          "name": "Set TP/SL",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-GAIAEX-APIKEY",
                "value": "{{api_key}}"
              },
              {
                "key": "X-GAIAEX-TIMESTAMP",
                "value": "{{timestamp}}"
              },
              {
                "key": "X-GAIAEX-SIGNATURE",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "https://openapi.gaiaex.com/v1/trade/order/tpsl",
              "protocol": "https",
              "host": [
                "openapi.gaiaex.com"
              ],
              "path": [
                "v1",
                "trade",
                "order",
                "tpsl"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"user_address\": \"0xYourAddress\",\n  \"symbol\": \"\",\n  \"is_buy\": true,\n  \"size\": \"\",\n  \"tp_price\": \"\",\n  \"sl_price\": \"\"\n}"
            }
          }
        },
        {
          "name": "Close Position",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-GAIAEX-APIKEY",
                "value": "{{api_key}}"
              },
              {
                "key": "X-GAIAEX-TIMESTAMP",
                "value": "{{timestamp}}"
              },
              {
                "key": "X-GAIAEX-SIGNATURE",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "https://openapi.gaiaex.com/v1/trade/position/close",
              "protocol": "https",
              "host": [
                "openapi.gaiaex.com"
              ],
              "path": [
                "v1",
                "trade",
                "position",
                "close"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"user_address\": \"0xYourAddress\",\n  \"symbol\": \"\",\n  \"size\": \"\",\n  \"slippage\": \"\"\n}"
            }
          }
        },
        {
          "name": "Set Leverage",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-GAIAEX-APIKEY",
                "value": "{{api_key}}"
              },
              {
                "key": "X-GAIAEX-TIMESTAMP",
                "value": "{{timestamp}}"
              },
              {
                "key": "X-GAIAEX-SIGNATURE",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "https://openapi.gaiaex.com/v1/trade/leverage",
              "protocol": "https",
              "host": [
                "openapi.gaiaex.com"
              ],
              "path": [
                "v1",
                "trade",
                "leverage"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"user_address\": \"0xYourAddress\",\n  \"symbol\": \"\",\n  \"leverage\": 0,\n  \"is_cross\": true\n}"
            }
          }
        }
      ]
    },
    {
      "name": "Perpetual Account",
      "item": [
        {
          "name": "Get Balance",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-GAIAEX-APIKEY",
                "value": "{{api_key}}"
              },
              {
                "key": "X-GAIAEX-TIMESTAMP",
                "value": "{{timestamp}}"
              },
              {
                "key": "X-GAIAEX-SIGNATURE",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "https://openapi.gaiaex.com/v1/trade/user/:address/balance",
              "protocol": "https",
              "host": [
                "openapi.gaiaex.com"
              ],
              "path": [
                "v1",
                "trade",
                "user",
                "{address}",
                "balance"
              ]
            }
          }
        },
        {
          "name": "Get Positions",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-GAIAEX-APIKEY",
                "value": "{{api_key}}"
              },
              {
                "key": "X-GAIAEX-TIMESTAMP",
                "value": "{{timestamp}}"
              },
              {
                "key": "X-GAIAEX-SIGNATURE",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "https://openapi.gaiaex.com/v1/trade/user/:address/positions",
              "protocol": "https",
              "host": [
                "openapi.gaiaex.com"
              ],
              "path": [
                "v1",
                "trade",
                "user",
                "{address}",
                "positions"
              ]
            }
          }
        },
        {
          "name": "Get Open Orders",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-GAIAEX-APIKEY",
                "value": "{{api_key}}"
              },
              {
                "key": "X-GAIAEX-TIMESTAMP",
                "value": "{{timestamp}}"
              },
              {
                "key": "X-GAIAEX-SIGNATURE",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "https://openapi.gaiaex.com/v1/trade/user/:address/openOrders",
              "protocol": "https",
              "host": [
                "openapi.gaiaex.com"
              ],
              "path": [
                "v1",
                "trade",
                "user",
                "{address}",
                "openOrders"
              ]
            }
          }
        },
        {
          "name": "Get Fills",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-GAIAEX-APIKEY",
                "value": "{{api_key}}"
              },
              {
                "key": "X-GAIAEX-TIMESTAMP",
                "value": "{{timestamp}}"
              },
              {
                "key": "X-GAIAEX-SIGNATURE",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "https://openapi.gaiaex.com/v1/trade/user/:address/fills",
              "protocol": "https",
              "host": [
                "openapi.gaiaex.com"
              ],
              "path": [
                "v1",
                "trade",
                "user",
                "{address}",
                "fills"
              ]
            }
          }
        },
        {
          "name": "Get Historical Orders",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-GAIAEX-APIKEY",
                "value": "{{api_key}}"
              },
              {
                "key": "X-GAIAEX-TIMESTAMP",
                "value": "{{timestamp}}"
              },
              {
                "key": "X-GAIAEX-SIGNATURE",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "https://openapi.gaiaex.com/v1/trade/user/:address/historicalOrders",
              "protocol": "https",
              "host": [
                "openapi.gaiaex.com"
              ],
              "path": [
                "v1",
                "trade",
                "user",
                "{address}",
                "historicalOrders"
              ]
            }
          }
        },
        {
          "name": "Get Funding History",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-GAIAEX-APIKEY",
                "value": "{{api_key}}"
              },
              {
                "key": "X-GAIAEX-TIMESTAMP",
                "value": "{{timestamp}}"
              },
              {
                "key": "X-GAIAEX-SIGNATURE",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "https://openapi.gaiaex.com/v1/trade/user/:address/fundingHistory",
              "protocol": "https",
              "host": [
                "openapi.gaiaex.com"
              ],
              "path": [
                "v1",
                "trade",
                "user",
                "{address}",
                "fundingHistory"
              ]
            }
          }
        },
        {
          "name": "Get Position History",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-GAIAEX-APIKEY",
                "value": "{{api_key}}"
              },
              {
                "key": "X-GAIAEX-TIMESTAMP",
                "value": "{{timestamp}}"
              },
              {
                "key": "X-GAIAEX-SIGNATURE",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "https://openapi.gaiaex.com/v1/trade/user/:address/positionHistory",
              "protocol": "https",
              "host": [
                "openapi.gaiaex.com"
              ],
              "path": [
                "v1",
                "trade",
                "user",
                "{address}",
                "positionHistory"
              ]
            }
          }
        }
      ]
    },
    {
      "name": "Spot Trading",
      "item": [
        {
          "name": "Place Spot Order",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-GAIAEX-APIKEY",
                "value": "{{api_key}}"
              },
              {
                "key": "X-GAIAEX-TIMESTAMP",
                "value": "{{timestamp}}"
              },
              {
                "key": "X-GAIAEX-SIGNATURE",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "https://openapi.gaiaex.com/v1/trade/spot/order",
              "protocol": "https",
              "host": [
                "openapi.gaiaex.com"
              ],
              "path": [
                "v1",
                "trade",
                "spot",
                "order"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"user_address\": \"0xYourAddress\",\n  \"symbol\": \"\",\n  \"is_buy\": true,\n  \"size\": \"\",\n  \"price\": \"\",\n  \"order_type\": \"\"\n}"
            }
          }
        },
        {
          "name": "Cancel Spot Order",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-GAIAEX-APIKEY",
                "value": "{{api_key}}"
              },
              {
                "key": "X-GAIAEX-TIMESTAMP",
                "value": "{{timestamp}}"
              },
              {
                "key": "X-GAIAEX-SIGNATURE",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "https://openapi.gaiaex.com/v1/trade/spot/order/cancel",
              "protocol": "https",
              "host": [
                "openapi.gaiaex.com"
              ],
              "path": [
                "v1",
                "trade",
                "spot",
                "order",
                "cancel"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"user_address\": \"0xYourAddress\",\n  \"symbol\": \"\",\n  \"order_id\": 0\n}"
            }
          }
        },
        {
          "name": "Cancel All Spot Orders",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-GAIAEX-APIKEY",
                "value": "{{api_key}}"
              },
              {
                "key": "X-GAIAEX-TIMESTAMP",
                "value": "{{timestamp}}"
              },
              {
                "key": "X-GAIAEX-SIGNATURE",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "https://openapi.gaiaex.com/v1/trade/spot/order/cancel-all",
              "protocol": "https",
              "host": [
                "openapi.gaiaex.com"
              ],
              "path": [
                "v1",
                "trade",
                "spot",
                "order",
                "cancel-all"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"user_address\": \"0xYourAddress\",\n  \"symbol\": \"\"\n}"
            }
          }
        },
        {
          "name": "Transfer (Perp/Spot)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-GAIAEX-APIKEY",
                "value": "{{api_key}}"
              },
              {
                "key": "X-GAIAEX-TIMESTAMP",
                "value": "{{timestamp}}"
              },
              {
                "key": "X-GAIAEX-SIGNATURE",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "https://openapi.gaiaex.com/v1/trade/spot/transfer",
              "protocol": "https",
              "host": [
                "openapi.gaiaex.com"
              ],
              "path": [
                "v1",
                "trade",
                "spot",
                "transfer"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"user_address\": \"0xYourAddress\",\n  \"amount_usdc\": \"\",\n  \"to_perp\": true\n}"
            }
          }
        }
      ]
    },
    {
      "name": "Spot Account",
      "item": [
        {
          "name": "Get Spot Balance",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-GAIAEX-APIKEY",
                "value": "{{api_key}}"
              },
              {
                "key": "X-GAIAEX-TIMESTAMP",
                "value": "{{timestamp}}"
              },
              {
                "key": "X-GAIAEX-SIGNATURE",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "https://openapi.gaiaex.com/v1/trade/spot/balance/:address",
              "protocol": "https",
              "host": [
                "openapi.gaiaex.com"
              ],
              "path": [
                "v1",
                "trade",
                "spot",
                "balance",
                "{address}"
              ]
            }
          }
        },
        {
          "name": "Get Spot Open Orders",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-GAIAEX-APIKEY",
                "value": "{{api_key}}"
              },
              {
                "key": "X-GAIAEX-TIMESTAMP",
                "value": "{{timestamp}}"
              },
              {
                "key": "X-GAIAEX-SIGNATURE",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "https://openapi.gaiaex.com/v1/trade/spot/openOrders/:address",
              "protocol": "https",
              "host": [
                "openapi.gaiaex.com"
              ],
              "path": [
                "v1",
                "trade",
                "spot",
                "openOrders",
                "{address}"
              ]
            }
          }
        },
        {
          "name": "Get Spot Fills",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-GAIAEX-APIKEY",
                "value": "{{api_key}}"
              },
              {
                "key": "X-GAIAEX-TIMESTAMP",
                "value": "{{timestamp}}"
              },
              {
                "key": "X-GAIAEX-SIGNATURE",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "https://openapi.gaiaex.com/v1/trade/spot/fills/:address",
              "protocol": "https",
              "host": [
                "openapi.gaiaex.com"
              ],
              "path": [
                "v1",
                "trade",
                "spot",
                "fills",
                "{address}"
              ]
            }
          }
        },
        {
          "name": "Get Unified Wallet",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-GAIAEX-APIKEY",
                "value": "{{api_key}}"
              },
              {
                "key": "X-GAIAEX-TIMESTAMP",
                "value": "{{timestamp}}"
              },
              {
                "key": "X-GAIAEX-SIGNATURE",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "https://openapi.gaiaex.com/v1/trade/user/:address/wallet",
              "protocol": "https",
              "host": [
                "openapi.gaiaex.com"
              ],
              "path": [
                "v1",
                "trade",
                "user",
                "{address}",
                "wallet"
              ]
            }
          }
        }
      ]
    },
    {
      "name": "API Keys",
      "item": [
        {
          "name": "Create API Key",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{session_token}}"
              }
            ],
            "url": {
              "raw": "https://openapi.gaiaex.com/v1/trade/api-keys",
              "protocol": "https",
              "host": [
                "openapi.gaiaex.com"
              ],
              "path": [
                "v1",
                "trade",
                "api-keys"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"label\": \"\",\n  \"permissions\": [],\n  \"ip_whitelist\": []\n}"
            }
          }
        },
        {
          "name": "List API Keys",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{session_token}}"
              }
            ],
            "url": {
              "raw": "https://openapi.gaiaex.com/v1/trade/api-keys",
              "protocol": "https",
              "host": [
                "openapi.gaiaex.com"
              ],
              "path": [
                "v1",
                "trade",
                "api-keys"
              ]
            }
          }
        },
        {
          "name": "Update API Key",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{session_token}}"
              }
            ],
            "url": {
              "raw": "https://openapi.gaiaex.com/v1/trade/api-keys/:api_key",
              "protocol": "https",
              "host": [
                "openapi.gaiaex.com"
              ],
              "path": [
                "v1",
                "trade",
                "api-keys",
                "{api_key}"
              ]
            }
          }
        },
        {
          "name": "Revoke API Key",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{session_token}}"
              }
            ],
            "url": {
              "raw": "https://openapi.gaiaex.com/v1/trade/api-keys/:api_key",
              "protocol": "https",
              "host": [
                "openapi.gaiaex.com"
              ],
              "path": [
                "v1",
                "trade",
                "api-keys",
                "{api_key}"
              ]
            }
          }
        },
        {
          "name": "Revoke All Keys",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{session_token}}"
              }
            ],
            "url": {
              "raw": "https://openapi.gaiaex.com/v1/trade/api-keys/all",
              "protocol": "https",
              "host": [
                "openapi.gaiaex.com"
              ],
              "path": [
                "v1",
                "trade",
                "api-keys",
                "all"
              ]
            }
          }
        },
        {
          "name": "Audit Log",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{session_token}}"
              }
            ],
            "url": {
              "raw": "https://openapi.gaiaex.com/v1/trade/api-keys/:api_key/audit",
              "protocol": "https",
              "host": [
                "openapi.gaiaex.com"
              ],
              "path": [
                "v1",
                "trade",
                "api-keys",
                "{api_key}",
                "audit"
              ]
            }
          }
        }
      ]
    },
    {
      "name": "Deposits & Withdrawals",
      "item": [
        {
          "name": "Deposit",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-GAIAEX-APIKEY",
                "value": "{{api_key}}"
              },
              {
                "key": "X-GAIAEX-TIMESTAMP",
                "value": "{{timestamp}}"
              },
              {
                "key": "X-GAIAEX-SIGNATURE",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "https://openapi.gaiaex.com/v1/trade/user/deposit",
              "protocol": "https",
              "host": [
                "openapi.gaiaex.com"
              ],
              "path": [
                "v1",
                "trade",
                "user",
                "deposit"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"user_address\": \"0xYourAddress\",\n  \"amount_usdc\": \"\"\n}"
            }
          }
        },
        {
          "name": "Notify Deposit",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-GAIAEX-APIKEY",
                "value": "{{api_key}}"
              },
              {
                "key": "X-GAIAEX-TIMESTAMP",
                "value": "{{timestamp}}"
              },
              {
                "key": "X-GAIAEX-SIGNATURE",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "https://openapi.gaiaex.com/v1/trade/user/deposit/notify",
              "protocol": "https",
              "host": [
                "openapi.gaiaex.com"
              ],
              "path": [
                "v1",
                "trade",
                "user",
                "deposit",
                "notify"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"user_address\": \"0xYourAddress\",\n  \"tx_hash\": \"\"\n}"
            }
          }
        },
        {
          "name": "Get Withdraw Payload",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-GAIAEX-APIKEY",
                "value": "{{api_key}}"
              },
              {
                "key": "X-GAIAEX-TIMESTAMP",
                "value": "{{timestamp}}"
              },
              {
                "key": "X-GAIAEX-SIGNATURE",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "https://openapi.gaiaex.com/v1/trade/user/withdraw/payload",
              "protocol": "https",
              "host": [
                "openapi.gaiaex.com"
              ],
              "path": [
                "v1",
                "trade",
                "user",
                "withdraw",
                "payload"
              ]
            }
          }
        },
        {
          "name": "Execute Withdrawal",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-GAIAEX-APIKEY",
                "value": "{{api_key}}"
              },
              {
                "key": "X-GAIAEX-TIMESTAMP",
                "value": "{{timestamp}}"
              },
              {
                "key": "X-GAIAEX-SIGNATURE",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "https://openapi.gaiaex.com/v1/trade/user/withdraw",
              "protocol": "https",
              "host": [
                "openapi.gaiaex.com"
              ],
              "path": [
                "v1",
                "trade",
                "user",
                "withdraw"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"user_address\": \"0xYourAddress\",\n  \"amount_usdc\": \"\",\n  \"nonce\": \"\",\n  \"signature\": \"\"\n}"
            }
          }
        },
        {
          "name": "On-Chain Balance",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-GAIAEX-APIKEY",
                "value": "{{api_key}}"
              },
              {
                "key": "X-GAIAEX-TIMESTAMP",
                "value": "{{timestamp}}"
              },
              {
                "key": "X-GAIAEX-SIGNATURE",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "https://openapi.gaiaex.com/v1/trade/user/:address/onchain-balance",
              "protocol": "https",
              "host": [
                "openapi.gaiaex.com"
              ],
              "path": [
                "v1",
                "trade",
                "user",
                "{address}",
                "onchain-balance"
              ]
            }
          }
        }
      ]
    },
    {
      "name": "Calculator",
      "item": [
        {
          "name": "Get Symbol Info",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://openapi.gaiaex.com/v1/trade/calculator/symbol-info/:symbol",
              "protocol": "https",
              "host": [
                "openapi.gaiaex.com"
              ],
              "path": [
                "v1",
                "trade",
                "calculator",
                "symbol-info",
                "{symbol}"
              ]
            }
          }
        },
        {
          "name": "Calculate PnL",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://openapi.gaiaex.com/v1/trade/calculator/pnl",
              "protocol": "https",
              "host": [
                "openapi.gaiaex.com"
              ],
              "path": [
                "v1",
                "trade",
                "calculator",
                "pnl"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"side\": \"\",\n  \"leverage\": 0,\n  \"entry_price\": 0,\n  \"exit_price\": 0,\n  \"quantity\": 0\n}"
            }
          }
        },
        {
          "name": "Target Price",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://openapi.gaiaex.com/v1/trade/calculator/target-price",
              "protocol": "https",
              "host": [
                "openapi.gaiaex.com"
              ],
              "path": [
                "v1",
                "trade",
                "calculator",
                "target-price"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"side\": \"\",\n  \"leverage\": 0,\n  \"entry_price\": 0,\n  \"roi\": 0\n}"
            }
          }
        },
        {
          "name": "Liquidation Price",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://openapi.gaiaex.com/v1/trade/calculator/liquidation-price",
              "protocol": "https",
              "host": [
                "openapi.gaiaex.com"
              ],
              "path": [
                "v1",
                "trade",
                "calculator",
                "liquidation-price"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"side\": \"\",\n  \"leverage\": 0,\n  \"margin_mode\": \"\",\n  \"entry_price\": 0,\n  \"quantity\": 0,\n  \"balance\": 0\n}"
            }
          }
        },
        {
          "name": "Max Open Position",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://openapi.gaiaex.com/v1/trade/calculator/max-open",
              "protocol": "https",
              "host": [
                "openapi.gaiaex.com"
              ],
              "path": [
                "v1",
                "trade",
                "calculator",
                "max-open"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"side\": \"\",\n  \"leverage\": 0,\n  \"entry_price\": 0,\n  \"balance\": 0\n}"
            }
          }
        },
        {
          "name": "Average Open Price",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://openapi.gaiaex.com/v1/trade/calculator/open-price",
              "protocol": "https",
              "host": [
                "openapi.gaiaex.com"
              ],
              "path": [
                "v1",
                "trade",
                "calculator",
                "open-price"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"side\": \"\",\n  \"positions\": []\n}"
            }
          }
        }
      ]
    }
  ]
}