HitBTC Subaccounts API

The Subaccounts API from HitBTC — 17 operation(s) for subaccounts.

GitHub OpenAPI

Operations 19

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /sub-acc List subaccounts (v2) · Get subaccounts #
Ask an LLM
“Which subaccounts does the v2 API return for my user?”
“Can I see all my subaccounts with the v2 sub-acc endpoint?”
Tell an agent
List my subaccounts using the v2 sub-acc endpoint.
Show every subaccount tied to my user with the v2 sub-acc call.
POST /sub-acc/freeze Freeze subaccounts (v2) · Freeze subaccounts #
Ask an LLM
“How do I freeze several subaccounts at once with the v2 API?”
“Can I freeze subaccounts by their IDs in the v2 sub-acc endpoint?”
Tell an agent destructive · confirm first
Freeze subaccounts {ids} with the v2 sub-acc freeze endpoint.
Lock the v2 sub-acc accounts {ids} so they can't trade.
POST /sub-acc/activate Activate frozen subaccounts · Activate subaccounts #
Ask an LLM
“How do I unfreeze subaccounts frozen for security?”
“Can I activate several subaccounts at once?”
Tell an agent
Activate subaccounts {ids}.
Unlock these frozen subaccounts: {ids}.
POST /sub-acc/transfer Transfer funds between super and subaccount (v2) · Transfer funds between a super account and a subaccount #
Ask an LLM
“How do I move funds from my super account to a subaccount with the v2 API?”
“Can I transfer a specific amount of a currency to a subaccount through the v2 sub-acc endpoint?”
Tell an agent
Transfer {amount} {currency} from my super account to subaccount {subAccountId} using the v2 sub-acc transfer endpoint.
Move {amount} {currency} to subaccount {subAccountId} with the v2 sub-acc transfer call.
GET /sub-acc/acl Get ACL for subaccounts (v2) · Get subaccounts' ACL #
Ask an LLM
“What access control does the v2 API return for my subaccounts?”
“Can I look up ACL settings for several subaccounts at once with the v2 sub-acc/acl endpoint?”
Tell an agent
Get the ACL for subaccounts {subAccountIds} using the v2 sub-acc/acl endpoint.
Show access control settings for v2 sub-acc {subAccountIds}.
PUT /sub-acc/acl/{userId} Set ACL for a subaccount (v2) · Set an ACL for the subaccount #
Ask an LLM
“How do I allow payouts for a subaccount with the v2 API?”
“Can I set an ACL description when configuring a subaccount's permissions in the v2 sub-acc/acl endpoint?”
Tell an agent
Set payout enabled to {isPayoutEnabled} for subaccount {userId} using the v2 sub-acc/acl endpoint.
Set ACL description {description} on subaccount {userId} with the v2 sub-acc/acl call.
GET /sub-acc/balance/{userId} Get a subaccount's balance (v2) · Get subaccount balance #
Ask an LLM
“What is the balance of a subaccount according to the v2 API?”
“Can I check one subaccount's funds with the v2 sub-acc/balance endpoint?”
Tell an agent
Get the balance of subaccount {userId} using the v2 sub-acc/balance endpoint.
Show v2 sub-acc {userId} balance.
GET /sub-acc/deposit-address/{userId}/{currency} Get a subaccount deposit address (v2) · Get subaccount deposit address #
Ask an LLM
“How do I get a deposit address for a subaccount with the v2 API?”
“Can I choose the network when fetching a subaccount's deposit address in the v2 sub-acc/deposit-address endpoint?”
Tell an agent
Get the {currency} deposit address for subaccount {userId} using the v2 sub-acc/deposit-address endpoint.
Fetch v2 sub-acc {userId} deposit address on network {network_code} for {currency}.
GET /sub-account List subaccounts (legacy) · Get subaccounts #
Ask an LLM
“Which subaccounts does the legacy sub-account endpoint return?”
“Can I see all my subaccounts with the legacy sub-account call?”
Tell an agent
List my subaccounts using the legacy sub-account endpoint.
Show every subaccount tied to my user with the legacy sub-account call.
POST /sub-account Create a subaccount · Create a subaccount #
Ask an LLM
“How do I create a subaccount tied to my super account?”
“Can I set an email and password when creating a subaccount?”
Tell an agent
Create a subaccount for {email} with password {password}.
Add a new subaccount tied to my super account using {email} and {password}.
POST /sub-account/freeze Freeze subaccounts (legacy) · Freeze subaccounts #
Ask an LLM
“How do I freeze several subaccounts at once with the legacy API?”
“Can I freeze subaccounts by their external IDs in the legacy sub-account/freeze endpoint?”
Tell an agent destructive · confirm first
Freeze subaccounts {sub_account_ids} with the legacy sub-account/freeze endpoint.
Lock the legacy sub-account {sub_account_ids} so they can't trade.
POST /sub-account/activate Reactivate frozen subaccounts · Activate subaccounts #
Ask an LLM
“Can I reactivate a subaccount that was disabled only because it was frozen?”
“Why is my request to reactivate subaccounts rejected with code 21009?”
Tell an agent
Reactivate the frozen subaccounts with external IDs {sub_account_ids} in the legacy API.
Restore trading access for frozen subaccounts {sub_account_ids}, using the activate endpoint.
POST /sub-account/transfer Commit a transfer to a subaccount (legacy) · Commit a transfer to a subaccount #
Ask an LLM
“How do I send funds from my super account to a subaccount with the legacy API?”
“Can I commit a transfer to a subaccount by its external ID?”
Tell an agent
Commit a {type} transfer of {amount} {currency} to subaccount {sub_account_id} using the legacy sub-account/transfer endpoint.
Send {amount} {currency} from my super account to legacy sub-account {sub_account_id} with {type}.
POST /sub-account/transfer/sub-to-super Commit a transfer to the super account (legacy) · Commit a transfer to the super account #
Ask an LLM
“How do I send funds from a subaccount back to its super account with the legacy API?”
“Can I commit a transfer from a subaccount to the super account by currency and amount?”
Tell an agent
Commit a transfer of {amount} {currency} from my subaccount to the super account using the legacy sub-account/transfer/sub-to-super endpoint.
Send {amount} {currency} from this subaccount back to its super account with the legacy sub-to-super call.
POST /sub-account/transfer/sub-to-sub Transfer crypto between subaccounts · Commit a transfer across subaccounts #
Ask an LLM
“Can I send crypto from my subaccount to another subaccount?”
“What happens to balances if a sub-to-sub transfer is not committed?”
Tell an agent
Transfer {amount} {currency} from subaccount {from} to subaccount {to}.
Move {amount} {currency} between subaccounts.
GET /sub-account/acl Get ACL for subaccounts (legacy) · Get subaccounts ACL #
Ask an LLM
“What access control does the legacy API return for my subaccounts?”
“Can I look up ACL settings for several subaccounts at once with the legacy sub-account/acl endpoint?”
Tell an agent
Get the ACL for subaccounts {sub_account_ids} using the legacy sub-account/acl endpoint.
Show access control settings for legacy sub-account {sub_account_ids}.
POST /sub-account/acl Update ACL for subaccounts (legacy) · Update subaccounts ACL #
Ask an LLM
“How do I enable withdrawals for several subaccounts at once with the legacy API?”
“Can I set deposit address generation and withdrawal permissions for subaccounts in one call?”
Tell an agent
Set deposit address generation to {deposit_address_generation_enabled} and withdrawals to {withdraw_enabled} for subaccounts {sub_account_ids} using the legacy sub-account/acl endpoint.
Enable withdrawals {withdraw_enabled} on legacy sub-account {sub_account_ids} with {deposit_address_generation_enabled} address generation.
GET /sub-account/balance/{sub_account_id} Get a subaccount's balance (legacy) · Get subaccounts balances #
Ask an LLM
“What is the balance of a subaccount according to the legacy API?”
“Can I check one subaccount's funds with the legacy sub-account/balance endpoint?”
Tell an agent
Get the balance of subaccount {sub_account_id} using the legacy sub-account/balance endpoint.
Show legacy sub-account {sub_account_id} balance.
GET /sub-account/crypto/address/{sub_account_id}/{currency} Get a subaccount's crypto address · Get subaccounts addresses #
Ask an LLM
“What withdrawal address does a subaccount have for a given currency?”
“Can I choose the network a subaccount crypto address is on?”
Tell an agent
Get the {currency} address for subaccount {sub_account_id}.
Show subaccount {sub_account_id}'s {currency} address on network {network_code}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/hitbtc:hitbtc-subaccounts-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

hitbtc-subaccounts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Hitbtc Subaccounts API
  version: ''
  description: 'Operations tagged Subaccounts across 4 of this provider''s published API definitions: hitbtc-api-v2-spec.yaml, hitbtc-api-v3-spec.yaml, hitbtc-openapi.yml, hitbtc-v2-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: /api/2
- url: /api/3
- url: https://api.hitbtc.com/api/3
  description: Production; the served spec declares the relative server /api/3 and the docs at api.hitbtc.com name this host
- url: https://api.demo.hitbtc.com/api/3
  description: Demo Environment (Sandbox), per api.hitbtc.com docs
- url: https://api.hitbtc.com/api/2
  description: Production; the served spec declares the relative server /api/2 and the docs at api.hitbtc.com name this host
tags:


# --- truncated at 32 KB (79 KB total) ---
# Full source: https://artifacts.apis.io/hitbtc/openapi/hitbtc-subaccounts-api-openapi.yml