# Orders

import {
  IconPlusCircleOutlined,
  IconClearOutlined,
  IconGraphLine,
  IconMenu,
  IconInfoOutlined,
  IconDocumentOutlined,
  IconClockOutlined,
  IconReceipt,
  IconGraphCandle,
  IconChartAreaBaseline,
} from "@hubble/icons/dist/cjs/web/index.js";

<ApiCategoryPage
  breadcrumbs={[
    { label: "Trading", href: "/trading/trading" },
  ]}
  title="Orders"
  version="1.0.0"
  endpoint="https://api.gemini.com"
  description="The Gemini Crypto Exchange REST API allows programmatic access to trade cryptocurrencies and manage your account on the Gemini Exchange platform. The API provides both public and private endpoints for market data, order management, and account operations."
  sections={[
    {
      title: "Order Placement & Management",
      links: [
        { icon: IconPlusCircleOutlined, title: "Create New Order", href: "/trading/rest-api/orders/create-new-order", method: "POST" },
        { icon: IconClearOutlined, title: "Cancel Order", href: "/trading/rest-api/orders/cancel-order", method: "POST" },
        { icon: IconGraphLine, title: "Cancel All Active Orders", href: "/trading/rest-api/orders/cancel-all-active-orders", method: "POST" },
        { icon: IconMenu, title: "Cancel All Session Orders", href: "/trading/rest-api/orders/cancel-all-session-orders", method: "POST" },
        { icon: IconGraphCandle, title: "Wrap Order", href: "/trading/rest-api/orders/wrap-order", method: "POST" },
        { icon: IconClockOutlined, title: "Heartbeat", href: "/trading/rest-api/orders/heartbeat", method: "POST" },
      ],
    },
    {
      title: "Order Status & Trade History",
      links: [
        { icon: IconInfoOutlined, title: "Get Order Status", href: "/trading/rest-api/orders/get-order-status", method: "POST" },
        { icon: IconDocumentOutlined, title: "List Active Orders", href: "/trading/rest-api/orders/list-active-orders", method: "POST" },
        { icon: IconClockOutlined, title: "List Past Orders", href: "/trading/rest-api/orders/list-past-orders", method: "POST" },
        { icon: IconReceipt, title: "List Past Trades", href: "/trading/rest-api/orders/list-past-trades", method: "POST" },
      ],
    },
    {
      title: "Volume & Account Tiers",
      links: [
        { icon: IconGraphCandle, title: "Get Trading Volume", href: "/trading/rest-api/orders/get-trading-volume", method: "POST" },
        { icon: IconChartAreaBaseline, title: "Get Notional Trading Volume", href: "/trading/rest-api/orders/get-notional-trading-volume", method: "POST" },
      ],
    },
  ]}
  prev={{ label: "Trading", href: "/trading/trading" }}
  next={{ label: "Create New Order", href: "/trading/rest-api/orders/create-new-order" }}
/>
