GET
/
api
/
v1
/
portfolios
/
fills
curl --request GET \
  --url https://api.international.coinbase.com/api/v1/portfolios/fills \
  --header 'CB-ACCESS-KEY: <api-key>' \
  --header 'CB-ACCESS-PASSPHRASE: <api-key>' \
  --header 'CB-ACCESS-SIGN: <api-key>' \
  --header 'CB-ACCESS-TIMESTAMP: <api-key>'
{
  "pagination": {
    "result_limit": 30,
    "result_offset": 50,
    "ref_datetime": "2023-03-16T23:59:53.000Z"
  },
  "results": [
    {
      "portfolio_id": "t4umaqa-1-1",
      "portfolio_uuid": "018ab3b1-d38a-750e-8a1d-8b7815ea8bfb",
      "portfolio_name": "portfolio1",
      "fill_id": "14thr7g8-1-1",
      "exec_id": 224040873497739740,
      "order_id": "14thr7eg-1-1",
      "instrument_id": "14thr7dw-1-0",
      "instrument_uuid": "c3f2130a-1e47-4f33-9a88-beffc11fdd50",
      "symbol": "BTC-PERP",
      "match_id": "14thr75g-0-0",
      "fill_price": 31011.75,
      "fill_qty": 0.2,
      "client_id": "4V5LrMqiJPU44hpQ",
      "client_order_id": "ABC123",
      "order_qty": 1.2,
      "limit_price": 31012,
      "total_filled": 0.1,
      "filled_vwap": 31011.1,
      "expire_time": "2023-03-16T23:59:53.000Z",
      "stop_price": 31010.5,
      "side": "BUY",
      "tif": "GTC",
      "stp_mode": "AGGRESSING",
      "flags": "<string>",
      "fee": 75.53,
      "fee_asset": "USDC",
      "order_status": "WORKING",
      "event_time": "2023-03-16T23:59:53.000Z",
      "source": "LIQUIDATION",
      "execution_venue": "CLOB"
    }
  ]
}
const portfoliosService = new PortfoliosService(client);

portfoliosService.listFills().then(async (response) => {
    console.log('Portfolio Fills: ', response);
})

For more information, please visit the INTX TS SDK.

Authorizations

CB-ACCESS-KEY
string
header
required

The Client ID that owns the API Key for the request

CB-ACCESS-PASSPHRASE
string
header
required

The pass phrase affiliated with the API Key

CB-ACCESS-SIGN
string
header
required

A HMAC SHA-256 signature using the API Key secret on the string TIMESTAMP, METHOD, REQUEST_PATH, BODY

CB-ACCESS-TIMESTAMP
string
header
required

The timestamp of when the request is being made

Query Parameters

portfolios
string

The UUID of the portfolio that has filled orders. Can multiple values in the query

Example:

"17ac272b-18af-4d12-91de-d0182d559a3c"

order_id
string

A specific order for which to fetch fills identified by order ID

Example:

43877033468085760

client_order_id
string

Fetch fills for all orders with the given client order ID

Example:

"ABC123"

ref_datetime
string

The maximum event_time for results. Can be used in pagination to keep result set static. Uses ISO-8601 format (e.g., 2023-03-16T23:59:53Z)

Example:

"2023-03-16T23:59:53.000Z"

result_limit
integer

The number of results to return (defaults to 25 with a max supported value of 100)

Example:

30

result_offset
integer

The number of results from the beginning to skip past

Example:

50

time_from
string

The minimum event_time for results. Uses ISO-8601 format (e.g., 2023-03-16T23:59:53Z)

Example:

"2023-03-16T23:59:53.000Z"

Response

200
application/json

Fill information

The response is of type object.