Skip to main content
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

Query Parameters

market_address
string
required

Response

orderId
string
required
marketAddress
string
required
side
enum<string>
required
Available options:
buy,
sell
orderType
enum<string>
required
Available options:
limit,
fill
originalSize
string
required
limitPrice
string
required
placedAt
integer
required