Account Information

List all account recent orders (last 24 hours only)

Changed on

A lightweight endpoint that returns the latest page of orders placed in the last 24 hours in the specified account, in the same kind-discriminated format as /accounts/{accountId}/orders/all. For most brokerages, the default page size is 100 meaning the endpoint will return a max of 100 orders. This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders. Differs from /accounts/{accountId}/orders/all in that it is always realtime, and only checks the last 24 hours as opposed to the last 30 days. By default only returns executed orders, but that can be changed by setting only_executed to false.

Every order carries a legs list with at least one leg; switch on legs[].instrument.kind and order_type.kind to know which fields are present. data_freshness.as_of is the time of this live request.

Beta: this endpoint and its response schema may change.

Because of the cost of realtime requests, each call to this endpoint incurs an additional charge. You can find the exact cost for your API key on the Customer Dashboard billing page

get/accounts/{accountId}/orders/recent

Request

  • Base URL
    https://api.snaptrade.com
  • Auth
    API key in header Signature and API key in query parameter clientId and API key in query parameter timestamp

Path parameters

accountIdstring uuid required

Unique identifier for the connected brokerage account. This is the UUID used to reference the account in SnapTrade.

Example:917c8734-8470-4a3e-a18f-57c3f2ee6631

Query parameters

userIdstring required

SnapTrade User ID. This is chosen by the API partner and can be any string that is a) unique to the user, and b) immutable for the user. It is recommended to NOT use email addresses for this property because they are usually not immutable.

Example:snaptrade-user-123
userSecretstring required

SnapTrade User Secret. This is a randomly generated string and should be stored securely. If compromised, please rotate it via the rotate user secret endpoint.

Example:adf2aa34-8219-40f7-a6b3-60156985cc61
only_executedboolean

Defaults to true. Indicates if request should fetch only executed orders. Set to false to retrieve non executed orders as well

Response

OK

Example response

{
  "results": [
    {
      "brokerage_order_id": "66a033fa-da74-4fcf-b527-feefdec9257e",
      "order_type": {
        "kind": "market"
      },
      "time_in_force": "DAY",
      "expiry_date": "2026-07-30T22:51:49Z",
      "priced_in": {
        "kind": "cash",
        "code": "EUR"
      },
      "total_quantity": "10",
      "filled_quantity": "9",
      "canceled_quantity": "1",
      "open_quantity": "0",
      "execution_price": "12.34",
      "time_placed": "2026-07-30T22:51:49Z",
      "time_updated": "2026-07-30T22:52:10Z",
      "time_executed": "2026-08-05T00:05:57Z",
      "group": {
        "id": "1234567890",
        "role": "TRIGGER"
      },
      "legs": [
        {
          "instrument": {
            "kind": "stock",
            "id": "1ef3a5d3-4a9b-40b2-b8d1-cc35f74d6324",
            "symbol": "AAPL",
            "raw_symbol": "AAPL",
            "description": "Apple Inc.",
            "currency": "USD",
            "exchange": "XNAS",
            "figi_instrument": {
              "figi_code": "BBG000B9Y5X2",
              "figi_share_class": "BBG001S5N8V8"
            }
          },
          "total_quantity": "10",
          "filled_quantity": "9",
          "canceled_quantity": "1",
          "execution_price": "12.34"
        }
      ]
    }
  ],
  "data_freshness": {
    "as_of": "2026-06-02T14:30:00Z"
  }
}

Changes

    • info

      api tag Account Information added

    • info

      api tag Experimental endpoints removed

    • breaking

      the response property // became nullable for the status

    • breaking

      the // response's property type changed from string to no type for status

    • info

      added to the // response property allOf list for the response status

    • info

      removed the CREDIT enum value from the // response property for the response status

    • info

      removed the DEBIT enum value from the // response property for the response status

    • info

      removed the EVEN enum value from the // response property for the response status

    • info

      removed the UNKNOWN enum value from the // response property for the response status