資産情報

アカウントが保有している資産の情報や、その推移の情報を取得できます。

全保有資産残高の取得

GET https://api.liquid.com/accounts/balance

保有している暗号資産と法定通貨の残高を取得できます。 お客様により表示される通貨は異なります。

[
    {
        'currency': 'SGD',
        'balance': '0.0'
    },
    {
        'currency': 'HKD',
        'balance': '0.0'
    },
    {
        'currency': 'IDR',
        'balance': '0.0'
    },
    {
        'currency': 'JPY',
        'balance': '0.0'
    },
    {
        'currency': 'USD',
        'balance': '0.0'
    },
    {
        'currency': 'BTC',
        'balance': '0.0'
    },
    {
        'currency': 'ETH',
        'balance': '0.0'
    },
    {
        'currency': 'QASH',
        'balance': '0.0'
    },
    {
        'currency': 'XRP',
        'balance': '0.0'
    },
    {
        'currency': 'BCH',
        'balance': '0.0'
    }
]

法定通貨残高の取得

GET https://api.liquid.com/fiat_accounts

保有している法定通貨の情報を取得出来ます。 お客様により表示される法定通貨は異なります。

[
    {
        'id': 12345,
        'currency': 'SGD',
        'currency_symbol': 'S$',
        'balance': 0.0,
        'send_to_btc_address': None,
        'pusher_channel': 'user_000000_account_sgd',
        'lowest_offer_interest_rate': '0.00009',
        'highest_offer_interest_rate': '0.00070',
        'exchange_rate': '0.720305928333881966348747641',
        'currency_type': 'fiat',
        'reserved_balance': 0.0
    },
    {
        'id': 12345,
        'currency': 'HKD',
        'currency_symbol': 'HK$',
        'balance': 0.0,
        'send_to_btc_address': None,
        'pusher_channel': 'user_000000_account_hkd',
        'lowest_offer_interest_rate': '0.00001',
        'highest_offer_interest_rate': '0.00050',
        'exchange_rate': '0.1287168602353716506264006',
        'currency_type': 'fiat',
        'reserved_balance': 0.0
    },
    {
        'id': 12345,
        'currency': 'IDR',
        'currency_symbol': 'Rp',
        'balance': 0.0,
        'send_to_btc_address': None,
        'pusher_channel': 'user_000000_account_idr',
        'lowest_offer_interest_rate': '0.00019',
        'highest_offer_interest_rate': '0.00070',
        'exchange_rate': '0.00007299481622626301991438',
        'currency_type': 'fiat',
        'reserved_balance': 0.0
    },
    {
        'id': 12345,
        'currency': 'JPY',
        'currency_symbol': '¥',
        'balance': 14.80851,
        'send_to_btc_address': None,
        'pusher_channel': 'user_000000_account_jpy',
        'lowest_offer_interest_rate': '0.00050',
        'highest_offer_interest_rate': '0.00200',
        'exchange_rate': '0.009113401926255765648181222',
        'currency_type': 'fiat',
        'reserved_balance': 0.0
    },
    {
        'id': 12345,
        'currency': 'USD',
        'currency_symbol': '$',
        'balance': 0.00156,
        'send_to_btc_address': None,
        'pusher_channel': 'user_000000_account_usd',
        'lowest_offer_interest_rate': '0.00050',
        'highest_offer_interest_rate': '0.00700',
        'exchange_rate': '1.0',
        'currency_type': 'fiat',
        'reserved_balance': 0.0
    }
]

暗号資産残高の取得

GET https://api.liquid.com/crypto_accounts

保有している暗号資産の情報を取得出来ます。 お客様により表示される法定通貨は異なります。

[
    {
        'id': 12345,
        'balance': 0.0012,
        'address': '12345asdf',
        'currency': 'BTC',
        'currency_symbol': '₿',
        'pusher_channel': 'user_00000_account_btc',
        'minimum_withdraw': 0.02,
        'lowest_offer_interest_rate': '0.00001',
        'highest_offer_interest_rate': '0.00100',
        'currency_type': 'crypto',
        'reserved_balance': 0.0
    },
    {
        'id': 12345,
        'balance': 0.0,
        'address': '12345asdf',
        'currency': 'ETH',
        'currency_symbol': 'Ξ',
        'pusher_channel': 'user_00000_account_eth',
        'minimum_withdraw': 0.05,
        'lowest_offer_interest_rate': '0.00002',
        'highest_offer_interest_rate': '0.00070',
        'currency_type': 'crypto',
        'reserved_balance': 0.0
    },
    {
        'id': 12345,
        'balance': 0.97282866,
        'address': '12345asdf',
        'currency': 'QASH',
        'currency_symbol': 'Ꝗ',
        'pusher_channel': 'user_00000_account_qash',
        'minimum_withdraw': None,
        'lowest_offer_interest_rate': None,
        'highest_offer_interest_rate': None,
        'currency_type': 'crypto',
        'reserved_balance': 0.0
    },
    {
        'id': 12345,
        'balance': 0.0,
        'address': '12345asdf,
        111111',
        'currency': 'XRP',
        'currency_symbol': 'ρ',
        'pusher_channel': 'user_00000_account_xrp',
        'minimum_withdraw': None,
        'lowest_offer_interest_rate': '0.00025',
        'highest_offer_interest_rate': '0.00070',
        'currency_type': 'crypto',
        'reserved_balance': 0.0
    },
    {
        'id': 12345,
        'balance': 0.0,
        'address': '12345asdf',
        'currency': 'BCH',
        'currency_symbol': '฿',
        'pusher_channel': 'user_00000_account_bch',
        'minimum_withdraw': 0.02,
        'lowest_offer_interest_rate': '0.00070',
        'highest_offer_interest_rate': '0.00070',
        'currency_type': 'crypto',
        'reserved_balance': 0.0
    }
]

残高推移履歴の取得

GET https://api.liquid.com/transactions

残高の推移履歴を確認できます。

Query Parameters

NameTypeDescription

currency

string

取得したい通貨を下記形式で選択します。 JPY, BTC, ETH, XRP, BCH, QASH

transaction_type

string

残高推移のタイプを指定します。 詳細は下記をご覧ください。

  "models": [
    {
      "id": 123456,
      "created_at": 123456,
      "transaction_type": "funding",
      "notes": null,
      "gross_amount": 1000000.0,
      "net_amount": 1000000.0,
      "fee": 0.0,
      "fx_rate": null,
      "from_fiat_account_id": null,
      "to_fiat_account_id": 12345,
      "from_role": null,
      "to_role": null,
      "business_date": null,
      "currency": "JPY",
      "action_id": null,
      "loan": null
    },
    {
      "id": 23456,
      "created_at": 23456,
      "transaction_type": "funding",
      "notes": null,
      "gross_amount": 3000.0,
      "net_amount": 3000.0,
      "fee": 0.0,
      "fx_rate": null,
      "from_fiat_account_id": null,
      "to_fiat_account_id": 23456,
      "from_role": null,
      "to_role": null,
      "business_date": null,
      "currency": "JPY",
      "action_id": null,
      "loan": null
    }

transaction_type について

funding : 入金額を取得します。

withdrawal : 出金額を取得します。

withdrawal_fee : 出金手数料を取得します。

cfd_fee : CFD取引のポジション管理料を取得します。

cfd_pnl : CFD取引のポジション損益を取得します。

最終更新