RapidAPI logo

Sign Up

Log In

Coinbase

FREE
By dimas
Updated 4 months ago
Payments
1.3/10
Popularity Score
401ms
Latency
100%
Success Rate

Coinbase API Documentation

Make bitcoin/ethereum transactions and get real-time data.

View API Details
POSTcancelRequestMoney
POSTcommitBuy
POSTcommitDeposit
POSTcommitSell
POSTcommitWithdrawal
POSTcompleteRequestMoney
POSTcreateAccount
POSTcreateAddress
POSTcreateCheckout
POSTcreateCheckoutOrder
POSTcreateOrder
POSTdeleteAccount
POSTdepositFunds
POSTgetAccessToken
POSTgetAccounts
POSTgetAddressTransactions
POSTgetAddresses
POSTgetBuyPrice
POSTgetBuys
POSTgetCheckoutOrders
POSTgetCheckouts
POSTgetCurrencies
POSTgetCurrentTime
POSTgetDeposits
POSTgetExchangeRates
POSTgetMe
POSTgetMyAuthInfo
POSTgetNotifications
POSTgetOrders
POSTgetPaymentMethods
POSTgetSellPrice
POSTgetSells
POSTgetSingleAccount
POSTgetSingleAddress
POSTgetSingleBuy
POSTgetSingleCheckout
POSTgetSingleDeposit
POSTgetSingleMerchant
POSTgetSingleNotification
POSTgetSingleOrder
POSTgetSinglePaymentMethod
POSTgetSingleSell
POSTgetSingleTransaction
POSTgetSingleWithdrawal
POSTgetSpotPrice
POSTgetTransactions
POSTgetUser
POSTgetWithdrawals
POSTnextPage
POSTplaceBuyOrder
POSTplaceSellOrder
POSTrefreshAccessToken
POSTrefundOrder
POSTrequestMoney
POSTresendMoneyRequest
POSTrevokeAccessToken
POSTsendMoney
POSTsetAccountAsPrimary
POSTtransferAccountsMoney
POSTupdateAccount
POSTupdateMe
POSTwithdrawFunds
POSTcancelRequestMoney

Lets a user cancel a money request. Scopes: wallet:transactions:request

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
accountIdSTRING
REQUIREDAccount identifier.
accessTokenSTRING
REQUIREDAccess token.
transactionIdSTRING
REQUIREDTransaction identifier.
Request Snippet
unirest.post("https://CoinbasedimasV1.p.rapidapi.com/cancelRequestMoney")
.header("X-RapidAPI-Host", "CoinbasedimasV1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://CoinbasedimasV1.p.rapidapi.com/cancelRequestMoney")
.header("X-RapidAPI-Host", "CoinbasedimasV1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication