Introduction
Welcome to the Giottus API!
The base URL for all API calls is https://api.giottus.com.
Giottus APIs let you fetch data related to markets, tickers, trades, order books, fees, user balances, and transaction history (crypto and fiat deposits/withdrawals, open orders, trade history, etc.), and they also expose authenticated endpoints to place, cancel, and monitor spot orders.
Setup
Getting Started with the Giottus API
Before you can make authenticated requests, a few setup steps are required:
- Create an API Key
Visit the Giottus API Management page to generate a new API key. Each key provides:
- API Key (public identifier) – used in the request header.
- API Secret – used to sign private requests.
- IP Whitelist – restricts usage to specific client IPs.
- Granular Permissions – control access to wallets, orders, and trade history.
Synchronize Your Clock All private endpoints require a valid timestamp parameter. Requests are only accepted if the client’s clock is within a short window of the server time (default: 5 seconds, maximum: 60 seconds).
Use HTTPS All requests must be made over HTTPS. API documentation shows relative paths — prepend them with the base URL (
https://api.giottus.com).Generate Signatures For private requests, you must sign the request with your API secret using HMAC SHA-256. Most HTTP client libraries support this out of the box. Code samples are provided in the documentation to help you generate signatures correctly.
API Rate Limits
To ensure fair usage and platform stability, all Giottus API endpoints are rate-limited.
- Public endpoints enforce limits based on the caller’s IP address.
- Private endpoints enforce limits based on the caller’s API key.
When rate limiting applies to a request, the response includes the following headers:
| Header | Description |
|---|---|
X-RateLimit-Limit |
Maximum number of requests allowed in the current window. |
X-RateLimit-Remaining |
Number of requests left before throttling occurs. |
X-RateLimit-Reset |
UNIX timestamp (in seconds) when the current window resets. |
Retry-After |
Returned with HTTP 429 responses; tells you how many seconds to wait before retrying. |
If you exceed the allowed rate, the API will return error code -1003 (TOO_MANY_REQUESTS).
Public endpoints
Ticker
Sample response
[
{
"symbol": "BTC/USDT",
"lastPrice": "26842.50",
"high": "27100.00",
"low": "26550.00",
"volume": "123.4567",
"change_24h": "-0.511",
"time": "1706601123456"
},
{
"symbol": "ETH/USDT",
"lastPrice": "1720.40",
"high": "1758.00",
"low": "1682.90",
"volume": "987.6543",
"change_24h": "3.511",
"time": "1706601123456"
}
]
Returns the latest ticker snapshot for a single symbol or for all listed symbols.
- HTTP Request:
GET /api/v1/public/exchange/ticker
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
symbol |
string | No | Trading symbol such as BTC/USDT. When omitted the route returns an array with all tickers. |
Response Fields
| Field | Type | Description |
|---|---|---|
symbol |
string | Trading symbol in uppercase. |
lastPrice |
string | Last traded price for the symbol. |
high |
string | Highest traded price in the rolling window tracked by Giottus API. |
low |
string | Lowest traded price in the rolling window. |
volume |
string | Total traded quantity during the window. |
change_24h |
string | This indicates a percentage change in price during the 24-hour period. |
time |
string | Execution time in milliseconds. |
Symbols
Sample response
[
"BTC/USDT",
"ETH/USDT",
"SHIB/USDT"
]
Returns the list of trading symbols available on the exchange in BASE/QUOTE format.
- HTTP Request:
GET /api/v1/public/exchange/symbols
This endpoint does not accept query parameters.
Recent trades
Sample response
[
{
"price": "26840.10",
"qty": "0.005",
"quoteQty": "134.2005",
"time": 1706601123456,
"isBuyerMaker": false
},
{
"price": "26838.90",
"qty": "0.015",
"quoteQty": "402.5835",
"time": 1706601119789,
"isBuyerMaker": true
}
]
Fetches the most recent public trades for a trading pair.
- HTTP Request:
GET /api/v1/public/market/trades
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
symbol |
string | Yes | Trading symbol such as BTC/USDT (uppercase). |
limit |
integer | No | Maximum number of trades to return (default 20, max 50). |
Response Fields
| Field | Type | Description |
|---|---|---|
price |
string | Executed price. |
qty |
string | Base asset quantity traded. |
quoteQty |
string | Quote asset amount (if available). |
time |
number | Execution time in milliseconds since epoch. |
isBuyerMaker |
boolean | true if the buyer was the maker side of the trade. |
Order book
Sample response
{
"bids": [
["26840.00", "0.532"],
["26839.50", "0.127"]
],
"asks": [
["26841.00", "0.418"],
["26841.20", "0.296"]
]
}
Returns aggregated bid and ask levels for a symbol.
- HTTP Request:
GET /api/v1/public/market/orderbook
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
symbol |
string | Yes | Trading symbol such as BTC/USDT (uppercase). |
limit |
integer | No | Maximum number of price levels per side (default 20, max 50). |
Response Fields
| Field | Type | Description |
|---|---|---|
bids |
array | Array of [price, quantity] levels sorted from highest to lowest price. |
asks |
array | Array of [price, quantity] levels sorted from lowest to highest price. |
Assets
Sample response
[
{
"asset": "BTC",
"name": "Bitcoin",
"status": "ACTIVE",
"networks": [
{
"name": "BTC",
"deposit": {
"min": "0.0005",
"confirmations": 2,
"enabled": true
},
"withdraw": {
"min": "0.001",
"max": "2",
"fee": "0.0004",
"enabled": true
}
}
]
},
{
"asset": "ETH",
"name": "Ethereum",
"status": "ACTIVE",
"networks": [
{
"name": "ERC20",
"deposit": {
"min": "0.01",
"confirmations": 20,
"enabled": true
},
"withdraw": {
"min": "0.02",
"max": "100",
"fee": "0.0015",
"enabled": true
}
}
]
}
]
Returns deposit and withdrawal settings for supported exchange assets.
- HTTP Request:
GET /api/v1/public/exchange/assets
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
asset |
string | No | Asset ticker such as BTC. When omitted the route returns fee data for every asset. |
Response Fields
| Field | Type | Description |
|---|---|---|
asset |
string | Asset ticker (e.g., BTC). |
name |
string | Asset Name (e.g., Bitcoin). |
status |
string | Asset Status (e.g., ACTIVE or INACTIVE). |
networks |
array | Network specific configuration objects. |
networks[].name |
string | Network identifier. |
networks[].deposit.min |
string | Minimum deposit amount allowed. |
networks[].deposit.confirmations |
number | Number of required blockchain confirmations. |
networks[].deposit.enabled |
boolean | Whether deposits are enabled on the network. |
networks[].withdraw.min |
string | Minimum withdrawal amount. |
networks[].withdraw.max |
string | Maximum withdrawal amount. |
networks[].withdraw.fee |
string | Withdrawal fee charged on the network. |
networks[].withdraw.enabled |
boolean | Whether withdrawals are enabled on the network. |
Authentication
#!/usr/bin/env python3
import time
import hmac
import hashlib
import requests
import json
BASE_URL = "https://api.giottus.com"
API_KEY = "YOUR_API_KEY"
API_SECRET = "YOUR_API_SECRET"
def stringify_value(val):
"""Stringify primitives and objects consistently with Postman script."""
if val is None:
return ""
if isinstance(val, (dict, list)):
return json.dumps(val, separators=(",", ":")) # compact JSON
return str(val)
def canonical(params: dict) -> str:
"""
Convert dict to canonical string (sorted keys, skip None/signature).
Example: {'b':2,'a':1} -> 'a=1&b=2'
"""
if not isinstance(params, dict):
return ""
items = []
for key in sorted(params.keys()):
if key.lower() == "signature":
continue
val = params[key]
if val is None:
continue
items.append(f"{key}={stringify_value(val)}")
return "&".join(items)
def sign(query: dict, body: dict) -> str:
"""Build Postman-style payload and return hex HMAC-SHA256 signature."""
payload = (canonical(query) or "") + (canonical(body) or "")
return hmac.new(API_SECRET.encode(), payload.encode(), hashlib.sha256).hexdigest()
def place_order():
timestamp = str(int(time.time() * 1000))
query = {
"timestamp": timestamp,
"recvWindow": "5000",
}
body = {
"symbol": "BTC/INR",
"action": "BUY",
"type": "LIMIT",
"price": "2250000",
"quantity": "0.001",
}
# Compute signature same as Postman
signature = sign(query, body)
query["signature"] = signature
url = f"{BASE_URL}/api/v1/spot/order/create"
headers = {
"X-GIOTTUS-APIKEY": API_KEY,
"Content-Type": "application/json",
}
# Send JSON body
resp = requests.post(url, params=query, data=json.dumps(body), headers=headers, timeout=10)
try:
print("Status:", resp.status_code)
print(json.dumps(resp.json(), indent=2))
except ValueError:
print("Status:", resp.status_code)
print(resp.text)
if __name__ == "__main__":
place_order()
package main
import (
"bytes"
"crypto/hmac"
"crypto/sha256"
"crypto/tls"
"encoding/hex"
"encoding/json"
"fmt"
"io"
"log"
"net/http"
"net/url"
"sort"
"strings"
"time"
)
// canonical builds sorted key=value pairs joined by '&', skipping "signature"
func canonical(params map[string]interface{}) string {
keys := make([]string, 0, len(params))
for k := range params {
if strings.EqualFold(k, "signature") {
continue
}
keys = append(keys, k)
}
sort.Strings(keys)
var parts []string
for _, k := range keys {
v := params[k]
if v == nil {
continue
}
switch val := v.(type) {
case string:
if val == "" {
continue
}
parts = append(parts, fmt.Sprintf("%s=%s", k, val))
default:
jsonVal, _ := json.Marshal(val)
parts = append(parts, fmt.Sprintf("%s=%s", k, string(jsonVal)))
}
}
return strings.Join(parts, "&")
}
func sign(query, body map[string]interface{}, secret string) string {
payload := canonical(query) + canonical(body)
mac := hmac.New(sha256.New, []byte(secret))
mac.Write([]byte(payload))
return hex.EncodeToString(mac.Sum(nil))
}
func main() {
const (
BASE_URL = "https://api.giottus.com"
API_KEY = "YOUR_API_KEY"
API_SECRET = "YOUR_API_SECRET"
)
// --- Query params ---
query := map[string]interface{}{
"timestamp": fmt.Sprintf("%d", time.Now().UnixNano()/1e6), // ms
"recvWindow": "5000",
}
// --- JSON body ---
body := map[string]interface{}{
"symbol": "BTC/INR",
"action": "BUY",
"type": "LIMIT",
"price": "2250000",
"quantity": "0.001",
}
// --- Compute signature ---
signature := sign(query, body, API_SECRET)
query["signature"] = signature
// Build query string
q := url.Values{}
for k, v := range query {
q.Set(k, fmt.Sprintf("%v", v))
}
reqURL := fmt.Sprintf("%s/api/v1/spot/order/create?%s", BASE_URL, q.Encode())
// Encode JSON body
jsonBody, err := json.Marshal(body)
if err != nil {
log.Fatalf("json marshal error: %v", err)
}
req, err := http.NewRequest(http.MethodPost, reqURL, bytes.NewBuffer(jsonBody))
if err != nil {
log.Fatalf("request build error: %v", err)
}
req.Header.Set("X-GIOTTUS-APIKEY", API_KEY)
req.Header.Set("Content-Type", "application/json")
// --- HTTP client (with proper SSL verification) ---
client := &http.Client{
Transport: &http.Transport{
TLSClientConfig: &tls.Config{}, // default verification enabled
},
Timeout: 10 * time.Second,
}
resp, err := client.Do(req)
if err != nil {
log.Fatalf("request error: %v", err)
}
defer resp.Body.Close()
bodyResp, err := io.ReadAll(resp.Body)
if err != nil {
log.Fatalf("read response error: %v", err)
}
fmt.Println("Status:", resp.Status)
fmt.Println("Body:", string(bodyResp))
}
import crypto from 'crypto';
import https from 'https';
import fetch from 'node-fetch'; // needed for Node < 18
const BASE_URL = 'https://api.giottus.com'; // or your prod URL
const API_KEY = 'YOUR_API_KEY';
const API_SECRET = 'YOUR_API_SECRET';
// --- Helper: stringify primitive or object ---
function stringifyValue(value) {
if (value === undefined || value === null) return '';
if (typeof value === 'object' && !Array.isArray(value)) {
return JSON.stringify(value);
}
return String(value);
}
// --- Helper: canonical string builder (sorted, skip "signature") ---
function canonical(obj = {}) {
const entries = Object.entries(obj)
.filter(([k]) => k.toLowerCase() !== 'signature')
.sort(([a], [b]) => a.localeCompare(b))
.map(([k, v]) => `${k}=${stringifyValue(v)}`);
return entries.join('&');
}
// --- Compute signature ---
function sign(query, body) {
const payload = (canonical(query) || '') + (canonical(body) || '');
return crypto.createHmac('sha256', API_SECRET).update(payload).digest('hex');
}
async function placeOrder() {
const timestamp = Date.now().toString();
const query = {
timestamp,
recvWindow: '5000'
};
const body = {
symbol: 'BTC/INR',
action: 'BUY',
type: 'LIMIT',
price: '2250000',
quantity: '0.001'
};
// --- Generate signature ---
const signature = sign(query, body);
query.signature = signature;
// --- Build query string ---
const fullQuery = new URLSearchParams(query).toString();
const url = `${BASE_URL}/api/v1/spot/order/create?${fullQuery}`;
// --- Send JSON body (no "&" between query and body) ---
const resp = await fetch(url, {
method: 'POST',
headers: {
'X-GIOTTUS-APIKEY': API_KEY,
'Content-Type': 'application/json'
},
body: JSON.stringify(body)
});
const data = await resp.json().catch(async () => ({
text: await resp.text()
}));
console.log('Status:', resp.status);
console.log('Response:', data);
}
placeOrder().catch(err => console.error('Order failed:', err));
import javax.crypto.Mac;
import javax.crypto.spec.SecretKeySpec;
import java.net.URI;
import java.net.URLEncoder;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.nio.charset.StandardCharsets;
import java.util.*;
import com.fasterxml.jackson.databind.ObjectMapper;
public class SimpleGiottusOrder {
private static final String BASE_URL = "https://api.giottus.com";
private static final String API_KEY = "YOUR_API_KEY";
private static final String API_SECRET = "YOUR_API_SECRET";
public static void main(String[] args) throws Exception {
// --- Query params ---
Map<String, Object> query = new LinkedHashMap<>();
query.put("timestamp", String.valueOf(System.currentTimeMillis()));
query.put("recvWindow", "5000");
// --- JSON body ---
Map<String, Object> body = new LinkedHashMap<>();
body.put("symbol", "BTC/INR");
body.put("action", "BUY");
body.put("type", "LIMIT");
body.put("price", "2250000");
body.put("quantity", "0.001");
// --- Build signing payload ---
String payload = canonical(query) + canonical(body);
// --- Sign ---
String signature = hmacSHA256(payload, API_SECRET);
query.put("signature", signature);
// --- Build query string ---
String queryString = encodeParams(query);
// --- Build full URL ---
URI uri = new URI(BASE_URL + "/api/v1/spot/order/create?" + queryString);
// --- Convert body to JSON ---
ObjectMapper mapper = new ObjectMapper();
String jsonBody = mapper.writeValueAsString(body);
// --- Build secure request ---
HttpRequest req = HttpRequest.newBuilder(uri)
.header("X-GIOTTUS-APIKEY", API_KEY)
.header("Content-Type", "application/json")
.POST(HttpRequest.BodyPublishers.ofString(jsonBody))
.build();
// --- Default secure HTTP client (SSL verified) ---
HttpClient client = HttpClient.newHttpClient();
// --- Send request ---
HttpResponse<String> resp = client.send(req, HttpResponse.BodyHandlers.ofString());
System.out.println("Status: " + resp.statusCode());
System.out.println("Response: " + resp.body());
}
// Canonical builder: sorted, skip "signature", stringify values
private static String canonical(Map<String, Object> params) throws Exception {
List<String> keys = new ArrayList<>(params.keySet());
Collections.sort(keys);
List<String> pairs = new ArrayList<>();
ObjectMapper mapper = new ObjectMapper();
for (String k : keys) {
if ("signature".equalsIgnoreCase(k)) continue;
Object v = params.get(k);
if (v == null) continue;
String val;
if (v instanceof Map || v instanceof List) {
val = mapper.writeValueAsString(v);
} else {
val = v.toString();
}
if (!val.isEmpty()) pairs.add(k + "=" + val);
}
return String.join("&", pairs);
}
// URL-encode key=value pairs
private static String encodeParams(Map<String, Object> params) {
StringBuilder sb = new StringBuilder();
boolean first = true;
for (Map.Entry<String, Object> e : params.entrySet()) {
if (!first) sb.append('&');
first = false;
sb.append(URLEncoder.encode(e.getKey(), StandardCharsets.UTF_8))
.append('=')
.append(URLEncoder.encode(String.valueOf(e.getValue()), StandardCharsets.UTF_8));
}
return sb.toString();
}
// HMAC-SHA256 signature (hex lowercase)
private static String hmacSHA256(String data, String secret) throws Exception {
Mac mac = Mac.getInstance("HmacSHA256");
SecretKeySpec keySpec = new SecretKeySpec(secret.getBytes(StandardCharsets.UTF_8), "HmacSHA256");
mac.init(keySpec);
byte[] hash = mac.doFinal(data.getBytes(StandardCharsets.UTF_8));
StringBuilder hex = new StringBuilder(hash.length * 2);
for (byte b : hash) {
hex.append(String.format("%02x", b));
}
return hex.toString();
}
}
Private API Authentication
All private endpoints on the Giottus API require requests to be HMAC signed. This ensures that only authorized clients can access account-specific data.
Required Parameters & Headers
X-GIOTTUS-APIKEY(header) – your API key.timestamp(query) – current epoch time in milliseconds.recvWindow(query, optional) – allowable clock skew in milliseconds (default 5000, max 60000).signature(query or header) – the hex-encoded HMAC SHA-256 signature of the request.Content-Type: application/json– required for POST bodies under the Spot APIs.
How to Generate a Signature
- Collect every query parameter you will send (excluding
signature). - Collect every body payload field that will be transmitted in the body (excluding
signature). - For each collection, sort the keys alphabetically and concatenate the resulting
key=valuepairs without adding separators. If a key has multiple values, repeat the key for each value in sorted order. - Concatenate the canonical query string with the canonical body string (query first, then body) without adding extra separators.
- Compute an HMAC SHA-256 hash of the concatenated string using your API Secret and hex-encode the result.
- Send this value as the
signaturequery parameter.
Example
The samples above sign a request to POST /api/v1/spot/order/create for a BTC/INR limit buy. Use order identifiers from open-orders response when cancelling an order.
Wallet
Balances
Sample response
[
{
"asset": "BTC",
"free": "0.015",
"locked": "0.002",
"lockedFd": "0.001",
"lockedStaking": "0",
"lockedOtc": "0"
},
{
"asset": "USDT",
"free": "152.34",
"locked": "25.00",
"lockedFd": "0",
"lockedStaking": "10",
"lockedOtc": "0"
}
]
Returns wallet balances associated with the authenticated account. Locked funds are broken down by source and summed for convenience.
- HTTP Request:
GET /api/v1/wallet
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
timestamp |
number | Yes | Epoch time in milliseconds used for request signing. |
recvWindow |
number | No | Custom receive window in milliseconds (default 5000, max 60000). |
signature |
string | Yes | HMAC SHA-256 signature computed from query parameters. |
omitZeroBalances |
boolean | No | When true (default), hides assets where all balances are zero. |
Response Fields
| Field | Type | Description |
|---|---|---|
asset |
string | Asset ticker. |
free |
string | Available balance. |
locked |
string | Sum of balances locked for trading, withdrawal, staking, P2P, or OTC operations. |
lockedFd |
string | Amount locked in fixed deposit products. |
lockedStaking |
string | Amount locked in staking. |
lockedOtc |
string | Amount locked in OTC trades. |
Crypto deposits
Sample response
[
{
"action": "Deposit",
"asset": "ETH",
"cryptoAmount": "1.5000",
"status": "SUCCESS",
"transactionHash": "0xabc123...",
"time": 1706480012345,
"network": "ERC20",
"fromAddress": null,
"toAddress": "0x4be3...9c42",
"fee": "0"
}
]
Lists crypto deposit transactions filtered by asset, status, or time range.
Can't find older entries? Use
GET /api/v1/crypto/deposits/historical.
- HTTP Request:
GET /api/v1/crypto/deposits
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
timestamp |
number | Yes | Epoch time in milliseconds used for request signing. |
recvWindow |
number | No | Custom receive window in milliseconds (default 5000, max 60000). |
signature |
string | Yes | HMAC SHA-256 signature computed from query parameters. |
asset |
string | No | Asset ticker such as BTC. |
status |
string | No | One of SUCCESS, PENDING, or FAILED. |
startTime |
number | No | Inclusive start time in milliseconds. |
endTime |
number | No | Inclusive end time in milliseconds. Must be greater than or equal to startTime. |
limit |
integer | No | Maximum records to return (default 20, max 50). |
Response Fields
| Field | Type | Description |
|---|---|---|
action |
string | Always Deposit. |
asset |
string | Asset ticker. |
cryptoAmount |
string | Amount credited. |
status |
string | Normalised status (SUCCESS, PENDING, or FAILED). |
transactionHash |
string | Blockchain hash when available. |
time |
number | Transaction time in milliseconds. |
network |
string | Blockchain network identifier. |
fromAddress |
string | Source address if provided by the network. |
toAddress |
string | Deposit address. |
fee |
string | Fee charged by the platform (if any). |
Crypto deposits (historical)
Sample response
[
{
"action": "Deposit",
"asset": "ETH",
"cryptoAmount": "1.5000",
"status": "SUCCESS",
"transactionHash": "0xabc123...",
"time": 1699954412345,
"network": "ERC20",
"fromAddress": null,
"toAddress": "0x4be3...9c42",
"fee": "0"
}
]
Returns archived crypto deposit transactions for the authenticated account. Use this endpoint when you need records beyond the rolling window served by GET /api/v1/crypto/deposits.
- HTTP Request:
GET /api/v1/crypto/deposits/historical
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
timestamp |
number | Yes | Epoch time in milliseconds used for request signing. |
recvWindow |
number | No | Custom receive window in milliseconds (default 5000, max 60000). |
signature |
string | Yes | HMAC SHA-256 signature computed from query parameters. |
asset |
string | No | Asset ticker such as BTC. |
status |
string | No | One of SUCCESS, PENDING, or FAILED. |
startTime |
number | No | Inclusive start time in milliseconds. |
endTime |
number | No | Inclusive end time in milliseconds. Must be greater than or equal to startTime. |
limit |
integer | No | Maximum records to return (default 20, max 50). |
Response Fields
| Field | Type | Description |
|---|---|---|
action |
string | Always Deposit. |
asset |
string | Asset ticker. |
cryptoAmount |
string | Amount credited. |
status |
string | Normalised status (SUCCESS, PENDING, or FAILED). |
transactionHash |
string | Blockchain hash when available. |
time |
number | Transaction time in milliseconds. |
network |
string | Blockchain network identifier. |
fromAddress |
string | Source address if provided by the network. |
toAddress |
string | Deposit address. |
fee |
string | Fee charged by the platform (if any). |
Crypto withdrawals
Sample response
[
{
"action": "Withdrawal",
"asset": "BTC",
"cryptoAmount": "0.0200",
"status": "PENDING",
"transactionHash": null,
"time": 1706554410000,
"network": "BTC",
"fromAddress": "bc1qxyz...",
"toAddress": null,
"fee": "0.0004"
}
]
Returns crypto withdrawal history for the authenticated account.
Can't find older entries? Use
GET /api/v1/crypto/withdrawals/historical.
- HTTP Request:
GET /api/v1/crypto/withdrawals
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
timestamp |
number | Yes | Epoch time in milliseconds used for request signing. |
recvWindow |
number | No | Custom receive window in milliseconds (default 5000, max 60000). |
signature |
string | Yes | HMAC SHA-256 signature computed from query parameters. |
asset |
string | No | Asset ticker such as BTC. |
status |
string | No | One of SUCCESS, PENDING, or FAILED. |
startTime |
number | No | Inclusive start time in milliseconds. |
endTime |
number | No | Inclusive end time in milliseconds. Must be greater than or equal to startTime. |
limit |
integer | No | Maximum records to return (default 20, max 50). |
Response Fields
| Field | Type | Description |
|---|---|---|
action |
string | Always Withdrawal. |
asset |
string | Asset ticker. |
cryptoAmount |
string | Amount debited. |
status |
string | Normalised status (SUCCESS, PENDING, or FAILED). |
transactionHash |
string | Blockchain hash when available. |
time |
number | Transaction time in milliseconds. |
network |
string | Blockchain network identifier. |
fromAddress |
string | Source address used by Giottus. |
toAddress |
string | Destination address (if known at the time of the request). |
fee |
string | Fee charged by the platform. |
Crypto withdrawals (historical)
Sample response
[
{
"action": "Withdrawal",
"asset": "BTC",
"cryptoAmount": "0.0150",
"status": "SUCCESS",
"transactionHash": "5d8fabc...",
"time": 1698800010000,
"network": "BTC",
"fromAddress": "bc1qxyz...",
"toAddress": "bc1qarchive...",
"fee": "0.0004"
}
]
Returns archived crypto withdrawal transactions. Use this endpoint when you need records beyond the retention window covered by GET /api/v1/crypto/withdrawals.
- HTTP Request:
GET /api/v1/crypto/withdrawals/historical
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
timestamp |
number | Yes | Epoch time in milliseconds used for request signing. |
recvWindow |
number | No | Custom receive window in milliseconds (default 5000, max 60000). |
signature |
string | Yes | HMAC SHA-256 signature computed from query parameters. |
asset |
string | No | Asset ticker such as BTC. |
status |
string | No | One of SUCCESS, PENDING, or FAILED. |
startTime |
number | No | Inclusive start time in milliseconds. |
endTime |
number | No | Inclusive end time in milliseconds. Must be greater than or equal to startTime. |
limit |
integer | No | Maximum records to return (default 20, max 50). |
Response Fields
| Field | Type | Description |
|---|---|---|
action |
string | Always Withdrawal. |
asset |
string | Asset ticker. |
cryptoAmount |
string | Amount debited. |
status |
string | Normalised status (SUCCESS, PENDING, or FAILED). |
transactionHash |
string | Blockchain hash when available. |
time |
number | Transaction time in milliseconds. |
network |
string | Blockchain network identifier. |
fromAddress |
string | Source address used by Giottus. |
toAddress |
string | Destination address (if known at the time of the request). |
fee |
string | Fee charged by the platform. |
Fiat deposits
Sample response
[
{
"action": "Deposit",
"amount": "50000",
"fee": "0",
"status": "SUCCESS",
"referenceId": "RCP987654321",
"time": 1706400005123
}
]
Returns INR deposit transactions routed through supported payment gateways.
Can't find older entries? Use
GET /api/v1/fiat/deposits/historical.
- HTTP Request:
GET /api/v1/fiat/deposits
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
timestamp |
number | Yes | Epoch time in milliseconds used for request signing. |
recvWindow |
number | No | Custom receive window in milliseconds (default 5000, max 60000). |
signature |
string | Yes | HMAC SHA-256 signature computed from query parameters. |
status |
string | No | One of SUCCESS, PENDING, FAILED, or REJECTED. |
startTime |
number | No | Inclusive start time in milliseconds. |
endTime |
number | No | Inclusive end time in milliseconds. Must be greater than or equal to startTime. |
limit |
integer | No | Maximum records to return (default 20, max 50). |
Response Fields
| Field | Type | Description |
|---|---|---|
action |
string | Always Deposit. |
amount |
string | Amount credited in INR. |
fee |
string | Fee charged (if any). |
status |
string | Normalised status. One of SUCCESS, PENDING, FAILED, or REJECTED. |
referenceId |
string | Payment gateway or internal reference identifier. |
time |
number | Transaction time in milliseconds. |
Fiat deposits (historical)
Sample response
[
{
"action": "Deposit",
"amount": "75000",
"fee": "0",
"status": "SUCCESS",
"referenceId": "RCP123456789",
"time": 1697452205123
}
]
Returns archived INR deposit transactions for the authenticated account. Use this endpoint when the standard GET /api/v1/fiat/deposits route no longer returns the records you need.
- HTTP Request:
GET /api/v1/fiat/deposits/historical
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
timestamp |
number | Yes | Epoch time in milliseconds used for request signing. |
recvWindow |
number | No | Custom receive window in milliseconds (default 5000, max 60000). |
signature |
string | Yes | HMAC SHA-256 signature computed from query parameters. |
status |
string | No | One of SUCCESS, PENDING, FAILED, or REJECTED. |
startTime |
number | No | Inclusive start time in milliseconds. |
endTime |
number | No | Inclusive end time in milliseconds. Must be greater than or equal to startTime. |
limit |
integer | No | Maximum records to return (default 20, max 50). |
Response Fields
| Field | Type | Description |
|---|---|---|
action |
string | Always Deposit. |
amount |
string | Amount credited in INR. |
fee |
string | Fee charged (if any). |
status |
string | Normalised status. One of SUCCESS, PENDING, FAILED, or REJECTED. |
referenceId |
string | Payment gateway or internal reference identifier. |
time |
number | Transaction time in milliseconds. |
Fiat withdrawals
Sample response
[
{
"action": "Withdrawal",
"amount": "25000",
"fee": "15",
"status": "PENDING",
"referenceId": "WD123456789",
"time": 1706491122334
}
]
Returns INR withdrawal transactions initiated from the authenticated account.
Can't find older entries? Use
GET /api/v1/fiat/withdrawals/historical.
- HTTP Request:
GET /api/v1/fiat/withdrawals
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
timestamp |
number | Yes | Epoch time in milliseconds used for request signing. |
recvWindow |
number | No | Custom receive window in milliseconds (default 5000, max 60000). |
signature |
string | Yes | HMAC SHA-256 signature computed from query parameters. |
status |
string | No | One of SUCCESS, PENDING, FAILED, or REJECTED. |
startTime |
number | No | Inclusive start time in milliseconds. |
endTime |
number | No | Inclusive end time in milliseconds. Must be greater than or equal to startTime. |
limit |
integer | No | Maximum records to return (default 20, max 50). |
Response Fields
| Field | Type | Description |
|---|---|---|
action |
string | Always Withdrawal. |
amount |
string | Amount debited in INR. |
fee |
string | Fee charged (if any). |
status |
string | Normalised status. One of SUCCESS, PENDING, FAILED, or REJECTED. |
referenceId |
string | Payment gateway or internal reference identifier. |
time |
number | Transaction time in milliseconds. |
Fiat withdrawals (historical)
Sample response
[
{
"action": "Withdrawal",
"amount": "40000",
"fee": "15",
"status": "SUCCESS",
"referenceId": "WD987654321",
"time": 1698127722334
}
]
Returns archived INR withdrawal transactions. Use this endpoint when the standard GET /api/v1/fiat/withdrawals route no longer includes the records you need.
- HTTP Request:
GET /api/v1/fiat/withdrawals/historical
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
timestamp |
number | Yes | Epoch time in milliseconds used for request signing. |
recvWindow |
number | No | Custom receive window in milliseconds (default 5000, max 60000). |
signature |
string | Yes | HMAC SHA-256 signature computed from query parameters. |
status |
string | No | One of SUCCESS, PENDING, FAILED, or REJECTED. |
startTime |
number | No | Inclusive start time in milliseconds. |
endTime |
number | No | Inclusive end time in milliseconds. Must be greater than or equal to startTime. |
limit |
integer | No | Maximum records to return (default 20, max 50). |
Response Fields
| Field | Type | Description |
|---|---|---|
action |
string | Always Withdrawal. |
amount |
string | Amount debited in INR. |
fee |
string | Fee charged (if any). |
status |
string | Normalised status. One of SUCCESS, PENDING, FAILED, or REJECTED. |
referenceId |
string | Payment gateway or internal reference identifier. |
time |
number | Transaction time in milliseconds. |
Spot
Create order
Sample request
POST /api/v1/spot/order/create?timestamp=1706602000123&recvWindow=5000&signature=<calculated> HTTP/1.1
Host: https://api.giottus.com
X-GIOTTUS-APIKEY: YOUR_API_KEY
Content-Type: application/json
{"symbol":"BTC/INR","action":"BUY","type":"LIMIT","price":"2250000","quantity":"0.001"}
Successful response
{
"msg": "Order submitted successfully."
}
Creates a new spot order. Submit the payload as application/json; supported order types are MARKET, LIMIT, STOP_MARKET, and STOP_LIMIT.
- HTTP Request:
POST /api/v1/spot/order/create
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
timestamp |
number | Yes | Epoch time in milliseconds used for request signing. |
recvWindow |
number | No | Custom receive window in milliseconds (default 5000, max 60000). |
signature |
string | Yes | HMAC SHA-256 signature computed over the canonical query string concatenated with the canonical form body. |
Body Payload (application/json)
| Field | Type | Required | Description |
|---|---|---|---|
symbol |
string | Yes | Trading pair in BASE/QUOTE format such as BTC/INR. |
action |
string | Yes | One of BUY or SELL. |
type |
string | Yes | Order type: MARKET, LIMIT, STOP_MARKET, or STOP_LIMIT. |
price |
string | Required for LIMIT and STOP_LIMIT |
Limit price. |
quantity |
string | Yes | Quantity to trade as a positive decimal string. |
stopPrice |
string | Required for STOP_MARKET and STOP_LIMIT |
Trigger price as a positive decimal string. |
Responses
- 200 OK with
{ "msg": "Order submitted successfully." } - 200 OK with
{ "msg": "..." }if the order is rejected by downstream risk checks. - Error payload
{ "code": -5013, "msg": "Unable to create spot order." }when creation fails.
Cancel order
Sample request
POST /api/v1/spot/order/cancel?timestamp=1706602005123&signature=<calculated> HTTP/1.1
Host: https://api.giottus.com
X-GIOTTUS-APIKEY: YOUR_API_KEY
Content-Type: application/json
{"order_id":"1-91234567-1"}
Cancels a single order by identifier from open-orders response (format 1-123-1). Provide the order_id in an application/json body.
- HTTP Request:
POST /api/v1/spot/order/cancel
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
timestamp |
number | Yes | Epoch time in milliseconds used for request signing. |
recvWindow |
number | No | Custom receive window in milliseconds (default 5000, max 60000). |
signature |
string | Yes | HMAC SHA-256 signature covering the canonical query string concatenated with the canonical form body. |
Body Payload (application/json)
| Field | Type | Required | Description |
|---|---|---|---|
order_id |
string | Yes | Identifier from open-orders response (format 1-123-1). |
Responses
- 200 OK with
{ "msg": "..." }when the cancellation is acknowledged. - Error payload
{ "code": -5014, "msg": "Unable to cancel spot order." }when the request fails.
Cancel orders by symbol
Cancels every open order for the provided trading pair. Provide the target symbol in an application/json body.
- HTTP Request:
POST /api/v1/spot/orders/cancel
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
timestamp |
number | Yes | Epoch time in milliseconds used for request signing. |
recvWindow |
number | No | Custom receive window in milliseconds (default 5000, max 60000). |
signature |
string | Yes | HMAC SHA-256 signature covering the canonical query string concatenated with the canonical form body. |
Body Payload (application/json)
| Field | Type | Required | Description |
|---|---|---|---|
symbol |
string | Yes | Trading pair in BASE/QUOTE format such as BTC/USDT. |
Responses
- 200 OK with
{ "msg": "..." }when the downstream service confirms cancellation. - Error payload
{ "code": -5014, "msg": "Unable to cancel spot order." }when the request fails.
Cancel all orders
Cancels every open order for the authenticated account across all symbols. This route does not accept a body.
- HTTP Request:
POST /api/v1/spot/orders/cancel/all
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
timestamp |
number | Yes | Epoch time in milliseconds used for request signing. |
recvWindow |
number | No | Custom receive window in milliseconds (default 5000, max 60000). |
signature |
string | Yes | HMAC SHA-256 signature covering the canonical query string (no body is sent). |
Responses
- 200 OK with
{ "msg": "..." }when all orders are successfully cancelled. - Error payload
{ "code": -5014, "msg": "Unable to cancel spot order." }when the request fails.
Open orders
Sample response — limit order
[
{
"symbol": "ETH/USDT",
"orderId": "1-91234567-1",
"price": "1705.00",
"origQty": "2",
"executedQty": "0.5",
"remainingQty": "1.5",
"status": "PARTIALLY_FILLED",
"type": "LIMIT",
"side": "BUY",
"time": 1706598822000
}
]
Sample response — stop order (includes
stopPrice)
[
{
"symbol": "BTC/INR",
"orderId": "3-36-1",
"stopPrice": "100000",
"price": "100001",
"origQty": "0.00500000",
"executedQty": "0",
"remainingQty": "0.00500000",
"status": "NEW",
"type": "STOP_LIMIT",
"side": "BUY",
"time": 1780932286000
}
]
Lists all currently open spot orders (statuses NEW or PARTIALLY_FILLED). When a symbol is provided the results are scoped to that market.
- HTTP Request:
GET /api/v1/spot/orders/open
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
timestamp |
number | Yes | Epoch time in milliseconds used for request signing. |
recvWindow |
number | No | Custom receive window in milliseconds (default 5000, max 60000). |
signature |
string | Yes | HMAC SHA-256 signature computed from query parameters. |
symbol |
string | No | Trading symbol such as ETH/USDT. |
Response Fields
| Field | Type | Description |
|---|---|---|
symbol |
string | Trading pair symbol. |
orderId |
string | Order identifier in the format 1-123-1. |
stopPrice |
string | Trigger price for the order. Only present for STOP_MARKET and STOP_LIMIT orders. |
price |
string | Price submitted for limit or stop-limit orders (0 for market orders). |
origQty |
string | Original quantity requested. |
executedQty |
string | Quantity that has been filled so far. |
remainingQty |
string | Quantity still open. |
status |
string | Normalised order status (e.g., NEW, PARTIALLY_FILLED). |
type |
string | Order type (MARKET, LIMIT, STOP_MARKET, STOP_LIMIT). |
side |
string | Side of the order (BUY or SELL). |
time |
number | Order creation time in milliseconds. |
Trade history
Sample response
[
{
"symbol": "BTC/USDT",
"id": 601234,
"orderId": "1-123-1",
"price": "26800.50",
"qty": "0.002",
"quoteQty": "53.601",
"commission": "0.000002",
"commissionAsset": "BTC",
"tds": "0",
"time": 1706599900456,
"isBuyer": true,
"isMaker": false
}
]
Returns executed spot trades for a specific market. Provide either an order identifier, a time range, or a starting trade identifier—combinations outside the allowed set are rejected.
Can't find older trades? Use
GET /api/v1/spot/trades/historical.
Allowed combinations:
symbolonlysymbol+orderIdsymbol+startTimesymbol+endTimesymbol+fromIdsymbol+startTime+endTimeHTTP Request:
GET /api/v1/spot/trades
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
timestamp |
number | Yes | Epoch time in milliseconds used for request signing. |
recvWindow |
number | No | Custom receive window in milliseconds (default 5000, max 60000). |
signature |
string | Yes | HMAC SHA-256 signature computed from query parameters. |
symbol |
string | Yes | Trading pair in BASE/QUOTE format, such as BTC/USDT. |
orderId |
string | No | Filter by the order id. |
startTime |
number | No | Earliest execution time in milliseconds. |
endTime |
number | No | Latest execution time in milliseconds. Must be within 72 hours of startTime and not less than it. |
fromId |
number | No | Return trades with identifiers greater than or equal to this value. |
limit |
integer | No | Maximum records to return (default 20, max 50). |
Response Fields
| Field | Type | Description |
|---|---|---|
symbol |
string | Trading pair in BASE/QUOTE format. such as BTC/USDT. |
id |
number | Trade identifier. |
orderId |
string | Order identifier associated with the fill. |
price |
string | Execution price. |
qty |
string | Base asset quantity filled. |
quoteQty |
string | Quote asset amount filled. |
commission |
string | Fee charged for the trade. |
commissionAsset |
string | Asset in which the commission was charged. |
tds |
string | Tax Deducted at Source amount if applicable. |
time |
number | Execution time in milliseconds. |
isBuyer |
boolean | true if you were the buyer in the trade. |
isMaker |
boolean | true if your order provided liquidity. |
Trade history (historical)
Sample response
[
{
"symbol": "BTC/USDT",
"id": 412345,
"orderId": "1-123-1",
"price": "25800.50",
"qty": "0.002",
"quoteQty": "51.601",
"commission": "0.000001",
"commissionAsset": "BTC",
"tds": "0",
"time": 1695000000456,
"isBuyer": false,
"isMaker": true
}
]
Returns archived spot trade records for the authenticated account. Use this endpoint when the standard GET /api/v1/spot/trades route no longer returns older fills.
- HTTP Request:
GET /api/v1/spot/trades/historical
Allowed combinations:
symbolonlysymbol+orderIdsymbol+startTimesymbol+endTimesymbol+fromIdsymbol+startTime+endTime
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
timestamp |
number | Yes | Epoch time in milliseconds used for request signing. |
recvWindow |
number | No | Custom receive window in milliseconds (default 5000, max 60000). |
signature |
string | Yes | HMAC SHA-256 signature computed from query parameters. |
symbol |
string | Yes | Trading pair in BASE/QUOTE format, such as BTC/USDT. |
orderId |
string | No | Filter by the order id. |
startTime |
number | No | Earliest execution time in milliseconds. |
endTime |
number | No | Latest execution time in milliseconds. Must be within 72 hours of startTime and not less than it. |
fromId |
number | No | Return trades with identifiers greater than or equal to this value. |
limit |
integer | No | Maximum records to return (default 20, max 50). |
Response Fields
| Field | Type | Description |
|---|---|---|
symbol |
string | Trading pair in BASE/QUOTE format. such as BTC/USDT. |
id |
number | Trade identifier. |
orderId |
string | Order identifier associated with the fill. |
price |
string | Execution price. |
qty |
string | Base asset quantity filled. |
quoteQty |
string | Quote asset amount filled. |
commission |
string | Fee charged for the trade. |
commissionAsset |
string | Asset in which the commission was charged. |
tds |
string | Tax Deducted at Source amount if applicable. |
time |
number | Execution time in milliseconds. |
isBuyer |
boolean | true if you were the buyer in the trade. |
isMaker |
boolean | true if your order provided liquidity. |
Futures
Futures APIs use /fapi/v1 with the same base URL, authentication and error format as Spot. Use uppercase symbols such as BTC/INR or BTC/USDT, without spaces. Prices, amounts and quantities are decimal strings; timestamps are Unix milliseconds. Sample values are illustrative.
Public endpoints
Exchange information
Sample request
GET /fapi/v1/exchangeInfo HTTP/1.1
Host: https://api.giottus.com
Successful response
{
"success": true,
"exchangeInfo": {
"timezone": "UTC",
"serverTime": 1787991000000,
"assets": [
{
"asset": "USDT",
"marginAvailable": true
},
{
"asset": "INR",
"marginAvailable": true
}
],
"symbols": [
{
"symbol": "BTC/USDT",
"pair": "BTC/USDT",
"status": "TRADING",
"baseAsset": "BTC",
"quoteAsset": "USDT",
"marginAsset": "USDT",
"pricePrecision": 1,
"quantityPrecision": 4,
"orderTypes": [
"LIMIT",
"MARKET",
"STOP_LOSS",
"TAKE_PROFIT"
],
"maxLeverage": 25
}
]
}
}
Returns contract information and trading rules for all active Futures symbols.
- HTTP Request:
GET /fapi/v1/exchangeInfo
Response Fields
| Field | Type | Description |
|---|---|---|
success |
boolean | Whether the request succeeded. |
exchangeInfo |
object | Contract details and trading rules. |
exchangeInfo.timezone |
string | API time zone. |
exchangeInfo.serverTime |
number | Response time in Unix milliseconds. |
exchangeInfo.assets |
array | Supported collateral assets. |
exchangeInfo.assets[].asset |
string | Asset code. |
exchangeInfo.assets[].marginAvailable |
boolean | Whether the asset is enabled as margin. |
exchangeInfo.symbols |
array | Active Futures contracts. |
exchangeInfo.symbols[].symbol |
string | Contract identifier in BASE/QUOTE format. |
exchangeInfo.symbols[].pair |
string | Trading pair in BASE/QUOTE format. |
exchangeInfo.symbols[].status |
string | TRADING for an active contract. |
exchangeInfo.symbols[].baseAsset |
string | Underlying asset. |
exchangeInfo.symbols[].quoteAsset |
string | Price denomination. |
exchangeInfo.symbols[].marginAsset |
string | Collateral asset. |
exchangeInfo.symbols[].pricePrecision |
number | Decimal places allowed for limit prices. |
exchangeInfo.symbols[].quantityPrecision |
number | Decimal places allowed for limit quantities. |
exchangeInfo.symbols[].orderTypes |
array | Supported contract operations; normal order creation accepts LIMIT/MARKET. |
exchangeInfo.symbols[].maxLeverage |
number | Maximum allowed leverage. |
Futures ticker
Sample request
GET /fapi/v1/ticker?symbol=BTC/USDT HTTP/1.1
Host: https://api.giottus.com
Successful response
{
"success": true,
"tickers": [
{
"symbol": "BTC/USDT",
"lastPrice": "68750.00",
"priceChange": "1250.50",
"priceChangePercent": "1.85",
"openPrice": "67499.50",
"highPrice": "69200.00",
"lowPrice": "66800.00",
"volume": "1260.450"
}
]
}
Returns the latest ticker snapshot for a single Futures symbol or for all active symbols.
- HTTP Request:
GET /fapi/v1/ticker
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
symbol |
string | No | Trading pair such as BTC/USDT. Omit it to return all active contracts. |
Response Fields
| Field | Type | Description |
|---|---|---|
success |
boolean | Whether the request succeeded. |
tickers |
array | Ticker data for the requested contracts. |
tickers[].symbol |
string | Contract identifier in BASE/QUOTE format. |
tickers[].lastPrice |
string | Latest traded price. |
tickers[].priceChange |
string | Rolling price change. |
tickers[].priceChangePercent |
string | Rolling percentage change. |
tickers[].openPrice |
string | Rolling-window opening price. |
tickers[].highPrice |
string | Rolling-window high. |
tickers[].lowPrice |
string | Rolling-window low. |
tickers[].volume |
string | Rolling traded base quantity. |
Futures order book
Sample request
GET /fapi/v1/orderbook?symbol=BTC/USDT&limit=10 HTTP/1.1
Host: https://api.giottus.com
Successful response
{
"success": true,
"orderBook": {
"symbol": "BTC/USDT",
"bids": [
[
"68740.10",
"1.250"
]
],
"asks": [
[
"68741.20",
"0.840"
]
]
}
}
Returns aggregated bid and ask levels for a Futures symbol.
- HTTP Request:
GET /fapi/v1/orderbook
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
symbol |
string | Yes | Trading pair whose market depth is requested, such as BTC/USDT. |
limit |
integer | No | Number of buy and sell price levels to return. Default and maximum: 10. |
Response Fields
| Field | Type | Description |
|---|---|---|
success |
boolean | Whether the request succeeded. |
orderBook |
object | Market buy and sell price levels. |
orderBook.symbol |
string | Contract identifier in BASE/QUOTE format. |
orderBook.bids |
array | Descending [price, quantity] levels. |
orderBook.asks |
array | Ascending [price, quantity] levels. |
Recent Futures trades
Sample request
GET /fapi/v1/trades?symbol=BTC/USDT&limit=20 HTTP/1.1
Host: https://api.giottus.com
Successful response
{
"success": true,
"trades": [
{
"price": "68750.00",
"quantity": "0.015",
"time": 1787990999000,
"side": "BUY"
}
]
}
Fetches the most recent public trades for a Futures symbol.
- HTTP Request:
GET /fapi/v1/trades
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
symbol |
string | Yes | Futures contract whose recent completed trades are requested. |
limit |
integer | No | Number of recent trades to return. Default: 20; maximum: 20. |
Response Fields
| Field | Type | Description |
|---|---|---|
success |
boolean | Whether the request succeeded. |
trades |
array | Recent trades. |
trades[].price |
string | Executed price in quote currency. |
trades[].quantity |
string | Executed base quantity. |
trades[].time |
number | Trade time in Unix milliseconds. |
trades[].side |
string | BUY or SELL: the initiating side. |
Mark price
Sample request
GET /fapi/v1/markPrice?symbol=BTC/USDT HTTP/1.1
Host: https://api.giottus.com
Successful response
{
"success": true,
"markPrices": [
{
"symbol": "BTC/USDT",
"markPrice": "68742.18",
"fundingRate": "0.00010000",
"fundingIntervalHours": 8,
"nextFundingTime": 1788028800000,
"time": 1787991000000
}
]
}
Returns the latest mark price and funding information for a single Futures symbol or for all active symbols.
- HTTP Request:
GET /fapi/v1/markPrice
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
symbol |
string | No | Trading pair such as BTC/USDT. Omit it to return all active contracts. |
Response Fields
| Field | Type | Description |
|---|---|---|
success |
boolean | Whether the request succeeded. |
markPrices |
array | Mark price and funding information. |
markPrices[].symbol |
string | Contract identifier in BASE/QUOTE format. |
markPrices[].markPrice |
string | Fair price used for P&L/funding calculations. |
markPrices[].fundingRate |
string | Decimal funding rate. |
markPrices[].fundingIntervalHours |
number | Hours between funding events. |
markPrices[].nextFundingTime |
number | Scheduled funding time in Unix milliseconds. |
markPrices[].time |
number | Unix milliseconds; mark-price time is response time. |
Funding history
Sample request
GET /fapi/v1/funding/history?symbol=BTC/USDT&startTime=1787385600000&endTime=1787991000000&limit=20 HTTP/1.1
Host: https://api.giottus.com
Successful response
{
"success": true,
"fundingHistory": [
{
"fundingId": 33001234,
"symbol": "BTC/USDT",
"fundingRate": "0.00010000",
"markPrice": "68742.18",
"fundingTime": 1787961600000
}
]
}
Returns completed funding events for a Futures symbol, filtered by funding time when provided.
- HTTP Request:
GET /fapi/v1/funding/history
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
symbol |
string | Yes | Futures contract whose completed funding events are requested. |
startTime |
integer | No | Earliest funding time, as a 13-digit Unix timestamp in milliseconds. |
endTime |
integer | No | Latest funding time, as a 13-digit Unix timestamp in milliseconds. |
limit |
integer | No | Number of funding events to return. Default: 20; maximum: 50. |
Response Fields
| Field | Type | Description |
|---|---|---|
success |
boolean | Whether the request succeeded. |
fundingHistory |
array | Completed funding events. |
fundingHistory[].fundingId |
number | Funding-event identifier. |
fundingHistory[].symbol |
string | Contract identifier in BASE/QUOTE format. |
fundingHistory[].fundingRate |
string | Decimal funding rate. |
fundingHistory[].markPrice |
string | Fair price used for P&L/funding calculations. |
fundingHistory[].fundingTime |
number | Funding application time in Unix milliseconds. |
Wallet and account
Futures account
Sample request
GET /fapi/v1/account?timestamp=1706602000123&recvWindow=5000&signature=<calculated> HTTP/1.1
Host: https://api.giottus.com
X-GIOTTUS-APIKEY: YOUR_API_KEY
Successful response
{
"success": true,
"account": {
"assets": [
{
"asset": "USDT",
"walletBalance": "3000.00",
"unrealizedPnl": "5.60",
"availableBalance": "2755.60"
},
{
"asset": "INR",
"walletBalance": "250000.00",
"unrealizedPnl": "380.00",
"availableBalance": "232130.00"
}
]
}
}
Returns Futures wallet balances and unrealized profit or loss for the authenticated account.
- HTTP Request:
GET /fapi/v1/account - Authentication: Signed; permission
futures.account.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
timestamp |
number | Yes | Current time as a 13-digit Unix timestamp in milliseconds. |
recvWindow |
number | No | Custom receive window in milliseconds (default 5000, max 60000). |
signature |
string | Yes | HMAC SHA-256 signature computed from query parameters. |
Response Fields
| Field | Type | Description |
|---|---|---|
success |
boolean | Whether the request succeeded. |
account |
object | Your Futures account balances. |
account.assets |
array | Balances by collateral asset. |
account.assets[].asset |
string | Asset code. |
account.assets[].walletBalance |
string | Available balance plus active-position margin. |
account.assets[].unrealizedPnl |
string | Current unrealized position P&L in this asset. |
account.assets[].availableBalance |
string | Available Futures wallet balance. |
Transfer Futures funds
Sample request
POST /fapi/v1/wallet/transfer?timestamp=1706602000123&recvWindow=5000&signature=<calculated> HTTP/1.1
Host: https://api.giottus.com
X-GIOTTUS-APIKEY: YOUR_API_KEY
Content-Type: application/json
{"asset":"USDT","amount":"500.00","direction":"SPOT_TO_FUTURES"}
Successful response
{
"success": true,
"message": "Wallet transfer request submitted successfully."
}
Transfers funds between the authenticated account's Spot and Futures wallets. Submit the payload as application/json; supported assets are INR and USDT.
- HTTP Request:
POST /fapi/v1/wallet/transfer - Authentication: Signed; permission
futures.wallet_transfer.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
timestamp |
number | Yes | Current time as a 13-digit Unix timestamp in milliseconds. |
recvWindow |
number | No | Custom receive window in milliseconds (default 5000, max 60000). |
signature |
string | Yes | HMAC SHA-256 signature computed over the canonical query string concatenated with the canonical JSON body. |
Body Payload (application/json)
| Field | Type | Required | Description |
|---|---|---|---|
asset |
string | Yes | Asset to transfer. Allowed values: USDT, INR. |
amount |
string | Yes | Positive amount to move. Use the asset's allowed decimal precision. |
direction |
string | Yes | SPOT_TO_FUTURES or FUTURES_TO_SPOT. |
Response Fields
| Field | Type | Description |
|---|---|---|
success |
boolean | Whether the request succeeded. |
message |
string | Message describing the result. |
Futures wallet history
Sample request
GET /fapi/v1/wallet/history?asset=USDT&fromWalletTransactionId=44001235&limit=20×tamp=1706602000123&recvWindow=5000&signature=<calculated> HTTP/1.1
Host: https://api.giottus.com
X-GIOTTUS-APIKEY: YOUR_API_KEY
Successful response
{
"success": true,
"walletHistory": [
{
"walletTransactionId": 44001234,
"asset": "USDT",
"amount": "500.00",
"direction": "SPOT_TO_FUTURES",
"status": "SUCCESS",
"createdAt": 1787904000000,
"updatedAt": 1787904001500
}
]
}
Lists transfers between the authenticated account's Spot and Futures wallets.
- HTTP Request:
GET /fapi/v1/wallet/history - Authentication: Signed; permission
futures.wallet_history.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
timestamp |
number | Yes | Current time as a 13-digit Unix timestamp in milliseconds. |
recvWindow |
number | No | Custom receive window in milliseconds (default 5000, max 60000). |
signature |
string | Yes | HMAC SHA-256 signature computed from query parameters. |
asset |
string | No | Asset to filter. Omit it to return transfers for all Futures wallet assets. |
fromWalletTransactionId |
integer | No | Return older wallet-history entries before this ID. Use it to load the next page. |
limit |
integer | No | Number of transfers to return. Default: 20; maximum: 1000. |
Response Fields
| Field | Type | Description |
|---|---|---|
success |
boolean | Whether the request succeeded. |
walletHistory |
array | Your Spot/Futures transfers. |
walletHistory[].walletTransactionId |
number | Wallet transfer ID; usable as older-row cursor. |
walletHistory[].asset |
string | Asset code. |
walletHistory[].amount |
string | Transferred amount in the listed asset. |
walletHistory[].direction |
string | SPOT_TO_FUTURES or FUTURES_TO_SPOT. |
walletHistory[].status |
string | INITIATED, SUCCESS or FAILED. |
walletHistory[].createdAt |
number | Creation time in Unix milliseconds. |
walletHistory[].updatedAt |
number | Last update time in Unix milliseconds. |
Futures transactions
Sample request
GET /fapi/v1/transactions?symbol=BTC/USDT&asset=USDT&type=FUNDING_FEE&fromTransactionId=55001235&limit=20×tamp=1706602000123&recvWindow=5000&signature=<calculated> HTTP/1.1
Host: https://api.giottus.com
X-GIOTTUS-APIKEY: YOUR_API_KEY
Successful response
{
"success": true,
"transactions": [
{
"transactionId": 55001234,
"symbol": "BTC/USDT",
"type": "FUNDING_FEE",
"amount": "-4.00",
"gst": "0",
"total": "-4.00",
"asset": "USDT",
"createdAt": 1787961600000
}
]
}
Lists Futures trading transactions, including fees, realized profit or loss, funding and bonus movements.
- HTTP Request:
GET /fapi/v1/transactions - Authentication: Signed; permission
futures.transactions.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
timestamp |
number | Yes | Current time as a 13-digit Unix timestamp in milliseconds. |
recvWindow |
number | No | Custom receive window in milliseconds (default 5000, max 60000). |
signature |
string | Yes | HMAC SHA-256 signature computed from query parameters. |
symbol |
string | No | Futures contract to filter. Omit it to return transactions for all contracts. |
asset |
string | No | Asset in which the transaction was recorded. |
type |
string | No | Filter by COMMISSION, REALIZED_PNL, FUNDING_FEE, LIQUIDATION_FEE, BONUS_CREDIT or BONUS_RECOVERY. |
fromTransactionId |
integer | No | Return older transaction-history entries before this ID. Use it to load the next page. |
limit |
integer | No | Number of transactions to return. Default: 20; maximum: 1000. |
Response Fields
| Field | Type | Description |
|---|---|---|
success |
boolean | Whether the request succeeded. |
transactions |
array | Your trading transactions. |
transactions[].transactionId |
number | Trading transaction ID; usable as older-row cursor. |
transactions[].symbol |
string | Trading pair in BASE/QUOTE format, when applicable. |
transactions[].type |
string | Transaction type; uses the same values as the type filter. |
transactions[].amount |
string | Signed transaction amount in the listed asset. |
transactions[].gst |
string | GST amount for this entry. |
transactions[].total |
string | Total account movement including GST. |
transactions[].asset |
string | Asset code. |
transactions[].createdAt |
number | Creation time in Unix milliseconds. |
transactions[].orderId |
string | Optional parent client order ID. |
transactions[].tradeId |
string | Optional execution ID. |
Positions
Active positions
Sample request
GET /fapi/v1/position?symbol=BTC/USDT×tamp=1706602000123&recvWindow=5000&signature=<calculated> HTTP/1.1
Host: https://api.giottus.com
X-GIOTTUS-APIKEY: YOUR_API_KEY
Successful response
{
"success": true,
"positions": [
{
"name": "BTC/USDT",
"side": "LONG",
"leverage": "10",
"margin": "1680.00",
"size": "0.250",
"activePnl": "385.545",
"averageEntryPrice": "67200.00",
"markPrice": "68742.18",
"liquidationPrice": "63520.40",
"exitOrders": [
{
"clientOrderId": "880001",
"type": "TAKE_PROFIT",
"triggerPrice": "71000.00",
"quantity": "0.100",
"status": "OPEN",
"createdAt": 1787991000100
},
{
"clientOrderId": "880002",
"type": "STOP_LOSS",
"triggerPrice": "66000.00",
"quantity": "0.250",
"status": "OPEN",
"createdAt": 1787991000100
}
]
}
]
}
Lists the authenticated account's active Futures positions. When a symbol is provided, results are scoped to that market.
- HTTP Request:
GET /fapi/v1/position - Authentication: Signed; permission
futures.position.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
timestamp |
number | Yes | Current time as a 13-digit Unix timestamp in milliseconds. |
recvWindow |
number | No | Custom receive window in milliseconds (default 5000, max 60000). |
signature |
string | Yes | HMAC SHA-256 signature computed from query parameters. |
symbol |
string | No | Futures contract to return. If omitted, return all of the caller's positions. |
Response Fields
| Field | Type | Description |
|---|---|---|
success |
boolean | Whether the request succeeded. |
positions |
array | Your active positions. |
positions[].name |
string | Contract identifier in BASE/QUOTE format. |
positions[].side |
string | LONG or SHORT. |
positions[].leverage |
string | Leverage without the x suffix. |
positions[].margin |
string | Position margin in quote currency. |
positions[].size |
string | Signed base quantity; negative for SHORT. |
positions[].activePnl |
string | Unrealized P&L in quote currency. |
positions[].averageEntryPrice |
string | Average position entry price. |
positions[].markPrice |
string | Fair price used for P&L/funding calculations. |
positions[].liquidationPrice |
string | Position liquidation price. |
positions[].exitOrders |
array | Pending TP/SL instructions; [] when none |
positions[].exitOrders[].clientOrderId |
string | Order identifier. Keep it as a string. |
positions[].exitOrders[].type |
string | TAKE_PROFIT or STOP_LOSS. |
positions[].exitOrders[].triggerPrice |
string | TP/SL trigger price in quote currency. |
positions[].exitOrders[].quantity |
string | Position base quantity this instruction may close. |
positions[].exitOrders[].status |
string | OPEN; pending instructions only. |
positions[].exitOrders[].createdAt |
number | Creation time in Unix milliseconds. |
Adjust position leverage
Sample request
PATCH /fapi/v1/position/adjust/leverage?timestamp=1706602000123&recvWindow=5000&signature=<calculated> HTTP/1.1
Host: https://api.giottus.com
X-GIOTTUS-APIKEY: YOUR_API_KEY
Content-Type: application/json
{"symbol":"BTC/USDT","leverage":"10"}
Successful response
{
"success": true,
"message": "Position leverage adjusted successfully."
}
Changes the leverage of an active Futures position. Submit the payload as application/json.
- HTTP Request:
PATCH /fapi/v1/position/adjust/leverage - Authentication: Signed; permission
futures.adjust_leverage.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
timestamp |
number | Yes | Current time as a 13-digit Unix timestamp in milliseconds. |
recvWindow |
number | No | Custom receive window in milliseconds (default 5000, max 60000). |
signature |
string | Yes | HMAC SHA-256 signature computed over the canonical query string concatenated with the canonical JSON body. |
Body Payload (application/json)
| Field | Type | Required | Description |
|---|---|---|---|
symbol |
string | Yes | Futures contract with the open position to adjust. |
leverage |
string | Yes | New whole-number leverage between 1 and the contract's maxLeverage. |
Response Fields
| Field | Type | Description |
|---|---|---|
success |
boolean | Whether the request succeeded. |
message |
string | Message describing the result. |
Adjust position margin
Sample request
PATCH /fapi/v1/position/adjust/margin?timestamp=1706602000123&recvWindow=5000&signature=<calculated> HTTP/1.1
Host: https://api.giottus.com
X-GIOTTUS-APIKEY: YOUR_API_KEY
Content-Type: application/json
{"symbol":"BTC/USDT","action":"ADD","amount":"500.00"}
Successful response
{
"success": true,
"message": "Margin adjusted successfully."
}
Adds margin to or removes margin from an active Futures position. Submit the payload as application/json.
- HTTP Request:
PATCH /fapi/v1/position/adjust/margin - Authentication: Signed; permission
futures.adjust_margin.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
timestamp |
number | Yes | Current time as a 13-digit Unix timestamp in milliseconds. |
recvWindow |
number | No | Custom receive window in milliseconds (default 5000, max 60000). |
signature |
string | Yes | HMAC SHA-256 signature computed over the canonical query string concatenated with the canonical JSON body. |
Body Payload (application/json)
| Field | Type | Required | Description |
|---|---|---|---|
symbol |
string | Yes | Futures contract with the open position to adjust. |
action |
string | Yes | ADD moves margin from the Futures wallet into the position; REMOVE returns margin to the Futures wallet. |
amount |
string | Yes | Positive margin amount in quote currency: INR for BTC/INR, USDT for BTC/USDT. |
Response Fields
| Field | Type | Description |
|---|---|---|
success |
boolean | Whether the request succeeded. |
message |
string | Message describing the result. |
Adjust liquidation price
Sample request
PATCH /fapi/v1/position/adjust/liquidationPrice?timestamp=1706602000123&recvWindow=5000&signature=<calculated> HTTP/1.1
Host: https://api.giottus.com
X-GIOTTUS-APIKEY: YOUR_API_KEY
Content-Type: application/json
{"symbol":"BTC/USDT","liquidationPrice":"64000.00"}
Successful response
{
"success": true,
"message": "Liquidation price adjusted successfully."
}
Adjusts position margin to reach the requested liquidation price. Submit the payload as application/json.
- HTTP Request:
PATCH /fapi/v1/position/adjust/liquidationPrice - Authentication: Signed; permission
futures.adjust_liquidation_price.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
timestamp |
number | Yes | Current time as a 13-digit Unix timestamp in milliseconds. |
recvWindow |
number | No | Custom receive window in milliseconds (default 5000, max 60000). |
signature |
string | Yes | HMAC SHA-256 signature computed over the canonical query string concatenated with the canonical JSON body. |
Body Payload (application/json)
| Field | Type | Required | Description |
|---|---|---|---|
symbol |
string | Yes | Futures contract with the open position to adjust. |
liquidationPrice |
string | Yes | Positive target price in quote currency, different from the current liquidation price. |
Response Fields
| Field | Type | Description |
|---|---|---|
success |
boolean | Whether the request succeeded. |
message |
string | Message describing the result. |
Get position TP/SL
Sample request
GET /fapi/v1/position/tpsl?symbol=BTC/USDT×tamp=1706602000123&recvWindow=5000&signature=<calculated> HTTP/1.1
Host: https://api.giottus.com
X-GIOTTUS-APIKEY: YOUR_API_KEY
Successful response
{
"success": true,
"positionTpsl": {
"symbol": "BTC/USDT",
"positionSide": "LONG",
"exitOrders": [
{
"clientOrderId": "880001",
"type": "TAKE_PROFIT",
"triggerPrice": "71000.00",
"quantity": "0.100",
"status": "OPEN",
"createdAt": 1787991000100
},
{
"clientOrderId": "880002",
"type": "STOP_LOSS",
"triggerPrice": "66000.00",
"quantity": "0.250",
"status": "OPEN",
"createdAt": 1787991000100
}
]
}
}
Lists pending take-profit and stop-loss instructions for an active Futures position.
- HTTP Request:
GET /fapi/v1/position/tpsl - Authentication: Signed; permission
futures.position_tpsl.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
timestamp |
number | Yes | Current time as a 13-digit Unix timestamp in milliseconds. |
recvWindow |
number | No | Custom receive window in milliseconds (default 5000, max 60000). |
signature |
string | Yes | HMAC SHA-256 signature computed from query parameters. |
symbol |
string | Yes | Futures contract whose active position exits are required. |
Response Fields
| Field | Type | Description |
|---|---|---|
success |
boolean | Whether the request succeeded. |
positionTpsl |
object | Pending TP/SL for the position. |
positionTpsl.symbol |
string | Contract identifier in BASE/QUOTE format. |
positionTpsl.positionSide |
string | LONG or SHORT. |
positionTpsl.exitOrders |
array | Pending TP/SL instructions, or an empty array. |
positionTpsl.exitOrders[].clientOrderId |
string | Order identifier. Keep it as a string. |
positionTpsl.exitOrders[].type |
string | TAKE_PROFIT or STOP_LOSS. |
positionTpsl.exitOrders[].triggerPrice |
string | TP/SL trigger price in quote currency. |
positionTpsl.exitOrders[].quantity |
string | Position base quantity this instruction may close. |
positionTpsl.exitOrders[].status |
string | OPEN; pending instructions only. |
positionTpsl.exitOrders[].createdAt |
number | Creation time in Unix milliseconds. |
Create position TP/SL
Sample request
POST /fapi/v1/position/tpsl?timestamp=1706602000123&recvWindow=5000&signature=<calculated> HTTP/1.1
Host: https://api.giottus.com
X-GIOTTUS-APIKEY: YOUR_API_KEY
Content-Type: application/json
{"symbol":"BTC/USDT","tpPrice":"71000.00","tpQuantity":"0.100","slPrice":"66000.00","slQuantity":"0.250"}
Successful response
{
"success": true,
"message": "Your order has been created added to your position.",
"clientOrderIds": ["880001", "880002"]
}
Creates one take-profit and/or one stop-loss instruction for an active position. Submit the payload as application/json.
- HTTP Request:
POST /fapi/v1/position/tpsl - Authentication: Signed; permission
futures.create_position_tpsl.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
timestamp |
number | Yes | Current time as a 13-digit Unix timestamp in milliseconds. |
recvWindow |
number | No | Custom receive window in milliseconds (default 5000, max 60000). |
signature |
string | Yes | HMAC SHA-256 signature computed over the canonical query string concatenated with the canonical JSON body. |
Body Payload (application/json)
| Field | Type | Required | Description |
|---|---|---|---|
symbol |
string | Yes | Slash-separated Futures contract with the open position to protect. |
tpPrice |
string | With tpQuantity |
Positive take-profit trigger price in quote currency. |
tpQuantity |
string | With tpPrice |
Positive position quantity the take-profit instruction may close. |
slPrice |
string | With slQuantity |
Positive stop-loss trigger price in quote currency. |
slQuantity |
string | With slPrice |
Positive position quantity the stop-loss instruction may close. |
Response Fields
| Field | Type | Description |
|---|---|---|
success |
boolean | Whether the request succeeded. |
message |
string | Message describing the result. |
clientOrderIds |
array of strings | IDs of the TP/SL instructions created by this request. |
Orders
Create Futures order
Sample request
POST /fapi/v1/order?timestamp=1706602000123&recvWindow=5000&signature=<calculated> HTTP/1.1
Host: https://api.giottus.com
X-GIOTTUS-APIKEY: YOUR_API_KEY
Content-Type: application/json
{"symbol":"BTC/USDT","side":"BUY","type":"LIMIT","quantity":"0.010","price":"60000","leverage":"3","tpPrice":"65000","slPrice":"55000"}
Successful response
{
"success": true,
"message": "Order created successfully.",
"clientOrderId": "1234567890123456789-I"
}
Sample request — market entry
POST /fapi/v1/order?timestamp=1706602000123&recvWindow=5000&signature=<calculated> HTTP/1.1
Host: https://api.giottus.com
X-GIOTTUS-APIKEY: YOUR_API_KEY
Content-Type: application/json
{"symbol":"BTC/USDT","side":"BUY","type":"MARKET","amount":"600","leverage":"3"}
Sample request — reduce a short position
POST /fapi/v1/order?timestamp=1706602000123&recvWindow=5000&signature=<calculated> HTTP/1.1
Host: https://api.giottus.com
X-GIOTTUS-APIKEY: YOUR_API_KEY
Content-Type: application/json
{"symbol":"BTC/USDT","side":"BUY","type":"MARKET","quantity":"0.0011","reduceOnly":true,"leverage":"3"}
Creates a new Futures order. Submit the payload as application/json; supported order types are MARKET and LIMIT. Use the position TP/SL endpoint to create standalone exit instructions.
- HTTP Request:
POST /fapi/v1/order - Authentication: Signed; permission
futures.create_order.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
timestamp |
number | Yes | Current time as a 13-digit Unix timestamp in milliseconds. |
recvWindow |
number | No | Custom receive window in milliseconds (default 5000, max 60000). |
signature |
string | Yes | HMAC SHA-256 signature computed over the canonical query string concatenated with the canonical JSON body. |
Body Payload (application/json)
| Field | Type | Required | Description |
|---|---|---|---|
symbol |
string | Yes | Slash-separated contract. |
side |
string | Yes | BUY or SELL. |
type |
string | Yes | LIMIT or MARKET only. Use Create position TP/SL for standalone exits. |
quantity |
string | LIMIT or reduce-only MARKET | Positive base quantity; not accepted for MARKET entry sizing. |
amount |
string | Entry MARKET | Positive quote-currency order value, not wallet margin; not accepted for LIMIT or reduce-only MARKET. |
price |
string | LIMIT | Positive limit price. |
leverage |
string | Yes | Whole-number leverage between 1 and the contract's maxLeverage. |
tpPrice |
string | No | Positive take-profit trigger price in quote currency. |
slPrice |
string | No | Positive stop-loss trigger price in quote currency. |
reduceOnly |
boolean | No | Boolean; default false. True is supported only for MARKET with quantity, without amount, price, TP or SL. |
Response Fields
| Field | Type | Description |
|---|---|---|
success |
boolean | Whether the request succeeded. |
message |
string | Message describing the result. |
clientOrderId |
string | Created entry order ID; attached TP/SL IDs are not yet created. |
Get Futures order
Sample request
GET /fapi/v1/order/1234567890123456789-I?timestamp=1706602000123&recvWindow=5000&signature=<calculated> HTTP/1.1
Host: https://api.giottus.com
X-GIOTTUS-APIKEY: YOUR_API_KEY
Successful response
{
"success": true,
"order": {
"clientOrderId": "1234567890123456789-I",
"symbol": "BTC/USDT",
"side": "BUY",
"type": "LIMIT",
"status": "Open",
"leverage": "3",
"quantity": "0.010",
"price": "60000",
"averagePrice": "0",
"reduceOnly": false,
"createdAt": 1787991000000,
"updatedAt": 1787991000000
}
}
Successful response — TP/SL order
{
"success": true,
"order": {
"clientOrderId": "880001",
"symbol": "BTC/USDT",
"side": "SELL",
"type": "TAKE_PROFIT",
"status": "Open",
"leverage": "3",
"quantity": "0.010",
"price": "65000",
"averagePrice": "0",
"triggerPrice": "65000",
"reduceOnly": false,
"createdAt": 1787991000000,
"updatedAt": 1787991000000
}
}
Returns one of your normal or TP/SL orders by its client order ID, whether open or historical.
- HTTP Request:
GET /fapi/v1/order/{clientOrderId} - Authentication: Signed; permission
futures.order.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
clientOrderId |
string | Yes | Full client order ID. Maximum 100 characters; letters, digits, underscore and hyphen only. |
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
timestamp |
number | Yes | Current time as a 13-digit Unix timestamp in milliseconds. |
recvWindow |
number | No | Receive window; default 5000, maximum 60000 milliseconds. |
signature |
string | Yes | HMAC SHA-256 signature computed from query parameters. |
order uses the order-list response fields. TP/SL orders have type TAKE_PROFIT or STOP_LOSS and include triggerPrice. No symbol or pagination parameters are needed. Liquidation and position-adjustment records are excluded.
Cancel Futures order
Sample request
DELETE /fapi/v1/order/1234567890123456789-I?timestamp=1706602000123&recvWindow=5000&signature=<calculated> HTTP/1.1
Host: https://api.giottus.com
X-GIOTTUS-APIKEY: YOUR_API_KEY
Successful response
{
"success": true,
"message": "Order cancellation request submitted successfully."
}
Cancels a single Futures order by its client order identifier from the open-orders or pending TP/SL response. This route does not accept a body.
- HTTP Request:
DELETE /fapi/v1/order/{clientOrderId} - Authentication: Signed; permission
futures.cancel_order.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
timestamp |
number | Yes | Current time as a 13-digit Unix timestamp in milliseconds. |
recvWindow |
number | No | Custom receive window in milliseconds (default 5000, max 60000). |
signature |
string | Yes | HMAC SHA-256 signature computed from query parameters. |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
clientOrderId |
string | Yes | Full ID from your open orders, history or position TP/SL list. Maximum 100 characters; letters, digits, underscore and hyphen only. |
Response Fields
| Field | Type | Description |
|---|---|---|
success |
boolean | Whether the request succeeded. |
message |
string | Message describing the result. |
Open Futures orders
Sample request
GET /fapi/v1/orders/open?symbol=BTC/USDT&page=1&limit=20×tamp=1706602000123&recvWindow=5000&signature=<calculated> HTTP/1.1
Host: https://api.giottus.com
X-GIOTTUS-APIKEY: YOUR_API_KEY
Successful response
{
"success": true,
"orders": [
{
"clientOrderId": "1234567890123456789-I",
"symbol": "BTC/USDT",
"side": "BUY",
"type": "LIMIT",
"status": "Open",
"leverage": "3",
"quantity": "0.010",
"price": "60000",
"averagePrice": "0",
"reduceOnly": false,
"createdAt": 1787991000000,
"updatedAt": 1787991000000
}
]
}
Lists the authenticated account's open Futures orders. When a symbol or asset is provided, results are scoped to that market or asset.
- HTTP Request:
GET /fapi/v1/orders/open - Authentication: Signed; permission
futures.open_orders.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
timestamp |
number | Yes | Current time as a 13-digit Unix timestamp in milliseconds. |
recvWindow |
number | No | Custom receive window in milliseconds (default 5000, max 60000). |
signature |
string | Yes | HMAC SHA-256 signature computed from query parameters. |
symbol |
string | No | Exact contract filter. |
asset |
string | No | Quote/collateral asset. |
page |
integer | No | Positive page number, default 1. |
limit |
integer | No | Page size, default 20, maximum 1000. |
Response Fields
| Field | Type | Description |
|---|---|---|
success |
boolean | Whether the request succeeded. |
orders |
array | Your matching orders. |
orders[].clientOrderId |
string | Order identifier. Keep it as a string. |
orders[].symbol |
string | Contract identifier in BASE/QUOTE format. |
orders[].side |
string | BUY or SELL. |
orders[].type |
string | Order type; see the values below. |
orders[].status |
string | Order status, such as Open, Filled or Cancelled. |
orders[].leverage |
string | Leverage without the x suffix. |
orders[].quantity |
string | Order quantity in the base asset; may differ from the original requested quantity. |
orders[].price |
string | Order price in quote currency. |
orders[].averagePrice |
string | Average execution price, or 0 when unavailable. |
orders[].reduceOnly |
boolean | Whether the order can only reduce a position. |
orders[].createdAt |
number | Creation time in Unix milliseconds. |
orders[].updatedAt |
number | Last update time in Unix milliseconds. |
orders[].triggerPrice |
string | TP/SL trigger price; present only for TAKE_PROFIT or STOP_LOSS. |
Futures order history
Sample request
GET /fapi/v1/orders?symbol=BTC/USDT&page=1&limit=20×tamp=1706602000123&recvWindow=5000&signature=<calculated> HTTP/1.1
Host: https://api.giottus.com
X-GIOTTUS-APIKEY: YOUR_API_KEY
Successful response
{
"success": true,
"orders": [
{
"clientOrderId": "1234567890123456789-I",
"symbol": "BTC/USDT",
"side": "BUY",
"type": "LIMIT",
"status": "Filled",
"leverage": "3",
"quantity": "0.010",
"price": "60000",
"averagePrice": "60000",
"reduceOnly": false,
"createdAt": 1787991000000,
"updatedAt": 1787991000000
}
]
}
Lists the authenticated account's completed and other historical Futures orders. Use open orders for currently active orders.
- HTTP Request:
GET /fapi/v1/orders - Authentication: Signed; permission
futures.orders.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
timestamp |
number | Yes | Current time as a 13-digit Unix timestamp in milliseconds. |
recvWindow |
number | No | Custom receive window in milliseconds (default 5000, max 60000). |
signature |
string | Yes | HMAC SHA-256 signature computed from query parameters. |
symbol |
string | No | Exact contract filter. |
asset |
string | No | Quote/collateral asset. |
page |
integer | No | Positive page number, default 1. |
limit |
integer | No | Page size, default 20, maximum 1000. |
Response Fields
| Field | Type | Description |
|---|---|---|
success |
boolean | Whether the request succeeded. |
orders |
array | Your matching orders. |
orders[].clientOrderId |
string | Order identifier. Keep it as a string. |
orders[].symbol |
string | Contract identifier in BASE/QUOTE format. |
orders[].side |
string | BUY or SELL. |
orders[].type |
string | Order type; see the values below. |
orders[].status |
string | Order status, such as Open, Filled or Cancelled. |
orders[].leverage |
string | Leverage without the x suffix. |
orders[].quantity |
string | Order quantity in the base asset; may differ from the original requested quantity. |
orders[].price |
string | Order price in quote currency. |
orders[].averagePrice |
string | Average execution price, or 0 when unavailable. |
orders[].reduceOnly |
boolean | Whether the order can only reduce a position. |
orders[].createdAt |
number | Creation time in Unix milliseconds. |
orders[].updatedAt |
number | Last update time in Unix milliseconds. |
orders[].triggerPrice |
string | TP/SL trigger price; present only for TAKE_PROFIT or STOP_LOSS. |
Trades
User Futures trades
Sample request
GET /fapi/v1/user/trades?symbol=BTC/USDT&page=1&limit=20×tamp=1706602000123&recvWindow=5000&signature=<calculated> HTTP/1.1
Host: https://api.giottus.com
X-GIOTTUS-APIKEY: YOUR_API_KEY
Successful response
{
"success": true,
"trades": [
{
"tradeId": "990123",
"orderId": "760012345-BTCUSDT",
"symbol": "BTC/USDT",
"price": "67198.25",
"quantity": "0.100",
"quoteAmount": "6719.825",
"isMaker": false,
"time": 1787905002500
}
]
}
Returns executed Futures trades for a specific market.
- HTTP Request:
GET /fapi/v1/user/trades - Authentication: Signed; permission
futures.user_trades.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
timestamp |
number | Yes | Current time as a 13-digit Unix timestamp in milliseconds. |
recvWindow |
number | No | Custom receive window in milliseconds (default 5000, max 60000). |
signature |
string | Yes | HMAC SHA-256 signature computed from query parameters. |
symbol |
string | Yes | Futures contract whose completed executions are requested. |
page |
integer | No | Positive page number, default 1. Increment with the same symbol and limit to request older pages. |
limit |
integer | No | Number of executions to return. Default: 20; maximum: 1000. |
Response Fields
| Field | Type | Description |
|---|---|---|
success |
boolean | Whether the request succeeded. |
trades |
array | Recent trades. |
trades[].tradeId |
string | Execution identifier; keep as string. |
trades[].orderId |
string | Parent client order identifier; keep as string. |
trades[].symbol |
string | Contract identifier in BASE/QUOTE format. |
trades[].price |
string | Executed price in quote currency. |
trades[].quantity |
string | Executed base quantity. |
trades[].quoteAmount |
string | Execution value in quote currency. |
trades[].isMaker |
boolean | Whether the execution added liquidity. |
trades[].time |
number | Recorded execution time in Unix milliseconds. |
Easy Buy/Sell
EBES Trades
Sample response
[
{
"symbol": "BTC/INR",
"id": 340012,
"price": "2250000",
"qty": "0.001",
"quoteQty": "2250",
"commission": "0.90",
"commissionAsset": "INR",
"tds": "0.30",
"time": 1706595555000,
"isBuyer": true,
"isMaker": false
}
]
Returns completed easy buy/sell (EBES) trades for INR markets. Symbols must use the COIN/INR format.
Can't find older trades? Use
GET /api/v1/ebes/trades/historical.
- HTTP Request:
GET /api/v1/ebes/trades
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
timestamp |
number | Yes | Epoch time in milliseconds used for request signing. |
recvWindow |
number | No | Custom receive window in milliseconds (default 5000, max 60000). |
signature |
string | Yes | HMAC SHA-256 signature computed from query parameters. |
symbol |
string | Yes | EBES trading pair such as BTC/INR. |
orderId |
number | No | Filter by a specific EBES order identifier. |
startTime |
number | No | Earliest execution time in milliseconds. |
endTime |
number | No | Latest execution time in milliseconds. Must be within 72 hours of startTime and not less than it. |
fromId |
number | No | Return trades with identifiers greater than or equal to this value. |
limit |
integer | No | Maximum records to return (default 20, max 50). |
Response Fields
| Field | Type | Description |
|---|---|---|
symbol |
string | EBES trading pair (COIN/INR). |
id |
number | EBES order identifier. |
price |
string | Executed price in INR. |
qty |
string | Coin quantity filled. |
quoteQty |
string | INR amount filled. |
commission |
string | Fee charged for the trade. |
commissionAsset |
string | Asset used to pay the commission (coin or INR depending on side). |
tds |
string | Tax Deducted at Source amount if applicable. |
time |
number | Execution time in milliseconds. |
isBuyer |
boolean | true if you bought the coin. |
isMaker |
boolean | Always false because EBES trades do not differentiate maker/taker roles. |
EBES Trades (historical)
Sample response
[
{
"symbol": "BTC/INR",
"id": 340012,
"price": "2250000",
"qty": "0.001",
"quoteQty": "2250",
"commission": "0.90",
"commissionAsset": "INR",
"tds": "0.30",
"time": 1706595555000,
"isBuyer": true,
"isMaker": false
}
]
Returns completed easy buy/sell (EBES) historical trades for INR markets. Symbols must use the COIN/INR format.
- HTTP Request:
GET /api/v1/ebes/trades/historical
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
timestamp |
number | Yes | Epoch time in milliseconds used for request signing. |
recvWindow |
number | No | Custom receive window in milliseconds (default 5000, max 60000). |
signature |
string | Yes | HMAC SHA-256 signature computed from query parameters. |
symbol |
string | Yes | EBES trading pair such as BTC/INR. |
orderId |
number | No | Filter by a specific EBES order identifier. |
startTime |
number | No | Earliest execution time in milliseconds. |
endTime |
number | No | Latest execution time in milliseconds. Must be within 72 hours of startTime and not less than it. |
fromId |
number | No | Return trades with identifiers greater than or equal to this value. |
limit |
integer | No | Maximum records to return (default 20, max 50). |
Response Fields
| Field | Type | Description |
|---|---|---|
symbol |
string | EBES trading pair (COIN/INR). |
id |
number | EBES order identifier. |
price |
string | Executed price in INR. |
qty |
string | Coin quantity filled. |
quoteQty |
string | INR amount filled. |
commission |
string | Fee charged for the trade. |
commissionAsset |
string | Asset used to pay the commission (coin or INR depending on side). |
tds |
string | Tax Deducted at Source amount if applicable. |
time |
number | Execution time in milliseconds. |
isBuyer |
boolean | true if you bought the coin. |
isMaker |
boolean | Always false because EBES trades do not differentiate maker/taker roles. |
FAQ
Do I need an API key for public endpoints?
No. Public endpoints don’t require authentication.
What’s the base URL?
https://api.giottus.com
Is there a sandbox/testnet?
Not yet. All calls hit production.
What is recvWindow and what values are allowed?
It’s the tolerated clock skew in milliseconds. Default is 5000; maximum is 60000.
My private request says INVALID_TIMESTAMP. What should I check?
Verify you’re sending epoch milliseconds, your system clock is NTP-synced, and the request arrives within recvWindow.
How do I generate the HMAC signature?
Build the canonical query string (excluding signature), build the canonical form body whenever you send one (again excluding signature), concatenate them, apply HMAC-SHA256 with your API secret, hex-encode, and send the result as the signature query parameter.
Which header carries my API key?
X-GIOTTUS-APIKEY.
What does the spot order_id look like?
It’s 1-123-1 (e.g., 1-91234567-1). Use the full string for cancellations and when filtering trade history.
Do private endpoints also enforce IP whitelists?
Yes. If configured, calls from non-whitelisted IPs fail with IP_NOT_ALLOWED.
How are rate limits applied?
By IP for public endpoints and by API key for private endpoints. When limited, standard X-RateLimit-* headers are returned and HTTP 429 is used.
What error format should I expect?
JSON like {"code": <number>, "msg": "description"} plus an HTTP status (e.g., 401, 429).
What number format is used in responses?
Numeric fields are returned as strings to preserve precision (e.g., prices, quantities, fees).
Do responses include fields that might be null?
Yes, some fields (e.g., transactionHash) may be null if not applicable yet.
Is pagination supported?
For list endpoints, use the documented limit (default 20, max 50). If a pagination token is introduced in the future, it will be documented per route.
What’s the default limit if I don’t pass one?
20 (max 50) unless otherwise stated.
Can I place spot orders through this API?
Yes. Authenticated clients can create spot orders (BUY/SELL), cancel them individually or per symbol, and fetch open orders/trade history.
How do I rotate or revoke an API key?
Create a new key, update your services to use it, then delete the old key in the API Management page.
How should I retry failed requests?
For transient errors (429, 503, 504), use exponential backoff and respect Retry-After when present. Don’t retry non-transient auth/validation errors until fixed.
Sign Up for a Developer Key
To start using the Giottus API, you need to create a developer key. This key will be used to authenticate private requests and manage your access permissions.
Steps to Get Your Key
Log in to your Giottus account Go to Giottus API Management.
Generate a new API key
- Provide a descriptive label for your key (e.g., “Trading” or “Portfolio Tracker”).
- (Optional) Add specific IP addresses to the whitelist for better security.
- Choose the required permissions (wallet access, orders, trades, etc.).
- Store your credentials securely
- API Key – your public identifier, used in request headers.
- API Secret – keep this private! Used to generate HMAC signatures.
- Permissions & Whitelist – applied automatically when the key is used.
⚠️ Important: Your API Secret is shown only once at the time of key creation. Make sure to copy and store it securely. If lost, you will need to generate a new key.
Errors
Spot and Futures APIs use the error codes below alongside HTTP status codes. Errors are returned as JSON with code and msg, for example { "code": "-1121", "msg": "Invalid symbol." }.
Messages below are defaults; a response may give a more specific reason. Check the current order, position or transfer status before retrying a failed or timed-out write.
| Error Code | HTTP Status | Meaning |
|---|---|---|
-1125 |
503 | We are currently under maintenance. Please try again after some time. |
-1404 |
404 | Endpoint disabled. |
-1000 |
500 | Request could not be processed. |
-1001 |
403 | Authentication credentials are required for this request. |
-1003 |
429 | Too many requests. |
-1009 |
500 | Route validation failed. |
-1010 |
400 | Request body must contain valid JSON. |
-1011 |
413 | Request body exceeds the allowed size. |
-1015 |
403 | IP address not allowed. |
-1021 |
400 | Timestamp for this request is outside the recvWindow. |
-1022 |
403 | Signature for this request is not valid. |
-1023 |
400 | recvWindow must be a positive number within the allowed maximum. |
-1102 |
400 | Order id is required. |
-1103 |
400 | Symbol parameter is required. |
-1104 |
400 | Limit must be a numeric value. |
-1105 |
400 | Limit is outside the allowed range. |
-1106 |
400 | Timestamp parameter is invalid. |
-1107 |
400 | Start time must be before end time and within the allowed window. |
-1108 |
400 | Status parameter is invalid. |
-1109 |
400 | Provided parameters cannot be used together. |
-1111 |
400 | Asset format is invalid. |
-1112 |
400 | Action parameter is invalid. |
-1113 |
400 | Order type parameter is invalid. |
-1114 |
400 | Price parameter is invalid. |
-1115 |
400 | Quantity parameter is invalid. |
-1116 |
400 | Stop price parameter is invalid. |
-1121 |
400 | Invalid symbol. |
-1122 |
400 | Invalid asset. |
-1123 |
400 | Symbol format is invalid. Expected format BASE/QUOTE. |
-1124 |
400 | Order id format is invalid. |
-2003 |
403 | Permission not granted for this action. |
-2004 |
403 | Unable to identify account for the provided API key. |
-2015 |
403 | Invalid API-key, IP, or permissions for action. |
-3000 |
500 | Authentication error. |
-4001 |
500 | Internal server error. |
-5001 |
500 | Unable to fetch ticker data. |
-5002 |
500 | Unable to fetch trades data. |
-5003 |
500 | Unable to fetch order book data. |
-5004 |
500 | Unable to fetch fees data. |
-5005 |
500 | Unable to fetch wallet data. |
-5006 |
500 | Unable to fetch crypto deposit data. |
-5007 |
500 | Unable to fetch crypto withdrawal data. |
-5008 |
500 | Unable to fetch fiat deposit data. |
-5009 |
500 | Unable to fetch fiat withdrawal data. |
-5010 |
500 | Unable to fetch open orders. |
-5011 |
500 | Unable to fetch spot trade history. |
-5012 |
500 | Unable to fetch simple buy/sell trade history. |
-5013 |
500 | Unable to create spot order. |
-5014 |
500 | Unable to cancel spot order |
-5015 |
500 | Unable to fetch market symbols. |
-5016 |
503 | Exchange information is temporarily unavailable. |
-5017 |
503 | Market data is temporarily unavailable. |
-5018 |
500 | Unable to retrieve funding history. |
-5019 |
500 | Unable to retrieve positions. |
-5020 |
400 | Leverage must be an integer between 1 and the contract maxLeverage, different from the current leverage. |
-5022 |
500 | Unable to confirm leverage adjustment. Check the position before retrying. |
-5024 |
404 | No active position exists for this symbol. |
-5025 |
400 | Action must be ADD or REMOVE. |
-5026 |
400 | Amount must be a positive decimal value. |
-5027 |
500 | Unable to confirm margin adjustment. Check the position before retrying. |
-5029 |
400 | Liquidation price must be a positive decimal value, different from the current liquidation price. |
-5030 |
500 | Unable to confirm liquidation price adjustment. Check the position before retrying. |
-5032 |
500 | Unable to retrieve position TP/SL instructions. |
-5033 |
400 | Provide at least one complete TP or SL price/quantity pair with positive decimal values. Bulk exitOrders are not supported. |
-5034 |
500 | Unable to confirm TP/SL creation. Check pending exits and order history before retrying. |
-5035 |
503 | The Futures account balance is temporarily unavailable. |
-5036 |
400 | Asset is not enabled for Futures wallet transfers. |
-5037 |
400 | Amount must be a positive decimal value. |
-5038 |
400 | Direction must be SPOT_TO_FUTURES or FUTURES_TO_SPOT. |
-5039 |
500 | Wallet transfer request could not be submitted. |
-5040 |
409 | The source wallet does not have enough available balance. |
-5041 |
500 | Unable to retrieve Futures user trades. |
-5042 |
400 | Type must be one of the supported transaction types. |
-5043 |
400 | fromTransactionId must be a positive transaction ID. |
-5044 |
500 | Unable to retrieve Futures transactions. |
-5045 |
400 | fromWalletTransactionId must be a positive wallet transaction ID. |
-5046 |
500 | Unable to retrieve Futures wallet history. |
-5047 |
404 | Futures order not found. |
-5048 |
500 | Unable to retrieve Futures orders. |
-5049 |
409 | Order is no longer eligible for cancellation. Fetch its current state. |
-5050 |
503 | Unable to confirm order cancellation. Fetch the order before retrying. |
-5051 |
400 | Invalid order fields. Provide one positive quantity or amount and the fields required for the selected order type. |
-5052 |
503 | Unable to confirm order creation. Check orders before retrying. |
-5054 |
400 | Page must be a positive integer within the supported pagination range. |
-5055 |
400 | A parameter is not supported by this Futures endpoint. |
-5056 |
400 | TP/SL price exceeds the configured decimal precision. |
-5057 |
400 | TP/SL quantity exceeds the configured decimal precision. |
-5058 |
409 | Order quantity exceeds the quantity available to reduce. |
-5059 |
400 | Confirmed Futures write rejection. The msg field explains the reason. |
Change log
- Introduced the Futures API for accessing market data, placing and cancelling orders, managing positions, and transferring funds between Spot and Futures wallets.
23rd June, 2026
- Updated
POST /api/v1/spot/order/createto supportMARKET,STOP_MARKET, andSTOP_LIMITorder types. - Added
stopPriceparameter toPOST /api/v1/spot/order/create. - Added
stopPricefield toGET /api/v1/spot/orders/openresponse forSTOP_MARKETandSTOP_LIMITorders. The field is omitted for all other order types. - Updated
POST /api/v1/spot/order/createresponse to return a success message instead of the order identifier due to asynchronous processing. - Updated
POST /api/v1/spot/order/canceldocumentation to clarify that order identifiers should be retrieved from open orders.