{ "info": { "name": "Futures (USDⓈ-M) REST API", "description": { "content": "Access market data, manage accounts, and trade USDⓈ-M perpetual futures.", "type": "text/markdown" }, "version": "1.0.0", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, "event": [ { "listen": "prerequest", "script": { "exec": [ "(async () => {", " const ts = Date.now();", " let queryParamsObject = {};", " let bodyParamsObject = {};", " const postmanEnvironment = pm.environment.get('environment');", " const api_key = pm.environment.get('api-key');", " const api_secret = pm.environment.get('api-secret');", " const parameters = pm.request.url.query;", " const body = pm.request.body;", "", " // set host based on env", " const normalizedEnvironment = String(postmanEnvironment || 'production').toLowerCase();", " const environmentUrlKeyMap = {", " production: 'prod_url',", " prod: 'prod_url',", " testnet: 'testnet_url',", " demo: 'demo_url'", " };", " const selectedUrlKey = environmentUrlKeyMap[normalizedEnvironment] || 'prod_url';", " const selectedUrl = pm.variables.get(selectedUrlKey) || pm.variables.get('prod_url');", "", " // set host based on env", " pm.request.url.host = [selectedUrl];", "", " // Collect query params", " parameters.each((param) => {", " if (param.key !== 'signature' && !is_empty(param.value) && !is_disabled(param.disabled)) {", " queryParamsObject[param.key] = param.value;", " }", " });", "", " // add timestamp", " Object.assign(queryParamsObject, { timestamp: ts });", "", " // Collect body params if urlencoded", " let hasUrlencodedBodyParams = false;", "", " if (body) {", " const contentTypeHeader = pm.request.headers.get('Content-Type') || pm.request.headers.get('content-type') || '';", " const isFormUrlencoded = contentTypeHeader.includes('application/x-www-form-urlencoded') || body.mode === 'urlencoded';", "", " if (isFormUrlencoded && body.urlencoded) {", " body.urlencoded.each((param) => {", " if (param.key !== 'signature' && !is_empty(param.value) && !is_disabled(param.disabled)) {", " bodyParamsObject[param.key] = param.value;", " hasUrlencodedBodyParams = true;", " }", " });", " }", " }", "", " // set api key", " setOrUpdateHeaderParam('X-MBX-APIKEY', api_key);", "", " // only sign if a signature param was declared and we have a secret", " if (parameters.has('signature') && api_secret) {", " // canonical query strings", " const queryStringForSign = buildQueryString(queryParamsObject);", " const bodyStringForSign = buildQueryString(bodyParamsObject);", " const totalParams = queryStringForSign + bodyStringForSign;", "", " const encoder = new TextEncoder();", " const keyData = encoder.encode(api_secret);", " const msgData = encoder.encode(totalParams);", "", " pm.request.url.query.clear();", "", " const cryptoKey = await crypto.subtle.importKey('raw', keyData, { name: 'HMAC', hash: 'SHA-256' }, false, ['sign']);", " const signatureBuffer = await crypto.subtle.sign('HMAC', cryptoKey, msgData);", "", " const signature = Array.from(new Uint8Array(signatureBuffer))", " .map((b) => b.toString(16).padStart(2, '0'))", " .join('');", "", " // update request", " const finalQueryParams = Object.assign({}, queryParamsObject, { signature });", " const finalQueryString = buildQueryString(finalQueryParams);", " pm.request.url.query = finalQueryString;", " }", "", " function buildQueryString(params) {", " if (!params) return '';", "", " const pairs = [];", " Object.entries(params).forEach(([key, value]) => {", " if (value !== null && value !== undefined) {", " const serializedValue = serializeValue(value);", " pairs.push(`${key}=${encodeURIComponent(serializedValue)}`);", " }", " });", "", " return pairs.join('&');", " }", "", " function serializeValue(value) {", " if (value === null || value === undefined) return '';", " if (Array.isArray(value) || (typeof value === 'object' && value !== null)) return JSON.stringify(value);", "", " return String(value);", " }", "", " function setOrUpdateHeaderParam(key, value) {", " let headers = pm.request.headers;", " let header = headers.find((header) => header.key === key);", " if (header) header.value = value;", " else pm.request.headers.add({ key, value });", " }", "", " function is_disabled(val) {", " return val === true;", " }", "", " function is_empty(str) {", " if (str === null || str === undefined) return true;", " if (typeof str === 'string') {", " return (", " !str ||", " str.length === 0 ||", " !/[^\\\\s]/.test(str) ||", " /^\\\\s*$/.test(str) ||", " str.replace(/\\\\s/g, '') === ''", " );", " }", " return false;", " }", "", "})().then(() => {", " if (typeof pm.done === 'function') pm.done();", "});" ], "type": "text/javascript" } } ], "item": [ { "name": "Market Data", "item": [ { "name": "Compressed/Aggregate Trades List", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/aggTrades", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "aggTrades" ], "variable": [], "query": [ { "key": "symbol", "value": "BTCUSDT", "description": "Symbol", "disabled": false }, { "key": "fromId", "value": "1", "description": "ID to get aggregate trades from INCLUSIVE.", "disabled": true }, { "key": "startTime", "value": "1623319461670", "description": "Timestamp in ms to get aggregate trades from INCLUSIVE.", "disabled": true }, { "key": "endTime", "value": "1641782889000", "description": "Timestamp in ms to get aggregate trades until INCLUSIVE.", "disabled": true }, { "key": "limit", "value": "50", "description": "", "disabled": true } ] } } }, { "name": "Multi-Assets Mode Asset Index", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/assetIndex", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "assetIndex" ], "variable": [], "query": [ { "key": "symbol", "value": "ADAUSD", "description": "Asset pair", "disabled": true } ] } } }, { "name": "Query Index Price Constituents", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/constituents", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "constituents" ], "variable": [], "query": [ { "key": "symbol", "value": "BTCUSDT", "description": "", "disabled": false } ] } } }, { "name": "Continuous Contract Kline/Candlestick Data", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/continuousKlines", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "continuousKlines" ], "variable": [], "query": [ { "key": "pair", "value": "BTCUSDT", "description": "After CM migration, accepts both UM and CM pair values.", "disabled": false }, { "key": "contractType", "value": "PERPETUAL", "description": "Futurestype", "disabled": false }, { "key": "interval", "value": "1s", "description": "", "disabled": false }, { "key": "startTime", "value": "1623319461670", "description": "Start time", "disabled": true }, { "key": "endTime", "value": "1641782889000", "description": "End time", "disabled": true }, { "key": "limit", "value": "50", "description": "", "disabled": true } ] } } }, { "name": "Order Book", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/depth", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "depth" ], "variable": [], "query": [ { "key": "symbol", "value": "BTCUSDT", "description": "", "disabled": false }, { "key": "limit", "value": "50", "description": "Valid limits:[5, 10, 20, 50, 100, 500, 1000]", "disabled": true } ] } } }, { "name": "Exchange Information", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/exchangeInfo", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "exchangeInfo" ], "variable": [], "query": [] } } }, { "name": "Get Funding Rate Info", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/fundingInfo", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "fundingInfo" ], "variable": [], "query": [] } } }, { "name": "Get Funding Rate History", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/fundingRate", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "fundingRate" ], "variable": [], "query": [ { "key": "symbol", "value": "BTCUSDT", "description": "", "disabled": true }, { "key": "startTime", "value": "1623319461670", "description": "Timestamp in ms to get funding rate from INCLUSIVE.", "disabled": true }, { "key": "endTime", "value": "1641782889000", "description": "Timestamp in ms to get funding rate until INCLUSIVE.", "disabled": true }, { "key": "limit", "value": "50", "description": "", "disabled": true } ] } } }, { "name": "Old Trades Lookup (MARKET_DATA)", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/historicalTrades", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "historicalTrades" ], "variable": [], "query": [ { "key": "symbol", "value": "BTCUSDT", "description": "", "disabled": false }, { "key": "limit", "value": "50", "description": "", "disabled": true }, { "key": "fromId", "value": "1", "description": "TradeId to fetch from. Default gets most recent trades.", "disabled": true } ] } } }, { "name": "Composite Index Symbol Information", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/indexInfo", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "indexInfo" ], "variable": [], "query": [ { "key": "symbol", "value": "DEFIUSDT", "description": "", "disabled": true } ] } } }, { "name": "Index Price Kline/Candlestick Data", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/indexPriceKlines", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "indexPriceKlines" ], "variable": [], "query": [ { "key": "pair", "value": "BTCUSDT", "description": "After CM migration, accepts both UM and CM pair values.", "disabled": false }, { "key": "interval", "value": "1m", "description": "", "disabled": false }, { "key": "startTime", "value": "1623319461670", "description": "Start time", "disabled": true }, { "key": "endTime", "value": "1641782889000", "description": "End time", "disabled": true }, { "key": "limit", "value": "50", "description": "", "disabled": true } ] } } }, { "name": "Query Insurance Fund Balance Snapshot", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/insuranceBalance", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "insuranceBalance" ], "variable": [], "query": [ { "key": "symbol", "value": "BNBUSDT", "description": "Symbol", "disabled": true } ] } } }, { "name": "Kline/Candlestick Data", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/klines", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "klines" ], "variable": [], "query": [ { "key": "symbol", "value": "BTCUSDT", "description": "After CM migration, accepts both UM and CM symbols.", "disabled": false }, { "key": "interval", "value": "1m", "description": "", "disabled": false }, { "key": "startTime", "value": "1623319461670", "description": "Start time", "disabled": true }, { "key": "endTime", "value": "1641782889000", "description": "End time", "disabled": true }, { "key": "limit", "value": "50", "description": "", "disabled": true } ] } } }, { "name": "Mark Price Kline/Candlestick Data", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/markPriceKlines", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "markPriceKlines" ], "variable": [], "query": [ { "key": "symbol", "value": "BTCUSDT", "description": "After CM migration, accepts both UM and CM symbols.", "disabled": false }, { "key": "interval", "value": "1m", "description": "", "disabled": false }, { "key": "startTime", "value": "1623319461670", "description": "Start time", "disabled": true }, { "key": "endTime", "value": "1641782889000", "description": "End time", "disabled": true }, { "key": "limit", "value": "50", "description": "", "disabled": true } ] } } }, { "name": "Open Interest", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/openInterest", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "openInterest" ], "variable": [], "query": [ { "key": "symbol", "value": "BTCUSDT", "description": "", "disabled": false } ] } } }, { "name": "Test Connectivity", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/ping", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "ping" ], "variable": [], "query": [] } } }, { "name": "Mark Price", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/premiumIndex", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "premiumIndex" ], "variable": [], "query": [ { "key": "symbol", "value": "BTCUSDT", "description": "", "disabled": true } ] } } }, { "name": "Premium index Kline Data", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/premiumIndexKlines", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "premiumIndexKlines" ], "variable": [], "query": [ { "key": "symbol", "value": "BTCUSDT", "description": "After CM migration, accepts both UM and CM symbols.", "disabled": false }, { "key": "interval", "value": "1m", "description": "", "disabled": false }, { "key": "startTime", "value": "1623319461670", "description": "Start time", "disabled": true }, { "key": "endTime", "value": "1641782889000", "description": "End time", "disabled": true }, { "key": "limit", "value": "50", "description": "", "disabled": true } ] } } }, { "name": "RPI Order Book", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/rpiDepth", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "rpiDepth" ], "variable": [], "query": [ { "key": "symbol", "value": "BTCUSDT", "description": "", "disabled": false }, { "key": "limit", "value": "1000", "description": "Valid limits:[1000]", "disabled": true } ] } } }, { "name": "ADL Risk", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/symbolAdlRisk", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "symbolAdlRisk" ], "variable": [], "query": [ { "key": "symbol", "value": "BTCUSDT", "description": "Symbol", "disabled": true } ] } } }, { "name": "24hr Ticker Price Change Statistics", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/ticker/24hr", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "ticker", "24hr" ], "variable": [], "query": [ { "key": "symbol", "value": "BTCUSDT", "description": "", "disabled": true } ] } } }, { "name": "Symbol Order Book Ticker", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/ticker/bookTicker", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "ticker", "bookTicker" ], "variable": [], "query": [ { "key": "symbol", "value": "BTCUSDT", "description": "", "disabled": true } ] } } }, { "name": "Symbol Price Ticker", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/ticker/price", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "ticker", "price" ], "variable": [], "query": [ { "key": "symbol", "value": "BTCUSDT", "description": "", "disabled": true } ] } } }, { "name": "Check Server Time", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/time", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "time" ], "variable": [], "query": [] } } }, { "name": "Recent Trades List", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/trades", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "trades" ], "variable": [], "query": [ { "key": "symbol", "value": "BTCUSDT", "description": "", "disabled": false }, { "key": "limit", "value": "50", "description": "", "disabled": true } ] } } }, { "name": "Trading Schedule", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/tradingSchedule", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "tradingSchedule" ], "variable": [], "query": [] } } }, { "name": "Symbol Price Ticker V2", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v2/ticker/price", "host": [ "{{url}}" ], "path": [ "fapi", "v2", "ticker", "price" ], "variable": [], "query": [ { "key": "symbol", "value": "BTCUSDT", "description": "", "disabled": true } ] } } }, { "name": "Basis", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/futures/data/basis", "host": [ "{{url}}" ], "path": [ "futures", "data", "basis" ], "variable": [], "query": [ { "key": "pair", "value": "BTCUSDT", "description": "", "disabled": false }, { "key": "contractType", "value": "PERPETUAL", "description": "", "disabled": false }, { "key": "period", "value": "5m", "description": "", "disabled": false }, { "key": "limit", "value": "30", "description": "", "disabled": true }, { "key": "startTime", "value": "1623319461670", "description": "", "disabled": true }, { "key": "endTime", "value": "1641782889000", "description": "", "disabled": true } ] } } }, { "name": "Quarterly Contract Settlement Price", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/futures/data/delivery-price", "host": [ "{{url}}" ], "path": [ "futures", "data", "delivery-price" ], "variable": [], "query": [ { "key": "pair", "value": "BTCUSDT", "description": "", "disabled": false } ] } } }, { "name": "Long/Short Ratio", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/futures/data/globalLongShortAccountRatio", "host": [ "{{url}}" ], "path": [ "futures", "data", "globalLongShortAccountRatio" ], "variable": [], "query": [ { "key": "symbol", "value": "BTCUSDT", "description": "", "disabled": false }, { "key": "period", "value": "5m", "description": "", "disabled": false }, { "key": "limit", "value": "50", "description": "", "disabled": true }, { "key": "startTime", "value": "1623319461670", "description": "", "disabled": true }, { "key": "endTime", "value": "1641782889000", "description": "", "disabled": true } ] } } }, { "name": "Open Interest Statistics", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/futures/data/openInterestHist", "host": [ "{{url}}" ], "path": [ "futures", "data", "openInterestHist" ], "variable": [], "query": [ { "key": "symbol", "value": "BTCUSDT", "description": "", "disabled": false }, { "key": "period", "value": "5m", "description": "", "disabled": false }, { "key": "limit", "value": "50", "description": "", "disabled": true }, { "key": "startTime", "value": "1623319461670", "description": "", "disabled": true }, { "key": "endTime", "value": "1641782889000", "description": "", "disabled": true } ] } } }, { "name": "Taker Buy/Sell Volume", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/futures/data/takerlongshortRatio", "host": [ "{{url}}" ], "path": [ "futures", "data", "takerlongshortRatio" ], "variable": [], "query": [ { "key": "symbol", "value": "BTCUSDT", "description": "", "disabled": false }, { "key": "period", "value": "5m", "description": "", "disabled": false }, { "key": "limit", "value": "50", "description": "", "disabled": true }, { "key": "startTime", "value": "1623319461670", "description": "", "disabled": true }, { "key": "endTime", "value": "1641782889000", "description": "", "disabled": true } ] } } }, { "name": "Top Trader Long/Short Account Ratio (MARKET_DATA)", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/futures/data/topLongShortAccountRatio", "host": [ "{{url}}" ], "path": [ "futures", "data", "topLongShortAccountRatio" ], "variable": [], "query": [ { "key": "symbol", "value": "BTCUSDT", "description": "", "disabled": false }, { "key": "period", "value": "5m", "description": "", "disabled": false }, { "key": "limit", "value": "50", "description": "", "disabled": true }, { "key": "startTime", "value": "1623319461670", "description": "", "disabled": true }, { "key": "endTime", "value": "1641782889000", "description": "", "disabled": true } ] } } }, { "name": "Top Trader Long/Short Position Ratio (MARKET_DATA)", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/futures/data/topLongShortPositionRatio", "host": [ "{{url}}" ], "path": [ "futures", "data", "topLongShortPositionRatio" ], "variable": [], "query": [ { "key": "symbol", "value": "BTCUSDT", "description": "", "disabled": false }, { "key": "period", "value": "5m", "description": "", "disabled": false }, { "key": "limit", "value": "50", "description": "", "disabled": true }, { "key": "startTime", "value": "1623319461670", "description": "", "disabled": true }, { "key": "endTime", "value": "1641782889000", "description": "", "disabled": true } ] } } } ] }, { "name": "Trade", "item": [ { "name": "Position ADL Quantile Estimation (USER_DATA)", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/adlQuantile", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "adlQuantile" ], "variable": [], "query": [ { "key": "symbol", "value": "BTCUSDT", "description": "", "disabled": true }, { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "Cancel All Algo Open Orders (TRADE)", "request": { "method": "DELETE", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/algoOpenOrders", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "algoOpenOrders" ], "variable": [], "query": [ { "key": "symbol", "value": "BTCUSDT", "description": "", "disabled": false }, { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "Cancel Algo Order (TRADE)", "request": { "method": "DELETE", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/algoOrder", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "algoOrder" ], "variable": [], "query": [ { "key": "algoId", "value": "2146760", "description": "", "disabled": true }, { "key": "clientAlgoId", "value": "6B2I9XVcJpCjqPAJ4YoFX7", "description": "", "disabled": true }, { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "New Algo Order (TRADE)", "request": { "method": "POST", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/algoOrder", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "algoOrder" ], "variable": [], "query": [ { "key": "algoType", "value": "CONDITIONAL", "description": "", "disabled": false }, { "key": "symbol", "value": "BNBUSDT", "description": "", "disabled": false }, { "key": "side", "value": "BUY", "description": "", "disabled": false }, { "key": "positionSide", "value": "BOTH", "description": "Default `BOTH` for One-way Mode ; `LONG` or `SHORT` for Hedge Mode. It must be sent in Hedge Mode.", "disabled": true }, { "key": "type", "value": "LIMIT", "description": "", "disabled": false }, { "key": "timeInForce", "value": "GTC", "description": "", "disabled": true }, { "key": "quantity", "value": "1.0", "description": "Cannot be sent with `closePosition`=`true`(Close-All)", "disabled": true }, { "key": "price", "value": "1.0", "description": "", "disabled": true }, { "key": "triggerPrice", "value": "1.0", "description": "Trigger price", "disabled": true }, { "key": "workingType", "value": "MARK_PRICE", "description": "", "disabled": true }, { "key": "priceMatch", "value": "OPPONENT", "description": "only avaliable for `LIMIT`/`STOP`/`TAKE_PROFIT` order; Can't be passed together with `price`", "disabled": true }, { "key": "closePosition", "value": "true", "description": "Close-All,used with `STOP_MARKET` or `TAKE_PROFIT_MARKET`.", "disabled": true }, { "key": "priceProtect", "value": "true", "description": "Used with `STOP_MARKET` or `TAKE_PROFIT_MARKET` order. when price reaches the triggerPrice ,the difference rate between \"MARK_PRICE\" and \"CONTRACT_PRICE\" cannot be larger than the Price Protection Threshold of the symbol.'", "disabled": true }, { "key": "reduceOnly", "value": "true", "description": "Cannot be sent in Hedge Mode; cannot be sent with `closePosition`=`true`'", "disabled": true }, { "key": "activatePrice", "value": "1.0", "description": "Used with `TRAILING_STOP_MARKET` orders, default as the latest price(supporting different `workingType`)", "disabled": true }, { "key": "callbackRate", "value": "1", "description": "Used with `TRAILING_STOP_MARKET` orders", "disabled": true }, { "key": "clientAlgoId", "value": "1", "description": "A unique id among open orders. Automatically generated if not sent. Can only be string following the rule: `^[\\.A-Z\\:/a-z0-9_-]{1,36}$`", "disabled": true }, { "key": "newOrderRespType", "value": "ACK", "description": "", "disabled": true }, { "key": "selfTradePreventionMode", "value": "NONE", "description": "`EXPIRE_TAKER`: expire taker order when STP triggers / `EXPIRE_MAKER`: expire taker order when STP triggers/ `EXPIRE_BOTH`: expire both orders when STP triggers; default `NONE`", "disabled": true }, { "key": "goodTillDate", "value": "1770736694138", "description": "order cancel time for timeInForce `GTD`, mandatory when `timeInforce` set to `GTD`; order the timestamp only retains second-level precision, ms part will be ignored; The goodTillDate timestamp must be greater than the current time plus 600 seconds and smaller than 253402300799000", "disabled": true }, { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "Query Algo Order (USER_DATA)", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/algoOrder", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "algoOrder" ], "variable": [], "query": [ { "key": "algoId", "value": "1", "description": "Order ID", "disabled": true }, { "key": "clientAlgoId", "value": "1", "description": "Client order ID", "disabled": true }, { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "Query All Algo Orders (USER_DATA)", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/allAlgoOrders", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "allAlgoOrders" ], "variable": [], "query": [ { "key": "symbol", "value": "BTCUSDT", "description": "Symbol", "disabled": false }, { "key": "algoId", "value": "2146760", "description": "", "disabled": true }, { "key": "startTime", "value": "1623319461670", "description": "", "disabled": true }, { "key": "endTime", "value": "1641782889000", "description": "", "disabled": true }, { "key": "limit", "value": "50", "description": "", "disabled": true }, { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "Cancel All Open Orders (TRADE)", "request": { "method": "DELETE", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/allOpenOrders", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "allOpenOrders" ], "variable": [], "query": [ { "key": "symbol", "value": "BTCUSDT", "description": "", "disabled": false }, { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "All Orders (USER_DATA)", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/allOrders", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "allOrders" ], "variable": [], "query": [ { "key": "symbol", "value": "BTCUSDT", "description": "", "disabled": true }, { "key": "orderId", "value": "1917641", "description": "", "disabled": true }, { "key": "startTime", "value": "1623319461670", "description": "Start time", "disabled": true }, { "key": "endTime", "value": "1641782889000", "description": "End time", "disabled": true }, { "key": "limit", "value": "50", "description": "", "disabled": true }, { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "Cancel Multiple Orders (TRADE)", "request": { "method": "DELETE", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/batchOrders", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "batchOrders" ], "variable": [], "query": [ { "key": "symbol", "value": "BTCUSDT", "description": "", "disabled": false }, { "key": "orderIdList", "value": "[1234567]", "description": "", "disabled": true }, { "key": "origClientOrderIdList", "value": "["my_id_1"]", "description": "", "disabled": true }, { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "Modify Multiple Orders (TRADE)", "request": { "method": "PUT", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/batchOrders", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "batchOrders" ], "variable": [], "query": [ { "key": "batchOrders", "value": "[]", "description": "order list. Max 5 orders", "disabled": false }, { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "Place Multiple Orders (TRADE)", "request": { "method": "POST", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/batchOrders", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "batchOrders" ], "variable": [], "query": [ { "key": "batchOrders", "value": "[]", "description": "order list. Max 5 orders", "disabled": false }, { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "Auto-Cancel All Open Orders (TRADE)", "request": { "method": "POST", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/countdownCancelAll", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "countdownCancelAll" ], "variable": [], "query": [ { "key": "symbol", "value": "BTCUSDT", "description": "", "disabled": false }, { "key": "countdownTime", "value": "1000", "description": "Countdown in milliseconds. `1000` means 1 second; `0` disables countdown cancel-all.", "disabled": false }, { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "User's Force Orders (USER_DATA)", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/forceOrders", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "forceOrders" ], "variable": [], "query": [ { "key": "symbol", "value": "BTCUSDT", "description": "", "disabled": true }, { "key": "autoCloseType", "value": "LIQUIDATION", "description": "\"LIQUIDATION\" for liquidation orders, \"ADL\" for ADL orders.", "disabled": true }, { "key": "startTime", "value": "1623319461670", "description": "", "disabled": true }, { "key": "endTime", "value": "1641782889000", "description": "", "disabled": true }, { "key": "limit", "value": "50", "description": "", "disabled": true }, { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "Change Initial Leverage (TRADE)", "request": { "method": "POST", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/leverage", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "leverage" ], "variable": [], "query": [ { "key": "symbol", "value": "BTCUSDT", "description": "", "disabled": false }, { "key": "leverage", "value": "1", "description": "Target initial leverage. The maximum is symbol-specific: use `initialLeverage` of bracket 1 from `GET /fapi/v1/leverageBracket`.", "disabled": false }, { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "Change Margin Type (TRADE)", "request": { "method": "POST", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/marginType", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "marginType" ], "variable": [], "query": [ { "key": "symbol", "value": "BTCUSDT", "description": "", "disabled": false }, { "key": "marginType", "value": "ISOLATED", "description": "", "disabled": false }, { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "Change Multi-Assets Mode (TRADE)", "request": { "method": "POST", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/multiAssetsMargin", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "multiAssetsMargin" ], "variable": [], "query": [ { "key": "multiAssetsMargin", "value": "true", "description": "\"true\": Multi-Assets Mode; \"false\": Single-Asset Mode", "disabled": false }, { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "Current All Algo Open Orders (USER_DATA)", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/openAlgoOrders", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "openAlgoOrders" ], "variable": [], "query": [ { "key": "algoType", "value": "CONDITIONAL", "description": "", "disabled": true }, { "key": "symbol", "value": "BTCUSDT", "description": "", "disabled": true }, { "key": "algoId", "value": "2148627", "description": "", "disabled": true }, { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "Query Current Open Order (USER_DATA)", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/openOrder", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "openOrder" ], "variable": [], "query": [ { "key": "symbol", "value": "BTCUSDT", "description": "", "disabled": false }, { "key": "orderId", "value": "1917641", "description": "", "disabled": true }, { "key": "origClientOrderId", "value": "abc", "description": "", "disabled": true }, { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "Current All Open Orders (USER_DATA)", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/openOrders", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "openOrders" ], "variable": [], "query": [ { "key": "symbol", "value": "BTCUSDT", "description": "", "disabled": true }, { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "Cancel Order (TRADE)", "request": { "method": "DELETE", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/order", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "order" ], "variable": [], "query": [ { "key": "symbol", "value": "BTCUSDT", "description": "", "disabled": false }, { "key": "orderId", "value": "283194212", "description": "", "disabled": true }, { "key": "origClientOrderId", "value": "myOrder1", "description": "", "disabled": true }, { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "Modify Order (TRADE)", "request": { "method": "PUT", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/order", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "order" ], "variable": [], "query": [ { "key": "orderId", "value": "20072994037", "description": "", "disabled": true }, { "key": "origClientOrderId", "value": "LJ9R4QZDihCaS8UAOOLpgW", "description": "", "disabled": true }, { "key": "symbol", "value": "BTCUSDT", "description": "", "disabled": false }, { "key": "side", "value": "BUY", "description": "", "disabled": false }, { "key": "quantity", "value": "1.0", "description": "Order quantity, cannot be sent with `closePosition=true`", "disabled": false }, { "key": "price", "value": "30005", "description": "", "disabled": false }, { "key": "priceMatch", "value": "OPPONENT", "description": "only avaliable for `LIMIT`/`STOP`/`TAKE_PROFIT` order; Can't be passed together with `price`", "disabled": true }, { "key": "modifyId", "value": "1", "description": "User-defined modification identifier, returned as-is in the response. Optional; not validated for uniqueness.", "disabled": true }, { "key": "reduceOnly", "value": "true", "description": "See notes below for behavior.", "disabled": true }, { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "New Order (TRADE)", "request": { "method": "POST", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/order", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "order" ], "variable": [], "query": [ { "key": "symbol", "value": "BTCUSDT", "description": "", "disabled": false }, { "key": "side", "value": "BUY", "description": "", "disabled": false }, { "key": "positionSide", "value": "BOTH", "description": "Default `BOTH` for One-way Mode ; `LONG` or `SHORT` for Hedge Mode. It must be sent in Hedge Mode.", "disabled": true }, { "key": "type", "value": "LIMIT", "description": "Order type", "disabled": false }, { "key": "timeInForce", "value": "GTC", "description": "", "disabled": true }, { "key": "reduceOnly", "value": "true", "description": "Cannot be sent in Hedge Mode", "disabled": true }, { "key": "quantity", "value": "1.0", "description": "", "disabled": true }, { "key": "price", "value": "1.0", "description": "", "disabled": true }, { "key": "newClientOrderId", "value": "1", "description": "A unique id among open orders. Automatically generated if not sent. Can only be string following the rule: `^[\\.A-Z\\:/a-z0-9_-]{1,36}$`", "disabled": true }, { "key": "newOrderRespType", "value": "ACK", "description": "", "disabled": true }, { "key": "priceMatch", "value": "OPPONENT", "description": "only avaliable for `LIMIT`/`STOP`/`TAKE_PROFIT` order; Can't be passed together with `price`", "disabled": true }, { "key": "selfTradePreventionMode", "value": "EXPIRE_TAKER", "description": "`EXPIRE_TAKER`: expire taker order when STP triggers/ `EXPIRE_MAKER`: expire taker order when STP triggers/ `EXPIRE_BOTH`: expire both orders when STP triggers; default `EXPIRE_MAKER`", "disabled": true }, { "key": "goodTillDate", "value": "1770736694138", "description": "order cancel time for timeInForce `GTD`, mandatory when `timeInforce` set to `GTD`; order the timestamp only retains second-level precision, ms part will be ignored; The goodTillDate timestamp must be greater than the current time plus 600 seconds and smaller than 253402300799000", "disabled": true }, { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "Query Order (USER_DATA)", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/order", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "order" ], "variable": [], "query": [ { "key": "symbol", "value": "BTCUSDT", "description": "", "disabled": false }, { "key": "orderId", "value": "1917641", "description": "", "disabled": true }, { "key": "origClientOrderId", "value": "abc", "description": "", "disabled": true }, { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "Test Order (TRADE)", "request": { "method": "POST", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/order/test", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "order", "test" ], "variable": [], "query": [ { "key": "symbol", "value": "BTCUSDT", "description": "", "disabled": false }, { "key": "side", "value": "BUY", "description": "", "disabled": false }, { "key": "positionSide", "value": "BOTH", "description": "Default `BOTH` for One-way Mode ; `LONG` or `SHORT` for Hedge Mode. It must be sent in Hedge Mode.", "disabled": true }, { "key": "type", "value": "LIMIT", "description": "", "disabled": false }, { "key": "reduceOnly", "value": "true", "description": "Cannot be sent in Hedge Mode; cannot be sent with `closePosition`=`true`", "disabled": true }, { "key": "quantity", "value": "1.0", "description": "Cannot be sent with `closePosition`=`true`(Close-All)", "disabled": true }, { "key": "price", "value": "1.0", "description": "", "disabled": true }, { "key": "newClientOrderId", "value": "1", "description": "A unique id among open orders. Automatically generated if not sent. Can only be string following the rule: `^[\\.A-Z\\:/a-z0-9_-]{1,36}$`", "disabled": true }, { "key": "stopPrice", "value": "1.0", "description": "Used with `STOP/STOP_MARKET` or `TAKE_PROFIT/TAKE_PROFIT_MARKET` orders.", "disabled": true }, { "key": "closePosition", "value": "true", "description": "Close-All,used with `STOP_MARKET` or `TAKE_PROFIT_MARKET`.\"", "disabled": true }, { "key": "activationPrice", "value": "1.0", "description": "Used with `TRAILING_STOP_MARKET` orders, default as the latest price(supporting different `workingType`)", "disabled": true }, { "key": "callbackRate", "value": "1", "description": "Used with `TRAILING_STOP_MARKET` orders", "disabled": true }, { "key": "timeInForce", "value": "GTC", "description": "", "disabled": true }, { "key": "workingType", "value": "MARK_PRICE", "description": "", "disabled": true }, { "key": "priceProtect", "value": "true", "description": "", "disabled": true }, { "key": "newOrderRespType", "value": "ACK", "description": "", "disabled": true }, { "key": "priceMatch", "value": "OPPONENT", "description": "only avaliable for `LIMIT`/`STOP`/`TAKE_PROFIT` order; Can't be passed together with `price`", "disabled": true }, { "key": "selfTradePreventionMode", "value": "NONE", "description": "`NONE`: No STP / `EXPIRE_TAKER`: expire taker order when STP triggers/ `EXPIRE_MAKER`: expire taker order when STP triggers/ `EXPIRE_BOTH`: expire both orders when STP triggers; default `NONE`", "disabled": true }, { "key": "goodTillDate", "value": "1770736694138", "description": "order cancel time for timeInForce `GTD`, mandatory when `timeInforce` set to `GTD`; order the timestamp only retains second-level precision, ms part will be ignored; The goodTillDate timestamp must be greater than the current time plus 600 seconds and smaller than 253402300799000", "disabled": true }, { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "Get Order Modify History (USER_DATA)", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/orderAmendment", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "orderAmendment" ], "variable": [], "query": [ { "key": "symbol", "value": "BTCUSDT", "description": "", "disabled": false }, { "key": "orderId", "value": "20072994037", "description": "", "disabled": true }, { "key": "origClientOrderId", "value": "LJ9R4QZDihCaS8UAOOLpgW", "description": "", "disabled": true }, { "key": "startTime", "value": "1623319461670", "description": "Timestamp in ms to get modification history from INCLUSIVE", "disabled": true }, { "key": "endTime", "value": "1641782889000", "description": "Timestamp in ms to get modification history until INCLUSIVE", "disabled": true }, { "key": "limit", "value": "50", "description": "", "disabled": true }, { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "Modify Isolated Position Margin (TRADE)", "request": { "method": "POST", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/positionMargin", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "positionMargin" ], "variable": [], "query": [ { "key": "symbol", "value": "BTCUSDT", "description": "", "disabled": false }, { "key": "positionSide", "value": "BOTH", "description": "Default `BOTH` for One-way Mode ; `LONG` or `SHORT` for Hedge Mode. It must be sent with Hedge Mode.", "disabled": true }, { "key": "amount", "value": "1.0", "description": "Margin asset", "disabled": false }, { "key": "type", "value": "1", "description": "1: Add position margin,2: Reduce position margin", "disabled": false }, { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "Get Position Margin Change History (TRADE)", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/positionMargin/history", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "positionMargin", "history" ], "variable": [], "query": [ { "key": "symbol", "value": "BTCUSDT", "description": "", "disabled": false }, { "key": "type", "value": "1", "description": "1: Add position margin,2: Reduce position margin", "disabled": true }, { "key": "startTime", "value": "1623319461670", "description": "Start time", "disabled": true }, { "key": "endTime", "value": "1641782889000", "description": "time if not pass", "disabled": true }, { "key": "limit", "value": "50", "description": "", "disabled": true }, { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "Change Position Mode (TRADE)", "request": { "method": "POST", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/positionSide/dual", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "positionSide", "dual" ], "variable": [], "query": [ { "key": "dualSidePosition", "value": "true", "description": "\"true\": Hedge Mode; \"false\": One-way Mode", "disabled": false }, { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "Futures TradFi Perps Contract (USER_DATA)", "request": { "method": "POST", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/stock/contract", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "stock", "contract" ], "variable": [], "query": [ { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "Account Trade List (USER_DATA)", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/userTrades", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "userTrades" ], "variable": [], "query": [ { "key": "symbol", "value": "BTCUSDT", "description": "", "disabled": false }, { "key": "orderId", "value": "25851813", "description": "Must be used together with parameter `symbol`.", "disabled": true }, { "key": "startTime", "value": "1623319461670", "description": "Start time", "disabled": true }, { "key": "endTime", "value": "1641782889000", "description": "End time", "disabled": true }, { "key": "fromId", "value": "1", "description": "Trade id to fetch from. Default gets most recent trades.", "disabled": true }, { "key": "limit", "value": "50", "description": "", "disabled": true }, { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "Position Information V2 (USER_DATA)", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v2/positionRisk", "host": [ "{{url}}" ], "path": [ "fapi", "v2", "positionRisk" ], "variable": [], "query": [ { "key": "symbol", "value": "BTCUSDT", "description": "", "disabled": true }, { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "Position Information V3 (USER_DATA)", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v3/positionRisk", "host": [ "{{url}}" ], "path": [ "fapi", "v3", "positionRisk" ], "variable": [], "query": [ { "key": "symbol", "value": "BTCUSDT", "description": "", "disabled": true }, { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } } ] }, { "name": "Portfolio Margin Endpoints", "item": [ { "name": "Classic Portfolio Margin Account Information (USER_DATA)", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/pmAccountInfo", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "pmAccountInfo" ], "variable": [], "query": [ { "key": "asset", "value": "BTC", "description": "", "disabled": false }, { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } } ] }, { "name": "User Data Streams", "item": [ { "name": "Close User Data Stream (USER_STREAM)", "request": { "method": "DELETE", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/listenKey", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "listenKey" ], "variable": [], "query": [] } } }, { "name": "Keepalive User Data Stream (USER_STREAM)", "request": { "method": "PUT", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/listenKey", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "listenKey" ], "variable": [], "query": [] } } }, { "name": "Start User Data Stream (USER_STREAM)", "request": { "method": "POST", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/listenKey", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "listenKey" ], "variable": [], "query": [] } } } ] }, { "name": "Convert", "item": [ { "name": "Accept the offered quote (USER_DATA)", "request": { "method": "POST", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/convert/acceptQuote", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "convert", "acceptQuote" ], "variable": [], "query": [ { "key": "quoteId", "value": "1", "description": "", "disabled": false }, { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "List All Convert Pairs", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/convert/exchangeInfo", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "convert", "exchangeInfo" ], "variable": [], "query": [ { "key": "fromAsset", "value": "BTC", "description": "User spends coin", "disabled": true }, { "key": "toAsset", "value": "USDT", "description": "User receives coin", "disabled": true } ] } } }, { "name": "Send Quote Request (USER_DATA)", "request": { "method": "POST", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/convert/getQuote", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "convert", "getQuote" ], "variable": [], "query": [ { "key": "fromAsset", "value": "BTC", "description": "", "disabled": false }, { "key": "toAsset", "value": "USDT", "description": "", "disabled": false }, { "key": "fromAmount", "value": "1.0", "description": "When specified, it is the amount you will be debited after the conversion", "disabled": true }, { "key": "toAmount", "value": "1.0", "description": "When specified, it is the amount you will be credited after the conversion", "disabled": true }, { "key": "validTime", "value": "10s", "description": "10s, default 10s", "disabled": true }, { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "Order status (USER_DATA)", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/convert/orderStatus", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "convert", "orderStatus" ], "variable": [], "query": [ { "key": "orderId", "value": "933256278426274400", "description": "Either orderId or quoteId is required", "disabled": true }, { "key": "quoteId", "value": "1", "description": "Either orderId or quoteId is required", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } } ] }, { "name": "Account", "item": [ { "name": "Futures Account Configuration (USER_DATA)", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/accountConfig", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "accountConfig" ], "variable": [], "query": [ { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "Futures Trading Quantitative Rules Indicators (USER_DATA)", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/apiTradingStatus", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "apiTradingStatus" ], "variable": [], "query": [ { "key": "symbol", "value": "BTCUSDT", "description": "", "disabled": true }, { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "User Commission Rate (USER_DATA)", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/commissionRate", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "commissionRate" ], "variable": [], "query": [ { "key": "symbol", "value": "BTCUSDT", "description": "Symbol", "disabled": false }, { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "Get BNB Burn Status (USER_DATA)", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/feeBurn", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "feeBurn" ], "variable": [], "query": [ { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "Toggle BNB Burn On Futures Trade (TRADE)", "request": { "method": "POST", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/feeBurn", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "feeBurn" ], "variable": [], "query": [ { "key": "feeBurn", "value": "true", "description": "\"true\": Fee Discount On; \"false\": Fee Discount Off", "disabled": false }, { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "Get Income History (USER_DATA)", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/income", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "income" ], "variable": [], "query": [ { "key": "symbol", "value": "BTCUSDT", "description": "Trading symbol.", "disabled": true }, { "key": "incomeType", "value": "TRANSFER", "description": "Income type.", "disabled": true }, { "key": "startTime", "value": "1623319461670", "description": "Timestamp in milliseconds (inclusive start).", "disabled": true }, { "key": "endTime", "value": "1641782889000", "description": "Timestamp in milliseconds (inclusive end).", "disabled": true }, { "key": "limit", "value": "30", "description": "Maximum number of records to return.", "disabled": true }, { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "Get Download Id For Futures Transaction History (USER_DATA)", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/income/asyn", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "income", "asyn" ], "variable": [], "query": [ { "key": "startTime", "value": "1623319461670", "description": "Timestamp in ms", "disabled": false }, { "key": "endTime", "value": "1641782889000", "description": "Timestamp in ms", "disabled": false }, { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "Get Futures Transaction History Download Link by Id (USER_DATA)", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/income/asyn/id", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "income", "asyn", "id" ], "variable": [], "query": [ { "key": "downloadId", "value": "545923594199212032", "description": "get by download id api", "disabled": false }, { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "Notional and Leverage Brackets (USER_DATA)", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/leverageBracket", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "leverageBracket" ], "variable": [], "query": [ { "key": "symbol", "value": "ETHUSDT", "description": "", "disabled": true }, { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "Get Current Multi-Assets Mode (USER_DATA)", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/multiAssetsMargin", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "multiAssetsMargin" ], "variable": [], "query": [ { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "Get Download Id For Futures Order History (USER_DATA)", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/order/asyn", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "order", "asyn" ], "variable": [], "query": [ { "key": "startTime", "value": "1623319461670", "description": "Timestamp in ms", "disabled": false }, { "key": "endTime", "value": "1641782889000", "description": "Timestamp in ms", "disabled": false }, { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "Get Futures Order History Download Link by Id (USER_DATA)", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/order/asyn/id", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "order", "asyn", "id" ], "variable": [], "query": [ { "key": "downloadId", "value": "545923594199212032", "description": "get by download id api", "disabled": false }, { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "Get Current Position Mode (USER_DATA)", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/positionSide/dual", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "positionSide", "dual" ], "variable": [], "query": [ { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "Query User Rate Limit (USER_DATA)", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/rateLimit/order", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "rateLimit", "order" ], "variable": [], "query": [ { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "Symbol Configuration (USER_DATA)", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/symbolConfig", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "symbolConfig" ], "variable": [], "query": [ { "key": "symbol", "value": "BTCUSDT", "description": "Symbol", "disabled": true }, { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "Get Download Id For Futures Trade History (USER_DATA)", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/trade/asyn", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "trade", "asyn" ], "variable": [], "query": [ { "key": "startTime", "value": "1623319461670", "description": "Timestamp in ms", "disabled": false }, { "key": "endTime", "value": "1641782889000", "description": "Timestamp in ms", "disabled": false }, { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "Get Futures Trade Download Link by Id (USER_DATA)", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v1/trade/asyn/id", "host": [ "{{url}}" ], "path": [ "fapi", "v1", "trade", "asyn", "id" ], "variable": [], "query": [ { "key": "downloadId", "value": "545923594199212032", "description": "get by download id api", "disabled": false }, { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "Account Information V2 (USER_DATA)", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v2/account", "host": [ "{{url}}" ], "path": [ "fapi", "v2", "account" ], "variable": [], "query": [ { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "Futures Account Balance V2 (USER_DATA)", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v2/balance", "host": [ "{{url}}" ], "path": [ "fapi", "v2", "balance" ], "variable": [], "query": [ { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "Account Information V3 (USER_DATA)", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v3/account", "host": [ "{{url}}" ], "path": [ "fapi", "v3", "account" ], "variable": [], "query": [ { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } }, { "name": "Futures Account Balance V3 (USER_DATA)", "request": { "method": "GET", "header": [ { "key": "X-MBX-APIKEY", "value": "", "description": "API KEY", "disabled": false }, { "key": "Accept", "value": "application/json", "description": "", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [] }, "url": { "raw": "{{url}}/fapi/v3/balance", "host": [ "{{url}}" ], "path": [ "fapi", "v3", "balance" ], "variable": [], "query": [ { "key": "recvWindow", "value": "5000", "description": "", "disabled": true }, { "key": "timestamp", "value": "", "description": "UTC timestamp in ms", "disabled": false }, { "key": "signature", "value": "", "description": "Signature", "disabled": false } ] } } } ] } ], "variable": [ { "key": "prod_url", "value": "https://fapi.binance.com", "type": "string" }, { "key": "testnet_url", "value": "https://testnet.binancefuture.com", "type": "string" }, { "key": "demo_url", "value": "https://demo-fapi.binance.com", "type": "string" } ] }