Skip to main content

Mercado Bitcoin

Cotações, livro de ofertas, negociações e candles de criptoativos, além de saldos, posições, ordens, depósitos e saques da conta.

Mercado Bitcoin Logo

Authentication​

This connector uses Token-based authentication.

info

Set up your connection in the Abstra Console before using it in your workflows.

How to use​

Using the Smart Chat​

Execute the action "CHOOSE_ONE_ACTION_BELOW" from my connector "YOUR_CONNECTOR_NAME" using the params "PARAMS_HERE".

Using the Web Editor​

from abstra.connectors import run_connection_action

result = run_connection_action(
connection_name="your_connection_name",
action_name="your_action_name",
params={
"param1": "value1",
"param2": "value2"
})

Available Actions​

This connector provides 32 actions:

ActionPurposeParameters
get_by_asset_feesRequest for asset's withdraw fee network fee charge Rate limit: 1 requests/secasset (string) required
network (string)
get_by_symbol_orderbookGet current orderbook depth of market for the instrument. Rate limit: 1 requests/secsymbol (string) required
limit (string)
get_by_symbol_tradesList trades executions. Rate limit: 1 requests/secsymbol (string) required
tid (integer)
since (integer)
from (integer)
to (integer)
limit (integer)
get_accountsGet a list of accounts owned by the user. Usually, MercadoBitcoin works with only one default account.No parameters
post_accountsCreate new account to trade with.data: {
. name (string)
} (object) required
get_accounts_by_account_id_by_symbol_ordersList orders from specific market most recent first Rate limit: 10 requests/secsymbol (string) required
accountId (string) required
has_executions (string)
side (string)
status (string)
created_at_from (string)
created_at_to (string)
executed_at_from (string)
executed_at_to (string)
post_accounts_by_account_id_by_symbol_ordersPlace a new order. Rate limit: 3 requests/secsymbol (string) required
accountId (string) required
data: {
. async (boolean)
. cost (number)
. externalId (string)
. limitPrice (number)
. qty (string)
. side (string)
. stopPrice (number)
. type (string)
} (object) required
delete_accounts_by_account_id_by_symbol_orders_by_order_idCancel an existing order. Rate limit: 3 requests/secaccountId (string) required
symbol (string) required
orderId (string) required
async (boolean)
get_accounts_by_account_id_by_symbol_orders_by_order_idGet unique order by identifier Rate limit: 1 requests/secsymbol (string) required
accountId (string) required
orderId (string) required
post_accounts_by_account_id_by_symbol_transfers_internalTransfer balance between accounts.accountId (string) required
symbol (string) required
data: {
. amount (string)
. recipient_account_id (string)
. transaction_id (string)
} (object) required
get_accounts_by_account_id_balancesGet balances for all markets, including fiat, for an account Rate limit: 3 requests/secaccountId (string) required
get_accounts_by_account_id_tierGet tier taxaccountId (string) required
get_accounts_by_account_id_by_symbol_feesGet your trading fees for each symbolaccountId (string) required
symbol (string) required
delete_accounts_by_account_id_cancel_all_open_ordersCancel all open orders for an account. Rate limit: 1 requests/minaccountId (string) required
has_executions (boolean)
symbol (string)
get_accounts_by_account_id_ordersList orders from all markets most recent first Rate limit: 3 requests/secaccountId (string) required
has_executions (string)
symbol (string)
status (string)
size (string)
get_accounts_by_account_id_positionsGet open positions open orders for an account. Rate limit: 1 requests/secaccountId (string) required
symbols (string)
get_accounts_by_account_id_wallet_by_symbol_depositsList the deposits made by a user for a symbol. Fiat deposits not included.accountId (string) required
symbol (string) required
limit (string)
page (string)
from (string)
to (string)
network (string)
status (integer)
pending_travel_rule (boolean)
patch_accounts_by_account_id_wallet_by_symbol_deposits_by_deposit_idInform Travel Rule data to credit a pending deposit. bLEGAL INFORMATION:/b All cryptocurrency deposits processed from 2026-05-01 must include 'travel rule' information in accordance with Brazilian law.accountId (string) required
symbol (string) required
depositId (string) required
data: {
. description (string)
. travel_rule (object)
} (object) required
get_accounts_by_account_id_wallet_by_symbol_deposits_addressesGet the deposit addresses wallet-in and/or tag/memo. Deposits are only available for the main wallet when using multiwallet.accountId (string) required
symbol (string) required
network (string)
get_accounts_by_account_id_wallet_fiat_by_symbol_depositsList fiat deposits made by a user for a symbol. Only BRL supported.accountId (string) required
symbol (string) required
limit (string)
page (string)
from (string)
to (string)
post_accounts_by_account_id_wallet_by_symbol_withdrawRequest for cryptocurrency or Brazilian Real currency transfer. So, if the coin field is filled with 'BRL', a withdraw will be made to the informed banking account. If the coin field is filled with a cryptocurrency, a withdraw will be made to the informed wallet address. bIMPORTANT:/b It's only allowed the transfer to 'reliable' destinations. The need to mark as safe a wallet address or banking account is a security measure. To mark a wallet address or banking account as 'reliable', you need taccountId (string) required
symbol (string) required
data: {
. account_ref (integer)
. address (string)
. description (string)
. destination_tag (string)
. network (string)
. quantity (string)
. tx_fee (string)
. travel_rule (object)
} (object) required
get_accounts_by_account_id_wallet_by_symbol_withdrawList withdraws by coin.accountId (string) required
symbol (string) required
page (integer)
page_size (integer)
from (integer)
get_accounts_by_account_id_wallet_by_symbol_withdraw_by_withdraw_idGet withdraw by coin and id.accountId (string) required
symbol (string) required
withdrawId (string) required
get_candlesRequest for history bars candles. Rate limit: 1 requests/secsymbol (string) required
resolution (string) required
from (integer)
to (integer) required
countback (integer)
get_accounts_by_account_id_wallet_withdraw_config_limitsGet fiat and crypto withdraw limits. The limit considers withdraws of the last 24 hours. If the value returned is 0, it means that is not possible to withdraw the asset.accountId (string) required
symbols (string)
get_accounts_by_account_id_wallet_withdraw_config_brlGet configurations of BRL cashout. The configurations includes limits and fees information.accountId (string) required
get_accounts_by_account_id_wallet_withdraw_addressesList blockchain addresses available for API wallet outs. The addresses are previously registered and confirmed by the user. To get this information, the wallet address must be registered into the Automated Wallet Out process and the request must be done using the same IP also registered at the Automated Wallet Out process.accountId (string) required
get_accounts_by_account_id_wallet_withdraw_bank_accountsList bank accounts available for API cash outsaccountId (string) required
get_symbolsGet a list of all instruments. Rate limit: 1 requests/secsymbols (string)
get_tickersGet current prices of the instrument. Rate limit: 1 requests/secsymbols (string) required
get_by_asset_networksRetrieves the networks associated with a specific asset networks available for withdrawal.Please note that assets in pre-listing or delisted status do not provide network information. Rate limit: 1 requests/secasset (string) required
customCall any endpoint of the connected service while reusing the connection auth. Pass the full URL as _url. Other reserved keys: _method, _query, _body, _headers. Remaining params flow naturally — empty → GET, non-empty → POST JSON body._url (string) required
_method (string)
_query (object)
_body
_headers (object)