Back to Ccxt

Coinbaseexchange

wiki/exchanges-implicit/coinbaseexchange.md

4.5.647.3 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# and Go. 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
publicGetCurrenciesGETcurrencies
publicGetProductsGETproducts
publicGetProductsIdGETproducts/{id}
publicGetProductsIdBookGETproducts/{id}/book
publicGetProductsIdCandlesGETproducts/{id}/candles
publicGetProductsIdStatsGETproducts/{id}/stats
publicGetProductsIdTickerGETproducts/{id}/ticker
publicGetProductsIdTradesGETproducts/{id}/trades
publicGetTimeGETtime
publicGetProductsSparkLinesGETproducts/spark-lines
publicGetProductsVolumeSummaryGETproducts/volume-summary

private

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

MethodHTTPEndpointCost
privateGetAddressBookGETaddress-book
privateGetAccountsGETaccounts
privateGetAccountsIdGETaccounts/{id}
privateGetAccountsIdHoldsGETaccounts/{id}/holds
privateGetAccountsIdLedgerGETaccounts/{id}/ledger
privateGetAccountsIdTransfersGETaccounts/{id}/transfers
privateGetCoinbaseAccountsGETcoinbase-accounts
privateGetFillsGETfills
privateGetFundingGETfunding
privateGetFeesGETfees
privateGetMarginProfileInformationGETmargin/profile_information
privateGetMarginBuyingPowerGETmargin/buying_power
privateGetMarginWithdrawalPowerGETmargin/withdrawal_power
privateGetMarginWithdrawalPowerAllGETmargin/withdrawal_power_all
privateGetMarginExitPlanGETmargin/exit_plan
privateGetMarginLiquidationHistoryGETmargin/liquidation_history
privateGetMarginPositionRefreshAmountsGETmargin/position_refresh_amounts
privateGetMarginStatusGETmargin/status
privateGetOracleGEToracle
privateGetOrdersGETorders
privateGetOrdersIdGETorders/{id}
privateGetOrdersClientClientOidGETorders/client:{client_oid}
privateGetOtcOrdersGETotc/orders
privateGetPaymentMethodsGETpayment-methods
privateGetPositionGETposition
privateGetProfilesGETprofiles
privateGetProfilesIdGETprofiles/{id}
privateGetReportsReportIdGETreports/{report_id}
privateGetTransfersGETtransfers
privateGetTransfersTransferIdGETtransfers/{transfer_id}
privateGetUsersSelfExchangeLimitsGETusers/self/exchange-limits
privateGetUsersSelfHoldBalancesGETusers/self/hold-balances
privateGetUsersSelfTrailingVolumeGETusers/self/trailing-volume
privateGetWithdrawalsFeeEstimateGETwithdrawals/fee-estimate
privateGetConversionsConversionIdGETconversions/{conversion_id}
privateGetConversionsGETconversions
privateGetConversionsFeesGETconversions/fees
privateGetLoansLendingOverviewGETloans/lending-overview
privateGetLoansLendingOverviewXmGETloans/lending-overview-xm
privateGetLoansLoanPreviewGETloans/loan-preview
privateGetLoansLoanPreviewXmGETloans/loan-preview-xm
privateGetLoansRepaymentPreviewGETloans/repayment-preview
privateGetLoansRepaymentPreviewXmGETloans/repayment-preview-xm
privateGetLoansInterestLoanIdGETloans/interest/{loan_id}
privateGetLoansInterestHistoryLoanIdGETloans/interest/history/{loan_id}
privateGetLoansInterestGETloans/interest
privateGetLoansAssetsGETloans/assets
privateGetLoansGETloans
privatePostConversionsPOSTconversions
privatePostDepositsCoinbaseAccountPOSTdeposits/coinbase-account
privatePostDepositsPaymentMethodPOSTdeposits/payment-method
privatePostCoinbaseAccountsIdAddressesPOSTcoinbase-accounts/{id}/addresses
privatePostFundingRepayPOSTfunding/repay
privatePostOrdersPOSTorders
privatePostPositionClosePOSTposition/close
privatePostProfilesPOSTprofiles
privatePostProfilesMarginTransferPOSTprofiles/margin-transfer
privatePostProfilesTransferPOSTprofiles/transfer
privatePostReportsPOSTreports
privatePostWithdrawalsCoinbasePOSTwithdrawals/coinbase
privatePostWithdrawalsCoinbaseAccountPOSTwithdrawals/coinbase-account
privatePostWithdrawalsCryptoPOSTwithdrawals/crypto
privatePostWithdrawalsPaymentMethodPOSTwithdrawals/payment-method
privatePostLoansOpenPOSTloans/open
privatePostLoansRepayInterestPOSTloans/repay-interest
privatePostLoansRepayPrincipalPOSTloans/repay-principal
privateDeleteOrdersDELETEorders
privateDeleteOrdersClientClientOidDELETEorders/client:{client_oid}
privateDeleteOrdersIdDELETEorders/{id}
privatePutProfilesIdDeactivatePUTprofiles/{id}/deactivate
privatePutProfilesIdPUTprofiles/{id}