Back to Ccxt

Coinbaseexchange

wiki/exchanges-implicit/coinbaseexchange.md

4.5.737.4 KB
Original Source

Every endpoint in coinbaseexchange's api definition is exposed as an implicit method — a thin, generated wrapper around the raw exchange endpoint. Use these for exchange-specific functionality the CCXT API does not cover.

These methods are available in every CCXT language — TypeScript, JavaScript, Python, PHP, C#, Go and Java. Call them by the camelCase name shown in the tables below (e.g. publicGetCurrencies); the snake_case alias (public_get_currencies) also works in JavaScript, Python and PHP, and Go uses the PascalCase form (PublicGetCurrencies). Switch tabs for the call in each language:

<!-- tabs:start -->

JavaScript

javascript
const coinbaseexchange = new ccxt.coinbaseexchange ();
const response = await coinbaseexchange.publicGetCurrencies (params);

TypeScript

typescript
import ccxt from 'ccxt';
const coinbaseexchange = new ccxt.coinbaseexchange ();
const response = await coinbaseexchange.publicGetCurrencies (params);

Python

python
import ccxt
coinbaseexchange = ccxt.coinbaseexchange()
response = coinbaseexchange.public_get_currencies(params)

PHP

php
$coinbaseexchange = new \ccxt\coinbaseexchange();
$response = $coinbaseexchange->public_get_currencies($params);

C#

csharp
using ccxt;
var coinbaseexchange = new Coinbaseexchange();
var response = await coinbaseexchange.publicGetCurrencies(parameters);

Go

go
coinbaseexchange := ccxt.NewCoinbaseexchange(nil)
response := <-coinbaseexchange.PublicGetCurrencies(params)
<!-- tabs:end -->

Path parameters wrapped in {} (e.g. {pair}) are substituted from params; everything else in params is sent as the query string or request body. Cost is the rate-limiter weight of each call.

📚 Official coinbaseexchange API documentation: docs.cloud.coinbase.com

82 implicit endpoints across 2 access groups.

public

Base URL: https://api.{hostname}

MethodHTTPEndpointCost
publicGetCurrenciesGETcurrencies1
publicGetProductsGETproducts1
publicGetProductsIdGETproducts/{id}1
publicGetProductsIdBookGETproducts/{id}/book1
publicGetProductsIdCandlesGETproducts/{id}/candles1
publicGetProductsIdStatsGETproducts/{id}/stats1
publicGetProductsIdTickerGETproducts/{id}/ticker1
publicGetProductsIdTradesGETproducts/{id}/trades1
publicGetTimeGETtime1
publicGetProductsSparkLinesGETproducts/spark-lines1
publicGetProductsVolumeSummaryGETproducts/volume-summary1

private

Base URL: https://api.{hostname}

MethodHTTPEndpointCost
privateGetAddressBookGETaddress-book1
privateGetAccountsGETaccounts1
privateGetAccountsIdGETaccounts/{id}1
privateGetAccountsIdHoldsGETaccounts/{id}/holds1
privateGetAccountsIdLedgerGETaccounts/{id}/ledger1
privateGetAccountsIdTransfersGETaccounts/{id}/transfers1
privateGetCoinbaseAccountsGETcoinbase-accounts1
privateGetFillsGETfills1
privateGetFundingGETfunding1
privateGetFeesGETfees1
privateGetMarginProfileInformationGETmargin/profile_information1
privateGetMarginBuyingPowerGETmargin/buying_power1
privateGetMarginWithdrawalPowerGETmargin/withdrawal_power1
privateGetMarginWithdrawalPowerAllGETmargin/withdrawal_power_all1
privateGetMarginExitPlanGETmargin/exit_plan1
privateGetMarginLiquidationHistoryGETmargin/liquidation_history1
privateGetMarginPositionRefreshAmountsGETmargin/position_refresh_amounts1
privateGetMarginStatusGETmargin/status1
privateGetOracleGEToracle1
privateGetOrdersGETorders1
privateGetOrdersIdGETorders/{id}1
privateGetOrdersClientClientOidGETorders/client:{client_oid}1
privateGetOtcOrdersGETotc/orders1
privateGetPaymentMethodsGETpayment-methods1
privateGetPositionGETposition1
privateGetProfilesGETprofiles1
privateGetProfilesIdGETprofiles/{id}1
privateGetReportsReportIdGETreports/{report_id}1
privateGetTransfersGETtransfers1
privateGetTransfersTransferIdGETtransfers/{transfer_id}1
privateGetUsersSelfExchangeLimitsGETusers/self/exchange-limits1
privateGetUsersSelfHoldBalancesGETusers/self/hold-balances1
privateGetUsersSelfTrailingVolumeGETusers/self/trailing-volume1
privateGetWithdrawalsFeeEstimateGETwithdrawals/fee-estimate1
privateGetConversionsConversionIdGETconversions/{conversion_id}1
privateGetConversionsGETconversions1
privateGetConversionsFeesGETconversions/fees1
privateGetLoansLendingOverviewGETloans/lending-overview1
privateGetLoansLendingOverviewXmGETloans/lending-overview-xm1
privateGetLoansLoanPreviewGETloans/loan-preview1
privateGetLoansLoanPreviewXmGETloans/loan-preview-xm1
privateGetLoansRepaymentPreviewGETloans/repayment-preview1
privateGetLoansRepaymentPreviewXmGETloans/repayment-preview-xm1
privateGetLoansInterestLoanIdGETloans/interest/{loan_id}1
privateGetLoansInterestHistoryLoanIdGETloans/interest/history/{loan_id}1
privateGetLoansInterestGETloans/interest1
privateGetLoansAssetsGETloans/assets1
privateGetLoansGETloans1
privatePostConversionsPOSTconversions1
privatePostDepositsCoinbaseAccountPOSTdeposits/coinbase-account1
privatePostDepositsPaymentMethodPOSTdeposits/payment-method1
privatePostCoinbaseAccountsIdAddressesPOSTcoinbase-accounts/{id}/addresses1
privatePostFundingRepayPOSTfunding/repay1
privatePostOrdersPOSTorders1
privatePostPositionClosePOSTposition/close1
privatePostProfilesPOSTprofiles1
privatePostProfilesMarginTransferPOSTprofiles/margin-transfer1
privatePostProfilesTransferPOSTprofiles/transfer1
privatePostReportsPOSTreports1
privatePostWithdrawalsCoinbasePOSTwithdrawals/coinbase1
privatePostWithdrawalsCoinbaseAccountPOSTwithdrawals/coinbase-account1
privatePostWithdrawalsCryptoPOSTwithdrawals/crypto1
privatePostWithdrawalsPaymentMethodPOSTwithdrawals/payment-method1
privatePostLoansOpenPOSTloans/open1
privatePostLoansRepayInterestPOSTloans/repay-interest1
privatePostLoansRepayPrincipalPOSTloans/repay-principal1
privateDeleteOrdersDELETEorders1
privateDeleteOrdersClientClientOidDELETEorders/client:{client_oid}1
privateDeleteOrdersIdDELETEorders/{id}1
privatePutProfilesIdDeactivatePUTprofiles/{id}/deactivate1
privatePutProfilesIdPUTprofiles/{id}1