Coinbase International Exchange API
cURL
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" } ] }
Returns fills for specified portfolios or fills for all portfolios if none are provided.
const portfoliosService = new PortfoliosService(client); portfoliosService.listFills().then(async (response) => { console.log('Portfolio Fills: ', response); })
Show child attributes
Was this page helpful?