Coinbase International Exchange API
cURL
curl --request GET \ --url https://api.international.coinbase.com/api/v1/instruments/{instrument}/funding
{ "instrument_id": "14thr7ft-1-0", "funding_rate": 0.1543, "mark_price": 20000.63, "event_time": "2023-03-16T23:59:53.000Z" }
Retrieves the historical funding rates for a specific instrument.
InstrumentsService instrumentsService = IntxServiceFactory.createInstrumentsService(client); GetHistoricalFundingRatesRequest request = new GetHistoricalFundingRatesRequest.Builder() .instrumentId("BTC-PERP") .build(); GetHistoricalFundingRatesResponse response = instrumentsService.getHistoricalFundingRates(request);
Was this page helpful?