Skip to main content
GET
/
getOrders
getOrders
curl --request GET \
  --url https://alphainsider.com/api/getOrders \
  --header 'Authorization: <authorization>'
{
  "success": true,
  "response": [
    {
      "order_id": "qoppbNXH4lG0-4x21YLCp",
      "strategy_id": "7Wy5AzIKY9bCmkIqjcLSg",
      "type": "limit",
      "action": "sell",
      "stop_price": null,
      "price": "4000.000000000000000",
      "amount": "0.000200000000000",
      "total": null,
      "created_at": "2024-10-22T21:47:19.540Z",
      "stock_id": "v3lhjrwEhNuAOxPT29oxO",
      "figi_composite": null,
      "symbol": "ETH-USD",
      "name": "Ethereum",
      "sector": "Cryptocurrencies",
      "security": "cryptocurrency",
      "exchange": "COINBASE",
      "stock": "ETH",
      "peg": "USD",
      "provider": "coinbase",
      "slippage": "0.000000000000000",
      "fee": "0.002500000000000",
      "links": {
        "trading_view": "https://www.tradingview.com/symbols/ETHUSD/?exchange=COINBASE",
        "yahoo_finance": "https://finance.yahoo.com/quote/ETH-USD",
        "coin_marketcap": "https://coinmarketcap.com/currencies/ethereum/",
        "google_finance": "https://www.google.com/finance/quote/ETH-USD"
      },
      "stock_status": "active",
      "bid": "2633.02",
      "ask": "2633.02",
      "last": "2633.02"
    }
  ]
}

Headers

Authorization
string<JWT>
required

User API token.

Query Parameters

strategy_id
string
required

Strategy ID.

Response

Request was successful.