Fills
GET
/api/trading/accounts/{account_id}/fills
const url = 'https://example.com/api/trading/accounts/1/fills?limit=100';const options = { method: 'GET', headers: { 'INF-ACCESS-KEY': '<INF-ACCESS-KEY>', 'INF-ACCESS-TIMESTAMP': '<INF-ACCESS-TIMESTAMP>', 'INF-ACCESS-SIGNATURE': '<INF-ACCESS-SIGNATURE>' }};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”account_id
required
Account Id
integer
Query Parameters
Section titled “Query Parameters”limit
Limit
integer
At most this many, up to 1,000.
Responses
Section titled “Responses”Successful Response
Media typeapplication/json
Fills
object
fills
required
Fills
Array<object>
Fillobject
market_id
required
Market Id
integer
client_order_id
required
Client Order Id
integer
seq
required
Seq
integer
side
required
Side
string
outcome
required
Outcome
string
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
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
Example
{ "fills": [ { "side": "bid", "outcome": "up", "liquidity": "maker" } ]}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
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": {} } ]}