Skip to content

Fills

GET
/api/trading/accounts/{account_id}/fills
curl --request GET \
--url 'https://example.com/api/trading/accounts/1/fills?limit=100' \
--header 'INF-ACCESS-KEY: <INF-ACCESS-KEY>' \
--header 'INF-ACCESS-SIGNATURE: <INF-ACCESS-SIGNATURE>' \
--header 'INF-ACCESS-TIMESTAMP: <INF-ACCESS-TIMESTAMP>'

Newest first.

account_id
required
Account Id
integer
limit
Limit
integer
default: 100

At most this many, up to 1,000.

Successful Response

Media typeapplication/json
Fills
object
fills
required
Fills
Array<object>
Fill
object
market_id
required
Market Id
integer
client_order_id
required
Client Order Id
integer
seq
required
Seq
integer
side
required
Side
string
Allowed values: bid ask
outcome
required
Outcome
string
Allowed values: up down
price_bps
required
Price Bps
integer
quantity
required
Quantity
integer
notional
required
Notional

Price_bps * quantity, in units.

integer
fee
required
Fee

Fee paid on this fill, in units. A maker’s rebate is negative.

integer
liquidity
required
Liquidity

taker if this fill’s order took liquidity, maker if it was resting.

string
Allowed values: maker taker
created_at
required
Any of:
string
reversed
required
Reversed

True once the vault skipped this fill and the exchange took it back: its cost, lots and fee were returned, and no total counts it.

boolean
reversed_reason
required
Any of:
string
Example
{
"fills": [
{
"side": "bid",
"outcome": "up",
"liquidity": "maker"
}
]
}

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Examplegenerated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}