GET
/
users
/
{user_address}
/
order_history
Get order history for a user
curl --request GET \
  --url https://api-testnet.gte.xyz/v1/users/{user_address}/order_history
[
  {
    "orderId": "<string>",
    "marketAddress": "<string>",
    "side": "buy",
    "orderType": "limit",
    "originalSize": "<string>",
    "limitPrice": "<string>",
    "placedAt": 123
  }
]

Path Parameters

user_address
string
required

EVM address

Query Parameters

market_address
string
required

EVM address

Response

List of user's order history

orderId
string
required
marketAddress
string
required

EVM address

side
enum<string>
required

Side of a trade or order

Available options:
buy,
sell
orderType
enum<string>
required
Available options:
limit,
fill
originalSize
string
required

Original size of the order in base token

limitPrice
string
required

Limit price of the order in quote token

placedAt
integer
required

Timestamp of when the order was first placed in UTC millis