Coinbase International Exchange API
cURL
curl --request GET \ --url https://api.international.coinbase.com/api/v1/instruments/{instrument}/quote
{ "best_bid_price": 20000.5, "best_bid_size": 3.541424, "best_ask_price": 20001.75, "best_ask_size": 2.8754, "trade_price": 20000.63, "trade_qty": 0.73, "index_price": 20001.45, "mark_price": 20000.63, "settlement_price": 20000.23, "limit_up": 21056.35, "limit_down": 19531.5, "predicted_funding": 0.1543, "timestamp": "2023-11-07T05:31:56Z" }
Retrieves the current quote for a specific instrument.
InstrumentsService instrumentsService = IntxServiceFactory.createInstrumentsService(client); GetInstrumentQuoteRequest request = new GetInstrumentQuoteRequest.Builder() .instrumentId("BTC-PERP") .build(); GetInstrumentQuoteResponse response = instrumentsService.getInstrumentQuote(request);
Was this page helpful?