# WhiteBIT Codes API

**Canonical:** https://apis.io/apis/whitebit/whitebit-codes-api/  
**Provider:** WhiteBIT — https://apis.io/providers/whitebit/  
**Base URL:** https://whitebit.com  
**Documentation:** https://docs.whitebit.com/api-reference/overview

WhiteBIT Codes API is one of 25 APIs that [WhiteBIT](https://apis.io/providers/whitebit/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 20 JSON Schema definitions. Tagged areas include Codes. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and 20 JSON Schemas.

WhiteBIT codes operations

## Operations (4)

| Method | Path | Summary |
|---|---|---|
| POST | `/api/v4/main-account/codes` | Create code |
| POST | `/api/v4/main-account/codes/apply` | Apply code |
| POST | `/api/v4/main-account/codes/my` | Get my codes |
| POST | `/api/v4/main-account/codes/history` | Get codes history |

## Machine-readable artifacts (22)

- **OpenAPI** — https://artifacts.apis.io/whitebit/openapi/whitebit-codes-api-openapi.yml
- **Documentation** — https://docs.whitebit.com/api-reference/overview
- **JSONSchema** — https://artifacts.apis.io/whitebit/json-schema/whitebit-asset-schema.json
- **JSONSchema** — https://artifacts.apis.io/whitebit/json-schema/whitebit-futures-market-schema.json
- **JSONSchema** — https://artifacts.apis.io/whitebit/json-schema/whitebit-fee-info-schema.json
- **JSONSchema** — https://artifacts.apis.io/whitebit/json-schema/whitebit-orderbook-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/whitebit/json-schema/whitebit-withdraw-request-schema.json
- **JSONSchema** — https://artifacts.apis.io/whitebit/json-schema/whitebit-mining-reward-schema.json
- **JSONSchema** — https://artifacts.apis.io/whitebit/json-schema/whitebit-refund-history-record-schema.json
- **JSONSchema** — https://artifacts.apis.io/whitebit/json-schema/whitebit-transaction-history-schema.json
- **JSONSchema** — https://artifacts.apis.io/whitebit/json-schema/whitebit-sub-account-api-key-schema.json
- **JSONSchema** — https://artifacts.apis.io/whitebit/json-schema/whitebit-limit-order-request-schema.json
- **JSONSchema** — https://artifacts.apis.io/whitebit/json-schema/whitebit-order-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/whitebit/json-schema/whitebit-bulk-order-item-schema.json
- **JSONSchema** — https://artifacts.apis.io/whitebit/json-schema/whitebit-oco-order-leg-schema.json
- **JSONSchema** — https://artifacts.apis.io/whitebit/json-schema/whitebit-conditional-order-leg-schema.json
- **JSONSchema** — https://artifacts.apis.io/whitebit/json-schema/whitebit-stop-limit-order-request-schema.json
- **JSONSchema** — https://artifacts.apis.io/whitebit/json-schema/whitebit-check-result-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/whitebit/json-schema/whitebit-create-check-balance-error-schema.json
- **JSONSchema** — https://artifacts.apis.io/whitebit/json-schema/whitebit-supported-asset-schema.json
- **JSONSchema** — https://artifacts.apis.io/whitebit/json-schema/whitebit-check-history-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/whitebit/json-schema/whitebit-create-check-response-schema.json

## Other WhiteBIT APIs (12)

- [WhiteBIT WebSocket API](https://apis.io/apis/whitebit/websocket/)
- [WhiteBIT Account Endpoints API](https://apis.io/apis/whitebit/whitebit-account-endpoints-api/)
- [WhiteBIT Address Checker API](https://apis.io/apis/whitebit/whitebit-address-checker-api/)
- [WhiteBIT Authentication API](https://apis.io/apis/whitebit/whitebit-authentication-api/)
- [WhiteBIT Collateral Trading API](https://apis.io/apis/whitebit/whitebit-collateral-trading-api/)
- [WhiteBIT Convert API](https://apis.io/apis/whitebit/whitebit-convert-api/)
- [WhiteBIT Credit Line API](https://apis.io/apis/whitebit/whitebit-credit-line-api/)
- [WhiteBIT Crypto Lending - Fixed API](https://apis.io/apis/whitebit/whitebit-crypto-lending-fixed-api/)
- [WhiteBIT Crypto Lending - Flex API](https://apis.io/apis/whitebit/whitebit-crypto-lending-flex-api/)
- [WhiteBIT Deposit API](https://apis.io/apis/whitebit/whitebit-deposit-api/)
- [WhiteBIT Fees API](https://apis.io/apis/whitebit/whitebit-fees-api/)
- [WhiteBIT JWT API](https://apis.io/apis/whitebit/whitebit-jwt-api/)

## Tags

Codes

---

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