User deposit data

Description: Returns the data of deposit for a specific account using its ID

This endpoint works for the following exchanges: Binance Spot, Binance US, OKX Spot, Binance Broker

Permission: ACCOUNTS_READ Security: SIGNED


GET

/ver1/accounts/{account_id}/deposit_data


Path Parameter

account_id integer required Unique 3Commas ID for this exchange account entity

Query Parameters

currency string required Currency code for what you want to get a data Example: BTC

network string required Name of Network for this currency

Response Parameters

address string The cryptocurrency wallet address for deposits and withdrawals

network string Tag of address for this deposits

currency string The amount of this currency currently locked in active orders

total_balance string The total balance in this currency and account

Example Request


GET /ver1/accounts/76543210/deposit_data?currency=BTC&network=BTC

Example Response and errors

Status: 200 OK

{
    "address": "1J6jZDFSeGfwfwJpS4SLqhVo7eo2DgkT9Q",
    "address_tag": "",
    "available_balance": "0.00031872",
    "in_orders": "0.0",
    "total_balance": "0.00031872"
}

Status: 400 Bad Request

{
    "error": "record_invalid",
    "error_description": "Invalid parameters",
    "error_attributes": {
        "currency": [
            "is missing"
        ],
        "network": [
            "is missing"
        ]
    }
}

Status: 422 Unprocessable Entity

{
    "error_description": "{\"code\"=>-9000, \"msg\"=>\"Deposits for this network are currently closed\"}",
    "error": "unknown_market_api_error"
}

Last updated

Was this helpful?