# HitBTC Margin Account API

**Canonical:** https://apis.io/apis/hitbtc/hitbtc-margin-account-api/  
**Provider:** HitBTC — https://apis.io/providers/hitbtc/  
**Base URL:** https://api.hitbtc.com/api/3  
**Documentation:** https://api.hitbtc.com/

HitBTC Margin Account API is one of 61 APIs that [HitBTC](https://apis.io/providers/hitbtc/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 12 JSON Schema definitions. Tagged areas include Margin Account. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, and 12 JSON Schemas.

The Margin Account API from HitBTC — 2 operation(s) for margin account.

## Operations (5)

| Method | Path | Summary |
|---|---|---|
| GET | `/margin/account` | Get all margin accounts |
| DELETE | `/margin/account` | Close all margin positions |
| GET | `/margin/account/{symbol}` | Get margin account details by symbol |
| PUT | `/margin/account/{symbol}` | Update margin account by symbol |
| DELETE | `/margin/account/{symbol}` | Close margin account by symbol |

## Machine-readable artifacts (15)

- **OpenAPI** — https://artifacts.apis.io/hitbtc/openapi/hitbtc-margin-account-api-openapi.yml
- **Documentation** — https://api.hitbtc.com/
- **APIReference** — https://api.hitbtc.com/api/3/explore/
- **JSONSchema** — https://artifacts.apis.io/hitbtc/json-schema/hitbtc-trading-position-history-schema.json
- **JSONSchema** — https://artifacts.apis.io/hitbtc/json-schema/hitbtc-wallet-withdrawal-request-schema.json
- **JSONSchema** — https://artifacts.apis.io/hitbtc/json-schema/hitbtc-trading-report-reason-schema.json
- **JSONSchema** — https://artifacts.apis.io/hitbtc/json-schema/hitbtc-wallet-subaccount-created-schema.json
- **JSONSchema** — https://artifacts.apis.io/hitbtc/json-schema/hitbtc-trading-margin-params-schema.json
- **JSONSchema** — https://artifacts.apis.io/hitbtc/json-schema/hitbtc-trading-margin-settings-schema.json
- **JSONSchema** — https://artifacts.apis.io/hitbtc/json-schema/hitbtc-trading-history-order-schema.json
- **JSONSchema** — https://artifacts.apis.io/hitbtc/json-schema/hitbtc-wallet-transaction-schema.json
- **JSONSchema** — https://artifacts.apis.io/hitbtc/json-schema/hitbtc-trading-user-order-info-schema.json
- **JSONSchema** — https://artifacts.apis.io/hitbtc/json-schema/hitbtc-market-data-currency-schema.json
- **JSONSchema** — https://artifacts.apis.io/hitbtc/json-schema/hitbtc-trading-new-order-request-schema.json
- **JSONSchema** — https://artifacts.apis.io/hitbtc/json-schema/hitbtc-trading-history-trade-schema.json

## Other HitBTC APIs (12)

- [HitBTC Account API](https://apis.io/apis/hitbtc/hitbtc-account-api/)
- [HitBTC Addresses API](https://apis.io/apis/hitbtc/hitbtc-addresses-api/)
- [HitBTC Airdrops API](https://apis.io/apis/hitbtc/hitbtc-airdrops-api/)
- [HitBTC Amount Locks API](https://apis.io/apis/hitbtc/hitbtc-amount-locks-api/)
- [HitBTC API Keys API](https://apis.io/apis/hitbtc/hitbtc-api-keys-api/)
- [HitBTC Candles API](https://apis.io/apis/hitbtc/hitbtc-candles-api/)
- [HitBTC Conversions API](https://apis.io/apis/hitbtc/hitbtc-conversions-api/)
- [HitBTC Crypto Address API](https://apis.io/apis/hitbtc/hitbtc-crypto-address-api/)
- [HitBTC Currencies API](https://apis.io/apis/hitbtc/hitbtc-currencies-api/)
- [HitBTC Currency API](https://apis.io/apis/hitbtc/hitbtc-currency-api/)
- [HitBTC Exchange Balances API](https://apis.io/apis/hitbtc/hitbtc-exchange-balances-api/)
- [HitBTC Funding History API](https://apis.io/apis/hitbtc/hitbtc-funding-history-api/)

## Tags

Margin Account

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/hitbtc/hitbtc-margin-account-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/hitbtc/.
