Dexilon API Documentation
  • 👋Getting Started
  • General Info
    • ⚙️General API information
      • Base URLs
      • HTTP Return Codes
      • Enum Definition
    • 💻Clients
      • Dexilon Chain Client
    • 🚦Limits
      • REST API Rate limits
      • WS Stream Rate Limits
    • 🔐Security
      • Registration Flow
      • Authentication Flow
      • Sending Dexilon Transactions
      • Private API Calls
        • Access Token
        • Refresh Access Token
      • Timing security
    • ⚠️Error Codes
      • REST API Error Codes
      • WS Stream Error Codes
    • 🔍Audits
      • Bridge Audit
      • Smart-Contract Audit
  • Restful API
    • 📊Market Data Endpoints
      • Test Connectivity
      • Check Server Time
      • Exchange Information
      • Order Book
      • Recent Trades List
      • Kline/Candlestick Data
      • Symbol Data
      • Funding Rate History
      • Open Interest
      • Taker Buy/Sell Volume
      • Index Price History
      • Fee Tiers Structure
      • Fee Tiers Discount
      • Symbol Rules
      • Leverage Rules
    • ⚒️Account and Trades Endpoints
      • 🔒Account Information
      • 🔒Get User Address
      • 🔒Positions Information
      • 🔒Assets Information
      • 🔒Change Initial Leverage
      • 🔒Change Margin Type
      • 🔒Modify Isolated Position Margin
      • 🔒Create Withdrawal
      • 🔒Create market order
      • 🔒Create limit order
      • 🔒Cancel Order
      • 🔒Cancel All Orders
      • 🔒Query Order
      • 🔒Get Open Orders
      • 🔒Get Order History
      • 🔒Get Trade History
      • 🔒Get Transaction History
    • 🏆Rewards Endpoints
      • Current Reward Round
      • Reward Distribution
      • Rewards Settings
      • Current Tournament
      • Tournament Members
      • 🔒User's Reward Distributions
      • 🔒User's Reward Round Profit
      • 🔒User's Tournament Rating
    • 💸Liquidation Auctions Endpoints
      • Open Lots
      • Lot History
      • 🔒Place Bid
  • WebSocket Streams
    • 📈Market Data WS Streams
      • Working with Public Streams
      • Mark Price Stream
      • Mark Price Stream For All Markets
      • Kline/Candlestick Stream
      • Ticker Stream
      • Ticker Stream For All Markets
      • Partial Book Depth Stream
      • Book Ticker Stream
      • Trade Stream
      • Aggregate Trade Stream
      • Liquidation Trade Stream
      • Liquidation Auction Stream
    • 👥User Data WS Stream
      • 🔒Working with Private Streams
      • 🔒Order Update Stream
      • 🔒Account Update Stream
      • 🔒L2 Account Update Stream
Powered by GitBook
On this page
  1. Restful API
  2. Account and Trades Endpoints

Get Order History

Get order history by filters

GET https://api.staging.dexilon.io/api/v1/orders/history

Weight: 10

Query Parameters

Name
Type
Description

symbol

String

Symbol name

type

Enum

Type of order: LIMIT, MARKET

side

Enum

Side of order: BUY, SELL

statuses

List<Enum>

Order statuses.

Example: PARTIALLY_EXECUTED, EXECUTED, CANCELED, LIQUIDATED

dateFrom

Date

dateTo

Date

page*

Integer

Number of page

size

Integer

Number of returned orders

{
  "size" : 20,
  "totalPages" : 1,
  "totalElements" : 2,
  "content" : [ {
    "symbol" : "matic_usdt",
    "amount" : 355,
    "side" : "SELL",
    "orderId" : 540603204,
    "price" : 0.956003,
    "clientOrderId" : "1dc17102-2a57-424a-952b-44c18b849f21",
    "averageExecutionPrice" : 0.956003,
    "filled" : 350,
    "time" : 1670240315627,
    "type" : "LIMIT",
    "status" : "CANCELED"
  }, {
    "symbol" : "matic_usdt",
    "amount" : 230,
    "side" : "BUY",
    "orderId" : 439025912,
    "price" : 0.900003,
    "clientOrderId" : "v34mf001-2af3-024s-152c-4kfmg4849hfd45",,
    "averageExecutionPrice" : 0.900003,
    "filled" : 230,
    "time" : 1670240315627,
    "type" : "LIMIT",
    "status" : "EXECUTED"
  } ]
}
PreviousGet Open OrdersNextGet Trade History

Last updated 2 years ago

⚒️
🔒