API reference · Account
Balances
GET/v1/balances
Per asset: available, held and total, with indicative USDC and ISK values. USDC is always listed.
- Scope
account:read- Rate-limit class
read- Authentication
- Signed
Responses
200 OK
The balances. application/json · Balances
as_ofstring (date-time)total_value_usdcstring (decimal)total_value_iskstring (decimal)dataarray of Balance6 properties of each item
assetstringAn upper-case asset symbol.
availablestring (decimal)heldstring (decimal)holds + limit order holds + loan collateral holds.
totalstring (decimal)value_usdcstring (decimal)nullableIndicative.
value_iskstring (decimal)nullableIndicative.
Every response carries MK-Request-Id, plus RateLimit-Policy and RateLimit.
Errors
Errors use the error envelope. Match on code.
| Status | Code | Meaning |
|---|---|---|
| 400 | invalid_request | The request is malformed: bad JSON, an unknown or invalid field, or a missing header. |
| 401 | invalid_signature | The MK-* headers are missing or malformed, the key id is unknown, or the signature doesn't match. |
| 401 | key_expired | The key has passed its expiry date. |
| 401 | key_revoked | The key was revoked. |
| 401 | timestamp_out_of_range | MK-Timestamp is more than 30 seconds from the server clock. |
| 401 | nonce_reused | This key already used this MK-Nonce. |
| 403 | ip_not_allowed | The request came from an address outside the key's IP allowlist. |
| 403 | insufficient_scope | The key doesn't have the scope this endpoint needs. |
| 403 | account_restricted | The account can't use the API right now (for example locked, inactive, or onboarding not finished). |
| 403 | api_access_disabled | API access is switched off. |
| 429 | rate_limited | Too many requests. Wait for Retry-After seconds. |
| 429 | too_many_concurrent_requests | Too many requests in flight for this key or account. |
| 429 | key_suspended | The key is suspended, for example after sustained rate limiting. |
| 500 | internal_error | Something went wrong on our side. |
| 502 | bad_gateway | An upstream service answered unexpectedly. |
| 503 | overloaded | The service is overloaded. Retry after Retry-After seconds. |
| 503 | service_unavailable | The service is temporarily unavailable. |
| 504 | gateway_timeout | An upstream service didn't answer in time. A POST may still complete; retry with the same Idempotency-Key. |
Request
# Signed by sign-headers.sh: see Authentication
curl https://public-api.myntkaup.is/v1/balances \
$(./sign-headers.sh GET /v1/balances | sed 's/^/-H /')import { Myntkaup } from "@myntkaup/api";
const client = new Myntkaup(); // reads the key from the environment
const balances = await client.balances.list();
for (const balance of balances.data) {
console.log(balance.asset, balance.available, balance.held);
}from myntkaup import Myntkaup
client = Myntkaup() # reads the key from the environment
balances = client.balances.list()
for balance in balances["data"]:
print(balance["asset"], balance["available"], balance["held"])Response
{
"as_of": "2026-11-03T10:15:10Z",
"total_value_usdc": "1180.31",
"total_value_isk": "164210",
"data": [
{
"asset": "BTC",
"available": "0.0123",
"held": "0",
"total": "0.0123",
"value_usdc": "1180.31",
"value_isk": "164210"
}
]
}Base URL https://public-api.myntkaup.is