⚙️
1Konto v1.0 API Docs
  • Welcome!
  • Reference
    • API Reference
    • Service
      • Service Information
      • Service Time
    • Authentication
      • Login and Authentication
    • Market Data
      • Get Top of Book
      • Get Order Book
    • Accounting
      • Get Account
      • Get Account Credit
      • Get Transactions
      • Transfers Instructions
        • Get Deposit Instructions
        • Get Withdraw Instructions
      • Withdraw Requests
        • Request Withdraw - Fiat
        • Request Withdraw - Blockchain
        • Querying for Withdraw Requests
    • Orders
      • Available Asset Pairs
      • Request Indicative Price
      • Market Order
      • Limit Order
      • RFQ - Request for Quote
        • Request Quote
        • Accept Quote
      • Querying for Orders
      • Get Order
Powered by GitBook
On this page
  • Account
  • Example
  1. Reference
  2. Accounting

Get Account

requires auth

Account

Endpoint to retrieve account information. Mostly used to obtain balances in all assets.

Response will show free (available to trade) and locked (not available to trade) balances.

GET /api/v1/accounting/account/{accountId}

Path Parameters:

Path
Type
Description

accountId*

string

your account ID

Example

GET /api/v1/accounting/account/test123
// Successful Response body
{
    "account": {
        "accountId": "test123",
        "type": "string",
        "name": "string",
        "balances": {
            "BTC": {
                "free": 100,
                "locked": 0,
                "limit": 0,
                "pendingDeposit": 0,
                "available": 0
            },
            "USD": {
                "free": 0,
                "locked": 10000,
                "limit": 0,
                "pendingDeposit": 0,
                "available": 0
            }
        },
        "sources": [
            {
                "entityType": "string",
                "entityId": "string"
            }
        ]
    },
    "status": "OK",
    "httpStatusCode": 200,
}
// Error Response body
{
  "status": 404,
  "error": "Account ID Not Found"
}

PreviousAccountingNextGet Account Credit

Last updated 1 year ago

Page cover image