{"info":{"_postman_id":"44867d20-3d60-4819-bf44-d76197a36f76","name":"VALR API","description":"<html><head></head><body><p>VALR provides a powerful API consisting of REST endpoints for transactional operations and a complementary WebSocket service providing streaming market, order, and balance updates.</p>\n<p>Access to and use of the API is governed by our <a href=\"https://support.valr.com/hc/en-us/articles/360019021931-Terms-of-Service\">Terms of Service</a>.</p>\n<p>If you have any API questions, feedback, or recommendations please post a question via our <a href=\"https://support.valr.com/\">support center</a>.</p>\n<p>With our API, you can:</p>\n<ul>\n<li><p>Access current and historic market data</p>\n</li>\n<li><p>Submit trade orders</p>\n</li>\n<li><p>Buy and sell over 60 cryptocurrencies</p>\n</li>\n<li><p>Withdraw cryptocurrencies from your wallets</p>\n</li>\n<li><p>Withdraw fiat from your VALR wallet</p>\n</li>\n</ul>\n<h1 id=\"getting-started\">Getting started</h1>\n<hr>\n<p>Keep the following in mind when developing against the VALR API:</p>\n<ul>\n<li><p>Enable 2FA on your account. API Keys cannot be generated unless 2FA is enabled.</p>\n</li>\n<li><p>All REST requests must be sent using the <code>application/json</code> content-type. Non-HTTPS requests are not allowed.</p>\n</li>\n<li><p>All REST requests will result in HTTP response codes in the range 200-299, unless there is a server or infrastructure error. The API result will be wrapped in a JSON Result object.</p>\n</li>\n<li><p>Receiving a response with an ID does not necessarily mean the order has been placed. If the response status is 202 Accepted, check the order status using either the Order Status REST API or the WebSocket API for real-time updates.</p>\n</li>\n<li><p>Requests that are made to the Authenticated API without an API key will be rejected with an HTTP response code <code>403</code>.</p>\n</li>\n<li><p>Any <code>POST</code>, <code>PUT</code> or <code>PATCH</code> HTTP request that is made without the <code>content-type: application/json</code> header will be rejected with an HTTP response code <code>403</code>.</p>\n</li>\n</ul>\n<h1 id=\"ai-agent-skill\">AI Agent Skill</h1>\n<p>Our <a href=\"https://github.com/valrdotcom/valr-agent-skills\">AI Agent skill</a> gives AI coding agents the context and tools to interact with the VALR API — no prior knowledge of VALR's authentication scheme or endpoints required. It works with any agent that supports the <a href=\"https://agentskills.io\">Agent Skills</a> specification, including <a href=\"https://openclaw.ai/\">OpenClaw</a>, <a href=\"https://claude.com/product/claude-code\">Claude Code</a>, and others.</p>\n<h1 id=\"ai-support\">AI Support</h1>\n<img src=\"https://content.pstmn.io/369aa252-eff4-4c40-9a96-228e06b703e5/YXNrLWFpLnBuZw==\">\n\n<p>To explore our docs with AI support, <a href=\"https://support.valr.com/hc/en-us?askai=true\"><b>CLICK HERE</b></a>.</p>\n<h1 id=\"authentication\">Authentication</h1>\n<hr>\n<h2 id=\"api-keys\">API Keys</h2>\n<p>Authenticating to the VALR API requires a valid API Key. API Keys have scoped permissions:</p>\n<ul>\n<li><p><strong>View access</strong> - This option grants the API Key permission only to view balances, orders, and other details of the account.</p>\n</li>\n<li><p><strong>Trade</strong> - This option grants the API Key permission to place buy and sell orders.</p>\n</li>\n<li><p><strong>Transfer</strong> - This option grants the API Key permission to transfer funds between primary and subaccounts.</p>\n</li>\n<li><p><strong>Withdraw</strong> - This option grants the API Key permission to programatically withdraw a currency to an address or a bank account you provide.</p>\n</li>\n<li><p><strong>Link Bank Account</strong> - This option grants the API Key permission to programmatically link bank accounts for fiat deposits and withdrawals.</p>\n</li>\n</ul>\n<p>If you have enabled 2FA you can view existing API Keys or generate new API Keys with the appropriate permissions. Find the <code>API Keys</code> in the account drop-down menu. We strongly recommend minimizing the scope of any given API key to limit the impact of a compromised key/secret pair.</p>\n<p>The generated API Key and the corresponding secret are each 64-character long and are made up of numbers and letters. An API Key/API Secret will look similar to the example provided below:</p>\n<p>Example API Key/API Secret: <code>b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33</code></p>\n<h3 id=\"notes-on-security-secure-your-api-keys-and-api-secrets\">Notes on security: Secure your API Keys and API Secrets</h3>\n<p>Your API Key identifies your account (think of it as a username) and the API Secret authenticates your account (think of it as a password). Please follow the instructions below to secure your API Key and API Secret:</p>\n<ul>\n<li><p>Do not send your API Secret with your API requests. Only send the API Key.</p>\n</li>\n<li><p>Do not share your API Secret or the API Key with anyone.</p>\n</li>\n<li><p>Do not commit your API Secret into source control systems like github.</p>\n</li>\n<li><p>If you lose your API Key or Secret, immediately delete it from your Setting page.</p>\n</li>\n</ul>\n<p>Please take note that if your API Secret is compromised, your funds are at risk.</p>\n<h2 id=\"request-signing\">Request signing</h2>\n<p>Authenticated calls require you to send a request signature with every request. This signature should be re-generated for every request. The <code>request signature</code> is generated by first concatenating the following values in the order given below and creating a SHA512 HMAC hash using your API Secret:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>timestamp</td>\n<td>The current unix timestamp (in milliseconds) of this request</td>\n</tr>\n<tr>\n<td>verb</td>\n<td>HTTP verb. Example: GET, POST, PUT or DELETE</td>\n</tr>\n<tr>\n<td>path</td>\n<td>Request path excluding host name and including query string, e.g. /v1/account/balances</td>\n</tr>\n<tr>\n<td>body (optional)</td>\n<td>HTTP Request body as a string (optional, if request has no body)</td>\n</tr>\n<tr>\n<td>subaccountId (optional)</td>\n<td>The Id of a subaccount as a string. <strong>Required when impersonating a subaccount.</strong></td>\n</tr>\n</tbody>\n</table>\n</div><p>The NodeJS example below has a method called <code>signRequest</code> that generates a <code>request signature</code> which must be passed along with every request that needs authentication:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-javascript\">const crypto = require('crypto');\nfunction signRequest(apiSecret, timestamp, verb, path, body = '') {\n    return crypto\n      .createHmac(\"sha512\", apiSecret)\n      .update(timestamp.toString())\n      .update(verb.toUpperCase())\n      .update(path)\n      .update(body)\n      .digest(\"hex\");\n}\n\n</code></pre>\n<p>Golang example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-go\">func signRequest(apiSecret string, timestamp time.Time, verb string, path string, body string) string {\n    // Create a new Keyed-Hash Message Authentication Code (HMAC) using SHA512 and API Secret\n    mac := hmac.New(sha512.New, []byte(apiSecret))\n    // Convert timestamp to nanoseconds then divide by 1000000 to get the milliseconds\n    timestampString := strconv.FormatInt(timestamp.UnixNano()/1000000, 10)\n    mac.Write([]byte(timestampString))\n    mac.Write([]byte(strings.ToUpper(verb)))\n    mac.Write([]byte(path))\n    mac.Write([]byte(body))\n    // Gets the byte hash from HMAC and converts it into a hex string\n    return hex.EncodeToString(mac.Sum(nil))\n}\n\n</code></pre>\n<p>C# example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-csharp\">using System;\nusing System.Text;\nusing System.Security.Cryptography;\npublic static \nstring signRequest(string apiKeySecret, string timestamp, string verb, string path, string body = \"\")\n{\n    var payload = timestamp + verb.ToUpper() + path + body;\n    byte[] payloadBytes = Encoding.UTF8.GetBytes(payload);\n    using (HMACSHA512 hmac = new HMACSHA512(Encoding.UTF8.GetBytes(apiKeySecret))) \n    {\n        byte[] hash = hmac.ComputeHash(payloadBytes);\n        return toHexString(hash);\n    }\n}\nprivate static \nstring toHexString(byte[] hash)\n{\n    StringBuilder result = new StringBuilder(hash.Length * 2);\n    foreach(var b in hash)\n    {\n        result.Append(b.ToString(\"x2\"));\n    }\n    return result.ToString();\n}\n/* Timestamp in milliseconds. \n * The same timestamp should be used to generate request signature\n * as well as sent along in the X-VALR-TIMESTAMP header of the request\n */\nprivate static \nstring getTimestamp()\n{\n    return DateTimeOffset.UtcNow.ToUnixTimeMilliseconds().ToString();\n}\n\n</code></pre>\n<p>Python 3.x example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-python\">import time\nimport hashlib\nimport hmac\ndef sign_request(api_key_secret, timestamp, verb, path, body = \"\"):\n    \"\"\"Signs the request payload using the api key secret\n    api_key_secret - the api key secret\n    timestamp - the unix timestamp of this request e.g. int(time.time()*1000)\n    verb - Http verb - GET, POST, PUT or DELETE\n    path - path excluding host name, e.g. '/v1/withdraw\n    body - http request body as a string, optional\n    \"\"\"\n    payload = \"{}{}{}{}\".format(timestamp,verb.upper(),path,body)\n    message = bytearray(payload,'utf-8')\n    signature = hmac.new( bytearray(api_key_secret,'utf-8'), message, digestmod=hashlib.sha512).hexdigest()\n    return signature\n\n</code></pre>\n<p>Java example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-java\">import javax.crypto.Mac;\nimport javax.crypto.spec.SecretKeySpec;\nimport java.security.InvalidKeyException;\nimport java.security.NoSuchAlgorithmException;\nimport java.time.Clock;\n    /**\n     * Signs the request payload using the api key secret\n     *\n     * @param apiKeySecret - the api key secret\n     * @param timestamp    - the unix timestamp of this request e.g. Clock.systemUTC().millis()\n     * @param verb         - Http verb - GET, POST, PUT or DELETE\n     * @param path         - path excluding host name, e.g. '/v1/withdraw'\n     * @param body         - http request body as a string, optional\n     * @return the signature of the request\n     */\n    public static String signRequest(String apiKeySecret, String timestamp, String verb, String path, String body) {\n        try {\n            Mac hmacSHA512 = Mac.getInstance(\"HmacSHA512\");\n            SecretKeySpec secretKeySpec = new SecretKeySpec(apiKeySecret.getBytes(), \"HmacSHA512\");\n            hmacSHA512.init(secretKeySpec);\n            hmacSHA512.update(timestamp.getBytes());\n            hmacSHA512.update(verb.toUpperCase().getBytes());\n            hmacSHA512.update(path.getBytes());\n            hmacSHA512.update(body.getBytes());\n            byte[] digest = hmacSHA512.doFinal();\n            return toHexString(digest);\n        } catch (NoSuchAlgorithmException | InvalidKeyException e) {\n            throw new RuntimeException(\"Unable to sign request\", e);\n        }\n    }\n    public static String toHexString(byte[] a) {\n        StringBuilder sb = new StringBuilder(a.length * 2);\n        for (byte b : a)\n            sb.append(String.format(\"\u0002x\", b));\n        return sb.toString();\n    }\n\n</code></pre>\n<h3 id=\"writing-your-own-request-signing-method\">Writing your own request signing method</h3>\n<p>If you choose to write your own method to generate a <code>request signature</code>, please use the following test data:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Test value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>timestamp</td>\n<td>1558014486185</td>\n</tr>\n<tr>\n<td>verb</td>\n<td>GET</td>\n</tr>\n<tr>\n<td>path</td>\n<td>/v1/account/balances</td>\n</tr>\n<tr>\n<td>API Secret</td>\n<td>4961b74efac86b25cce8fbe4c9811c4c7a787b7a5996660afcc2e287ad864363</td>\n</tr>\n</tbody>\n</table>\n</div><p>If you provide the above values, your method should generate the following HMAC SHA512 signature using your API Secret:</p>\n<p><code>9d52c181ed69460b49307b7891f04658e938b21181173844b5018b2fe783a6d4c62b8e67a03de4d099e7437ebfabe12c56233b73c6a0cc0f7ae87e05f6289928</code></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Test value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>timestamp</td>\n<td>1558017528946</td>\n</tr>\n<tr>\n<td>verb</td>\n<td>POST</td>\n</tr>\n<tr>\n<td>path</td>\n<td>/v1/orders/market</td>\n</tr>\n<tr>\n<td>body</td>\n<td>{\"customerOrderId\":\"ORDER-000001\",\"pair\":\"BTCUSDC\",\"side\":\"BUY\",\"quoteAmount\":\"80000\"}</td>\n</tr>\n<tr>\n<td>API Secret</td>\n<td>4961b74efac86b25cce8fbe4c9811c4c7a787b7a5996660afcc2e287ad864363</td>\n</tr>\n</tbody>\n</table>\n</div><p>If you provide the above values, your method should generate the following HMAC SHA512 signature using your API Secret:</p>\n<p><code>09f536e3dfdad58443f16010a97a0a21ad27486b7b8d6d4103170d885410ed77f037f1fa628474190d4f5c08ca12c1acc850901f1c2e75c6d906ec3b32b008d0</code></p>\n<h2 id=\"making-an-authenticated-api-call\">Making an authenticated API call</h2>\n<p>Follow the instructions below to make an authenticated API call:</p>\n<ol>\n<li><p>Create a SHA512 HMAC hash using your API Secret and the values pertaining to your request (timestamp, HTTP verb, API path, body, subaccountId - when impersonating a subaccount) detailed above.</p>\n</li>\n<li><p>REST: Include the following headers in each request:</p>\n<ul>\n<li><p><strong>X-VALR-API-KEY</strong> : Your API Key</p>\n</li>\n<li><p><strong>X-VALR-SIGNATURE</strong> : The <code>request signature</code> that was generated for your request (see point 1)</p>\n</li>\n<li><p><strong>X-VALR-TIMESTAMP</strong> : The same timestamp used to generate the <code>request signature</code></p>\n</li>\n<li><p><strong>X-VALR-SUB-ACCOUNT-ID</strong> (Optional): A Primary account API key can impersonate a subaccount by specifying the subaccountId in this header. This allows the primary account to transact on the impersonated subaccount. Remember to add the subaccountId in the request signature as well.</p>\n</li>\n</ul>\n</li>\n<li><p>WebSocket: Pass in the same three headers to the first call that establishes the WebSocket connection. (See <code>WebSocket API</code> section below for details)</p>\n</li>\n</ol>\n<h2 id=\"run-in-postman\">Run in Postman</h2>\n<p>You can run our API collection in Postman using the button \"Run in Postman\" above. This collection already includes the following items for your convenience:</p>\n<ol>\n<li><p>A pre-request script that runs before every request to generate your request signature and timestamp.</p>\n</li>\n<li><p>The three authentication headers pre-populated with the right environment variables for each request.</p>\n</li>\n</ol>\n<p>In order to start with Postman, please create a new <code>Environment</code> in Postman and add two variables and name them <code>yourApiKey</code> and <code>yourApiSecret</code>. Provide appropriate initial values for these variables. That is, your Api Key and Api Secret for your account. Enable this environment while running your requests. That is all!</p>\n<p>(Optional): To impersonate an account add the <strong>X-VALR-SUB-ACCOUNT-ID</strong> header to the request. To add the <strong>X-VALR-SUB-ACCOUNT-ID</strong> header to <strong>every</strong> request, define the <code>yourSubAccountId</code> variable in your <code>Environment</code>. If you provide the header on the request and <strong>also</strong> define the environment variable, the header will take precedence. Note that some requests do not allow impersonation.</p>\n<h3 id=\"details-of-the-pre-request-script\">Details of the pre-request script</h3>\n<p>The pre-request script will populate the following two variables in your environment with the correct values:</p>\n<ul>\n<li><p><code>requestSignature</code></p>\n</li>\n<li><p><code>requestTimestamp</code></p>\n</li>\n</ul>\n<p>The script is provided below for your convenience:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-javascript\">/* Pre-requisite\n==================\n1) Create a new Environment in Postman.\n2) Add two variables: \"yourApiKey\" and \"yourApiSecret\" to the Environment. Provide appropriate initial values for these variables. That is, the Api Key and Api Secret for your account.\n3) Enable this environment for your requests.\n4) For each request, this script generates the following two new environment variables:\n* requestSignature\n* requestTimestamp\n5) Ensure that the following three headers are sent with every request:\nX-VALR-API-KEY: b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33\nX-VALR-SIGNATURE: {{requestSignature}}\nX-VALR-TIMESTAMP: {{requestTimestamp}}\nSubaccounts\n==================\nTo perform a request impersonating a specific subaccount, the subaccount ID must be provided. The ID can be determined by using `Account/Subaccounts/Retrieve Subaccounts`. Once the ID is determined, it can be added to the request by either adding the `X-VALR-SUB-ACCOUNT-ID` header, with the ID as value, to the request directly, or by adding the variable {{yourSubAccountId}} to the Postman Environment. If both are provided, the header has precedence. If the variable is provided it will be added to every request.\nPlease note: Requests that may only be performed on the Primary account will fail with a \"401: Unauthorized\" response if the subaccount ID is included.\n*/\nvar YOUR_API_KEY = postman.getEnvironmentVariable('yourApiKey');\nvar YOUR_API_SECRET = postman.getEnvironmentVariable('yourApiSecret');\nvar subAccountHeader = pm.request.headers.find((header) =&gt; header.key === 'X-VALR-SUB-ACCOUNT-ID' &amp;&amp; !header.disabled)\nvar YOUR_SUB_ACCOUNT_ID = subAccountHeader ? subAccountHeader.value \n        : postman.getEnvironmentVariable('yourSubAccountId');\nvar requestTimestamp = (new Date()).getTime();\nfunction getPath(url) {\n    var pathRegex = /(?:.+?\\:\\/\\/.+?)?(\\/.+)/;\n    var result = url.match(pathRegex);\n    return result &amp;&amp; result.length &gt; 1 ? result[1] : ''; \n}\nfunction getHmacDigest(httpMethod, requestUrl, requestBody) {\n    var requestPath = getPath(requestUrl.toString());\n    if (httpMethod == 'GET' || !requestBody) {\n        requestBody = ''; \n    } \n    var requestData = [requestTimestamp, httpMethod.toUpperCase(), requestPath, requestBody, YOUR_SUB_ACCOUNT_ID].join(\"\");\n    var hmacDigest = CryptoJS.enc.Hex.stringify(CryptoJS.HmacSHA512(requestData, YOUR_API_SECRET));\n    return hmacDigest;\n}\npostman.setEnvironmentVariable('requestSignature', getHmacDigest(pm.request.method, pm.request.url, pm.request.body));\npostman.setEnvironmentVariable('requestTimestamp', requestTimestamp);\nif (YOUR_SUB_ACCOUNT_ID &amp;&amp; YOUR_SUB_ACCOUNT_ID &gt; 0 &amp;&amp; !subAccountHeader) {\n    pm.request.headers.add({ key: 'X-VALR-SUB-ACCOUNT-ID', value: `${YOUR_SUB_ACCOUNT_ID}` });\n}j\n\n</code></pre>\n<h1 id=\"rate-limiting\">Rate limiting</h1>\n<hr>\n<p><strong>Rate Limits</strong></p>\n<p>Rate limits depend on the connection type used. REST and WebSocket connections are governed differently, but all limits reset at the start of each minute.</p>\n<p><strong>REST (HTTP) API</strong></p>\n<p>REST requests are limited by both API key and IP address. Both limits apply at the same time.</p>\n<ul>\n<li><p><strong>2000 requests per minute per API key.</strong></p>\n</li>\n<li><p><strong>1200 requests per minute per IP address.</strong></p>\n</li>\n</ul>\n<p>If either limit is exceeded, the request is rejected with:<br>HTTP Status Code<br>429 Too Many Requests</p>\n<p><strong>WebSockets</strong></p>\n<p>WebSocket rate limits are enforced per IP address only.</p>\n<ul>\n<li><p>API key limits do not apply.</p>\n</li>\n<li><p>All connections from the same IP share a single limit pool.</p>\n</li>\n<li><p>Multiple bots or accounts on the same server will not increase throughput.</p>\n</li>\n</ul>\n<p>If the WebSocket rate limit is exceeded, the server will send:</p>\n<p>{<br>\"type\": \"RATE_LIMIT_EXCEEDED\"<br>}</p>\n<p><strong>Reset Policy</strong></p>\n<p>All limits reset every minute.</p>\n<ul>\n<li><p>Example 1: You are allowed to do 1000 calls from 10:10:00 to 10:10:59. When the time changes to 10:11:00, the counter will be reset and will start over.</p>\n</li>\n<li><p>Example 2: If the first request comes in at 10:10:30, the counter will be reset at 10:11:00.</p>\n</li>\n</ul>\n<p>To ensure that users are able to place and cancel orders at a higher rate, per second rate limits are applied on certain API routes, with the limit reset at the start of the next second. Here the limits per IP and key do not apply:</p>\n<ul>\n<li><p>Public calls v1:</p>\n<ul>\n<li><p>Route: /v1/public/*</p>\n</li>\n<li><p>Method: <code>GET</code></p>\n</li>\n<li><p>Rate limit: 30/m</p>\n</li>\n</ul>\n</li>\n<li><p>Public time v1:</p>\n<ul>\n<li><p>Route: /v1/public/time</p>\n</li>\n<li><p>Method: <code>GET</code></p>\n</li>\n<li><p>Rate limit: 20/s</p>\n</li>\n</ul>\n</li>\n<li><p>Public status v1:</p>\n<ul>\n<li><p>Route: /v1/public/status</p>\n</li>\n<li><p>Method: <code>GET</code></p>\n</li>\n<li><p>Rate limit: 20/s</p>\n</li>\n</ul>\n</li>\n<li><p>Public buckets v1:</p>\n<ul>\n<li><p>Route: /v1/public/*/buckets</p>\n</li>\n<li><p>Method: <code>GET</code></p>\n</li>\n<li><p>Rate limit: 20/s</p>\n</li>\n</ul>\n</li>\n<li><p>Batch orders v1:</p>\n<ul>\n<li><p>Route /v1/batch/orders</p>\n</li>\n<li><p>Method: <code>POST</code></p>\n</li>\n<li><p>Rate limit: 400/s</p>\n</li>\n</ul>\n</li>\n<li><p>Delete orders v1:</p>\n<ul>\n<li><p>Route /v1/orders</p>\n</li>\n<li><p>Method: <code>DELETE</code></p>\n</li>\n<li><p>Rate limit: 450/s</p>\n</li>\n</ul>\n</li>\n<li><p>Post orders v1:</p>\n<ul>\n<li><p>Route /v1/orders</p>\n</li>\n<li><p>Method: <code>POST</code></p>\n</li>\n<li><p>Rate limit: 400/s</p>\n</li>\n</ul>\n</li>\n<li><p>Batch orders v2:</p>\n<ul>\n<li><p>Route /v2/orders/modify</p>\n</li>\n<li><p>Method: <code>PUT</code></p>\n</li>\n<li><p>Rate limit: 400/s</p>\n</li>\n</ul>\n</li>\n<li><p>Loans v1:</p>\n<ul>\n<li><p>Route /v1/loans/*</p>\n</li>\n<li><p>Method: <code>POST, PUT, DELETE</code></p>\n</li>\n<li><p>Rate limit: 1/s</p>\n</li>\n</ul>\n</li>\n<li><p>Create sub account v1:</p>\n<ul>\n<li><p>Route /v1/account/subaccount</p>\n</li>\n<li><p>Method: <code>POST</code></p>\n</li>\n<li><p>Rate limit: 1/s</p>\n</li>\n</ul>\n</li>\n<li><p>Sub account transfer v1:</p>\n<ul>\n<li><p>Route /v1/account/subaccount/transfer</p>\n</li>\n<li><p>Method: <code>POST</code></p>\n</li>\n<li><p>Rate limit: 20/s</p>\n</li>\n</ul>\n</li>\n<li><p>WebSocket new clients:</p>\n<ul>\n<li><p>Route: /ws</p>\n</li>\n<li><p>Rate limit: 60/m</p>\n</li>\n</ul>\n</li>\n<li><p>WebSocket account write:</p>\n<ul>\n<li><p>Route: /ws/account</p>\n</li>\n<li><p>Place: 400 p/s</p>\n</li>\n<li><p>Cancel: 450p/s</p>\n</li>\n<li><p>Batch: 400p/s</p>\n</li>\n<li><p>Modify: 400p/s</p>\n</li>\n</ul>\n</li>\n</ul>\n<p>We may reduce limits when the system is under severe pressure.</p>\n<h1 id=\"performance-considerations\">Performance considerations</h1>\n<hr>\n<h3 id=\"websocket-efficiency\">WebSocket Efficiency</h3>\n<p>WebSocket connections offer significantly faster data transmission than HTTP due to their persistent, open TCP socket. This allows for efficient, real-time communication.<br>Batching can further enhance performance, though the benefit is less pronounced with WebSockets compared to HTTP.</p>\n<h3 id=\"optimal-order-book-updates\">Optimal Order Book Updates</h3>\n<p>The OB_L1_DIFF WebSocket feed provides the most rapid updates for order book changes. Its smaller data packets minimize overhead for clients, servers, and network transmission.</p>\n<h3 id=\"real-time-order-execution\">Real-Time Order Execution</h3>\n<p>A WebSocket connection is the fastest method for receiving order processing and status updates. Most unfiltered HTTP requests for order status are served from memory, but updates via WebSockets in normal conditions should still be superior.</p>\n<h3 id=\"estimated-latency\">Estimated Latency</h3>\n<p>Excluding geographic distance and demand, the total round trip time from placing the order via WebSocket to receiving the order place outcome on a WebSocket connection should be approximately 8ms. This number is a rough estimate and can vary as we constantly update our service or due to other constraints.</p>\n<h1 id=\"caching\">Caching</h1>\n<p>In order to improve the latency of requests and reduce the load on servers, some GET requests are cached by default.<br>We use the HTTP Cache-Control Header, which comprises one or more comma separated directives. These directives determine whether a GET response is cachable, and if so, the duration.</p>\n<p>Here's an example of an HTTP Response Header:</p>\n<p><code>cache-control: max-age=60,public</code></p>\n<ul>\n<li><p>cache-control: max-age - defines the amount of time it takes for a cached copy of a resource to expire, in seconds.</p>\n</li>\n<li><p>cache-control: public - means that a resource can be cached by any cache.</p>\n</li>\n</ul>\n<p>Below are the GET endpoints that are cached, and their max-age in seconds.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>*Public Routes*\n===============\n/marketsummary (60)\n/:currencypair/marketsummary (10)\n/currencies (60)\n/pairs(60)\n/:currencyPair/orderbook (30)\n/:currencyPair/orderbook/full (30)\n/:currencyPair/trades (30)\n/ordertypes (60)\n/:currencypair/ordertypes (60)\n*Authenticated Routes*\n======================\n/marketdata (1)\n/fiat/:currency/banks (600)\n/fiat/:currency/auto-buy (60)\n/portfolio (1)\n\n</code></pre></body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Getting started","slug":"getting-started"},{"content":"AI Agent Skill","slug":"ai-agent-skill"},{"content":"AI Support","slug":"ai-support"},{"content":"Authentication","slug":"authentication"},{"content":"Rate limiting","slug":"rate-limiting"},{"content":"Performance considerations","slug":"performance-considerations"},{"content":"Caching","slug":"caching"}],"owner":"7185612","collectionId":"44867d20-3d60-4819-bf44-d76197a36f76","publishedId":"S1Lr5XDq","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"0D0F22","highlight":"1E4DF2"},"publishDate":"2025-06-30T14:05:06.000Z"},"item":[{"name":"Public APIs","item":[{"name":"Available Leverage Options","id":"7cd0e8c3-8a5e-4194-9680-29457ac3de7a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.valr.com/v1/public/risklimit/:currencypair","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>pairSymbol</code></td>\n<td>The symbol of the pair being queried.</td>\n</tr>\n<tr>\n<td><code>riskLimitValue</code></td>\n<td>The maximum position size in the chosen leverage tier in riskLimitCurrency.</td>\n</tr>\n<tr>\n<td><code>riskLimitCurrency</code></td>\n<td>The currency symbol that the risk limit is specified in.</td>\n</tr>\n<tr>\n<td><code>initialMarginFraction</code></td>\n<td>The initial margin fraction required to place an order.</td>\n</tr>\n<tr>\n<td><code>maintenanceMarginFraction</code></td>\n<td>The maintenance margin fraction below which stage 1 liquidation is triggered.</td>\n</tr>\n<tr>\n<td><code>autoCloseMarginFraction</code></td>\n<td>The account margin fraction below which an account’s debt and assets are transferred to the insurance fund, leaving the account with no further assets, debt or equity.</td>\n</tr>\n<tr>\n<td><code>leverageMultiple</code></td>\n<td>The debt-to-equity ratio, which is also the inverse of margin fraction.</td>\n</tr>\n<tr>\n<td><code>isDefault</code></td>\n<td>When <code>true</code> this indicates that this leverage tier is the VALR default for this pair.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","public","risklimit",":currencypair"],"host":["https://api.valr.com"],"query":[],"variable":[{"description":{"content":"<p>Specify the currency pair for which you would like to view the available leverage options.\nExample: ETHUSDTPERP</p>\n","type":"text/plain"},"type":"any","value":"","key":"currencypair"}]}},"response":[{"id":"93990317-43a1-457b-9e86-ddc7faf0a389","name":"Available Leverage Options (Valid Currency Pair)","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.valr.com/v1/public/risklimit/:currencypair","host":["https://api.valr.com"],"path":["v1","public","risklimit",":currencypair"],"variable":[{"key":"currencypair","value":"BTCUSDTPERP","description":"Specify the currency pair for which you would like to view the available leverage options.\nExample: ETHUSDTPERP"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"cache-control","value":"max-age=120,public"},{"key":"x-valr-upstream-service-time","value":"10"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Wed, 16 Jul 2025 11:48:01 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 1,\n        \"initialMarginFraction\": 1,\n        \"maintenanceMarginFraction\": 0.25,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 1500000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 2,\n        \"initialMarginFraction\": 0.5,\n        \"maintenanceMarginFraction\": 0.25,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 1500000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 3,\n        \"initialMarginFraction\": 0.3333,\n        \"maintenanceMarginFraction\": 0.1,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 1000000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 4,\n        \"initialMarginFraction\": 0.25,\n        \"maintenanceMarginFraction\": 0.1,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 1000000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 5,\n        \"initialMarginFraction\": 0.2,\n        \"maintenanceMarginFraction\": 0.1,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 1000000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 6,\n        \"initialMarginFraction\": 0.1666,\n        \"maintenanceMarginFraction\": 0.05,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 750000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 7,\n        \"initialMarginFraction\": 0.1428,\n        \"maintenanceMarginFraction\": 0.05,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 750000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 8,\n        \"initialMarginFraction\": 0.125,\n        \"maintenanceMarginFraction\": 0.05,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 750000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 9,\n        \"initialMarginFraction\": 0.1111,\n        \"maintenanceMarginFraction\": 0.05,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 750000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 10,\n        \"initialMarginFraction\": 0.1,\n        \"maintenanceMarginFraction\": 0.05,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 750000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": true\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 11,\n        \"initialMarginFraction\": 0.0909,\n        \"maintenanceMarginFraction\": 0.025,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 400000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 12,\n        \"initialMarginFraction\": 0.0833,\n        \"maintenanceMarginFraction\": 0.025,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 400000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 13,\n        \"initialMarginFraction\": 0.0769,\n        \"maintenanceMarginFraction\": 0.025,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 400000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 14,\n        \"initialMarginFraction\": 0.0714,\n        \"maintenanceMarginFraction\": 0.025,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 400000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 15,\n        \"initialMarginFraction\": 0.0666,\n        \"maintenanceMarginFraction\": 0.025,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 400000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 16,\n        \"initialMarginFraction\": 0.0625,\n        \"maintenanceMarginFraction\": 0.025,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 400000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 17,\n        \"initialMarginFraction\": 0.0588,\n        \"maintenanceMarginFraction\": 0.025,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 400000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 18,\n        \"initialMarginFraction\": 0.0555,\n        \"maintenanceMarginFraction\": 0.025,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 400000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 19,\n        \"initialMarginFraction\": 0.0526,\n        \"maintenanceMarginFraction\": 0.025,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 400000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 20,\n        \"initialMarginFraction\": 0.05,\n        \"maintenanceMarginFraction\": 0.025,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 400000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 21,\n        \"initialMarginFraction\": 0.0476,\n        \"maintenanceMarginFraction\": 0.0125,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 250000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 22,\n        \"initialMarginFraction\": 0.0454,\n        \"maintenanceMarginFraction\": 0.0125,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 250000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 23,\n        \"initialMarginFraction\": 0.0434,\n        \"maintenanceMarginFraction\": 0.0125,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 250000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 24,\n        \"initialMarginFraction\": 0.0416,\n        \"maintenanceMarginFraction\": 0.0125,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 250000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 25,\n        \"initialMarginFraction\": 0.04,\n        \"maintenanceMarginFraction\": 0.0125,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 250000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 26,\n        \"initialMarginFraction\": 0.0384,\n        \"maintenanceMarginFraction\": 0.0125,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 250000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 27,\n        \"initialMarginFraction\": 0.037,\n        \"maintenanceMarginFraction\": 0.0125,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 250000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 28,\n        \"initialMarginFraction\": 0.0357,\n        \"maintenanceMarginFraction\": 0.0125,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 250000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 29,\n        \"initialMarginFraction\": 0.0344,\n        \"maintenanceMarginFraction\": 0.0125,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 250000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 30,\n        \"initialMarginFraction\": 0.0333,\n        \"maintenanceMarginFraction\": 0.0125,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 250000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 31,\n        \"initialMarginFraction\": 0.0322,\n        \"maintenanceMarginFraction\": 0.0125,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 250000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 32,\n        \"initialMarginFraction\": 0.0312,\n        \"maintenanceMarginFraction\": 0.0125,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 250000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 33,\n        \"initialMarginFraction\": 0.0303,\n        \"maintenanceMarginFraction\": 0.0125,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 250000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 34,\n        \"initialMarginFraction\": 0.0294,\n        \"maintenanceMarginFraction\": 0.0125,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 250000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 35,\n        \"initialMarginFraction\": 0.0285,\n        \"maintenanceMarginFraction\": 0.0125,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 250000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 36,\n        \"initialMarginFraction\": 0.0277,\n        \"maintenanceMarginFraction\": 0.0125,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 250000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 37,\n        \"initialMarginFraction\": 0.027,\n        \"maintenanceMarginFraction\": 0.0125,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 250000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 38,\n        \"initialMarginFraction\": 0.0263,\n        \"maintenanceMarginFraction\": 0.0125,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 250000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 39,\n        \"initialMarginFraction\": 0.0256,\n        \"maintenanceMarginFraction\": 0.0125,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 250000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 40,\n        \"initialMarginFraction\": 0.025,\n        \"maintenanceMarginFraction\": 0.0125,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 250000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 41,\n        \"initialMarginFraction\": 0.0243,\n        \"maintenanceMarginFraction\": 0.0083,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 200000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 42,\n        \"initialMarginFraction\": 0.0238,\n        \"maintenanceMarginFraction\": 0.0083,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 200000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 43,\n        \"initialMarginFraction\": 0.0232,\n        \"maintenanceMarginFraction\": 0.0083,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 200000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 44,\n        \"initialMarginFraction\": 0.0227,\n        \"maintenanceMarginFraction\": 0.0083,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 200000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 45,\n        \"initialMarginFraction\": 0.0222,\n        \"maintenanceMarginFraction\": 0.0083,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 200000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 46,\n        \"initialMarginFraction\": 0.0217,\n        \"maintenanceMarginFraction\": 0.0083,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 200000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 47,\n        \"initialMarginFraction\": 0.0212,\n        \"maintenanceMarginFraction\": 0.0083,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 200000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 48,\n        \"initialMarginFraction\": 0.0208,\n        \"maintenanceMarginFraction\": 0.0083,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 200000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 49,\n        \"initialMarginFraction\": 0.0204,\n        \"maintenanceMarginFraction\": 0.0083,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 200000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 50,\n        \"initialMarginFraction\": 0.02,\n        \"maintenanceMarginFraction\": 0.0083,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 200000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 51,\n        \"initialMarginFraction\": 0.0196,\n        \"maintenanceMarginFraction\": 0.0083,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 200000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 52,\n        \"initialMarginFraction\": 0.0192,\n        \"maintenanceMarginFraction\": 0.0083,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 200000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 53,\n        \"initialMarginFraction\": 0.0188,\n        \"maintenanceMarginFraction\": 0.0083,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 200000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 54,\n        \"initialMarginFraction\": 0.0185,\n        \"maintenanceMarginFraction\": 0.0083,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 200000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 55,\n        \"initialMarginFraction\": 0.0181,\n        \"maintenanceMarginFraction\": 0.0083,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 200000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 56,\n        \"initialMarginFraction\": 0.0178,\n        \"maintenanceMarginFraction\": 0.0083,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 200000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 57,\n        \"initialMarginFraction\": 0.0175,\n        \"maintenanceMarginFraction\": 0.0083,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 200000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 58,\n        \"initialMarginFraction\": 0.0172,\n        \"maintenanceMarginFraction\": 0.0083,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 200000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 59,\n        \"initialMarginFraction\": 0.0169,\n        \"maintenanceMarginFraction\": 0.0083,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 200000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 60,\n        \"initialMarginFraction\": 0.0166,\n        \"maintenanceMarginFraction\": 0.0083,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 200000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    }\n]"},{"id":"2ee14764-6880-496d-b1d1-33bd1be3afdc","name":"Available Leverage Options (Invalid Currency Pair)","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.valr.com/v1/public/risklimit/:currencypair","host":["https://api.valr.com"],"path":["v1","public","risklimit",":currencypair"],"variable":[{"key":"currencypair","value":"BTCETHPERP","description":"Specify the currency pair for which you would like to view the available leverage options.\nExample: ETHUSDTPERP"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Wed, 26 Mar 2025 15:07:03 GMT"},{"key":"cache-control","value":"max-age=120,public"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"1"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": -21,\n    \"message\": \"Unsupported Currency Pair\"\n}"}],"_postman_id":"7cd0e8c3-8a5e-4194-9680-29457ac3de7a"},{"name":"Currencies","id":"88ab52a2-d63b-48b2-8984-d0982baec40a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.valr.com/v1/public/currencies","description":"<p>Get a list of currencies supported by VALR.</p>\n<p>A currency may optionally expose:</p>\n<ul>\n<li><p>defaultNetworkType - the network type identifier that will be used if a network type is not specified on a deposit request or a withdrawal request via the API.</p>\n</li>\n<li><p>supportedNetworks - a list of networks that are available to use for deposits and/or withdrawals for a given currency.</p>\n</li>\n</ul>\n<p><strong>NOTE</strong></p>\n<p>If a currency does not expose any supported networks, it means that both withdrawals and deposits are not available for the specified currency on VALR.</p>\n<p>If a currency does expose supported networks, either both withdrawals and deposits are available, or one of withdrawals or deposits is not available for that network. This can be determined using the <code>deposit</code> and <code>withdraw</code> properties on each network in <code>supportedNetworks</code>.</p>\n<p>For withdrawals, the <code>withdrawalDecimalPlaces</code> specified on the <code>supportedNetworks</code> level is the maximum scale of the value that will be submitted to the network and will be rounded down to that scale if a value with a larger scale is provided.</p>\n<p>This is a public API and therefor the values are cached. In particular <code>estimatedSendCost</code> may be out of date. For an up to date estimation of the cost to withdraw crypto on-chain, refer to the <code>withdrawCost</code> field of the <em>Wallets / Crypto / Withdrawal Config Info</em> API.</p>\n<p>Example 1: Withdrawals and Deposits are available on the Ethereum and StellarLumens network for USDC on VALR</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n        \"symbol\": \"USDC\",\n        \"isActive\": true,\n        \"shortName\": \"USDC\",\n        \"longName\": \"USD Coin\",\n        \"decimalPlaces\": \"2\",\n        \"withdrawalDecimalPlaces\": \"2\",\n        \"collateral\": true,\n        \"collateralWeight\": \"1\",\n        \"defaultNetworkType\": \"Ethereum\",\n        \"supportedNetworks\": [\n            {\n                \"networkType\": \"StellarLumens\",\n                \"networkLongName\": \"StellarLumens\",\n                \"tokenContract\": \"GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN\",\n                \"minimumWithdrawAmount\": \"1.0002981\",\n                \"estimatedSendCost\": \"0.11\",\n                \"deposit\": true,\n                \"withdraw\": true,\n                \"withdrawalDecimalPlaces\": \"7\"\n            },\n            {\n                \"networkType\": \"Ethereum\",\n                \"networkLongName\": \"Ethereum\",\n                \"tokenContract\": \"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48\",\n                \"minimumWithdrawAmount\": \"6.001789\",\n                \"estimatedSendCost\": \"17\",\n                \"deposit\": true,\n                \"withdraw\": true,\n                \"withdrawalDecimalPlaces\": \"6\"\n            }\n        ]\n}\n\n</code></pre>\n<p>Example 2: Withdrawals and Deposits are not available for PAY on any network on VALR</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n        \"symbol\": \"PAY\",\n        \"isActive\": false,\n        \"shortName\": \"PAY\",\n        \"longName\": \"TenX Pay Token\",\n        \"decimalPlaces\": \"18\",\n        \"withdrawalDecimalPlaces\": \"8\",\n        \"collateral\": false,\n        \"collateralWeight\": \"0.0\"\n}\n\n</code></pre>\n<p>Example 3: Withdrawals and Deposits are available on the Ethereum network, but only deposits are available on the Avalanche C-Chain network for USDC on VALR</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n        \"symbol\": \"USDC\",\n        \"isActive\": true,\n        \"shortName\": \"USDC\",\n        \"longName\": \"USD Coin\",\n        \"decimalPlaces\": \"2\",\n        \"withdrawalDecimalPlaces\": \"2\",\n        \"collateral\": true,\n        \"collateralWeight\": \"1\",\n        \"defaultNetworkType\": \"Ethereum\",\n        \"supportedNetworks\": [\n            {\n                \"networkType\": \"Ethereum\",\n                \"networkLongName\": \"Ethereum\",\n                \"tokenContract\": \"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48\",\n                \"deposit\": true,\n                \"withdraw\": true\n                \"withdrawalDecimalPlaces\": \"6\"\n            },\n            {\n                \"networkType\": \"Avalanche\",\n                \"networkLongName\": \"Avalanche C-Chain\",\n                \"tokenContract\": \"0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E\",\n                \"deposit\": true,\n                \"withdraw\": false\n                \"withdrawalDecimalPlaces\": \"6\"\n            }\n        ]\n}\n\n</code></pre>\n","urlObject":{"path":["v1","public","currencies"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"266577bf-e615-45b9-a2fc-d90d97143666","name":"Currencies","originalRequest":{"method":"GET","header":[],"url":"https://api.valr.com/v1/public/currencies"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"1"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"server","value":"n/a"},{"key":"Via","value":"1.1 google"},{"key":"Content-Length","value":"16690"},{"key":"Date","value":"Tue, 17 Jun 2025 00:40:01 GMT"},{"key":"Age","value":"35171"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Cache-Control","value":"max-age=60,public"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"symbol\": \"BTC\",\n    \"isActive\": true,\n    \"shortName\": \"BTC\",\n    \"longName\": \"Bitcoin\",\n    \"decimalPlaces\": \"8\",\n    \"withdrawalDecimalPlaces\": \"8\",\n    \"collateral\": true,\n    \"collateralWeight\": \"0.95\",\n    \"defaultNetworkType\": \"Bitcoin\",\n    \"supportedNetworks\": [\n      {\n        \"networkType\": \"Bitcoin\",\n        \"networkLongName\": \"Bitcoin\",\n        \"minimumWithdrawAmount\": \"0.0002\",\n        \"estimatedSendCost\": \"0.000012\",\n        \"deposit\": true,\n        \"withdraw\": true,\n        \"withdrawalDecimalPlaces\": \"8\"\n      }\n    ]\n  },\n  {\n    \"symbol\": \"USDC\",\n    \"isActive\": true,\n    \"shortName\": \"USDC\",\n    \"longName\": \"USD Coin\",\n    \"decimalPlaces\": \"2\",\n    \"withdrawalDecimalPlaces\": \"6\",\n    \"collateral\": true,\n    \"collateralWeight\": \"1\",\n    \"defaultNetworkType\": \"Ethereum\",\n    \"supportedNetworks\": [\n      {\n        \"networkType\": \"StellarLumens\",\n        \"networkLongName\": \"StellarLumens\",\n        \"tokenContract\": \"GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN\",\n        \"minimumWithdrawAmount\": \"1.0002981\",\n        \"estimatedSendCost\": \"0.11\",\n        \"deposit\": true,\n        \"withdraw\": true,\n        \"withdrawalDecimalPlaces\": \"7\"\n      },\n      {\n        \"networkType\": \"Ethereum\",\n        \"networkLongName\": \"Ethereum\",\n        \"tokenContract\": \"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48\",\n        \"minimumWithdrawAmount\": \"6.001789\",\n        \"estimatedSendCost\": \"16\",\n        \"deposit\": true,\n        \"withdraw\": true,\n        \"withdrawalDecimalPlaces\": \"6\"\n      },\n      {\n        \"networkType\": \"Solana\",\n        \"networkLongName\": \"Solana\",\n        \"tokenContract\": \"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v\",\n        \"minimumWithdrawAmount\": \"3.000594\",\n        \"estimatedSendCost\": \"0.11\",\n        \"deposit\": true,\n        \"withdraw\": true,\n        \"withdrawalDecimalPlaces\": \"6\"\n      }\n    ]\n  },\n  {\n    \"symbol\": \"ETH\",\n    \"isActive\": true,\n    \"shortName\": \"ETH\",\n    \"longName\": \"Ethereum\",\n    \"decimalPlaces\": \"18\",\n    \"withdrawalDecimalPlaces\": \"8\",\n    \"collateral\": true,\n    \"collateralWeight\": \"0.925\",\n    \"defaultNetworkType\": \"Ethereum\",\n    \"supportedNetworks\": [\n      {\n        \"networkType\": \"Ethereum\",\n        \"networkLongName\": \"Ethereum\",\n        \"minimumWithdrawAmount\": \"0.0005\",\n        \"estimatedSendCost\": \"0.00028\",\n        \"deposit\": true,\n        \"withdraw\": true,\n        \"withdrawalDecimalPlaces\": \"18\"\n      },\n      {\n        \"networkType\": \"Arbitrum\",\n        \"networkLongName\": \"Arbitrum\",\n        \"minimumWithdrawAmount\": \"0.0005\",\n        \"estimatedSendCost\": \"0.0002\",\n        \"deposit\": true,\n        \"withdraw\": true,\n        \"withdrawalDecimalPlaces\": \"18\"\n      },\n      {\n        \"networkType\": \"Base\",\n        \"networkLongName\": \"Base\",\n        \"minimumWithdrawAmount\": \"0.0005\",\n        \"estimatedSendCost\": \"0.00015\",\n        \"deposit\": true,\n        \"withdraw\": true,\n        \"withdrawalDecimalPlaces\": \"18\"\n      }\n    ]\n  },\n  {\n    \"symbol\": \"R\",\n    \"isActive\": true,\n    \"shortName\": \"ZAR\",\n    \"longName\": \"Rand\",\n    \"decimalPlaces\": \"2\",\n    \"withdrawalDecimalPlaces\": \"2\",\n    \"collateral\": true,\n    \"collateralWeight\": \"1\"\n  },\n  {\n    \"symbol\": \"ZMW\",\n    \"isActive\": true,\n    \"shortName\": \"ZMW\",\n    \"longName\": \"Zambian Kwacha\",\n    \"decimalPlaces\": \"2\",\n    \"withdrawalDecimalPlaces\": \"2\",\n    \"collateral\": false,\n    \"collateralWeight\": \"0.0\"\n  },\n  {\n    \"symbol\": \"ZEC\",\n    \"isActive\": false,\n    \"shortName\": \"ZEC\",\n    \"longName\": \"Zcash\",\n    \"decimalPlaces\": \"8\",\n    \"withdrawalDecimalPlaces\": \"8\",\n    \"collateral\": false,\n    \"collateralWeight\": \"0.0\"\n  },\n  {\n    \"symbol\": \"DASH\",\n    \"isActive\": false,\n    \"shortName\": \"DASH\",\n    \"longName\": \"Dash\",\n    \"decimalPlaces\": \"8\",\n    \"withdrawalDecimalPlaces\": \"8\",\n    \"collateral\": false,\n    \"collateralWeight\": \"0.0\"\n  }\n]"}],"_postman_id":"88ab52a2-d63b-48b2-8984-d0982baec40a"},{"name":"Currency Pairs","id":"cfa57d7e-2106-4066-bc27-c10210b6aa82","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.valr.com/v1/public/pairs","description":"<p>Get a list of all the currency pairs supported by VALR.</p>\n","urlObject":{"path":["v1","public","pairs"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"38d141e9-d0f7-47a5-9fc8-08ff5d33b2e1","name":"Currency Pairs","originalRequest":{"method":"GET","header":[],"url":"https://api.valr.com/v1/public/pairs"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"1"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"server","value":"n/a"},{"key":"Via","value":"1.1 google"},{"key":"Date","value":"Tue, 17 Jun 2025 11:36:46 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Length","value":"21498"},{"key":"Age","value":"57"},{"key":"Cache-Control","value":"max-age=60,public"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"symbol\": \"ETHZAR\",\n    \"baseCurrency\": \"ETH\",\n    \"quoteCurrency\": \"ZAR\",\n    \"shortName\": \"ETH/ZAR\",\n    \"active\": true,\n    \"minBaseAmount\": \"0.0002\",\n    \"maxBaseAmount\": \"69.21\",\n    \"minQuoteAmount\": \"10\",\n    \"maxQuoteAmount\": \"5000000\",\n    \"tickSize\": \"1\",\n    \"baseDecimalPlaces\": \"8\",\n    \"marginTradingAllowed\": true,\n    \"currencyPairType\": \"SPOT\",\n    \"initialMarginFraction\": \"0.2\",\n    \"maintenanceMarginFraction\": \"0.1\",\n    \"autoCloseMarginFraction\": \"0.033333333\"\n  },\n  {\n    \"symbol\": \"BNBUSDC\",\n    \"baseCurrency\": \"BNB\",\n    \"quoteCurrency\": \"USDC\",\n    \"shortName\": \"BNB/USDC\",\n    \"active\": true,\n    \"minBaseAmount\": \"0.0008\",\n    \"maxBaseAmount\": \"80\",\n    \"minQuoteAmount\": \"0.52\",\n    \"maxQuoteAmount\": \"52000\",\n    \"tickSize\": \"0.1\",\n    \"baseDecimalPlaces\": \"4\",\n    \"marginTradingAllowed\": false,\n    \"currencyPairType\": \"SPOT\"\n  },\n  {\n    \"symbol\": \"SHIBUSDC\",\n    \"baseCurrency\": \"SHIB\",\n    \"quoteCurrency\": \"USDC\",\n    \"shortName\": \"SHIB/USDC\",\n    \"active\": true,\n    \"minBaseAmount\": \"44600\",\n    \"maxBaseAmount\": \"2750000000\",\n    \"minQuoteAmount\": \"0.59\",\n    \"maxQuoteAmount\": \"50000\",\n    \"tickSize\": \"0.00000001\",\n    \"baseDecimalPlaces\": \"0\",\n    \"marginTradingAllowed\": false,\n    \"currencyPairType\": \"SPOT\"\n  },\n  {\n    \"symbol\": \"LTCBTC\",\n    \"baseCurrency\": \"LTC\",\n    \"quoteCurrency\": \"BTC\",\n    \"shortName\": \"LTC/BTC\",\n    \"active\": false,\n    \"minBaseAmount\": \"0.0043\",\n    \"maxBaseAmount\": \"15.67\",\n    \"minQuoteAmount\": \"0.000016\",\n    \"maxQuoteAmount\": \"0.0512\",\n    \"tickSize\": \"0.000001\",\n    \"baseDecimalPlaces\": \"8\",\n    \"marginTradingAllowed\": false,\n    \"currencyPairType\": \"SPOT\"\n  },\n  {\n    \"symbol\": \"LTCETH\",\n    \"baseCurrency\": \"LTC\",\n    \"quoteCurrency\": \"ETH\",\n    \"shortName\": \"LTC/ETH\",\n    \"active\": false,\n    \"minBaseAmount\": \"0.0237\",\n    \"maxBaseAmount\": \"15.67\",\n    \"minQuoteAmount\": \"0.0081\",\n    \"maxQuoteAmount\": \"0.7576\",\n    \"tickSize\": \"0.00000001\",\n    \"baseDecimalPlaces\": \"8\",\n    \"marginTradingAllowed\": false,\n    \"currencyPairType\": \"SPOT\"\n  },\n  {\n    \"symbol\": \"ETHUSDTPERP\",\n    \"baseCurrency\": \"ETH\",\n    \"quoteCurrency\": \"USDT\",\n    \"shortName\": \"ETH/USDTPERP\",\n    \"active\": true,\n    \"minBaseAmount\": \"0.001\",\n    \"maxBaseAmount\": \"32\",\n    \"minQuoteAmount\": \"1\",\n    \"maxQuoteAmount\": \"100000\",\n    \"tickSize\": \"0.1\",\n    \"baseDecimalPlaces\": \"3\",\n    \"marginTradingAllowed\": false,\n    \"currencyPairType\": \"FUTURE\",\n    \"initialMarginFraction\": \"0.025\",\n    \"maintenanceMarginFraction\": \"0.0125\",\n    \"autoCloseMarginFraction\": \"0.0125\"\n  },\n  {\n    \"symbol\": \"BTCUSDCPERP\",\n    \"baseCurrency\": \"BTC\",\n    \"quoteCurrency\": \"USDC\",\n    \"shortName\": \"BTC/USDCPERP\",\n    \"active\": false,\n    \"minBaseAmount\": \"0.0001\",\n    \"maxBaseAmount\": \"35\",\n    \"minQuoteAmount\": \"1\",\n    \"maxQuoteAmount\": \"1000000\",\n    \"tickSize\": \"1\",\n    \"baseDecimalPlaces\": \"4\",\n    \"marginTradingAllowed\": false,\n    \"currencyPairType\": \"FUTURE\",\n    \"initialMarginFraction\": \"0.2\",\n    \"maintenanceMarginFraction\": \"0.1\",\n    \"autoCloseMarginFraction\": \"0.033333333\"\n  },\n  {\n    \"symbol\": \"WIFUSDTPERP\",\n    \"baseCurrency\": \"WIF\",\n    \"quoteCurrency\": \"USDT\",\n    \"shortName\": \"WIF/USDTPERP\",\n    \"active\": false,\n    \"minBaseAmount\": \"1\",\n    \"maxBaseAmount\": \"10000\",\n    \"minQuoteAmount\": \"1\",\n    \"maxQuoteAmount\": \"25000\",\n    \"tickSize\": \"0.0001\",\n    \"baseDecimalPlaces\": \"0\",\n    \"marginTradingAllowed\": false,\n    \"currencyPairType\": \"FUTURE\",\n    \"initialMarginFraction\": \"0.2\",\n    \"maintenanceMarginFraction\": \"0.1\",\n    \"autoCloseMarginFraction\": \"0.033333333\"\n  }\n]"}],"_postman_id":"cfa57d7e-2106-4066-bc27-c10210b6aa82"},{"name":"Currency Pairs By Type","id":"c81d7f37-3bb1-4cca-ae83-0f02fac8f52a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.valr.com/v1/public/pairs/:type","description":"<p>Get a list of all the currency pairs supported by VALR.</p>\n","urlObject":{"path":["v1","public","pairs",":type"],"host":["https://api.valr.com"],"query":[],"variable":[{"id":"001665ac-5463-4c3f-a932-dfc4c484fd68","type":"any","value":"FUTURE","key":"type"}]}},"response":[{"id":"aacd4629-f6c6-4664-9e48-b9a2c61bfdc3","name":"Currency Pairs By Type - SPOT","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.valr.com/v1/public/pairs/:type","host":["https://api.valr.com"],"path":["v1","public","pairs",":type"],"variable":[{"key":"type","value":"SPOT"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"0"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"server","value":"n/a"},{"key":"Via","value":"1.1 google"},{"key":"Date","value":"Tue, 17 Jun 2025 11:33:18 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Length","value":"19394"},{"key":"Age","value":"667"},{"key":"Cache-Control","value":"max-age=60,public"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"symbol\": \"ETHZAR\",\n    \"baseCurrency\": \"ETH\",\n    \"quoteCurrency\": \"ZAR\",\n    \"shortName\": \"ETH/ZAR\",\n    \"active\": true,\n    \"minBaseAmount\": \"0.0002\",\n    \"maxBaseAmount\": \"69.21\",\n    \"minQuoteAmount\": \"10\",\n    \"maxQuoteAmount\": \"5000000\",\n    \"tickSize\": \"1\",\n    \"baseDecimalPlaces\": \"8\",\n    \"marginTradingAllowed\": true,\n    \"currencyPairType\": \"SPOT\",\n    \"initialMarginFraction\": \"0.2\",\n    \"maintenanceMarginFraction\": \"0.1\",\n    \"autoCloseMarginFraction\": \"0.033333333\"\n  },\n  {\n    \"symbol\": \"BNBUSDC\",\n    \"baseCurrency\": \"BNB\",\n    \"quoteCurrency\": \"USDC\",\n    \"shortName\": \"BNB/USDC\",\n    \"active\": true,\n    \"minBaseAmount\": \"0.0008\",\n    \"maxBaseAmount\": \"80\",\n    \"minQuoteAmount\": \"0.52\",\n    \"maxQuoteAmount\": \"52000\",\n    \"tickSize\": \"0.1\",\n    \"baseDecimalPlaces\": \"4\",\n    \"marginTradingAllowed\": false,\n    \"currencyPairType\": \"SPOT\"\n  },\n  {\n    \"symbol\": \"SHIBUSDC\",\n    \"baseCurrency\": \"SHIB\",\n    \"quoteCurrency\": \"USDC\",\n    \"shortName\": \"SHIB/USDC\",\n    \"active\": true,\n    \"minBaseAmount\": \"44600\",\n    \"maxBaseAmount\": \"2750000000\",\n    \"minQuoteAmount\": \"0.59\",\n    \"maxQuoteAmount\": \"50000\",\n    \"tickSize\": \"0.00000001\",\n    \"baseDecimalPlaces\": \"0\",\n    \"marginTradingAllowed\": false,\n    \"currencyPairType\": \"SPOT\"\n  },\n  {\n    \"symbol\": \"LTCBTC\",\n    \"baseCurrency\": \"LTC\",\n    \"quoteCurrency\": \"BTC\",\n    \"shortName\": \"LTC/BTC\",\n    \"active\": false,\n    \"minBaseAmount\": \"0.0043\",\n    \"maxBaseAmount\": \"15.67\",\n    \"minQuoteAmount\": \"0.000016\",\n    \"maxQuoteAmount\": \"0.0512\",\n    \"tickSize\": \"0.000001\",\n    \"baseDecimalPlaces\": \"8\",\n    \"marginTradingAllowed\": false,\n    \"currencyPairType\": \"SPOT\"\n  },\n  {\n    \"symbol\": \"ADAETH\",\n    \"baseCurrency\": \"ADA\",\n    \"quoteCurrency\": \"ETH\",\n    \"shortName\": \"ADA/ETH\",\n    \"active\": false,\n    \"minBaseAmount\": \"3.5\",\n    \"maxBaseAmount\": \"3571.28\",\n    \"minQuoteAmount\": \"0.00022\",\n    \"maxQuoteAmount\": \"0.7576\",\n    \"tickSize\": \"0.000001\",\n    \"baseDecimalPlaces\": \"2\",\n    \"marginTradingAllowed\": false,\n    \"currencyPairType\": \"SPOT\"\n  }\n]"},{"id":"7a1d6011-fe0c-469d-8fed-74bf5ee4c062","name":"Currency Pairs By Type - FUTURE","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.valr.com/v1/public/pairs/:type","host":["https://api.valr.com"],"path":["v1","public","pairs",":type"],"variable":[{"key":"type","value":"FUTURE"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"0"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"server","value":"n/a"},{"key":"Via","value":"1.1 google"},{"key":"Date","value":"Tue, 17 Jun 2025 10:31:21 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Length","value":"1947"},{"key":"Age","value":"6093"},{"key":"Cache-Control","value":"max-age=60,public"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"symbol\": \"BTCUSDTPERP\",\n    \"baseCurrency\": \"BTC\",\n    \"quoteCurrency\": \"USDT\",\n    \"shortName\": \"BTC/USDTPERP\",\n    \"active\": true,\n    \"minBaseAmount\": \"0.0001\",\n    \"maxBaseAmount\": \"7\",\n    \"minQuoteAmount\": \"1\",\n    \"maxQuoteAmount\": \"250000\",\n    \"tickSize\": \"1\",\n    \"baseDecimalPlaces\": \"4\",\n    \"marginTradingAllowed\": false,\n    \"currencyPairType\": \"FUTURE\",\n    \"initialMarginFraction\": \"0.025\",\n    \"maintenanceMarginFraction\": \"0.0125\",\n    \"autoCloseMarginFraction\": \"0.0125\"\n  },\n  {\n    \"symbol\": \"BTCUSDCPERP\",\n    \"baseCurrency\": \"BTC\",\n    \"quoteCurrency\": \"USDC\",\n    \"shortName\": \"BTC/USDCPERP\",\n    \"active\": false,\n    \"minBaseAmount\": \"0.0001\",\n    \"maxBaseAmount\": \"35\",\n    \"minQuoteAmount\": \"1\",\n    \"maxQuoteAmount\": \"1000000\",\n    \"tickSize\": \"1\",\n    \"baseDecimalPlaces\": \"4\",\n    \"marginTradingAllowed\": false,\n    \"currencyPairType\": \"FUTURE\",\n    \"initialMarginFraction\": \"0.2\",\n    \"maintenanceMarginFraction\": \"0.1\",\n    \"autoCloseMarginFraction\": \"0.033333333\"\n  },\n  {\n    \"symbol\": \"ETHUSDCPERP\",\n    \"baseCurrency\": \"ETH\",\n    \"quoteCurrency\": \"USDC\",\n    \"shortName\": \"ETH/USDCPERP\",\n    \"active\": false,\n    \"minBaseAmount\": \"0.01\",\n    \"maxBaseAmount\": \"550\",\n    \"minQuoteAmount\": \"0.1\",\n    \"maxQuoteAmount\": \"1000000\",\n    \"tickSize\": \"0.01\",\n    \"baseDecimalPlaces\": \"2\",\n    \"marginTradingAllowed\": false,\n    \"currencyPairType\": \"FUTURE\",\n    \"initialMarginFraction\": \"0.2\",\n    \"maintenanceMarginFraction\": \"0.1\",\n    \"autoCloseMarginFraction\": \"0.033333333\"\n  }\n]"}],"_postman_id":"c81d7f37-3bb1-4cca-ae83-0f02fac8f52a"},{"name":"Futures Funding Rate History","id":"dba33fea-9b3d-405b-abbb-b077b8fa5a63","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.valr.com/v1/public/futures/funding/history?currencyPair=BTCUSDTPERP","description":"<p>Returns the funding rate history for the specified Futures pair.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>currencyPair</td>\n<td>The name of the perpetual futures contract expressed as base, quote, PERP, e.g. BTCUSDTPERP.</td>\n</tr>\n<tr>\n<td>fundingRate</td>\n<td>The funding rate that was used for the reported funding period. If the rate is positive, longs paid shorts. Alternatively, if the rate is negative, shorts paid longs.</td>\n</tr>\n<tr>\n<td>fundingTime</td>\n<td>The date and time of the funding run.</td>\n</tr>\n</tbody>\n</table>\n</div><p>The results of this request may be filtered by <code>currencyPair</code>, <code>startTime</code> and <code>endTime</code>. The <code>skip</code> and <code>limit</code> parameters may be applied to paginate the filtered results.</p>\n<h2 id=\"filtering-by-currencypair\">Filtering by <code>currencyPair</code></h2>\n<p>The <code>currencyPair</code> parameter may be used to filter the returned items by the name of the perpetual futures contract expressed as base, quote, PERP, e.g. BTCUSDTPERP.</p>\n<h2 id=\"filtering-by-starttime-or-endtime\">Filtering by <code>startTime</code> or <code>endTime</code></h2>\n<p>The <code>startTime</code> or <code>endTime</code> parameters may be used to filter the returned items by the funding rate period. The parameters will be interpreted as being in the UTC time zone and must be supplied in the ISO 8601 format (<code>2023-11-14T22:00:00.000Z</code>). These two parameters may be used together or separately. When <code>startTime</code> is used, funding rates that have been active since <code>startTime</code> are returned. When <code>endTime</code> is used, funding rates that have been active up to and including <code>endTime</code> are returned. When not specified, 30 days worth of funding rates are returned by default.</p>\n","urlObject":{"path":["v1","public","futures","funding","history"],"host":["https://api.valr.com"],"query":[{"description":{"content":"<p>The name of the perpetual futures contract expressed as base, quote, PERP, e.g. <code>BTCUSDTPERP</code></p>\n","type":"text/plain"},"key":"currencyPair","value":"BTCUSDTPERP"},{"disabled":true,"description":{"content":"<p>Skip this number of results. (Default 0)</p>\n","type":"text/plain"},"key":"skip","value":"0"},{"disabled":true,"description":{"content":"<p>Limit - Limit the results to this number. (Default and Max 100)</p>\n","type":"text/plain"},"key":"limit","value":"100"},{"disabled":true,"description":{"content":"<p>Include only funding rates after this ISO 8601 start time</p>\n","type":"text/plain"},"key":"startTime ","value":"2023-11-30T08:51:21.604113Z"},{"disabled":true,"description":{"content":"<p>Include only funding rates before this ISO 8601 end time</p>\n","type":"text/plain"},"key":"endTime","value":"2023-12-05T08:55:29.339000Z"}],"variable":[]}},"response":[{"id":"78d94a13-f95e-4d63-9804-3a30f85ca6c0","name":"Futures Funding Rate History","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/public/futures/funding/history?currencyPair=BTCUSDTPERP","host":["https://api.valr.com"],"path":["v1","public","futures","funding","history"],"query":[{"key":"currencyPair","value":"BTCUSDTPERP","description":"The name of the perpetual futures contract expressed as base, quote, PERP, e.g. `BTCUSDTPERP`"},{"key":"skip","value":"0","description":"Skip this number of results. (Default 0)","disabled":true},{"key":"limit","value":"100","description":"Limit - Limit the results to this number. (Default and Max 100)","disabled":true},{"key":"startTime ","value":"2023-11-30T08:51:21.604113Z","description":"Include only funding rates after this ISO 8601 start time","disabled":true},{"key":"endTime","value":"2023-12-05T08:55:29.339000Z","description":"Include only funding rates before this ISO 8601 end time","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Wed, 16 Jul 2025 11:45:35 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"709"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"n/a"},{"key":"Via","value":"1.1 google"},{"key":"Cache-Control","value":"max-age=60,public"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"currencyPair\": \"BTCUSDTPERP\",\n    \"fundingRate\": \"0.000277\",\n    \"fundingTime\": \"2025-07-16T11:00:00Z\"\n  },\n  {\n    \"currencyPair\": \"BTCUSDTPERP\",\n    \"fundingRate\": \"0.000313\",\n    \"fundingTime\": \"2025-07-16T10:00:00Z\"\n  },\n  {\n    \"currencyPair\": \"BTCUSDTPERP\",\n    \"fundingRate\": \"0.000343\",\n    \"fundingTime\": \"2025-07-16T09:00:00Z\"\n  },\n  {\n    \"currencyPair\": \"BTCUSDTPERP\",\n    \"fundingRate\": \"0.000368\",\n    \"fundingTime\": \"2025-07-16T08:00:00Z\"\n  },\n  {\n    \"currencyPair\": \"BTCUSDTPERP\",\n    \"fundingRate\": \"0.000387\",\n    \"fundingTime\": \"2025-07-16T07:00:00Z\"\n  }\n]"}],"_postman_id":"dba33fea-9b3d-405b-abbb-b077b8fa5a63"},{"name":"Futures Information","id":"459c7c67-3c0f-494e-851b-2fd83cbff2da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.valr.com/v1/public/futures/info","description":"<p>Returns market information for the available futures trading pairs on the platform.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>currencyPair</td>\n<td>The name of the perpetual futures contract expressed as base, quote, PERPe.g. <code>BTCUSDTPERP</code>.</td>\n</tr>\n<tr>\n<td>estimatedFundingRate</td>\n<td>The anticipated funding rate for the funding run (see below on explanation of funding rates).</td>\n</tr>\n<tr>\n<td>nextFundingRun</td>\n<td>The next scheduled run for funding, scheduled to run at the start of every hour.</td>\n</tr>\n<tr>\n<td>nextPnlRun</td>\n<td>The next scheduled run where unrealised pnl as calculated based on changes in mark pice is realised. Profits are added to (and losses deducted from) the account's balances every PnL run in quote currency. Currently PnL runs are scheduled for 4 hourly intervals starting from midnight GMT.</td>\n</tr>\n<tr>\n<td>openInterest</td>\n<td>The sum of all long and short positions for a pair, expressed as quantity in base currency.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","public","futures","info"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"319b421e-f1be-49d5-8cff-2f3eeebde6cb","name":"Futures Information","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}"}],"url":"https://api.valr.com/v1/public/futures/info"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"0"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"server","value":"n/a"},{"key":"Via","value":"1.1 google"},{"key":"Date","value":"Tue, 17 Jun 2025 12:46:40 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Length","value":"281"},{"key":"Age","value":"417"},{"key":"Cache-Control","value":"max-age=60,public"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"currencyPair\": \"BTCUSDTPERP\",\n    \"estimatedFundingRate\": \"-0.000001\",\n    \"openInterest\": \"1.8401\",\n    \"nextFundingRun\": 1750165200000,\n    \"nextPnlRun\": 1750176000000\n  },\n  {\n    \"currencyPair\": \"ETHUSDTPERP\",\n    \"estimatedFundingRate\": \"0.000072\",\n    \"openInterest\": \"69.857\",\n    \"nextFundingRun\": 1750165200000,\n    \"nextPnlRun\": 1750176000000\n  },\n  {\n    \"currencyPair\": \"USDTZARPERP\",\n    \"estimatedFundingRate\": \"0.000008\",\n    \"openInterest\": \"28038.5\",\n    \"nextFundingRun\": 1750165200000,\n    \"nextPnlRun\": 1750176000000\n  },\n  {\n    \"currencyPair\": \"XRPUSDTPERP\",\n    \"estimatedFundingRate\": \"0.000017\",\n    \"openInterest\": \"68587\",\n    \"nextFundingRun\": 1750165200000,\n    \"nextPnlRun\": 1750176000000\n  },\n  {\n    \"currencyPair\": \"DOGEUSDTPERP\",\n    \"estimatedFundingRate\": \"-0.000012\",\n    \"openInterest\": \"476792\",\n    \"nextFundingRun\": 1750165200000,\n    \"nextPnlRun\": 1750176000000\n  },\n  {\n    \"currencyPair\": \"SOLUSDTPERP\",\n    \"estimatedFundingRate\": \"0.000003\",\n    \"openInterest\": \"1737.91\",\n    \"nextFundingRun\": 1750165200000,\n    \"nextPnlRun\": 1750176000000\n  },\n  {\n    \"currencyPair\": \"AVAXUSDTPERP\",\n    \"estimatedFundingRate\": \"-0.000005\",\n    \"openInterest\": \"838.54\",\n    \"nextFundingRun\": 1750165200000,\n    \"nextPnlRun\": 1750176000000\n  }\n]"}],"_postman_id":"459c7c67-3c0f-494e-851b-2fd83cbff2da"},{"name":"Loan Info","id":"c62b81eb-e72f-4cd1-be8b-e5a430950225","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.valr.com/v1/public/loans/info","description":"<p>Returns minimum and maximum rates and amounts per currency supporting lending</p>\n","urlObject":{"path":["v1","public","loans","info"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"48c81785-93e6-48a5-93de-ea58c37c3132","name":"Loan Info","originalRequest":{"method":"GET","header":[],"url":"https://api.valr.com/v1/public/loans/info"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Tue, 17 Jun 2025 12:54:19 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"0"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"n/a"},{"key":"Via","value":"1.1 google"},{"key":"Cache-Control","value":"max-age=120,public"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"lendingSupported\": true,\n        \"shortName\": \"ZAR\",\n        \"minimumRate\": \"0.00000685\",\n        \"maximumRate\": \"0.00036\",\n        \"minimumAmount\": \"500\",\n        \"maximumAmount\": \"100000000\"\n    },\n    {\n        \"lendingSupported\": true,\n        \"shortName\": \"BTC\",\n        \"minimumRate\": \"0.0000005\",\n        \"maximumRate\": \"0.00036\",\n        \"minimumAmount\": \"0.008\",\n        \"maximumAmount\": \"1000\"\n    },\n    {\n        \"lendingSupported\": true,\n        \"shortName\": \"ETH\",\n        \"minimumRate\": \"0.0000005\",\n        \"maximumRate\": \"0.00036\",\n        \"minimumAmount\": \"0.01\",\n        \"maximumAmount\": \"20000\"\n    },\n    {\n        \"lendingSupported\": true,\n        \"shortName\": \"TRX\",\n        \"minimumRate\": \"0.0000045\",\n        \"maximumRate\": \"0.00036\",\n        \"minimumAmount\": \"90\",\n        \"maximumAmount\": \"200000000\"\n    },\n    {\n        \"lendingSupported\": false,\n        \"shortName\": \"LTC\",\n        \"minimumRate\": \"0\",\n        \"minimumAmount\": \"0\"\n    },\n    {\n        \"lendingSupported\": false,\n        \"shortName\": \"PYUSD\",\n        \"minimumRate\": \"0\",\n        \"minimumAmount\": \"0\"\n    },\n    {\n        \"lendingSupported\": false,\n        \"shortName\": \"PYTH\",\n        \"minimumRate\": \"0\",\n        \"minimumAmount\": \"0\"\n    },\n    {\n        \"lendingSupported\": false,\n        \"shortName\": \"W\",\n        \"minimumRate\": \"0\",\n        \"minimumAmount\": \"0\"\n    }\n]"}],"_postman_id":"c62b81eb-e72f-4cd1-be8b-e5a430950225"},{"name":"Mark Price Buckets for a currency pair","id":"7a9a641c-f0c9-43fe-afc5-3d719c738ff9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.valr.com/v1/public/:currencyPair/markprice/buckets?startTime=2025-07-21T08:51:21.604113Z&endTime=2025-07-21T10:21:21.604113Z","description":"<p>Get the mark price buckets for a given currency pair.</p>\n<p><strong>Notes</strong></p>\n<p>We only support 100 buckets for a given bucket period. This means you can't specify a startTime and endTime that will contain more buckets than our supported max.</p>\n","urlObject":{"path":["v1","public",":currencyPair","markprice","buckets"],"host":["https://api.valr.com"],"query":[{"disabled":true,"description":{"content":"<p>(Optional), 60 (default), 300,  900, 1800, 3600, 21600 and 86400 (max)</p>\n","type":"text/plain"},"key":"periodSeconds","value":""},{"description":{"content":"<p>(Optional) Default is endTime minus max allowed buckets</p>\n","type":"text/plain"},"key":"startTime","value":"2025-07-21T08:51:21.604113Z"},{"description":{"content":"<p>(Optional) Default is the current time</p>\n","type":"text/plain"},"key":"endTime","value":"2025-07-21T10:21:21.604113Z"}],"variable":[{"description":{"content":"<p> Specify the currency pair for which you want to query the mark price buckets</p>\n<p>Examples: BTCUSDC, ETHUSDC, XRPUSDC, ADABTC, ADAETH etc.</p>\n","type":"text/plain"},"type":"any","value":"BTCUSDT","key":"currencyPair"}]}},"response":[{"id":"52cee506-d71b-4f53-bc3c-886738d276fb","name":"Mark Price Buckets for a currency pair","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.valr.com/v1/public/:currencyPair/markprice/buckets","host":["https://api.valr.com"],"path":["v1","public",":currencyPair","markprice","buckets"],"query":[{"key":"periodSeconds","value":"","description":"(Optional), 60 (default), 300,  900, 1800, 3600, 21600 and 86400 (max)","disabled":true},{"key":"startTime","value":"2023-11-30T08:51:21.604113Z","description":"(Optional) Default Now() ","disabled":true},{"key":"endTime","value":"2023-11-30T10:21:21.604113Z","description":"(Optional) Default  startTime minus max allowed buckets","disabled":true}],"variable":[{"key":"currencyPair","value":"BTCUSDT","description":" Specify the currency pair for which you want to query the mark price buckets\n\nExamples: BTCUSDC, ETHUSDC, XRPUSDC, ADABTC, ADAETH etc.\n"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"cache-control","value":"max-age=50,public"},{"key":"x-valr-upstream-service-time","value":"31"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Wed, 16 Jul 2025 11:39:59 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"currencyPairSymbol\": \"BTCUSDT\",\n    \"bucketPeriodInSeconds\": 60,\n    \"startTime\": \"2025-07-16T11:39:00Z\",\n    \"open\": \"118834\",\n    \"close\": \"118834\",\n    \"high\": \"118834\",\n    \"low\": \"118834\"\n  },\n  {\n    \"currencyPairSymbol\": \"BTCUSDT\",\n    \"bucketPeriodInSeconds\": 60,\n    \"startTime\": \"2025-07-16T11:38:00Z\",\n    \"open\": \"118821\",\n    \"close\": \"118821\",\n    \"high\": \"118821\",\n    \"low\": \"118821\"\n  },\n  {\n    \"currencyPairSymbol\": \"BTCUSDT\",\n    \"bucketPeriodInSeconds\": 60,\n    \"startTime\": \"2025-07-16T11:37:00Z\",\n    \"open\": \"118827\",\n    \"close\": \"118827\",\n    \"high\": \"118827\",\n    \"low\": \"118827\"\n  },\n  {\n    \"currencyPairSymbol\": \"BTCUSDT\",\n    \"bucketPeriodInSeconds\": 60,\n    \"startTime\": \"2025-07-16T11:36:00Z\",\n    \"open\": \"118845\",\n    \"close\": \"118845\",\n    \"high\": \"118845\",\n    \"low\": \"118845\"\n  },\n  {\n    \"currencyPairSymbol\": \"BTCUSDT\",\n    \"bucketPeriodInSeconds\": 60,\n    \"startTime\": \"2025-07-16T11:35:00Z\",\n    \"open\": \"118827\",\n    \"close\": \"118827\",\n    \"high\": \"118827\",\n    \"low\": \"118827\"\n  },\n  {\n    \"currencyPairSymbol\": \"BTCUSDT\",\n    \"bucketPeriodInSeconds\": 60,\n    \"startTime\": \"2025-07-16T11:34:00Z\",\n    \"open\": \"118849\",\n    \"close\": \"118849\",\n    \"high\": \"118849\",\n    \"low\": \"118849\"\n  }\n]"}],"_postman_id":"7a9a641c-f0c9-43fe-afc5-3d719c738ff9"},{"name":"Market Summary","id":"cd1f0448-3da3-44cf-b00d-91edd74e7e19","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.valr.com/v1/public/marketsummary","description":"<p>Get the market summary for all supported currency pairs.</p>\n<p><code>markPrice</code>: A reference price for a trading pair calculated as the median of last traded, best bid and best ask.</p>\n","urlObject":{"path":["v1","public","marketsummary"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"d8dc54e4-730e-49ab-bdd6-a1187f348710","name":"Market Summary","originalRequest":{"method":"GET","header":[],"url":"https://api.valr.com/v1/public/marketsummary"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"0"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"server","value":"n/a"},{"key":"Via","value":"1.1 google"},{"key":"Date","value":"Tue, 17 Jun 2025 12:34:32 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Length","value":"10854"},{"key":"Age","value":"22"},{"key":"Cache-Control","value":"max-age=5,public"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"currencyPair\": \"BTCUSDTPERP\",\n    \"askPrice\": \"105656\",\n    \"bidPrice\": \"105594\",\n    \"lastTradedPrice\": \"105611\",\n    \"previousClosePrice\": \"106678\",\n    \"baseVolume\": \"1.0638\",\n    \"quoteVolume\": \"113947.8777\",\n    \"highPrice\": \"108840\",\n    \"lowPrice\": \"105600\",\n    \"created\": \"2025-06-17T12:34:32.069Z\",\n    \"changeFromPrevious\": \"-1\",\n    \"markPrice\": \"105628\"\n  },\n  {\n    \"currencyPair\": \"BATUSDC\",\n    \"askPrice\": \"0.12481\",\n    \"bidPrice\": \"0.12457\",\n    \"lastTradedPrice\": \"0.12471\",\n    \"previousClosePrice\": \"0.1292\",\n    \"baseVolume\": \"0\",\n    \"quoteVolume\": \"0\",\n    \"highPrice\": \"0.131\",\n    \"lowPrice\": \"0.12432\",\n    \"created\": \"2025-06-17T12:32:22.079Z\",\n    \"changeFromPrevious\": \"-3.47\",\n    \"markPrice\": \"0\"\n  },\n  {\n    \"currencyPair\": \"ALGOUSDC\",\n    \"askPrice\": \"0.1731\",\n    \"bidPrice\": \"0.1729\",\n    \"lastTradedPrice\": \"0.173\",\n    \"previousClosePrice\": \"0.1812\",\n    \"baseVolume\": \"0\",\n    \"quoteVolume\": \"0\",\n    \"highPrice\": \"0.1865\",\n    \"lowPrice\": \"0.1718\",\n    \"created\": \"2025-06-17T12:34:25.703Z\",\n    \"changeFromPrevious\": \"-4.52\",\n    \"markPrice\": \"0\"\n  },\n  {\n    \"currencyPair\": \"SHIBUSDC\",\n    \"askPrice\": \"0\",\n    \"bidPrice\": \"0\",\n    \"lastTradedPrice\": \"0.00002178\",\n    \"previousClosePrice\": \"0.00002178\",\n    \"baseVolume\": \"0\",\n    \"quoteVolume\": \"0\",\n    \"highPrice\": \"0.00002178\",\n    \"lowPrice\": \"0\",\n    \"created\": \"2025-06-17T12:34:05Z\",\n    \"changeFromPrevious\": \"0\",\n    \"markPrice\": \"0.00001176\"\n  },\n  {\n    \"currencyPair\": \"ZROUSDT\",\n    \"askPrice\": \"2.016\",\n    \"bidPrice\": \"2.015\",\n    \"lastTradedPrice\": \"1.947\",\n    \"previousClosePrice\": \"1.947\",\n    \"baseVolume\": \"0\",\n    \"quoteVolume\": \"0\",\n    \"highPrice\": \"1.947\",\n    \"lowPrice\": \"0\",\n    \"created\": \"2025-06-17T12:34:05Z\",\n    \"changeFromPrevious\": \"0\",\n    \"markPrice\": \"1.878\"\n  },\n  {\n    \"currencyPair\": \"USDTUSDC\",\n    \"askPrice\": \"1.00046\",\n    \"bidPrice\": \"1.00033\",\n    \"lastTradedPrice\": \"1.00037\",\n    \"previousClosePrice\": \"1.00026\",\n    \"baseVolume\": \"757540.1433\",\n    \"quoteVolume\": \"757913.592959302\",\n    \"highPrice\": \"1.00066\",\n    \"lowPrice\": \"1.00023\",\n    \"created\": \"2025-06-17T12:34:32.049Z\",\n    \"changeFromPrevious\": \"0.01\",\n    \"markPrice\": \"1.0003\"\n  }\n]"}],"_postman_id":"cd1f0448-3da3-44cf-b00d-91edd74e7e19"},{"name":"Market Summary for a currency pair","id":"89b446bb-60a6-42ff-aa09-29e4918a9eb0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.valr.com/v1/public/:currencyPair/marketsummary","description":"<p>Get the market summary for a given currency pair.</p>\n","urlObject":{"path":["v1","public",":currencyPair","marketsummary"],"host":["https://api.valr.com"],"query":[],"variable":[{"description":{"content":"<p> Specify the currency pair for which you want to query the market summary. </p>\n<p>Examples: BTCUSDC, ETHUSDC, XRPUSDC, ETHZAR, ADABTC, ADAETH etc.</p>\n","type":"text/plain"},"type":"any","value":"BTCUSDC","key":"currencyPair"}]}},"response":[{"id":"4b415328-cfa9-4db6-b9e6-6a9ab62ea78d","name":"Market Summary for a currency pair","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.valr.com/v1/public/:currencyPair/marketsummary","host":["https://api.valr.com"],"path":["v1","public",":currencyPair","marketsummary"],"variable":[{"key":"currencyPair","value":"BTCUSDT","description":" Specify the currency pair for which you want to query the market summary. \n\nExamples: BTCUSDC, ETHUSDC, XRPUSDC, ETHZAR, ADABTC, ADAETH etc.\n"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"cache-control","value":"max-age=5,public"},{"key":"x-valr-upstream-service-time","value":"1"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 17 Jul 2025 07:38:05 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"currencyPair\": \"BTCUSDT\",\n    \"askPrice\": \"93129\",\n    \"bidPrice\": \"81400\",\n    \"lastTradedPrice\": \"93129\",\n    \"previousClosePrice\": \"93129\",\n    \"baseVolume\": \"0\",\n    \"quoteVolume\": \"0\",\n    \"highPrice\": \"93129\",\n    \"lowPrice\": \"0\",\n    \"created\": \"2025-07-17T07:37:05.061Z\",\n    \"changeFromPrevious\": \"0\",\n    \"markPrice\": \"118156\"\n}"}],"_postman_id":"89b446bb-60a6-42ff-aa09-29e4918a9eb0"},{"name":"Order Book","id":"720fec1b-a1f6-486a-b04a-7ae76c6f9f66","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.valr.com/v1/public/:currencyPair/orderbook","description":"<p>Returns a list of the top 41 <code>bids</code> and <code>asks</code> in the order book. Ask orders are sorted by price ascending. Bid orders are sorted by price descending. Orders of the same price are aggregated.</p>\n<p>Please note: This is not an authenticated call. More constrained rate-limiting rules will apply than when you use the <code>/marketdata/:currencyPair/orderbook</code> route.</p>\n","urlObject":{"path":["v1","public",":currencyPair","orderbook"],"host":["https://api.valr.com"],"query":[],"variable":[{"description":{"content":"<p>Currency pair for which you want to query the order book</p>\n","type":"text/plain"},"type":"any","value":"BTCUSDC","key":"currencyPair"}]}},"response":[{"id":"51f52a7b-dd09-4634-9121-d3ca88bb5567","name":"Order Book","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.valr.com/v1/public/:currencyPair/orderbook","host":["https://api.valr.com"],"path":["v1","public",":currencyPair","orderbook"],"variable":[{"key":"currencyPair","value":"BTCUSDT","description":"Currency pair for which you want to query the order book"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"cache-control","value":"max-age=30,public"},{"key":"x-valr-upstream-service-time","value":"8"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Wed, 16 Jul 2025 11:21:23 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n  \"Asks\": [\n    {\n      \"side\": \"sell\",\n      \"quantity\": \"0.01293134\",\n      \"price\": \"93129\",\n      \"currencyPair\": \"BTCUSDT\",\n      \"orderCount\": 1\n    }\n  ],\n  \"Bids\": [\n    {\n      \"side\": \"buy\",\n      \"quantity\": \"1.23136671\",\n      \"price\": \"81400\",\n      \"currencyPair\": \"BTCUSDT\",\n      \"orderCount\": 17\n    }\n  ],\n  \"LastChange\": \"2025-07-15T12:19:21.501Z\",\n  \"SequenceNumber\": 282886\n}"}],"_postman_id":"720fec1b-a1f6-486a-b04a-7ae76c6f9f66"},{"name":"Order Book (Non aggregated)","id":"9ee254bd-4361-40e8-95a1-f57e74968f24","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.valr.com/v1/public/:currencyPair/orderbook/full","description":"<p>Returns a list of all the bids and asks in the order book. Ask orders are sorted by price ascending. Bid orders are sorted by price descending. Orders of the same price are NOT aggregated. The <code>LastChange</code> field indicates the timestamp of the last update to the order book.</p>\n<p>Please note: This is not an authenticated call. More constrained rate-limiting rules will apply than when you use the <code>/marketdata/:currencyPair/orderbook/full</code> route.</p>\n","urlObject":{"path":["v1","public",":currencyPair","orderbook","full"],"host":["https://api.valr.com"],"query":[],"variable":[{"description":{"content":"<p>Currency pair for which you want to query the order book</p>\n","type":"text/plain"},"type":"any","value":"BTCUSDC","key":"currencyPair"}]}},"response":[{"id":"087cb78a-064f-47a3-860e-0af80349b0fa","name":"Order Book (Non aggregated)","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate request signature"}],"url":{"raw":"https://api.valr.com/v1/public/:currencyPair/orderbook/full","host":["https://api.valr.com"],"path":["v1","public",":currencyPair","orderbook","full"],"variable":[{"key":"currencyPair","value":"BTCUSDT","description":"Currency pair for which you want to query the order book"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"cache-control","value":"max-age=30,public"},{"key":"x-valr-upstream-service-time","value":"12"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Wed, 16 Jul 2025 11:23:45 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n  \"Asks\": [\n    {\n      \"side\": \"sell\",\n      \"quantity\": \"0.01293134\",\n      \"price\": \"93129\",\n      \"currencyPair\": \"BTCUSDT\",\n      \"id\": \"01972611-7cd0-7866-a6f3-8bc8f9c4a55a\",\n      \"positionAtPrice\": 1\n    },\n    {\n      \"side\": \"sell\",\n      \"quantity\": \"4.6422441\",\n      \"price\": \"95800\",\n      \"currencyPair\": \"BTCUSDT\",\n      \"id\": \"b240da7d-6408-41fc-aea6-30c0c7160760\",\n      \"positionAtPrice\": 1\n    },\n    {\n      \"side\": \"sell\",\n      \"quantity\": \"0.01\",\n      \"price\": \"95800\",\n      \"currencyPair\": \"BTCUSDT\",\n      \"id\": \"01955ba4-5c64-781e-ad2f-2891b3032e36\",\n      \"positionAtPrice\": 2\n    }\n  ],\n  \"Bids\": [\n    {\n      \"side\": \"buy\",\n      \"quantity\": \"1.23117023\",\n      \"price\": \"81400\",\n      \"currencyPair\": \"BTCUSDT\",\n      \"id\": \"01966bf8-308b-7fb9-a6db-bf2d6122f08b\",\n      \"positionAtPrice\": 1\n    },\n    {\n      \"side\": \"buy\",\n      \"quantity\": \"0.00001228\",\n      \"price\": \"81400\",\n      \"currencyPair\": \"BTCUSDT\",\n      \"id\": \"0197f31a-7db7-7e5b-89c5-65337989465f\",\n      \"positionAtPrice\": 2\n    },\n    {\n      \"side\": \"buy\",\n      \"quantity\": \"0.05000000\",\n      \"price\": \"81399\",\n      \"currencyPair\": \"BTCUSDT\",\n      \"id\": \"0197f31a-8437-7213-8a0b-30486a149648\",\n      \"positionAtPrice\": 1\n    }\n  ],\n  \"LastChange\": \"2025-07-15T12:19:21.501Z\",\n  \"SequenceNumber\": 282886\n}"}],"_postman_id":"9ee254bd-4361-40e8-95a1-f57e74968f24"},{"name":"Order Types","id":"700eddaa-60ba-4872-ae2b-577c3285d695","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.valr.com/v1/public/ordertypes?includeInactivePairs=false","description":"<p>Get all the order types supported for all currency pairs.</p>\n<p>An array of currency pairs is returned along with an array of order types for each currency pair. You can only place an order that is supported by that currency pair.</p>\n<p>The order types supported are as follows:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>limit post-only</td>\n<td>Place a limit order on the Exchange that will either be added to the order book or, should it match, be cancelled completely.</td>\n</tr>\n<tr>\n<td>limit</td>\n<td>Place a limit order on the Exchange.</td>\n</tr>\n<tr>\n<td>market</td>\n<td>Place a market order on the Exchange (only crypto-to-ZAR pairs).</td>\n</tr>\n<tr>\n<td>simple</td>\n<td>Similar to a market order, but allows for crypto-to-crypto pairs.</td>\n</tr>\n<tr>\n<td>stop-loss limit</td>\n<td>Place a limit order on the Exchange that limits the downside of holding a particular asset.</td>\n</tr>\n<tr>\n<td>take-profit limit</td>\n<td>Place a limit order on the Exchange to lock in the growth of holding a particular asset.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","public","ordertypes"],"host":["https://api.valr.com"],"query":[{"description":{"content":"<p>Default: true</p>\n","type":"text/plain"},"key":"includeInactivePairs","value":"false"}],"variable":[]}},"response":[{"id":"2c739d9c-b36d-4f33-bf97-af8589bf5c25","name":"Order Types","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.valr.com/v1/public/ordertypes","host":["https://api.valr.com"],"path":["v1","public","ordertypes"],"query":[{"key":"includeInactivePairs","value":"false","description":"Default: true","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"0"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"server","value":"n/a"},{"key":"Via","value":"1.1 google"},{"key":"Date","value":"Tue, 17 Jun 2025 08:25:00 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Length","value":"2686"},{"key":"Age","value":"13923"},{"key":"Cache-Control","value":"public,max-age=60"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"currencyPair\": \"ETHZAR\",\n    \"orderTypes\": [\n      \"LIMIT_POST_ONLY\",\n      \"LIMIT\",\n      \"MARKET\",\n      \"SIMPLE\",\n      \"STOP_LOSS_LIMIT\",\n      \"TAKE_PROFIT_LIMIT\"\n    ]\n  },\n  {\n    \"currencyPair\": \"LTCBTC\",\n    \"orderTypes\": []\n  },\n  {\n    \"currencyPair\": \"LTCETH\",\n    \"orderTypes\": []\n  },\n  {\n    \"currencyPair\": \"BNTUSDC\",\n    \"orderTypes\": [\n      \"SIMPLE\"\n    ]\n  },\n  {\n    \"currencyPair\": \"DAIUSDC\",\n    \"orderTypes\": [\n      \"SIMPLE\"\n    ]\n  },\n  {\n    \"currencyPair\": \"BTCUSDTPERP\",\n    \"orderTypes\": [\n      \"LIMIT_POST_ONLY\",\n      \"LIMIT\",\n      \"LIMIT_REDUCE_ONLY\",\n      \"MARKET_REDUCE_ONLY\",\n      \"MARKET\"\n    ]\n  },\n  {\n    \"currencyPair\": \"PYUSDUSDT\",\n    \"orderTypes\": [\n      \"LIMIT_POST_ONLY\",\n      \"SIMPLE\",\n      \"LIMIT\",\n      \"MARKET\"\n    ]\n  },\n  {\n    \"currencyPair\": \"PYUSDZAR\",\n    \"orderTypes\": [\n      \"LIMIT_POST_ONLY\",\n      \"LIMIT\",\n      \"SIMPLE\",\n      \"MARKET\"\n    ]\n  }\n]"}],"_postman_id":"700eddaa-60ba-4872-ae2b-577c3285d695"},{"name":"Order Types for a currency pair","id":"a3675f5a-34e0-45b3-9458-f3cffdbe4360","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.valr.com/v1/public/:currencyPair/ordertypes","description":"<p>Get the order types supported for a given currency pair.</p>\n<p>An array of order types is returned. You can only place an order that is listed in this array for this currency pair.</p>\n<p>The order types supported are as follows:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>limit post-only</td>\n<td>Place a limit order on the Exchange that will either be added to the order book or, should it match, be cancelled completely.</td>\n</tr>\n<tr>\n<td>limit</td>\n<td>Place a limit order on the Exchange.</td>\n</tr>\n<tr>\n<td>market</td>\n<td>Place a market order on the Exchange.</td>\n</tr>\n<tr>\n<td>simple</td>\n<td>Similar to a market order, but allows for crypto-to-crypto pairs.</td>\n</tr>\n<tr>\n<td>stop-loss limit</td>\n<td>Place a limit order on the Exchange that limits the downside of holding a particular asset.</td>\n</tr>\n<tr>\n<td>take-profit limit</td>\n<td>Place a limit order on the Exchange to lock in the growth of holding a particular asset.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","public",":currencyPair","ordertypes"],"host":["https://api.valr.com"],"query":[],"variable":[{"description":{"content":"<p>Specify the currency pair for which you want to query the order types. </p>\n<p>Examples: BTCUSDC, BTCUSDT, XRPUSDC, SOLUSDC, ADABTC, ADAETH etc.</p>\n","type":"text/plain"},"type":"any","value":"BTCUSDC","key":"currencyPair"}]}},"response":[{"id":"ed39fd10-4402-498a-b85b-6a1e48bb9a0e","name":"Order Types for a currency pair","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.valr.com/v1/public/:currencyPair/ordertypes","protocol":"https","host":["api","valr","com"],"path":["v1","public",":currencyPair","ordertypes"],"variable":[{"key":"currencyPair","value":"BTCUSDC","description":" Specify the currency pair for which you want to query the order types. \n\nExamples: BTCUSDC, BTCUSDT, XRPUSDC, SOLUSDC, ADABTC, ADAETH etc.\n"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Mon, 08 Feb 2021 11:31:23 GMT"},{"key":"cache-control","value":"max-age=60"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"1"},{"key":"server","value":"envoy"},{"key":"transfer-encoding","value":"chunked"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"clear"}],"cookie":[],"responseTime":null,"body":"[\n    \"LIMIT_POST_ONLY\",\n    \"MARKET\",\n    \"LIMIT\",\n    \"SIMPLE\",\n    \"STOP_LOSS_LIMIT\",\n    \"TAKE_PROFIT_LIMIT\"\n]"}],"_postman_id":"a3675f5a-34e0-45b3-9458-f3cffdbe4360"},{"name":"Price Buckets for a currency pair","id":"438aa673-dd05-45cc-a7de-ad78932a14db","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"GET","header":[],"url":"https://api.valr.com/v1/public/:currencyPair/buckets?periodSeconds=60&startTime=1753102597&endTime=1753188997&skip=0&limit=300&includeEmpty=true","description":"<p>This API returns historical market data aggregated into time-based \"buckets\" or candles for a specified currency pair and bucket period. Each bucket provides the open, high, low, close, and volume for the defined time interval.</p>\n<p><strong>Note:</strong> If no trading activity occurred during a specific bucket period, the <code>open</code>, <code>high</code>, <code>low</code>, and <code>close</code> prices will be identical (likely reflecting the last traded price), and <code>volume</code> and <code>quoteVolume</code> will be zero.</p>\n<p>Valid inputs for the <code>periodsSeconds</code> parameter are <code>60 (default) - 1 Minute</code>, <code>300 - 5 Minutes</code>, <code>900 - 15 Minutes</code>, <code>1800 - 30 Minutes</code>, <code>3600 - 1 Hour</code>, <code>21600 - 6 Hours</code> and <code>86400 - 1 Day (max)</code></p>\n","urlObject":{"path":["v1","public",":currencyPair","buckets"],"host":["https://api.valr.com"],"query":[{"description":{"content":"<p>(Optional), 60 (default), 300,  900, 1800, 3600, 21600 and 86400 (max)</p>\n","type":"text/plain"},"key":"periodSeconds","value":"60"},{"description":{"content":"<p>Start Time in Epoch Seconds</p>\n","type":"text/plain"},"key":"startTime","value":"1753102597"},{"description":{"content":"<p>End Time in Epoch Seconds</p>\n","type":"text/plain"},"key":"endTime","value":"1753188997"},{"description":{"content":"<p>Skip this number of results. (Default 0)</p>\n","type":"text/plain"},"key":"skip","value":"0"},{"description":{"content":"<p>Limit the results to this number. (Default and Max 100)</p>\n","type":"text/plain"},"key":"limit","value":"300"},{"description":{"content":"<p>(Optional) default value is false</p>\n","type":"text/plain"},"key":"includeEmpty","value":"true"}],"variable":[{"description":{"content":"<p>Specify the currency pair for which you want to query the price buckets.</p>\n<p>Examples: BTCUSDC, ETHUSDC, XRPUSDC, ADABTC, ADAETH etc.</p>\n","type":"text/plain"},"type":"any","value":"BTCUSDC","key":"currencyPair"}]}},"response":[{"id":"a5b613c8-44ef-4df6-8597-2e81d861b790","name":"Price Buckets for a currency pair","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.valr.com/v1/public/:currencyPair/buckets?periodSeconds=60&startTime=1753102597&endTime=1753188997&skip=0&limit=300&includeEmpty=true","host":["https://api.valr.com"],"path":["v1","public",":currencyPair","buckets"],"query":[{"key":"periodSeconds","value":"60","description":"(Optional), 60 (default), 300,  900, 1800, 3600, 21600 and 86400 (max)"},{"key":"startTime","value":"1753102597","description":"Start Time in Epoch Seconds"},{"key":"endTime","value":"1753188997","description":"End Time in Epoch Seconds"},{"key":"skip","value":"0","description":"Skip this number of results. (Default 0)"},{"key":"limit","value":"300","description":"Limit the results to this number. (Default and Max 100)"},{"key":"includeEmpty","value":"true","description":"(Optional) default value is false"}],"variable":[{"key":"currencyPair","value":"BTCUSDC","description":"Specify the currency pair for which you want to query the price buckets.\n\nExamples: BTCUSDC, ETHUSDC, XRPUSDC, ADABTC, ADAETH etc."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:56:00Z\",\n        \"open\": \"119350\",\n        \"high\": \"119350\",\n        \"low\": \"119350\",\n        \"close\": \"119350\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:55:00Z\",\n        \"open\": \"119350\",\n        \"high\": \"119350\",\n        \"low\": \"119350\",\n        \"close\": \"119350\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:54:00Z\",\n        \"open\": \"119350\",\n        \"high\": \"119350\",\n        \"low\": \"119350\",\n        \"close\": \"119350\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:53:00Z\",\n        \"open\": \"119350\",\n        \"high\": \"119350\",\n        \"low\": \"119350\",\n        \"close\": \"119350\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:52:00Z\",\n        \"open\": \"119350\",\n        \"high\": \"119350\",\n        \"low\": \"119350\",\n        \"close\": \"119350\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:51:00Z\",\n        \"open\": \"119350\",\n        \"high\": \"119350\",\n        \"low\": \"119350\",\n        \"close\": \"119350\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:50:00Z\",\n        \"open\": \"119350\",\n        \"high\": \"119350\",\n        \"low\": \"119350\",\n        \"close\": \"119350\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:49:00Z\",\n        \"open\": \"119350\",\n        \"high\": \"119350\",\n        \"low\": \"119350\",\n        \"close\": \"119350\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:48:00Z\",\n        \"open\": \"119350\",\n        \"high\": \"119350\",\n        \"low\": \"119350\",\n        \"close\": \"119350\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:47:00Z\",\n        \"open\": \"119350\",\n        \"high\": \"119350\",\n        \"low\": \"119350\",\n        \"close\": \"119350\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:46:00Z\",\n        \"open\": \"119350\",\n        \"high\": \"119350\",\n        \"low\": \"119350\",\n        \"close\": \"119350\",\n        \"volume\": \"0.0051\",\n        \"quoteVolume\": \"608.685\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:45:00Z\",\n        \"open\": \"119166\",\n        \"high\": \"119166\",\n        \"low\": \"119166\",\n        \"close\": \"119166\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:44:00Z\",\n        \"open\": \"119166\",\n        \"high\": \"119166\",\n        \"low\": \"119166\",\n        \"close\": \"119166\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:43:00Z\",\n        \"open\": \"119166\",\n        \"high\": \"119166\",\n        \"low\": \"119166\",\n        \"close\": \"119166\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:42:00Z\",\n        \"open\": \"119166\",\n        \"high\": \"119166\",\n        \"low\": \"119166\",\n        \"close\": \"119166\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:41:00Z\",\n        \"open\": \"119166\",\n        \"high\": \"119166\",\n        \"low\": \"119166\",\n        \"close\": \"119166\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:40:00Z\",\n        \"open\": \"119166\",\n        \"high\": \"119166\",\n        \"low\": \"119166\",\n        \"close\": \"119166\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:39:00Z\",\n        \"open\": \"119166\",\n        \"high\": \"119166\",\n        \"low\": \"119166\",\n        \"close\": \"119166\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:38:00Z\",\n        \"open\": \"119166\",\n        \"high\": \"119166\",\n        \"low\": \"119166\",\n        \"close\": \"119166\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:37:00Z\",\n        \"open\": \"119166\",\n        \"high\": \"119166\",\n        \"low\": \"119166\",\n        \"close\": \"119166\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:36:00Z\",\n        \"open\": \"119166\",\n        \"high\": \"119166\",\n        \"low\": \"119166\",\n        \"close\": \"119166\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:35:00Z\",\n        \"open\": \"119166\",\n        \"high\": \"119166\",\n        \"low\": \"119166\",\n        \"close\": \"119166\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:34:00Z\",\n        \"open\": \"119166\",\n        \"high\": \"119166\",\n        \"low\": \"119166\",\n        \"close\": \"119166\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:33:00Z\",\n        \"open\": \"119166\",\n        \"high\": \"119166\",\n        \"low\": \"119166\",\n        \"close\": \"119166\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:32:00Z\",\n        \"open\": \"119166\",\n        \"high\": \"119166\",\n        \"low\": \"119166\",\n        \"close\": \"119166\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:31:00Z\",\n        \"open\": \"119166\",\n        \"high\": \"119166\",\n        \"low\": \"119166\",\n        \"close\": \"119166\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:30:00Z\",\n        \"open\": \"119166\",\n        \"high\": \"119166\",\n        \"low\": \"119166\",\n        \"close\": \"119166\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:29:00Z\",\n        \"open\": \"119166\",\n        \"high\": \"119166\",\n        \"low\": \"119166\",\n        \"close\": \"119166\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:28:00Z\",\n        \"open\": \"119166\",\n        \"high\": \"119166\",\n        \"low\": \"119166\",\n        \"close\": \"119166\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:27:00Z\",\n        \"open\": \"119166\",\n        \"high\": \"119166\",\n        \"low\": \"119166\",\n        \"close\": \"119166\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:26:00Z\",\n        \"open\": \"119166\",\n        \"high\": \"119166\",\n        \"low\": \"119166\",\n        \"close\": \"119166\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:25:00Z\",\n        \"open\": \"119166\",\n        \"high\": \"119166\",\n        \"low\": \"119166\",\n        \"close\": \"119166\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:24:00Z\",\n        \"open\": \"119166\",\n        \"high\": \"119166\",\n        \"low\": \"119166\",\n        \"close\": \"119166\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:23:00Z\",\n        \"open\": \"119166\",\n        \"high\": \"119166\",\n        \"low\": \"119166\",\n        \"close\": \"119166\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:22:00Z\",\n        \"open\": \"119166\",\n        \"high\": \"119166\",\n        \"low\": \"119166\",\n        \"close\": \"119166\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:21:00Z\",\n        \"open\": \"119166\",\n        \"high\": \"119166\",\n        \"low\": \"119166\",\n        \"close\": \"119166\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:20:00Z\",\n        \"open\": \"119166\",\n        \"high\": \"119166\",\n        \"low\": \"119166\",\n        \"close\": \"119166\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:19:00Z\",\n        \"open\": \"119166\",\n        \"high\": \"119166\",\n        \"low\": \"119166\",\n        \"close\": \"119166\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:18:00Z\",\n        \"open\": \"119166\",\n        \"high\": \"119166\",\n        \"low\": \"119166\",\n        \"close\": \"119166\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:17:00Z\",\n        \"open\": \"119166\",\n        \"high\": \"119166\",\n        \"low\": \"119166\",\n        \"close\": \"119166\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:16:00Z\",\n        \"open\": \"119166\",\n        \"high\": \"119166\",\n        \"low\": \"119166\",\n        \"close\": \"119166\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:15:00Z\",\n        \"open\": \"119166\",\n        \"high\": \"119166\",\n        \"low\": \"119166\",\n        \"close\": \"119166\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:14:00Z\",\n        \"open\": \"119166\",\n        \"high\": \"119166\",\n        \"low\": \"119166\",\n        \"close\": \"119166\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:13:00Z\",\n        \"open\": \"119166\",\n        \"high\": \"119166\",\n        \"low\": \"119166\",\n        \"close\": \"119166\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:12:00Z\",\n        \"open\": \"119166\",\n        \"high\": \"119166\",\n        \"low\": \"119166\",\n        \"close\": \"119166\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:11:00Z\",\n        \"open\": \"119166\",\n        \"high\": \"119166\",\n        \"low\": \"119166\",\n        \"close\": \"119166\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:10:00Z\",\n        \"open\": \"119166\",\n        \"high\": \"119166\",\n        \"low\": \"119166\",\n        \"close\": \"119166\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:09:00Z\",\n        \"open\": \"119166\",\n        \"high\": \"119166\",\n        \"low\": \"119166\",\n        \"close\": \"119166\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:08:00Z\",\n        \"open\": \"119166\",\n        \"high\": \"119166\",\n        \"low\": \"119166\",\n        \"close\": \"119166\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:07:00Z\",\n        \"open\": \"119166\",\n        \"high\": \"119166\",\n        \"low\": \"119166\",\n        \"close\": \"119166\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:06:00Z\",\n        \"open\": \"119166\",\n        \"high\": \"119166\",\n        \"low\": \"119166\",\n        \"close\": \"119166\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:05:00Z\",\n        \"open\": \"119166\",\n        \"high\": \"119166\",\n        \"low\": \"119166\",\n        \"close\": \"119166\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:04:00Z\",\n        \"open\": \"119166\",\n        \"high\": \"119166\",\n        \"low\": \"119166\",\n        \"close\": \"119166\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:03:00Z\",\n        \"open\": \"119166\",\n        \"high\": \"119166\",\n        \"low\": \"119166\",\n        \"close\": \"119166\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:02:00Z\",\n        \"open\": \"119166\",\n        \"high\": \"119166\",\n        \"low\": \"119166\",\n        \"close\": \"119166\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:01:00Z\",\n        \"open\": \"119166\",\n        \"high\": \"119166\",\n        \"low\": \"119166\",\n        \"close\": \"119166\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T12:00:00Z\",\n        \"open\": \"119166\",\n        \"high\": \"119166\",\n        \"low\": \"119166\",\n        \"close\": \"119166\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:59:00Z\",\n        \"open\": \"119166\",\n        \"high\": \"119166\",\n        \"low\": \"119166\",\n        \"close\": \"119166\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:58:00Z\",\n        \"open\": \"119166\",\n        \"high\": \"119166\",\n        \"low\": \"119166\",\n        \"close\": \"119166\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:57:00Z\",\n        \"open\": \"119166\",\n        \"high\": \"119166\",\n        \"low\": \"119166\",\n        \"close\": \"119166\",\n        \"volume\": \"0.00008531\",\n        \"quoteVolume\": \"10.16605146\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:56:00Z\",\n        \"open\": \"119096\",\n        \"high\": \"119096\",\n        \"low\": \"119096\",\n        \"close\": \"119096\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:55:00Z\",\n        \"open\": \"119096\",\n        \"high\": \"119096\",\n        \"low\": \"119096\",\n        \"close\": \"119096\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:54:00Z\",\n        \"open\": \"119096\",\n        \"high\": \"119096\",\n        \"low\": \"119096\",\n        \"close\": \"119096\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:53:00Z\",\n        \"open\": \"119096\",\n        \"high\": \"119096\",\n        \"low\": \"119096\",\n        \"close\": \"119096\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:52:00Z\",\n        \"open\": \"119096\",\n        \"high\": \"119096\",\n        \"low\": \"119096\",\n        \"close\": \"119096\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:51:00Z\",\n        \"open\": \"119096\",\n        \"high\": \"119096\",\n        \"low\": \"119096\",\n        \"close\": \"119096\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:50:00Z\",\n        \"open\": \"119096\",\n        \"high\": \"119096\",\n        \"low\": \"119096\",\n        \"close\": \"119096\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:49:00Z\",\n        \"open\": \"119096\",\n        \"high\": \"119096\",\n        \"low\": \"119096\",\n        \"close\": \"119096\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:48:00Z\",\n        \"open\": \"119096\",\n        \"high\": \"119096\",\n        \"low\": \"119096\",\n        \"close\": \"119096\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:47:00Z\",\n        \"open\": \"119096\",\n        \"high\": \"119096\",\n        \"low\": \"119096\",\n        \"close\": \"119096\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:46:00Z\",\n        \"open\": \"119096\",\n        \"high\": \"119096\",\n        \"low\": \"119096\",\n        \"close\": \"119096\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:45:00Z\",\n        \"open\": \"119096\",\n        \"high\": \"119096\",\n        \"low\": \"119096\",\n        \"close\": \"119096\",\n        \"volume\": \"0.0249875\",\n        \"quoteVolume\": \"2975.9113\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:44:00Z\",\n        \"open\": \"119094\",\n        \"high\": \"119094\",\n        \"low\": \"119094\",\n        \"close\": \"119094\",\n        \"volume\": \"0.0049975\",\n        \"quoteVolume\": \"595.172265\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:43:00Z\",\n        \"open\": \"119082\",\n        \"high\": \"119082\",\n        \"low\": \"119082\",\n        \"close\": \"119082\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:42:00Z\",\n        \"open\": \"119082\",\n        \"high\": \"119082\",\n        \"low\": \"119082\",\n        \"close\": \"119082\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:41:00Z\",\n        \"open\": \"119082\",\n        \"high\": \"119082\",\n        \"low\": \"119082\",\n        \"close\": \"119082\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:40:00Z\",\n        \"open\": \"119082\",\n        \"high\": \"119082\",\n        \"low\": \"119082\",\n        \"close\": \"119082\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:39:00Z\",\n        \"open\": \"119082\",\n        \"high\": \"119082\",\n        \"low\": \"119082\",\n        \"close\": \"119082\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:38:00Z\",\n        \"open\": \"119082\",\n        \"high\": \"119082\",\n        \"low\": \"119082\",\n        \"close\": \"119082\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:37:00Z\",\n        \"open\": \"119082\",\n        \"high\": \"119082\",\n        \"low\": \"119082\",\n        \"close\": \"119082\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:36:00Z\",\n        \"open\": \"119082\",\n        \"high\": \"119082\",\n        \"low\": \"119082\",\n        \"close\": \"119082\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:35:00Z\",\n        \"open\": \"119082\",\n        \"high\": \"119082\",\n        \"low\": \"119082\",\n        \"close\": \"119082\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:34:00Z\",\n        \"open\": \"119082\",\n        \"high\": \"119082\",\n        \"low\": \"119082\",\n        \"close\": \"119082\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:33:00Z\",\n        \"open\": \"119082\",\n        \"high\": \"119082\",\n        \"low\": \"119082\",\n        \"close\": \"119082\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:32:00Z\",\n        \"open\": \"119082\",\n        \"high\": \"119082\",\n        \"low\": \"119082\",\n        \"close\": \"119082\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:31:00Z\",\n        \"open\": \"119082\",\n        \"high\": \"119082\",\n        \"low\": \"119082\",\n        \"close\": \"119082\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:30:00Z\",\n        \"open\": \"119092\",\n        \"high\": \"119092\",\n        \"low\": \"119082\",\n        \"close\": \"119082\",\n        \"volume\": \"0.01368986\",\n        \"quoteVolume\": \"1630.29991912\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:29:00Z\",\n        \"open\": \"119000\",\n        \"high\": \"119000\",\n        \"low\": \"119000\",\n        \"close\": \"119000\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:28:00Z\",\n        \"open\": \"119000\",\n        \"high\": \"119000\",\n        \"low\": \"119000\",\n        \"close\": \"119000\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:27:00Z\",\n        \"open\": \"119000\",\n        \"high\": \"119000\",\n        \"low\": \"119000\",\n        \"close\": \"119000\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:26:00Z\",\n        \"open\": \"119000\",\n        \"high\": \"119000\",\n        \"low\": \"119000\",\n        \"close\": \"119000\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:25:00Z\",\n        \"open\": \"119000\",\n        \"high\": \"119000\",\n        \"low\": \"119000\",\n        \"close\": \"119000\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:24:00Z\",\n        \"open\": \"119000\",\n        \"high\": \"119000\",\n        \"low\": \"119000\",\n        \"close\": \"119000\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:23:00Z\",\n        \"open\": \"119000\",\n        \"high\": \"119000\",\n        \"low\": \"119000\",\n        \"close\": \"119000\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:22:00Z\",\n        \"open\": \"119000\",\n        \"high\": \"119000\",\n        \"low\": \"119000\",\n        \"close\": \"119000\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:21:00Z\",\n        \"open\": \"119000\",\n        \"high\": \"119000\",\n        \"low\": \"119000\",\n        \"close\": \"119000\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:20:00Z\",\n        \"open\": \"119000\",\n        \"high\": \"119000\",\n        \"low\": \"119000\",\n        \"close\": \"119000\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:19:00Z\",\n        \"open\": \"119000\",\n        \"high\": \"119000\",\n        \"low\": \"119000\",\n        \"close\": \"119000\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:18:00Z\",\n        \"open\": \"119000\",\n        \"high\": \"119000\",\n        \"low\": \"119000\",\n        \"close\": \"119000\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:17:00Z\",\n        \"open\": \"119000\",\n        \"high\": \"119000\",\n        \"low\": \"119000\",\n        \"close\": \"119000\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:16:00Z\",\n        \"open\": \"119000\",\n        \"high\": \"119000\",\n        \"low\": \"119000\",\n        \"close\": \"119000\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:15:00Z\",\n        \"open\": \"119000\",\n        \"high\": \"119000\",\n        \"low\": \"119000\",\n        \"close\": \"119000\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:14:00Z\",\n        \"open\": \"119000\",\n        \"high\": \"119000\",\n        \"low\": \"119000\",\n        \"close\": \"119000\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:13:00Z\",\n        \"open\": \"119000\",\n        \"high\": \"119000\",\n        \"low\": \"119000\",\n        \"close\": \"119000\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:12:00Z\",\n        \"open\": \"119000\",\n        \"high\": \"119000\",\n        \"low\": \"119000\",\n        \"close\": \"119000\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:11:00Z\",\n        \"open\": \"119000\",\n        \"high\": \"119000\",\n        \"low\": \"119000\",\n        \"close\": \"119000\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:10:00Z\",\n        \"open\": \"119000\",\n        \"high\": \"119000\",\n        \"low\": \"119000\",\n        \"close\": \"119000\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:09:00Z\",\n        \"open\": \"119000\",\n        \"high\": \"119000\",\n        \"low\": \"119000\",\n        \"close\": \"119000\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:08:00Z\",\n        \"open\": \"119000\",\n        \"high\": \"119000\",\n        \"low\": \"119000\",\n        \"close\": \"119000\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:07:00Z\",\n        \"open\": \"119000\",\n        \"high\": \"119000\",\n        \"low\": \"119000\",\n        \"close\": \"119000\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:06:00Z\",\n        \"open\": \"119000\",\n        \"high\": \"119000\",\n        \"low\": \"119000\",\n        \"close\": \"119000\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:05:00Z\",\n        \"open\": \"119000\",\n        \"high\": \"119000\",\n        \"low\": \"119000\",\n        \"close\": \"119000\",\n        \"volume\": \"0.00105937\",\n        \"quoteVolume\": \"126.06503\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:04:00Z\",\n        \"open\": \"118795\",\n        \"high\": \"118795\",\n        \"low\": \"118795\",\n        \"close\": \"118795\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:03:00Z\",\n        \"open\": \"118795\",\n        \"high\": \"118795\",\n        \"low\": \"118795\",\n        \"close\": \"118795\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:02:00Z\",\n        \"open\": \"118795\",\n        \"high\": \"118795\",\n        \"low\": \"118795\",\n        \"close\": \"118795\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:01:00Z\",\n        \"open\": \"118795\",\n        \"high\": \"118795\",\n        \"low\": \"118795\",\n        \"close\": \"118795\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T11:00:00Z\",\n        \"open\": \"118795\",\n        \"high\": \"118795\",\n        \"low\": \"118795\",\n        \"close\": \"118795\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:59:00Z\",\n        \"open\": \"118795\",\n        \"high\": \"118795\",\n        \"low\": \"118795\",\n        \"close\": \"118795\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:58:00Z\",\n        \"open\": \"118795\",\n        \"high\": \"118795\",\n        \"low\": \"118795\",\n        \"close\": \"118795\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:57:00Z\",\n        \"open\": \"118795\",\n        \"high\": \"118795\",\n        \"low\": \"118795\",\n        \"close\": \"118795\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:56:00Z\",\n        \"open\": \"118795\",\n        \"high\": \"118795\",\n        \"low\": \"118795\",\n        \"close\": \"118795\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:55:00Z\",\n        \"open\": \"118795\",\n        \"high\": \"118795\",\n        \"low\": \"118795\",\n        \"close\": \"118795\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:54:00Z\",\n        \"open\": \"118795\",\n        \"high\": \"118795\",\n        \"low\": \"118795\",\n        \"close\": \"118795\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:53:00Z\",\n        \"open\": \"118795\",\n        \"high\": \"118795\",\n        \"low\": \"118795\",\n        \"close\": \"118795\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:52:00Z\",\n        \"open\": \"118795\",\n        \"high\": \"118795\",\n        \"low\": \"118795\",\n        \"close\": \"118795\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:51:00Z\",\n        \"open\": \"118795\",\n        \"high\": \"118795\",\n        \"low\": \"118795\",\n        \"close\": \"118795\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:50:00Z\",\n        \"open\": \"118795\",\n        \"high\": \"118795\",\n        \"low\": \"118795\",\n        \"close\": \"118795\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:49:00Z\",\n        \"open\": \"118795\",\n        \"high\": \"118795\",\n        \"low\": \"118795\",\n        \"close\": \"118795\",\n        \"volume\": \"0.0000867\",\n        \"quoteVolume\": \"10.2995265\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:48:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:47:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:46:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:45:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:44:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:43:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:42:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:41:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:40:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:39:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:38:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:37:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:36:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:35:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:34:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:33:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:32:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:31:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:30:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:29:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:28:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:27:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:26:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:25:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:24:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:23:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:22:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:21:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:20:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:19:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:18:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:17:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:16:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:15:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:14:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:13:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:12:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:11:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:10:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:09:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:08:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:07:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:06:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:05:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:04:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:03:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:02:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:01:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T10:00:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:59:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:58:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:57:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:56:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:55:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:54:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:53:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:52:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:51:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:50:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:49:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:48:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:47:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:46:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:45:00Z\",\n        \"open\": \"118600\",\n        \"high\": \"118600\",\n        \"low\": \"118600\",\n        \"close\": \"118600\",\n        \"volume\": \"0.00059328\",\n        \"quoteVolume\": \"70.363008\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:44:00Z\",\n        \"open\": \"118501\",\n        \"high\": \"118501\",\n        \"low\": \"118501\",\n        \"close\": \"118501\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:43:00Z\",\n        \"open\": \"118501\",\n        \"high\": \"118501\",\n        \"low\": \"118501\",\n        \"close\": \"118501\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:42:00Z\",\n        \"open\": \"118501\",\n        \"high\": \"118501\",\n        \"low\": \"118501\",\n        \"close\": \"118501\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:41:00Z\",\n        \"open\": \"118501\",\n        \"high\": \"118501\",\n        \"low\": \"118501\",\n        \"close\": \"118501\",\n        \"volume\": \"0.0010868\",\n        \"quoteVolume\": \"128.7868868\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:40:00Z\",\n        \"open\": \"118440\",\n        \"high\": \"118440\",\n        \"low\": \"118440\",\n        \"close\": \"118440\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:39:00Z\",\n        \"open\": \"118468\",\n        \"high\": \"118469\",\n        \"low\": \"118440\",\n        \"close\": \"118440\",\n        \"volume\": \"0.00715637\",\n        \"quoteVolume\": \"847.61455178\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:38:00Z\",\n        \"open\": \"118460\",\n        \"high\": \"118517\",\n        \"low\": \"118460\",\n        \"close\": \"118517\",\n        \"volume\": \"0.02652613\",\n        \"quoteVolume\": \"3142.30043704\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:37:00Z\",\n        \"open\": \"118518\",\n        \"high\": \"118518\",\n        \"low\": \"118518\",\n        \"close\": \"118518\",\n        \"volume\": \"0.00012656\",\n        \"quoteVolume\": \"14.99963808\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:36:00Z\",\n        \"open\": \"118326\",\n        \"high\": \"118326\",\n        \"low\": \"118326\",\n        \"close\": \"118326\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:35:00Z\",\n        \"open\": \"118326\",\n        \"high\": \"118326\",\n        \"low\": \"118326\",\n        \"close\": \"118326\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:34:00Z\",\n        \"open\": \"118326\",\n        \"high\": \"118326\",\n        \"low\": \"118326\",\n        \"close\": \"118326\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:33:00Z\",\n        \"open\": \"118326\",\n        \"high\": \"118326\",\n        \"low\": \"118326\",\n        \"close\": \"118326\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:32:00Z\",\n        \"open\": \"118326\",\n        \"high\": \"118326\",\n        \"low\": \"118326\",\n        \"close\": \"118326\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:31:00Z\",\n        \"open\": \"118321\",\n        \"high\": \"118326\",\n        \"low\": \"118321\",\n        \"close\": \"118326\",\n        \"volume\": \"0.03893405\",\n        \"quoteVolume\": \"4606.72139975\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:30:00Z\",\n        \"open\": \"118348\",\n        \"high\": \"118348\",\n        \"low\": \"118323\",\n        \"close\": \"118323\",\n        \"volume\": \"0.0778529\",\n        \"quoteVolume\": \"9213.7271777\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:29:00Z\",\n        \"open\": \"118321\",\n        \"high\": \"118321\",\n        \"low\": \"118321\",\n        \"close\": \"118321\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:28:00Z\",\n        \"open\": \"118335\",\n        \"high\": \"118335\",\n        \"low\": \"118321\",\n        \"close\": \"118321\",\n        \"volume\": \"0.00734436\",\n        \"quoteVolume\": \"869.09184796\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:27:00Z\",\n        \"open\": \"118320\",\n        \"high\": \"118346\",\n        \"low\": \"118320\",\n        \"close\": \"118341\",\n        \"volume\": \"0.04549633\",\n        \"quoteVolume\": \"5383.90469714\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:26:00Z\",\n        \"open\": \"118130\",\n        \"high\": \"118130\",\n        \"low\": \"118130\",\n        \"close\": \"118130\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:25:00Z\",\n        \"open\": \"118130\",\n        \"high\": \"118130\",\n        \"low\": \"118130\",\n        \"close\": \"118130\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:24:00Z\",\n        \"open\": \"118130\",\n        \"high\": \"118130\",\n        \"low\": \"118130\",\n        \"close\": \"118130\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:23:00Z\",\n        \"open\": \"118130\",\n        \"high\": \"118130\",\n        \"low\": \"118130\",\n        \"close\": \"118130\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:22:00Z\",\n        \"open\": \"118130\",\n        \"high\": \"118130\",\n        \"low\": \"118130\",\n        \"close\": \"118130\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:21:00Z\",\n        \"open\": \"118130\",\n        \"high\": \"118130\",\n        \"low\": \"118130\",\n        \"close\": \"118130\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:20:00Z\",\n        \"open\": \"118130\",\n        \"high\": \"118130\",\n        \"low\": \"118130\",\n        \"close\": \"118130\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:19:00Z\",\n        \"open\": \"118130\",\n        \"high\": \"118130\",\n        \"low\": \"118130\",\n        \"close\": \"118130\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:18:00Z\",\n        \"open\": \"118130\",\n        \"high\": \"118130\",\n        \"low\": \"118130\",\n        \"close\": \"118130\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:17:00Z\",\n        \"open\": \"118130\",\n        \"high\": \"118130\",\n        \"low\": \"118130\",\n        \"close\": \"118130\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:16:00Z\",\n        \"open\": \"118130\",\n        \"high\": \"118130\",\n        \"low\": \"118130\",\n        \"close\": \"118130\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:15:00Z\",\n        \"open\": \"118130\",\n        \"high\": \"118130\",\n        \"low\": \"118130\",\n        \"close\": \"118130\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:14:00Z\",\n        \"open\": \"118130\",\n        \"high\": \"118130\",\n        \"low\": \"118130\",\n        \"close\": \"118130\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:13:00Z\",\n        \"open\": \"118130\",\n        \"high\": \"118130\",\n        \"low\": \"118130\",\n        \"close\": \"118130\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:12:00Z\",\n        \"open\": \"118130\",\n        \"high\": \"118130\",\n        \"low\": \"118130\",\n        \"close\": \"118130\",\n        \"volume\": \"0.00001904\",\n        \"quoteVolume\": \"2.2491952\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:11:00Z\",\n        \"open\": \"117965\",\n        \"high\": \"117965\",\n        \"low\": \"117965\",\n        \"close\": \"117965\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:10:00Z\",\n        \"open\": \"117965\",\n        \"high\": \"117965\",\n        \"low\": \"117965\",\n        \"close\": \"117965\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:09:00Z\",\n        \"open\": \"117965\",\n        \"high\": \"117965\",\n        \"low\": \"117965\",\n        \"close\": \"117965\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:08:00Z\",\n        \"open\": \"117965\",\n        \"high\": \"117965\",\n        \"low\": \"117965\",\n        \"close\": \"117965\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:07:00Z\",\n        \"open\": \"117965\",\n        \"high\": \"117965\",\n        \"low\": \"117965\",\n        \"close\": \"117965\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:06:00Z\",\n        \"open\": \"117965\",\n        \"high\": \"117965\",\n        \"low\": \"117965\",\n        \"close\": \"117965\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:05:00Z\",\n        \"open\": \"117965\",\n        \"high\": \"117965\",\n        \"low\": \"117965\",\n        \"close\": \"117965\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:04:00Z\",\n        \"open\": \"117965\",\n        \"high\": \"117965\",\n        \"low\": \"117965\",\n        \"close\": \"117965\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:03:00Z\",\n        \"open\": \"117965\",\n        \"high\": \"117965\",\n        \"low\": \"117965\",\n        \"close\": \"117965\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:02:00Z\",\n        \"open\": \"117965\",\n        \"high\": \"117965\",\n        \"low\": \"117965\",\n        \"close\": \"117965\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:01:00Z\",\n        \"open\": \"117965\",\n        \"high\": \"117965\",\n        \"low\": \"117965\",\n        \"close\": \"117965\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T09:00:00Z\",\n        \"open\": \"117965\",\n        \"high\": \"117965\",\n        \"low\": \"117965\",\n        \"close\": \"117965\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:59:00Z\",\n        \"open\": \"117965\",\n        \"high\": \"117965\",\n        \"low\": \"117965\",\n        \"close\": \"117965\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:58:00Z\",\n        \"open\": \"117965\",\n        \"high\": \"117965\",\n        \"low\": \"117965\",\n        \"close\": \"117965\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:57:00Z\",\n        \"open\": \"117965\",\n        \"high\": \"117965\",\n        \"low\": \"117965\",\n        \"close\": \"117965\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:56:00Z\",\n        \"open\": \"117965\",\n        \"high\": \"117965\",\n        \"low\": \"117965\",\n        \"close\": \"117965\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:55:00Z\",\n        \"open\": \"117965\",\n        \"high\": \"117965\",\n        \"low\": \"117965\",\n        \"close\": \"117965\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:54:00Z\",\n        \"open\": \"117965\",\n        \"high\": \"117965\",\n        \"low\": \"117965\",\n        \"close\": \"117965\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:53:00Z\",\n        \"open\": \"117965\",\n        \"high\": \"117965\",\n        \"low\": \"117965\",\n        \"close\": \"117965\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:52:00Z\",\n        \"open\": \"117965\",\n        \"high\": \"117965\",\n        \"low\": \"117965\",\n        \"close\": \"117965\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:51:00Z\",\n        \"open\": \"117965\",\n        \"high\": \"117965\",\n        \"low\": \"117965\",\n        \"close\": \"117965\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:50:00Z\",\n        \"open\": \"117965\",\n        \"high\": \"117965\",\n        \"low\": \"117965\",\n        \"close\": \"117965\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:49:00Z\",\n        \"open\": \"117965\",\n        \"high\": \"117965\",\n        \"low\": \"117965\",\n        \"close\": \"117965\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:48:00Z\",\n        \"open\": \"117965\",\n        \"high\": \"117965\",\n        \"low\": \"117965\",\n        \"close\": \"117965\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:47:00Z\",\n        \"open\": \"117965\",\n        \"high\": \"117965\",\n        \"low\": \"117965\",\n        \"close\": \"117965\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:46:00Z\",\n        \"open\": \"117965\",\n        \"high\": \"117965\",\n        \"low\": \"117965\",\n        \"close\": \"117965\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:45:00Z\",\n        \"open\": \"117965\",\n        \"high\": \"117965\",\n        \"low\": \"117965\",\n        \"close\": \"117965\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:44:00Z\",\n        \"open\": \"117965\",\n        \"high\": \"117965\",\n        \"low\": \"117965\",\n        \"close\": \"117965\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:43:00Z\",\n        \"open\": \"117965\",\n        \"high\": \"117965\",\n        \"low\": \"117965\",\n        \"close\": \"117965\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:42:00Z\",\n        \"open\": \"117965\",\n        \"high\": \"117965\",\n        \"low\": \"117965\",\n        \"close\": \"117965\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:41:00Z\",\n        \"open\": \"117965\",\n        \"high\": \"117965\",\n        \"low\": \"117965\",\n        \"close\": \"117965\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:40:00Z\",\n        \"open\": \"117965\",\n        \"high\": \"117965\",\n        \"low\": \"117965\",\n        \"close\": \"117965\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:39:00Z\",\n        \"open\": \"117965\",\n        \"high\": \"117965\",\n        \"low\": \"117965\",\n        \"close\": \"117965\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:38:00Z\",\n        \"open\": \"117965\",\n        \"high\": \"117965\",\n        \"low\": \"117965\",\n        \"close\": \"117965\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:37:00Z\",\n        \"open\": \"117965\",\n        \"high\": \"117965\",\n        \"low\": \"117965\",\n        \"close\": \"117965\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:36:00Z\",\n        \"open\": \"117965\",\n        \"high\": \"117965\",\n        \"low\": \"117965\",\n        \"close\": \"117965\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:35:00Z\",\n        \"open\": \"117965\",\n        \"high\": \"117965\",\n        \"low\": \"117965\",\n        \"close\": \"117965\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:34:00Z\",\n        \"open\": \"117965\",\n        \"high\": \"117965\",\n        \"low\": \"117965\",\n        \"close\": \"117965\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:33:00Z\",\n        \"open\": \"117965\",\n        \"high\": \"117965\",\n        \"low\": \"117965\",\n        \"close\": \"117965\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:32:00Z\",\n        \"open\": \"117965\",\n        \"high\": \"117965\",\n        \"low\": \"117965\",\n        \"close\": \"117965\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:31:00Z\",\n        \"open\": \"117965\",\n        \"high\": \"117965\",\n        \"low\": \"117965\",\n        \"close\": \"117965\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:30:00Z\",\n        \"open\": \"117965\",\n        \"high\": \"117965\",\n        \"low\": \"117965\",\n        \"close\": \"117965\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:29:00Z\",\n        \"open\": \"117965\",\n        \"high\": \"117965\",\n        \"low\": \"117965\",\n        \"close\": \"117965\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:28:00Z\",\n        \"open\": \"117965\",\n        \"high\": \"117965\",\n        \"low\": \"117965\",\n        \"close\": \"117965\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:27:00Z\",\n        \"open\": \"117965\",\n        \"high\": \"117965\",\n        \"low\": \"117965\",\n        \"close\": \"117965\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:26:00Z\",\n        \"open\": \"117965\",\n        \"high\": \"117965\",\n        \"low\": \"117965\",\n        \"close\": \"117965\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:25:00Z\",\n        \"open\": \"117965\",\n        \"high\": \"117965\",\n        \"low\": \"117965\",\n        \"close\": \"117965\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:24:00Z\",\n        \"open\": \"117965\",\n        \"high\": \"117965\",\n        \"low\": \"117965\",\n        \"close\": \"117965\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:23:00Z\",\n        \"open\": \"117965\",\n        \"high\": \"117965\",\n        \"low\": \"117965\",\n        \"close\": \"117965\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:22:00Z\",\n        \"open\": \"117965\",\n        \"high\": \"117965\",\n        \"low\": \"117965\",\n        \"close\": \"117965\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:21:00Z\",\n        \"open\": \"117965\",\n        \"high\": \"117965\",\n        \"low\": \"117965\",\n        \"close\": \"117965\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:20:00Z\",\n        \"open\": \"117965\",\n        \"high\": \"117965\",\n        \"low\": \"117965\",\n        \"close\": \"117965\",\n        \"volume\": \"0.00051617\",\n        \"quoteVolume\": \"60.88999405\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:19:00Z\",\n        \"open\": \"117716\",\n        \"high\": \"117716\",\n        \"low\": \"117716\",\n        \"close\": \"117716\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:18:00Z\",\n        \"open\": \"117716\",\n        \"high\": \"117716\",\n        \"low\": \"117716\",\n        \"close\": \"117716\",\n        \"volume\": \"0.00135393\",\n        \"quoteVolume\": \"159.37922388\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:17:00Z\",\n        \"open\": \"117639\",\n        \"high\": \"117639\",\n        \"low\": \"117639\",\n        \"close\": \"117639\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:16:00Z\",\n        \"open\": \"117639\",\n        \"high\": \"117639\",\n        \"low\": \"117639\",\n        \"close\": \"117639\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:15:00Z\",\n        \"open\": \"117639\",\n        \"high\": \"117639\",\n        \"low\": \"117639\",\n        \"close\": \"117639\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:14:00Z\",\n        \"open\": \"117639\",\n        \"high\": \"117639\",\n        \"low\": \"117639\",\n        \"close\": \"117639\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:13:00Z\",\n        \"open\": \"117639\",\n        \"high\": \"117639\",\n        \"low\": \"117639\",\n        \"close\": \"117639\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:12:00Z\",\n        \"open\": \"117639\",\n        \"high\": \"117639\",\n        \"low\": \"117639\",\n        \"close\": \"117639\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:11:00Z\",\n        \"open\": \"117639\",\n        \"high\": \"117639\",\n        \"low\": \"117639\",\n        \"close\": \"117639\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:10:00Z\",\n        \"open\": \"117639\",\n        \"high\": \"117639\",\n        \"low\": \"117639\",\n        \"close\": \"117639\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:09:00Z\",\n        \"open\": \"117639\",\n        \"high\": \"117639\",\n        \"low\": \"117639\",\n        \"close\": \"117639\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:08:00Z\",\n        \"open\": \"117639\",\n        \"high\": \"117639\",\n        \"low\": \"117639\",\n        \"close\": \"117639\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:07:00Z\",\n        \"open\": \"117639\",\n        \"high\": \"117639\",\n        \"low\": \"117639\",\n        \"close\": \"117639\",\n        \"volume\": \"0.00014306\",\n        \"quoteVolume\": \"16.82943534\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:06:00Z\",\n        \"open\": \"117967\",\n        \"high\": \"117967\",\n        \"low\": \"117967\",\n        \"close\": \"117967\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:05:00Z\",\n        \"open\": \"117967\",\n        \"high\": \"117967\",\n        \"low\": \"117967\",\n        \"close\": \"117967\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:04:00Z\",\n        \"open\": \"117967\",\n        \"high\": \"117967\",\n        \"low\": \"117967\",\n        \"close\": \"117967\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:03:00Z\",\n        \"open\": \"117967\",\n        \"high\": \"117967\",\n        \"low\": \"117967\",\n        \"close\": \"117967\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:02:00Z\",\n        \"open\": \"117967\",\n        \"high\": \"117967\",\n        \"low\": \"117967\",\n        \"close\": \"117967\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:01:00Z\",\n        \"open\": \"117967\",\n        \"high\": \"117967\",\n        \"low\": \"117967\",\n        \"close\": \"117967\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T08:00:00Z\",\n        \"open\": \"117967\",\n        \"high\": \"117967\",\n        \"low\": \"117967\",\n        \"close\": \"117967\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T07:59:00Z\",\n        \"open\": \"117967\",\n        \"high\": \"117967\",\n        \"low\": \"117967\",\n        \"close\": \"117967\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T07:58:00Z\",\n        \"open\": \"117967\",\n        \"high\": \"117967\",\n        \"low\": \"117967\",\n        \"close\": \"117967\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    },\n    {\n        \"currencyPairSymbol\": \"BTCUSDC\",\n        \"bucketPeriodInSeconds\": 60,\n        \"startTime\": \"2025-07-22T07:57:00Z\",\n        \"open\": \"117967\",\n        \"high\": \"117967\",\n        \"low\": \"117967\",\n        \"close\": \"117967\",\n        \"volume\": \"0\",\n        \"quoteVolume\": \"0\"\n    }\n]"}],"_postman_id":"438aa673-dd05-45cc-a7de-ad78932a14db"},{"name":"Server Time","id":"95f84056-2ac7-4f92-a5d9-fd0d9c104f01","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.valr.com/v1/public/time","description":"<p>Get the server time. Please note: The server time is returned in seconds.</p>\n","urlObject":{"path":["v1","public","time"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"9f7a0ba9-5e17-42a1-87a8-f672772a7651","name":"Server Time","originalRequest":{"method":"GET","header":[],"url":"https://api.valr.com/v1/public/time"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Tue, 17 Jun 2025 13:02:41 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"0"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"n/a"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"epochTime\": 1750165361,\n    \"time\": \"2025-06-17T13:02:41.280178906Z\"\n}"}],"_postman_id":"95f84056-2ac7-4f92-a5d9-fd0d9c104f01"},{"name":"Slippage","id":"f8c2caf3-6dfb-421b-96f9-5868e24676f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.valr.com/v1/public/slippage","description":"<p>Returns all slippage configurations for every currency pair available on the platform, including both Spot and Futures markets.</p>\n","urlObject":{"path":["v1","public","slippage"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"ebe76fe0-7aba-4b76-b7a2-25a6235b7b9c","name":"Slippage","originalRequest":{"method":"GET","header":[],"url":"https://api.valr.com/v1/public/slippage"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"cache-control","value":"max-age=120,public"},{"key":"x-valr-upstream-service-time","value":"2"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Tue, 17 Feb 2026 10:20:17 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"currencyPair\": \"XRPZAR\",\n        \"currencyPairType\": \"SPOT\",\n        \"limitSlippagePercent\": \"5\",\n        \"marketSlippagePercent\": \"5\"\n    },\n    {\n        \"currencyPair\": \"BTCUSDT\",\n        \"currencyPairType\": \"SPOT\",\n        \"limitSlippagePercent\": \"5\",\n        \"marketSlippagePercent\": \"5\"\n    },\n    {\n        \"currencyPair\": \"ETHUSDT\",\n        \"currencyPairType\": \"SPOT\",\n        \"limitSlippagePercent\": \"5\",\n        \"marketSlippagePercent\": \"5\"\n    },\n        {\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"currencyPairType\": \"FUTURE\",\n        \"limitSlippagePercent\": \"3\",\n        \"marketSlippagePercent\": \"3\"\n    }\n]"}],"_postman_id":"f8c2caf3-6dfb-421b-96f9-5868e24676f6"},{"name":"Trade History","id":"68ecbf66-c8ab-4460-a1f3-5b245b15877e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.valr.com/v1/public/:currencyPair/trades?skip=0&limit=10","description":"<p>Get the trade history for a given currency pair.</p>\n<p>Please note: This is not an authenticated call. More constrained rate-limiting rules will apply than when you use  <code>/marketdata/:currencyPair/tradehistory</code> route.</p>\n","urlObject":{"path":["v1","public",":currencyPair","trades"],"host":["https://api.valr.com"],"query":[{"description":{"content":"<p>Skip this number of results. (Default 0)</p>\n","type":"text/plain"},"key":"skip","value":"0"},{"description":{"content":"<p>Limit the results to this number. (Default and Max 100)</p>\n","type":"text/plain"},"key":"limit","value":"10"}],"variable":[{"description":{"content":"<p> Specify the currency pair for which you want to query the trade history.</p>\n","type":"text/plain"},"type":"any","value":"BTCUSDT","key":"currencyPair"}]}},"response":[{"id":"01245762-f06a-4570-9630-ccd562e758d5","name":"Trade History","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.valr.com/v1/public/:currencyPair/trades?skip=0&limit=10","host":["https://api.valr.com"],"path":["v1","public",":currencyPair","trades"],"query":[{"key":"skip","value":"0","description":"Skip this number of results. (Default 0)"},{"key":"limit","value":"10","description":"Limit the results to this number. (Default and Max 100)"}],"variable":[{"key":"currencyPair","value":"BTCUSDT","description":" Specify the currency pair for which you want to query the trade history."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"cache-control","value":"max-age=30,public"},{"key":"x-valr-upstream-service-time","value":"9"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Wed, 16 Jul 2025 11:41:48 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"price\": \"93129\",\n    \"quantity\": \"0.00119363\",\n    \"currencyPair\": \"BTCUSDT\",\n    \"tradedAt\": \"2025-07-15T12:19:21.501Z\",\n    \"takerSide\": \"buy\",\n    \"sequenceId\": 1368928567986638852,\n    \"id\": \"01980e06-771d-73f1-aec8-b2fe69d943f1\",\n    \"quoteVolume\": \"111.16156827\"\n  },\n  {\n    \"price\": \"93129\",\n    \"quantity\": \"0.0004428\",\n    \"currencyPair\": \"BTCUSDT\",\n    \"tradedAt\": \"2025-07-14T05:22:52.344Z\",\n    \"takerSide\": \"buy\",\n    \"sequenceId\": 1368928567986638835,\n    \"id\": \"01980762-cd38-719d-b7ea-d75c1872719d\",\n    \"quoteVolume\": \"41.2375212\"\n  },\n  {\n    \"price\": \"93129\",\n    \"quantity\": \"0.00025957\",\n    \"currencyPair\": \"BTCUSDT\",\n    \"tradedAt\": \"2025-07-13T12:53:11.924Z\",\n    \"takerSide\": \"buy\",\n    \"sequenceId\": 1368928567986638834,\n    \"id\": \"019803d8-ba74-7e30-94e5-750c88ed6e30\",\n    \"quoteVolume\": \"24.17349453\"\n  },\n  {\n    \"price\": \"93129\",\n    \"quantity\": \"0.00000637\",\n    \"currencyPair\": \"BTCUSDT\",\n    \"tradedAt\": \"2025-07-07T09:59:54.743Z\",\n    \"takerSide\": \"buy\",\n    \"sequenceId\": 1368928567986638499,\n    \"id\": \"0197e453-ec77-74aa-aece-7c437b42f4aa\",\n    \"quoteVolume\": \"0.59323173\"\n  },\n  {\n    \"price\": \"93129\",\n    \"quantity\": \"0.00003763\",\n    \"currencyPair\": \"BTCUSDT\",\n    \"tradedAt\": \"2025-07-07T09:59:49.731Z\",\n    \"takerSide\": \"buy\",\n    \"sequenceId\": 1368928567986638497,\n    \"id\": \"0197e453-d8e3-7fb7-a8a8-2cd0c16b7fb7\",\n    \"quoteVolume\": \"3.50444427\"\n  }\n]"}],"_postman_id":"68ecbf66-c8ab-4460-a1f3-5b245b15877e"},{"name":"Trade History (Paginated by ID)","id":"e363142a-811d-4afe-b1e9-8ec3f97d43fa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.valr.com/v1/public/:currencyPair/trades?limit=5&beforeId=35f07b86-d788-43e2-96f0-9e5a7b9b56d0","description":"<p>Get the trade history for a given currency pair.\nTrade history may be paginated by supplying a trade ID in the <code>beforeId</code> parameter. Only trades which occurred before the given ID will be included in the result. This allows backwards traversal of trade history by increments of <code>limit</code>.</p>\n<p>To apply this method of pagination, use the last trade ID from the previous result set as the <code>beforeId</code> parameter of the next request.</p>\n<p><code>limit</code> and other filters can be applied with <code>beforeId</code>.</p>\n","urlObject":{"path":["v1","public",":currencyPair","trades"],"host":["https://api.valr.com"],"query":[{"description":{"content":"<p>Limit the results to this number. (Default and Max 100)</p>\n","type":"text/plain"},"key":"limit","value":"5"},{"description":{"content":"<p>Only include trades before this ID</p>\n","type":"text/plain"},"key":"beforeId","value":"35f07b86-d788-43e2-96f0-9e5a7b9b56d0"}],"variable":[{"description":{"content":"<p> Specify the currency pair for which you want to query the trade history.</p>\n","type":"text/plain"},"type":"any","value":"BTCUSDC","key":"currencyPair"}]}},"response":[{"id":"5a79397c-d2b1-4244-9dac-76b562b82370","name":"Trade History (Paginated by ID)","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.valr.com/v1/public/:currencyPair/trades?limit=5&beforeId=c13c5166-c3fa-11ee-b1a8-c700095e5df0","protocol":"https","host":["api","valr","com"],"path":["v1","public",":currencyPair","trades"],"query":[{"key":"limit","value":"5","description":"Limit the results to this number. (Default and Max 100)"},{"key":"beforeId","value":"c13c5166-c3fa-11ee-b1a8-c700095e5df0","description":"Only include trades before this ID"}],"variable":[{"key":"currencyPair","value":"BTCUSDC","description":" Specify the currency pair for which you want to query the trade history."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Mon, 30 Nov 2020 09:46:48 GMT"},{"key":"cache-control","value":"max-age=30,public"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"5"},{"key":"server","value":"envoy"},{"key":"transfer-encoding","value":"chunked"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"clear"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"price\": \"43010\",\n    \"quantity\": \"0.0001\",\n    \"currencyPair\": \"BTCUSDC\",\n    \"tradedAt\": \"2024-02-05T07:39:40.198Z\",\n    \"takerSide\": \"buy\",\n    \"sequenceId\": 1203968169262186496,\n    \"id\": \"b8562435-c3f9-11ee-b1a8-c700095e5df0\",\n    \"quoteVolume\": \"4.301\"\n  },\n  {\n    \"price\": \"43000\",\n    \"quantity\": \"0.0001\",\n    \"currencyPair\": \"BTCUSDC\",\n    \"tradedAt\": \"2024-02-05T07:38:57.121Z\",\n    \"takerSide\": \"buy\",\n    \"sequenceId\": 1203967988584153088,\n    \"id\": \"9ea91c6b-c3f9-11ee-b1a8-c700095e5df0\",\n    \"quoteVolume\": \"4.3\"\n  },\n  {\n    \"price\": \"42910\",\n    \"quantity\": \"0.0001\",\n    \"currencyPair\": \"BTCUSDC\",\n    \"tradedAt\": \"2024-02-05T07:36:49.221Z\",\n    \"takerSide\": \"buy\",\n    \"sequenceId\": 1203967452128477184,\n    \"id\": \"526cf789-c3f9-11ee-b1a8-c700095e5df0\",\n    \"quoteVolume\": \"4.291\"\n  },\n  {\n    \"price\": \"42900\",\n    \"quantity\": \"0.0001\",\n    \"currencyPair\": \"BTCUSDC\",\n    \"tradedAt\": \"2024-02-05T07:35:50.906Z\",\n    \"takerSide\": \"buy\",\n    \"sequenceId\": 1203967207541833728,\n    \"id\": \"2faace8a-c3f9-11ee-b1a8-c700095e5df0\",\n    \"quoteVolume\": \"4.29\"\n  },\n  {\n    \"price\": \"42810\",\n    \"quantity\": \"0.0001\",\n    \"currencyPair\": \"BTCUSDC\",\n    \"tradedAt\": \"2024-02-05T07:21:44.816Z\",\n    \"takerSide\": \"buy\",\n    \"sequenceId\": 1203963658783162368,\n    \"id\": \"375bde52-c3f7-11ee-b1a8-c700095e5df0\",\n    \"quoteVolume\": \"4.281\"\n  }\n]"}],"_postman_id":"e363142a-811d-4afe-b1e9-8ec3f97d43fa"},{"name":"Trade History (With Filters)","id":"f34f0b86-3f74-456f-b72c-93baa57ad20c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.valr.com/v1/public/:currencyPair/trades?limit=10&startTime=2025-01-01T08:51:21.604113Z&endTime=2025-07-01T08:55:29.339000Z","description":"<p>Get the trade history for a given currency pair.\nThe results of this request may be filtered by datetime. The <code>skip</code> and <code>limit</code> parameters may be applied to paginate the filtered results.</p>\n<h2 id=\"filtering-by-starttime-or-endtime\">Filtering by <code>startTime</code> or <code>endTime</code></h2>\n<p>The <code>startTime</code> or <code>endTime</code> parameters may be used to filter the returned items by the trade date. The parameters will be interpreted as being in the UTC time zone and must be supplied in the ISO 8601 format (<code>2020-02-29T22:00:00.000Z</code>). These two parameters may be used together or separately. When <code>startTime</code> is used, trades that have occurred since <code>startTime</code> are returned. When <code>endTime</code> is used, trades that have occurred up to and including <code>endTime</code> are returned.</p>\n<p><strong>NOTE</strong>\nThe <code>startTime</code> and <code>endTime</code> parameters are optional filters. However, omitting these parameters may result in slower response times. To mitigate this, a default time window such as the most recent 30 days may be automatically applied to the request.</p>\n","urlObject":{"path":["v1","public",":currencyPair","trades"],"host":["https://api.valr.com"],"query":[{"disabled":true,"description":{"content":"<p>Skip this number of results. (Default 0)</p>\n","type":"text/plain"},"key":"skip","value":"0"},{"description":{"content":"<p>Limit the results to this number. (Default and Max 100)</p>\n","type":"text/plain"},"key":"limit","value":"10"},{"description":{"content":"<p>Include only trades after this ISO 8601 start time</p>\n","type":"text/plain"},"key":"startTime","value":"2025-01-01T08:51:21.604113Z"},{"description":{"content":"<p>Include only transactions before this ISO 8601 end time</p>\n","type":"text/plain"},"key":"endTime","value":"2025-07-01T08:55:29.339000Z"}],"variable":[{"description":{"content":"<p> Specify the currency pair for which you want to query the trade history.</p>\n","type":"text/plain"},"type":"any","value":"BTCUSDC","key":"currencyPair"}]}},"response":[{"id":"cfb11097-7b7a-4b24-a0d2-c1314969c696","name":"Trade History (With Filters)","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.valr.com/v1/public/:currencyPair/trades?limit=10&startTime=2025-01-01T08:51:21.604113Z&endTime=2025-07-01T08:55:29.339000Z","host":["https://api.valr.com"],"path":["v1","public",":currencyPair","trades"],"query":[{"key":"skip","value":"0","description":"Skip this number of results. (Default 0)","disabled":true},{"key":"limit","value":"10","description":"Limit the results to this number. (Default and Max 100)"},{"key":"startTime","value":"2025-01-01T08:51:21.604113Z","description":"Include only trades after this ISO 8601 start time"},{"key":"endTime","value":"2025-07-01T08:55:29.339000Z","description":"Include only transactions before this ISO 8601 end time"}],"variable":[{"key":"currencyPair","value":"BTCUSDC","description":" Specify the currency pair for which you want to query the trade history."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"cache-control","value":"max-age=30,public"},{"key":"x-valr-upstream-service-time","value":"31"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Wed, 16 Jul 2025 11:43:54 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"price\": \"104465\",\n        \"quantity\": \"0.00017919\",\n        \"currencyPair\": \"BTCUSDC\",\n        \"tradedAt\": \"2025-06-30T18:09:02.729Z\",\n        \"takerSide\": \"buy\",\n        \"sequenceId\": 1368928567986637005,\n        \"id\": \"0197c207-3909-7fe8-b3ae-8d2a54c30fe8\",\n        \"quoteVolume\": \"18.71908335\"\n    },\n    {\n        \"price\": \"104465\",\n        \"quantity\": \"0.00081797\",\n        \"currencyPair\": \"BTCUSDC\",\n        \"tradedAt\": \"2025-06-30T18:08:22.766Z\",\n        \"takerSide\": \"buy\",\n        \"sequenceId\": 1368928567986637004,\n        \"id\": \"0197c206-9cee-7f95-8df4-dc3f77027f95\",\n        \"quoteVolume\": \"85.44923605\"\n    },\n    {\n        \"price\": \"104465\",\n        \"quantity\": \"0.00346537\",\n        \"currencyPair\": \"BTCUSDC\",\n        \"tradedAt\": \"2025-06-30T18:07:55.144Z\",\n        \"takerSide\": \"buy\",\n        \"sequenceId\": 1368928567986637003,\n        \"id\": \"0197c206-3108-7483-b635-1c34292cd483\",\n        \"quoteVolume\": \"362.00987705\"\n    },\n    {\n        \"price\": \"98196\",\n        \"quantity\": \"0.00002036\",\n        \"currencyPair\": \"BTCUSDC\",\n        \"tradedAt\": \"2025-06-30T14:41:47.344Z\",\n        \"takerSide\": \"buy\",\n        \"sequenceId\": 1368928567986637000,\n        \"id\": \"0197c149-7950-796f-814c-6c1d82b5496f\",\n        \"quoteVolume\": \"1.99927056\"\n    },\n    {\n        \"price\": \"98196\",\n        \"quantity\": \"0.00002036\",\n        \"currencyPair\": \"BTCUSDC\",\n        \"tradedAt\": \"2025-06-30T14:36:47.235Z\",\n        \"takerSide\": \"buy\",\n        \"sequenceId\": 1368928567986636999,\n        \"id\": \"0197c144-e503-7406-98dc-e65b7e4f6406\",\n        \"quoteVolume\": \"1.99927056\"\n    },\n    {\n        \"price\": \"98196\",\n        \"quantity\": \"0.00002036\",\n        \"currencyPair\": \"BTCUSDC\",\n        \"tradedAt\": \"2025-06-30T14:35:47.163Z\",\n        \"takerSide\": \"buy\",\n        \"sequenceId\": 1368928567986636998,\n        \"id\": \"0197c143-fa5b-7b39-9331-3cd368f47b39\",\n        \"quoteVolume\": \"1.99927056\"\n    },\n    {\n        \"price\": \"98196\",\n        \"quantity\": \"0.00002036\",\n        \"currencyPair\": \"BTCUSDC\",\n        \"tradedAt\": \"2025-06-30T14:34:47.081Z\",\n        \"takerSide\": \"buy\",\n        \"sequenceId\": 1368928567986636997,\n        \"id\": \"0197c143-0fa9-714b-835f-dc4bbeb1a14b\",\n        \"quoteVolume\": \"1.99927056\"\n    },\n    {\n        \"price\": \"98196\",\n        \"quantity\": \"0.00002036\",\n        \"currencyPair\": \"BTCUSDC\",\n        \"tradedAt\": \"2025-06-30T14:34:47.076Z\",\n        \"takerSide\": \"buy\",\n        \"sequenceId\": 1368928567986636996,\n        \"id\": \"0197c143-0fa4-70c8-b9fd-4b0aa5e2f0c8\",\n        \"quoteVolume\": \"1.99927056\"\n    },\n    {\n        \"price\": \"98196\",\n        \"quantity\": \"0.00002036\",\n        \"currencyPair\": \"BTCUSDC\",\n        \"tradedAt\": \"2025-06-30T14:34:47.069Z\",\n        \"takerSide\": \"buy\",\n        \"sequenceId\": 1368928567986636995,\n        \"id\": \"0197c143-0f9d-70e2-88aa-9b4b77a5e0e2\",\n        \"quoteVolume\": \"1.99927056\"\n    },\n    {\n        \"price\": \"98196\",\n        \"quantity\": \"0.00002036\",\n        \"currencyPair\": \"BTCUSDC\",\n        \"tradedAt\": \"2025-06-30T14:34:47.065Z\",\n        \"takerSide\": \"buy\",\n        \"sequenceId\": 1368928567986636994,\n        \"id\": \"0197c143-0f99-78d5-8153-f32a8ec468d5\",\n        \"quoteVolume\": \"1.99927056\"\n    }\n]"}],"_postman_id":"f34f0b86-3f74-456f-b72c-93baa57ad20c"},{"name":"VALR Status","id":"16ccc087-4f8c-49b0-aa43-fd4f472c6a52","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.valr.com/v1/public/status","description":"<p>Get the current status of VALR.</p>\n<p>May be \"online\" when all functionality is available, or \"read-only\" when only GET and OPTIONS requests are accepted. All other requests in read-only mode will respond with a 503 error code.</p>\n","urlObject":{"path":["v1","public","status"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"20a64a3e-9c89-46f5-b502-4e2023be27d7","name":"Online","originalRequest":{"method":"GET","header":[],"url":"https://api.valr.com/v1/public/status"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 01 Jun 2020 08:38:14 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"Deny"},{"key":"Content-Security-Policy","value":"default-src 'none'"},{"key":"Via","value":"1.1 google"},{"key":"Cache-Control","value":"max-age=14400"},{"key":"CF-Cache-Status","value":"MISS"},{"key":"cf-request-id","value":"0310a1173f0000f47e98ae1200000001"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"59c79e053d5cf47e-JNB"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"online\"\n}"},{"id":"a8d12828-7c73-42ab-96b6-571c3b7bab3e","name":"Read Only","originalRequest":{"method":"GET","header":[],"url":"https://api.valr.com/v1/public/status"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 01 Jun 2020 08:38:14 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"Deny"},{"key":"Content-Security-Policy","value":"default-src 'none'"},{"key":"Via","value":"1.1 google"},{"key":"Cache-Control","value":"max-age=14400"},{"key":"CF-Cache-Status","value":"MISS"},{"key":"cf-request-id","value":"0310a1173f0000f47e98ae1200000001"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"59c79e053d5cf47e-JNB"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"read-only\"\n}"}],"_postman_id":"16ccc087-4f8c-49b0-aa43-fd4f472c6a52"}],"id":"7d993732-7f64-42cb-86d3-1a1d1bf04557","description":"<p>Public APIs (APIs starting with the prefix <code>/public</code>) do not require authentication.</p>\n<p>These public APIs are subject to a more constrained rate-limiting rule compared to the APIs that require authentication. These API calls will be rate limited at 10 calls per minute (as opposed to 360 calls per minute for the authenticated calls).</p>\n<p>Public routes are cached. Each response includes the following headers relating to cache directives.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Header</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>cache-control: max-age=,public</td>\n<td>The maximum amount of time the data is cached for</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>age:</td>\n<td>The current age of the cached data returned</td>\n</tr>\n</tbody>\n</table>\n</div><p>For additional performance or functionality, please consider the following endpoints:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Functionality</th>\n<th>Public API Endpoint</th>\n<th><strong>Authenticated API Endpoint</strong></th>\n<th><strong>WebSocket</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Order Book (Aggregated)</td>\n<td>/v1/public/:currencyPair/orderbook</td>\n<td>/v1/marketdata/:currencyPair/orderbook</td>\n<td>AGGREGATED_ORDERBOOK_UPDATE</td>\n</tr>\n<tr>\n<td>Order Book (Non-aggregated)</td>\n<td>/v1/public/:currencyPair/orderbook/full</td>\n<td>/v1/marketdata/:currencyPair/orderbook/full</td>\n<td>FULL_ORDERBOOK_UPDATE</td>\n</tr>\n<tr>\n<td>Trade History</td>\n<td>/v1/public/:currencyPair/trades</td>\n<td>/v1/marketdata/:currencyPair/tradehistory</td>\n<td>NEW_TRADE</td>\n</tr>\n<tr>\n<td>Market Summary</td>\n<td>/v1/public/marketsummary  <br />/v1/public/:currencyPair/marketsummary</td>\n<td></td>\n<td>MARKET_SUMMARY_UPDATE</td>\n</tr>\n<tr>\n<td>Price Buckets for a currency pair</td>\n<td>/v1/public/:currencyPair/buckets</td>\n<td></td>\n<td>NEW_TRADE_BUCKET</td>\n</tr>\n<tr>\n<td>Mark Price Buckets for a currency pair</td>\n<td>/v1/public/:currencyPair/markprice/buckets</td>\n<td></td>\n<td>MARK_PRICE_UPDATE</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"id":"95b9e25a-320a-4cad-bb9b-229a07cab2e3","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"7304e58e-857d-479c-b229-b8f7e56279d5","type":"text/javascript","exec":[""]}}],"_postman_id":"7d993732-7f64-42cb-86d3-1a1d1bf04557"},{"name":"Account","item":[{"name":"API Keys","item":[{"name":"Current API Key Info","id":"af083ac6-0514-4979-9bab-f599ea1bed4f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n","type":"text"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n","type":"text"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n","type":"text"}],"url":"https://api.valr.com/v1/account/api-keys/current","description":"<p>Returns the current API Key's information and permissions. This information includes the label, date created, and permissions. Permission levels are <code>View Access</code>, <code>Trade</code> , <code>Withdraw</code> or <code>Link Bank Account</code>. If an API key has Whitelisted IP address ranges or Whitelisted Withdrawal addresses, the IP addresses and Currency withdrawal addresses will also be returned.</p>\n","urlObject":{"path":["v1","account","api-keys","current"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"36049724-1a5a-4678-815c-892c7a479d5e","name":"Current API Key Info","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key","type":"text"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature.","type":"text"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds.","type":"text"}],"url":"https://api.valr.com/v1/account/api-keys/current"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Sat, 11 Sep 2021 18:32:18 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"9"},{"key":"server","value":"envoy"},{"key":"transfer-encoding","value":"chunked"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"clear"}],"cookie":[],"responseTime":null,"body":"{\n    \"label\": \"Full Access Whitelisted IP and Address\",\n    \"permissions\": [\n        \"View access\",\n        \"Trade\",\n        \"Withdraw\"\n    ],\n    \"addedAt\": \"2021-09-11T18:28:37.791401Z\",\n    \"allowedIpAddressCidr\": \"41.157.66.231/32\",\n    \"allowedWithdrawAddressList\": [\n        {\n            \"currency\": \"BTC\",\n            \"address\": \"2N1QAxqSn2B3CiHsLSzeReuysQXyCT8ZXWj\"\n        }\n    ]\n}"},{"id":"cad3a5a9-2fe5-41dc-82ff-31108bc71c6b","name":"IP Address Not Whitelisted","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":"https://api.valr.com/v1/account/api-keys/current"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Thu, 19 Jun 2025 06:50:46 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"10"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": -11272,\n    \"message\": \"The originating IP Address has not been whitelisted.\"\n}"}],"_postman_id":"af083ac6-0514-4979-9bab-f599ea1bed4f"},{"name":"ONE-TIME TOKEN (OTT) exchange","id":"c687004a-ac74-4632-9337-3af6b52c130b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"body":{"mode":"raw","raw":"{\n  \"ottToken\": \"VALROT_4uNneaFRRiqoposStCrDcgy_ZcroOLZ-bkWBpYSyGD\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/partner/exchange","description":"<p>Exchange a One-Time Token (OTT) for API credentials. A partner application sends a VALROT-prefixed token issued when a user authorises the integration on VALR and receives back an API key and secret. The token is single-use and expires if not redeemed. The returned credentials inherit the OTT permissions and IP restrictions the user selected during authorisation, and can be used to sign authenticated requests to the VALR API on their behalf.</p>\n<p>Note: The exchange request must be made using an existing API key with <code>View</code> permissions.</p>\n<p>See <a href=\"https://support.valr.com/hc/en-us/articles/20448368091804-How-to-set-up-your-API-keys\">How to set up your API keys</a> for more information about using One-Time Tokens.</p>\n","urlObject":{"path":["v1","partner","exchange"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"a70fee59-147a-4885-8fb1-cb4457d07dfd","name":"OTT exchange","originalRequest":{"method":"POST","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n  \"ottToken\": \"VALROT_4uNneaFRRiqoposStCrDcgy_ZcroOLZ-bkWBpYSyGDE\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/partner/exchange"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"37"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 09 Apr 2026 08:00:30 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"apiKey\": \"073079dc459ab871aa6e2abf3b63b9bd2a1da09412f902184d662470c3056bb9\",\n    \"apiSecret\": \"edd3077747e43889edeb0467ba81b0a65301aae32d93bed9f667252eb368be37\",\n    \"permissions\": [\n        \"View access\",\n        \"Trade\",\n        \"Internal Transfer\",\n        \"Link bank account\"\n    ],\n    \"allowedIpAddressCidr\": \"105.244.154.87\",\n    \"whitelistedWithdrawalAddresses\": []\n}"},{"id":"bee9618b-4873-424f-aa8a-c6fe3343247f","name":"Invalid/expired OTT exchange","originalRequest":{"method":"POST","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n  \"ottToken\": \"VALROT_4uNneaFRRiqoposStCrDcgy_ZcroOLZ-bkWBpYSyGD\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/partner/exchange"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"7"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 09 Apr 2026 08:01:30 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": -11281,\n    \"message\": \"Partner OTT not found\"\n}"}],"_postman_id":"c687004a-ac74-4632-9337-3af6b52c130b"}],"id":"6aef582f-f06a-4bf8-9a16-8ff357fee8b9","_postman_id":"6aef582f-f06a-4bf8-9a16-8ff357fee8b9","description":""},{"name":"Subaccounts","item":[{"name":"Subaccount","id":"3cb812ed-5511-4035-b0b7-1e89410296dd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n"}],"url":"https://api.valr.com/v1/account/subaccount/:id","description":"<p>Returns the subaccount and its KYC info, if available, for the provided <code>id</code> path variable.</p>\n<h2 id=\"subaccount-info\">Subaccount Info</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>The <code>id</code> of the subaccount.</td>\n</tr>\n<tr>\n<td>label</td>\n<td>The name given to the subaccount.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"kyc-info\">KYC Info</h2>\n<p>The sensitive subaccount KYC data is encrypted at rest.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>firstName</td>\n<td>The first name of the subaccount holder.</td>\n</tr>\n<tr>\n<td>lastName</td>\n<td>The last name of the subaccount holder.</td>\n</tr>\n<tr>\n<td>dateOfBirth</td>\n<td>The date of birth of the subaccount holder.</td>\n</tr>\n<tr>\n<td>residentialCountry</td>\n<td>The residential country of the subaccount holder, which refers to the country where the account holder currently resides.</td>\n</tr>\n<tr>\n<td>identityIssuingCountry</td>\n<td>The identity issuing country of the subaccount holder, which refers to the country as verified by an official ID document (such as an ID card, driver's license, or passport).</td>\n</tr>\n<tr>\n<td>identityType</td>\n<td>The identity type refers to the type of ID document used to verify the subaccount holder's identity.</td>\n</tr>\n<tr>\n<td>identityNumber</td>\n<td>The identity number of the subaccount holder.</td>\n</tr>\n<tr>\n<td>identityExpiryDate</td>\n<td>The date on which the ID of the subaccount holder expires.</td>\n</tr>\n<tr>\n<td>cellNumber</td>\n<td>The cell phone number of the subaccount holder.</td>\n</tr>\n<tr>\n<td>email</td>\n<td>The email address of the subaccount holder.</td>\n</tr>\n<tr>\n<td>purpose</td>\n<td>The purpose of the subaccount.</td>\n</tr>\n<tr>\n<td>employmentStatus</td>\n<td>The employment status of the subaccount holder.</td>\n</tr>\n<tr>\n<td>sourceOfFunds</td>\n<td>The source of funds for the subaccount.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","account","subaccount",":id"],"host":["https://api.valr.com"],"query":[],"variable":[{"id":"7bc4bb78-276a-43a7-8af1-28b8af183357","description":{"content":"<p>The id of the subaccount.</p>\n","type":"text/plain"},"type":"any","value":"903671169785507840","key":"id"}]}},"response":[{"id":"09175d1e-0e4a-429c-98f2-3f793eb64654","name":"Subaccount With KYC","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n"}],"url":{"raw":"https://api.valr.com/v1/account/subaccount/:id","host":["https://api.valr.com"],"path":["v1","account","subaccount",":id"],"variable":[{"key":"id","value":"903671169785507840","description":"The id of the subaccount."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"903671169785507840\",\n    \"label\": \"SubAccountWithKyc\",\n    \"firstName\": \"John\",\n    \"lastName\": \"Doe\",\n    \"dateOfBirth\": \"1985-06-15\",\n    \"residentialCountry\": \"ZA\",\n    \"identityIssuingCountry\": \"ZA\",\n    \"identityType\": \"PASSPORT\",\n    \"identityNumber\": \"A123456789\",\n    \"identityExpiryDate\": \"2030-12-31\",\n    \"cellNumber\": \"+12345678901234\",\n    \"email\": \"johndoe@example.com\",\n    \"purpose\": \"TRADING\",\n    \"employmentStatus\": \"EMPLOYED_FULL_TIME\",\n    \"sourceOfFunds\": \"ALLOWANCE\"\n}"},{"id":"7f9b8d78-762a-411c-8161-6bfffa79ec83","name":"Subaccount Without KYC","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n"}],"url":{"raw":"https://api.valr.com/v1/account/subaccount/:id","host":["https://api.valr.com"],"path":["v1","account","subaccount",":id"],"variable":[{"key":"id","value":"1278315779595685888","description":"The id of the subaccount."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"1278315779595685888\",\n    \"label\": \"Arbitrage Acc 002\"\n}"}],"_postman_id":"3cb812ed-5511-4035-b0b7-1e89410296dd"},{"name":"Retrieve Subaccounts","id":"9443d7ce-c1c5-4597-b43e-d8fc2e7b49a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n","type":"text"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n","type":"text"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n","type":"text"}],"url":"https://api.valr.com/v1/account/subaccounts","description":"<p>Returns the list of all subaccounts that belong to a primary account, with each subaccount's <code>label</code> and <code>id</code>.</p>\n<p>Can only be called by a primary account API key.</p>\n","urlObject":{"path":["v1","account","subaccounts"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"3ae538c0-8c5a-4b3a-bf6b-2a10bb32478f","name":"Retrieve Subaccounts","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key","type":"text"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature.","type":"text"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n","type":"text"}],"url":"https://api.valr.com/v1/account/subaccounts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Fri, 29 Oct 2021 15:48:19 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"196"},{"key":"server","value":"n/a"},{"key":"transfer-encoding","value":"chunked"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"clear"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"label\": \"Arbitrage Acc 001\",\n        \"id\": \"903671169785507840\"\n    },\n    {\n        \"label\": \"Another Test Arbitrage Acc From API\",\n        \"id\": \"903670867401564160\"\n    },\n    {\n        \"label\": \"Test Trade Acc From API\",\n        \"id\": \"903267690654658560\"\n    },\n    {\n        \"label\": \"Test Arbitrage Acc From API\",\n        \"id\": \"903260643187945472\"\n    },\n    {\n        \"label\": \"Trading\",\n        \"id\": \"902529770612256768\"\n    },\n    {\n        \"label\": \"Primary\",\n        \"id\": \"0\"\n    }\n]"}],"_postman_id":"9443d7ce-c1c5-4597-b43e-d8fc2e7b49a7"},{"name":"All Non Zero Balances","id":"f690f824-c254-4d85-8013-27e317addf67","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n","type":"text"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n","type":"text"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n","type":"text"}],"url":"https://api.valr.com/v1/account/balances/all","description":"<p>Returns the entire portfolio's balances that are greater than 0, grouped by account for the primary account and its subaccounts. Accounts with neither balance nor debt will be returned with an empty array.</p>\n<p>Can only be called using a primary account API key.</p>\n","urlObject":{"path":["v1","account","balances","all"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"267bb558-f7c7-4324-9a90-cf5680cb35f2","name":"All Non Zero Balances","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":"https://api.valr.com/v1/account/balances/all"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"8"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 03 Jul 2025 07:19:07 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"account\": {\n            \"label\": \"ox\",\n            \"id\": \"1385226517613019136\"\n        },\n        \"balances\": [\n            {\n                \"currency\": \"ZAR\",\n                \"available\": \"0\",\n                \"reserved\": \"0\",\n                \"total\": \"15\",\n                \"updatedAt\": \"2025-07-01T10:46:29.408Z\",\n                \"lendReserved\": \"0\",\n                \"borrowReserved\": \"15\",\n                \"borrowedAmount\": \"0\"\n            }\n        ]\n    },\n    {\n        \"account\": {\n            \"label\": \"API key test\",\n            \"id\": \"1385148772766830592\"\n        },\n        \"balances\": []\n    },\n    {\n        \"account\": {\n            \"label\": \"Primary\",\n            \"id\": \"0\"\n        },\n        \"balances\": [\n            {\n                \"currency\": \"ZAR\",\n                \"available\": \"1265172.33437585412\",\n                \"reserved\": \"0\",\n                \"total\": \"1665172.33437585412\",\n                \"updatedAt\": \"2025-07-01T14:14:37.218Z\",\n                \"lendReserved\": \"400000\",\n                \"borrowReserved\": \"0\",\n                \"borrowedAmount\": \"0\"\n            },\n            {\n                \"currency\": \"USDC\",\n                \"available\": \"83241.870104015439\",\n                \"reserved\": \"5.5\",\n                \"total\": \"83247.370104015439\",\n                \"updatedAt\": \"2025-07-03T07:19:01.245Z\",\n                \"lendReserved\": \"0\",\n                \"borrowReserved\": \"0\",\n                \"borrowedAmount\": \"0\"\n            }\n        ]\n    }\n]"}],"_postman_id":"f690f824-c254-4d85-8013-27e317addf67"},{"name":"Register Subaccount","id":"8e882538-9063-48c7-9620-5ec28996d69a","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"POST","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n"}],"body":{"mode":"raw","raw":"{\n\t\"label\": \"Arbitrage Acc 001\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/account/subaccount","description":"<p>Creates a new subaccount.</p>\n<p>Can only be called by a primary account API key with <code>Trade</code> permissions.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>label (required)</td>\n<td>The name given to the newly created subaccount. It may contain letters (uppercase and lowercase), numbers (0-9), spaces, and hyphens. Maximum length of 64 characters supported.</td>\n</tr>\n</tbody>\n</table>\n</div><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"label\": \"Arbitrage Acc 001\"\n}\n\n</code></pre><p>Successful requests return <code>200 - OK</code> with the subaccount <code>id</code> in the body.</p>\n<p><strong>Note</strong>: Currently the number of subaccounts per primary account is limited to a maximum of 2000. Please contact us at <a href=\"mailto:business@valr.com\">business@valr.com</a> if you require a higher limit.</p>\n","urlObject":{"path":["v1","account","subaccount"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"02ab100b-3fd2-40c5-a4c0-293e859642a9","name":"Register Subaccount","originalRequest":{"method":"POST","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"label\": \"Arbitrage Acc 001\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/account/subaccount"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Fri, 29 Oct 2021 15:46:35 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"482"},{"key":"server","value":"n/a"},{"key":"transfer-encoding","value":"chunked"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"clear"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"903671169785507840\"\n}"}],"_postman_id":"8e882538-9063-48c7-9620-5ec28996d69a"},{"name":"Register Subaccount With KYC Info","id":"526608f8-c87f-435b-ae1c-cc94104e4a82","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"POST","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n"}],"body":{"mode":"raw","raw":"{\n  \"label\": \"SubAccountKyc28\",\n  \"firstName\": \"John\",\n  \"lastName\": \"Doe\",\n  \"dateOfBirth\": \"1985-06-15\",\n  \"residentialCountry\": \"ZA\",\n  \"identityIssuingCountry\": \"ZA\",\n  \"identityType\": \"passport\",\n  \"identityNumber\": \"A123456788\",\n  \"identityExpiryDate\": \"2030-12-31\",\n  \"cellNumber\": \"+123456788\",\n  \"email\": \"johndoe@example.com\",\n  \"purpose\": \"TRADING\",\n  \"employmentStatus\": \"EMPLOYED_FULL_TIME\",\n  \"sourceOfFunds\": \"ALLOWANCE\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/account/subaccount?isProprietarySubAccount=false","description":"<h2 id=\"note\">Note</h2>\n<p>Registering subaccounts with KYC information is not available to all clients and will not work unless VALR has specifically enabled this for your account. Please contact <a href=\"https://help@valr.com\">help@valr.com</a> if you have already been enabled to utilise these endpoints but are having technical difficulty using them. Please contact <a href=\"https://business@valr.com\">business@valr.com</a> if you believe these endpoints are required for your use case. Please describe in detail your business model, corporate information and regulatory licensing.</p>\n<p>These endpoints can only be called by a primary account API key with <code>Trade</code> permissions.</p>\n<h2 id=\"query-parameter-isproprietarysubaccount\">Query Parameter <code>isProprietarySubAccount</code></h2>\n<p>An <strong>optional</strong> boolean value indicating whether to create a proprietary subaccount (label only) or a customer subaccount (including KYC data). If not provided, the default is <code>false</code></p>\n<h2 id=\"create-customer-subaccount-with-kyc-info\">Create Customer Subaccount (With KYC Info)</h2>\n<p>Note that <code>label</code>, <code>identityNumber</code>, and <code>cellNumber</code> should be unique per subaccount.</p>\n<p>The query parameter <code>isProprietarySubAccount</code> should be set to <code>false</code>.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>label (required)</td>\n<td>The name given to the newly created subaccount. It may contain letters (uppercase and lowercase), numbers (0-9), spaces, and hyphens. Maximum length of 64 characters supported.</td>\n</tr>\n<tr>\n<td>firstName (required)</td>\n<td>The first name of the subaccount holder. It may contain letters (uppercase and lowercase), spaces, and punctuation. Maximum length of 128 characters supported.</td>\n</tr>\n<tr>\n<td>lastName (required)</td>\n<td>The last name of the subaccount holder. It may contain letters (uppercase and lowercase), spaces, and punctuation. Maximum length of 128 characters supported.</td>\n</tr>\n<tr>\n<td>dateOfBirth (required)</td>\n<td>The date of birth of the subaccount holder. It must be a date in the YYYY-MM-DD format.</td>\n</tr>\n<tr>\n<td>residentialCountry (required)</td>\n<td>The residential country of the subaccount holder, which refers to the country where the account holder currently resides. This field supports both the ISO 3166-1 alpha-2 (e.g., \"US\") and ISO 3166-1 alpha-3 (e.g., \"USA\") formats.</td>\n</tr>\n<tr>\n<td>identityIssuingCountry (required)</td>\n<td>The identity issuing country of the subaccount holder, which refers to the country as verified by an official ID document (such as an ID card, driver's license, or passport). This field supports both the ISO 3166-1 alpha-2 (e.g., \"US\") and ISO 3166-1 alpha-3 (e.g., \"USA\") formats.</td>\n</tr>\n<tr>\n<td>identityType (required)</td>\n<td>The identity type refers to the type of ID document used to verify the subaccount holder's identity. This value is case-insensitive. Valid values are PASSPORT, ID_CARD, and DRIVERS_LICENSE.</td>\n</tr>\n<tr>\n<td>identityNumber (required)</td>\n<td>The identity number of the subaccount holder. It must contain between 5 and 30 characters.</td>\n</tr>\n<tr>\n<td>identityExpiryDate</td>\n<td>The date on which the ID of the subaccount holder expires. It must be a date in the YYYY-MM-DD format.</td>\n</tr>\n<tr>\n<td>cellNumber (required)</td>\n<td>The cell phone number of the subaccount holder, provided in the international E.164 format. The number should begin with a + followed by the country code and the subscriber number, ensuring a total length of up to 15 digits.</td>\n</tr>\n<tr>\n<td>email (optional)</td>\n<td>The email address of the subaccount holder. The email must be between 6 and 128 characters in length, case-insensitive, and follow the standard email format.</td>\n</tr>\n<tr>\n<td>purpose (required)</td>\n<td>The purpose of the subaccount. This value is case-insensitive. Valid values are TRADING, TRANSACTIONS_AND_PAYMENTS, MARKET_MAKING, VALR_PAY, BUYING, SAVINGS_AND_INVESTMENTS, ARBITRAGE_TRADING, OTC_TRADING, CRYPTOCURRENCY_BROKERING, REFERRALS_AND_COMPETITIONS.</td>\n</tr>\n<tr>\n<td>employmentStatus (required)</td>\n<td>The employment status of the subaccount holder. This value is case-insensitive. Valid values are EMPLOYED_FULL_TIME, EMPLOYED_PART_TIME, FREELANCER, RETIRED, SELF_EMPLOYED, STUDENT, UNEMPLOYED.</td>\n</tr>\n<tr>\n<td>sourceOfFunds (required)</td>\n<td>The source of funds for the subaccount. This value is case-insensitive. Valid values are ALLOWANCE, BUSINESS_PROFITS, CRYPTOCURRENCY_TRANSACTIONS, INHERITANCE, INTEREST_DIVIDENDS, PENSION, SALARY_WAGES, GOVERNMENT_GRANTS, SAVINGS.</td>\n</tr>\n</tbody>\n</table>\n</div><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"label\": \"SubAccountWithKyc\",\n  \"firstName\": \"John\",\n  \"lastName\": \"Doe\",\n  \"dateOfBirth\": \"1985-06-15\",\n  \"residentialCountry\": \"ZA\",\n  \"identityIssuingCountry\": \"ZA\",\n  \"identityType\": \"passport\",\n  \"identityNumber\": \"A123456789\",\n  \"identityExpiryDate\": \"2030-12-31\",\n  \"cellNumber\": \"+123456789\",\n  \"email\": \"johndoe@example.com\",\n  \"purpose\": \"TRADING\",\n  \"employmentStatus\": \"EMPLOYED_FULL_TIME\",\n  \"sourceOfFunds\": \"ALLOWANCE\"\n}\n\n</code></pre>\n<h2 id=\"create-proprietary-subaccount-without-kyc-info\">Create Proprietary Subaccount (Without KYC Info)</h2>\n<p>Note that <code>label</code> should be unique per subaccount.</p>\n<p>The query parameter <code>isProprietarySubAccount</code> should be set to <code>true</code>.</p>\n<h3 id=\"request-body-1\">Request Body</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>label (required)</td>\n<td>The name given to the newly created subaccount. It may contain letters (uppercase and lowercase), numbers (0-9), spaces, and hyphens. Maximum length of 64 characters supported.</td>\n</tr>\n</tbody>\n</table>\n</div><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"label\": \"Arbitrage Acc 001\"\n}\n\n</code></pre>\n<p>Successful requests return <code>200 - OK</code> with the subaccount <code>id</code> in the body.</p>\n<p><strong>Note</strong>: Currently the number of subaccounts per primary account is limited to a maximum of 2000. Please contact us at <a href=\"https://mailto:business@valr.com\">business@valr.com</a> if you require a higher limit.</p>\n","urlObject":{"path":["v1","account","subaccount"],"host":["https://api.valr.com"],"query":[{"description":{"content":"<p>A boolean value indicating whether a proprietary subaccount or a customer subaccount will be created.</p>\n","type":"text/plain"},"key":"isProprietarySubAccount","value":"false"}],"variable":[]}},"response":[{"id":"221b9859-a2b6-41b7-83b2-1e9e49ce4707","name":"Register Customer Subaccount","originalRequest":{"method":"POST","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"label\": \"SubAccountWithKyc\",\n  \"firstName\": \"John\",\n  \"lastName\": \"Doe\",\n  \"dateOfBirth\": \"1985-06-15\",\n  \"residentialCountry\": \"ZA\",\n  \"identityIssuingCountry\": \"ZA\",\n  \"identityType\": \"PASSPORT\",\n  \"identityNumber\": \"A123456789\",\n  \"identityExpiryDate\": \"2030-12-31\",\n  \"cellNumber\": \"+12345678901234\",\n  \"email\": \"johndoe@example.com\",\n  \"purpose\": \"TRADING\",\n  \"employmentStatus\": \"EMPLOYED_FULL_TIME\",\n  \"sourceOfFunds\": \"ALLOWANCE\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.valr.com/v1/account/subaccount?isProprietarySubAccount=false","protocol":"https","host":["api","valr","com"],"path":["v1","account","subaccount"],"query":[{"key":"isProprietarySubAccount","value":"false","description":"A boolean value indicating whether a proprietary subaccount or a customer subaccount will be created."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Fri, 29 Oct 2021 15:46:35 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"482"},{"key":"server","value":"n/a"},{"key":"transfer-encoding","value":"chunked"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"clear"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"903671169785507840\"\n}"},{"id":"9e5b3de3-751a-433f-a2b1-08608356a4fc","name":"Register Proprietary Subaccount","originalRequest":{"method":"POST","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"label\": \"Arbitrage Acc 001\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.valr.com/v1/account/subaccount?isProprietarySubAccount=true","host":["https://api.valr.com"],"path":["v1","account","subaccount"],"query":[{"key":"isProprietarySubAccount","value":"true","description":"A boolean value indicating whether a proprietary subaccount or a customer subaccount will be created."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Fri, 29 Oct 2021 15:46:35 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"482"},{"key":"server","value":"n/a"},{"key":"transfer-encoding","value":"chunked"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"clear"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"903671169785507840\"\n}"},{"id":"7c532273-420c-4431-9971-59b9194468da","name":"Register Proprietary Subaccount failed (isProprietarySubAccount = false)","originalRequest":{"method":"POST","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"label\": \"Arbitrage Acc 001\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.valr.com/v1/account/subaccount?isProprietarySubAccount=false","host":["https://api.valr.com"],"path":["v1","account","subaccount"],"query":[{"key":"isProprietarySubAccount","value":"false","description":"A boolean value indicating whether a proprietary subaccount or a customer subaccount will be created."}]}},"_postman_previewlanguage":"json","header":[{"key":"date","value":"Fri, 29 Oct 2021 15:46:35 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"482"},{"key":"server","value":"n/a"},{"key":"transfer-encoding","value":"chunked"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"clear"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": -11,\n    \"message\": \"Invalid Request, please check your request and try again\",\n    \"validationErrors\": {\n        \"errors\": [\n            {\n                \"field\": \"lastName\",\n                \"message\": \"must not be blank\"\n            },\n            {\n                \"field\": \"identityIssuingCountry\",\n                \"message\": \"must not be blank\"\n            },\n            {\n                \"field\": \"sourceOfFunds\",\n                \"message\": \"Invalid source of funds\"\n            },\n            {\n                \"field\": \"dateOfBirth\",\n                \"message\": \"must not be null\"\n            },\n            {\n                \"field\": \"identityType\",\n                \"message\": \"Invalid identity type\"\n            },\n            {\n                \"field\": \"sourceOfFunds\",\n                \"message\": \"must not be null\"\n            },\n            {\n                \"field\": \"purpose\",\n                \"message\": \"must not be null\"\n            },\n            {\n                \"field\": \"identityNumber\",\n                \"message\": \"must not be null\"\n            },\n            {\n                \"field\": \"identityType\",\n                \"message\": \"must not be null\"\n            },\n            {\n                \"field\": \"purpose\",\n                \"message\": \"Invalid purpose\"\n            },\n            {\n                \"field\": \"residentialCountry\",\n                \"message\": \"must not be blank\"\n            },\n            {\n                \"field\": \"employmentStatus\",\n                \"message\": \"Invalid employment status\"\n            },\n            {\n                \"field\": \"firstName\",\n                \"message\": \"must not be blank\"\n            },\n            {\n                \"field\": \"employmentStatus\",\n                \"message\": \"must not be null\"\n            }\n        ]\n    }\n}"}],"_postman_id":"526608f8-c87f-435b-ae1c-cc94104e4a82"},{"name":"Transaction History For All Subaccounts (With Filters)","id":"e34a6e0f-8857-4a54-aab5-1fecaed779d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"url":"https://api.valr.com/v1/account/transactionhistory/subaccounts?skip=0&limit=100","description":"<p>Transaction history for all your sub accounts.</p>\n<p>The results of this request may be filtered by transaction types, currency and start and end time. The <code>skip</code> and <code>limit</code> parameters may be applied to paginate the filtered results.</p>\n<p>Please note that all transactions that are returned using the provided filter criteria will be ordered by the date the transactions were created in <strong>descending</strong> order.</p>\n<h2 id=\"filtering-by-skip-or-limit\">Filtering by <code>skip</code> or <code>limit</code></h2>\n<p>Paginate the query results by skipping the <code>skip</code> newest results, and limiting the results to <code>limit</code> records. The default value of <code>skip</code>, if omitted, is <code>0</code>, and the default value of <code>limit</code> is <code>100</code>. The maximum allowed value of limit is <code>200</code>.</p>\n<h2 id=\"filtering-by-starttime-or-endtime\">Filtering by <code>startTime</code> or <code>endTime</code></h2>\n<p>The <code>startTime</code> or <code>endTime</code> parameters may be used to filter the returned items by the transaction date. The parameters will be interpreted as being in the UTC time zone and must be supplied in the ISO 8601 format (<code>2020-02-29T22:00:00.000Z</code>). These two parameters may be used together or separately. When <code>startTime</code> is used, transactions that have occurred since <code>startTime</code> are returned. When <code>endTime</code> is used, transactions that have occurred up to and including <code>endTime</code> are returned.</p>\n<p><strong>Possible Scenarios:</strong></p>\n<ul>\n<li><p>When <code>startTime</code> and <code>endTime</code> are not provided the <code>startTime</code> will be defaulted to 1 day before current time and <code>endTime</code> will be defaulted to current time.</p>\n</li>\n<li><p>When <code>startTime</code> is specified and <code>endTime</code> is not specified, <code>endTime</code> will be defaulted to 7 days after <code>startTime</code>, to a maximum of current time.</p>\n</li>\n<li><p>When <code>startTime</code> is not specified and <code>endTime</code> is specified, <code>startTime</code> will be defaulted to 7 days prior to <code>endTime</code>.</p>\n</li>\n<li><p><code>startTime</code> and <code>endTime</code> may not differ by more than 7 days.</p>\n</li>\n</ul>\n<p><strong>NOTE</strong>\nThe <code>startTime</code> and <code>endTime</code> parameters are optional filters. However, omitting these parameters may result in slower response times. To mitigate this, a default time window such as the most recent 30 days may be automatically applied to the request.</p>\n<h2 id=\"filtering-by-transactiontypes\">Filtering by <code>transactionTypes</code></h2>\n<p>The <code>transactionTypes</code> parameter may be used to filter the returned items by a comma-separated list of transaction types from the following list of supported types:</p>\n<ul>\n<li><p>LIMIT_BUY</p>\n</li>\n<li><p>LIMIT_SELL</p>\n</li>\n<li><p>MARKET_BUY</p>\n</li>\n<li><p>MARKET_SELL</p>\n</li>\n<li><p>SIMPLE_BUY</p>\n</li>\n<li><p>SIMPLE_SELL</p>\n</li>\n<li><p>AUTO_BUY</p>\n</li>\n<li><p>MAKER_REWARD</p>\n</li>\n<li><p>BLOCKCHAIN_RECEIVE</p>\n</li>\n<li><p>BLOCKCHAIN_SEND</p>\n</li>\n<li><p>FIAT_DEPOSIT</p>\n</li>\n<li><p>FIAT_WITHDRAWAL</p>\n</li>\n<li><p>REFERRAL_REBATE</p>\n</li>\n<li><p>REFERRAL_REWARD</p>\n</li>\n<li><p>PROMOTIONAL_REBATE</p>\n</li>\n<li><p>INTERNAL_TRANSFER</p>\n</li>\n<li><p>FIAT_WITHDRAWAL_REVERSAL</p>\n</li>\n<li><p>PAYMENT_SENT</p>\n</li>\n<li><p>PAYMENT_RECEIVED</p>\n</li>\n<li><p>PAYMENT_REVERSED</p>\n</li>\n<li><p>PAYMENT_REWARD</p>\n</li>\n<li><p>OFF_CHAIN_BLOCKCHAIN_WITHDRAW</p>\n</li>\n<li><p>OFF_CHAIN_BLOCKCHAIN_DEPOSIT</p>\n</li>\n<li><p>AUTO_BUY</p>\n</li>\n<li><p>SIMPLE_SWAP_BUY</p>\n</li>\n<li><p>SIMPLE_SWAP_SELL</p>\n</li>\n<li><p>SIMPLE_SWAP_FAILURE_REVERSAL</p>\n</li>\n</ul>\n<h2 id=\"filtering-by-currency\">Filtering by <code>currency</code></h2>\n<p>The <code>currency</code> parameter may be used to filter the returned items by the currency symbol (Example: <code>USDC</code>, <code>BTC</code> etc.). Results will include transactions where the <code>creditCurrency</code> or the <code>debitCurrency</code> matches this parameter.</p>\n","urlObject":{"path":["v1","account","transactionhistory","subaccounts"],"host":["https://api.valr.com"],"query":[{"description":{"content":"<p>Skip this number of results. (Default 0)</p>\n","type":"text/plain"},"key":"skip","value":"0"},{"description":{"content":"<p>Limit the results to this number. (Default and Max 100)</p>\n","type":"text/plain"},"key":"limit","value":"100"},{"disabled":true,"description":{"content":"<p>Comma-separated list of transaction types to include</p>\n","type":"text/plain"},"key":"transactionTypes","value":"SIMPLE_BUY,LIMIT_BUY,MARKET_BUY"},{"disabled":true,"description":{"content":"<p>Include only transactions in this currency</p>\n","type":"text/plain"},"key":"currency","value":"USDC"},{"disabled":true,"description":{"content":"<p>Include only transactions after this ISO 8601 start time. Refer to documenration for default behaviour</p>\n","type":"text/plain"},"key":"startTime","value":"2024-04-24T23:14:34.252Z"},{"disabled":true,"description":{"content":"<p>Include only transactions before this ISO 8601 end time. Refer to documenration for default behaviour</p>\n","type":"text/plain"},"key":"endTime","value":"2024-04-24T23:44:34.252Z"}],"variable":[]}},"response":[{"id":"fc8032f8-1059-4c42-b116-f9c1ff557e56","name":"Transaction History For All Subaccounts (With Filters)","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/account/transactionhistory/subaccounts?skip=0&limit=100","host":["https://api.valr.com"],"path":["v1","account","transactionhistory","subaccounts"],"query":[{"key":"skip","value":"0","description":"Skip this number of results. (Default 0)"},{"key":"limit","value":"100","description":"Limit the results to this number. (Default and Max 100)"},{"key":"transactionTypes","value":"SIMPLE_BUY,LIMIT_BUY,MARKET_BUY","description":"Comma-separated list of transaction types to include","disabled":true},{"key":"currency","value":"USDC","description":"Include only transactions in this currency","disabled":true},{"key":"startTime","value":"2024-04-24T23:14:34.252Z","description":"Include only transactions after this ISO 8601 start time. Refer to documenration for default behaviour","disabled":true},{"key":"endTime","value":"2024-04-24T23:44:34.252Z","description":"Include only transactions before this ISO 8601 end time. Refer to documenration for default behaviour","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"42"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 03 Jul 2025 11:44:11 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"1306231494450782208\",\n        \"label\": \"Margin Trading\",\n        \"transactions\": [\n            {\n                \"transactionType\": {\n                    \"type\": \"SPOT_BORROW_INTEREST_CHARGE\",\n                    \"description\": \"Spot Borrow Interest Charge\"\n                },\n                \"debitCurrency\": \"AVAX\",\n                \"debitValue\": \"0.00000184\",\n                \"eventAt\": \"2025-07-03T08:00:00.461Z\",\n                \"additionalInfo\": {\n                    \"borrowAmount\": \"3.0520996\",\n                    \"hourlyRate\": \"6.00E-7\"\n                },\n                \"id\": \"0197cf4c-b5cd-7f4a-8c32-7f183d3f2f4a\"\n            },\n            {\n                \"transactionType\": {\n                    \"type\": \"FUTURES_FUNDING_PAID\",\n                    \"description\": \"Futures Funding Paid\"\n                },\n                \"debitCurrency\": \"ZAR\",\n                \"debitValue\": \"17.3601\",\n                \"eventAt\": \"2025-07-03T08:00:00.283Z\",\n                \"additionalInfo\": {\n                    \"notionalAmount\": \"10211.7750\",\n                    \"fundingRate\": \"0.001700\"\n                },\n                \"id\": \"0197cf4c-b51b-7cfb-8091-c4106e934cfb\"\n            },\n            {\n                \"transactionType\": {\n                    \"type\": \"FUTURES_PNL_LOSS\",\n                    \"description\": \"Futures PNL Loss\"\n                },\n                \"debitCurrency\": \"USDT\",\n                \"debitValue\": \"7.7287\",\n                \"eventAt\": \"2025-07-03T08:00:00.081Z\",\n                \"id\": \"0197cf4c-b451-7d2e-8ebd-70ecf4a37d2e\"\n            },\n            {\n                \"transactionType\": {\n                    \"type\": \"FUTURES_PNL_PROFIT\",\n                    \"description\": \"Futures PNL Profit\"\n                },\n                \"creditCurrency\": \"USDT\",\n                \"creditValue\": \"2.4106\",\n                \"eventAt\": \"2025-07-03T00:00:00.039Z\",\n                \"id\": \"0197cd95-4027-7c4a-be0e-1b3341783c4a\"\n            },\n            {\n                \"transactionType\": {\n                    \"type\": \"LIMIT_SELL\",\n                    \"description\": \"Limit Sell\"\n                },\n                \"debitCurrency\": \"BNB\",\n                \"debitValue\": \"0.00170601\",\n                \"creditCurrency\": \"ZAR\",\n                \"creditValue\": \"19.2432127566\",\n                \"feeCurrency\": \"ZAR\",\n                \"feeValue\": \"0.0347002434\",\n                \"eventAt\": \"2025-07-03T07:08:27.822Z\",\n                \"additionalInfo\": {\n                    \"costPerCoin\": 11300,\n                    \"costPerCoinSymbol\": \"R\",\n                    \"currencyPairSymbol\": \"BNBZAR\",\n                    \"orderId\": \"0197a179-8d7c-744d-9ae8-bd24830293d0\"\n                },\n                \"id\": \"0197cf1d-852e-7ee5-b7b6-37c630dfaee5\"\n            },\n            {\n                \"transactionType\": {\n                    \"type\": \"FUTURES_FUNDING_EARNED\",\n                    \"description\": \"Futures Funding Earned\"\n                },\n                \"creditCurrency\": \"ZAR\",\n                \"creditValue\": \"1876.8471\",\n                \"eventAt\": \"2025-07-03T08:00:00.279Z\",\n                \"additionalInfo\": {\n                    \"notionalAmount\": \"1104027.7500\",\n                    \"fundingRate\": \"0.001700\"\n                },\n                \"id\": \"0197cf4c-b517-7911-8d0b-7b7914129911\"\n            },\n            {\n                \"transactionType\": {\n                    \"type\": \"INTERNAL_TRANSFER\",\n                    \"description\": \"Transfer\"\n                },\n                \"debitCurrency\": \"USDC\",\n                \"debitValue\": \"83241.870104015439\",\n                \"eventAt\": \"2025-07-03T07:19:01.245Z\",\n                \"additionalInfo\": {\n                    \"reason\": \"SUB_ACCOUNT\",\n                    \"reasonDescription\": \"Transfer between subaccounts\",\n                    \"additional\": \"Transfer from API key test to Primary\",\n                    \"transferId\": \"443661\"\n                },\n                \"id\": \"0197cf27-2f7d-7ac8-9d29-578d356d7ac8\"\n            }\n        ]\n    }\n]"}],"_postman_id":"e34a6e0f-8857-4a54-aab5-1fecaed779d1"},{"name":"Delete Subaccount","id":"635bd01c-61d0-45b8-bf4d-1bd9eabd9d74","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"DELETE","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n"}],"body":{"mode":"raw","raw":"{\n\t\"id\": \"1068214337466658816\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/account/subaccount","description":"<p>Deletes an existing subaccount.</p>\n<p>Can only be called by a primary account API key with <code>Trade</code> permissions.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"id\": \"1068214337466658816\"\n}\n\n</code></pre>\n<p>Successful requests return <code>204 - OK</code>.</p>\n<p><strong>Note</strong>: Please note the subaccount can only be deleted once all balances are transferred out.</p>\n","urlObject":{"path":["v1","account","subaccount"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"0b33e9cb-5453-4f72-9a8f-9f2286b083b6","name":"Delete Subaccount Accepted","originalRequest":{"method":"DELETE","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"id\": \"1242374963910606848\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/account/subaccount"},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Tue, 21 May 2024 07:15:02 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"9"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":null},{"id":"5e793ce1-78e9-49d3-975f-0d14dda56b38","name":"Delete Subaccount With Nonzero Balance","originalRequest":{"method":"DELETE","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"id\": \"1068214337466658816\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/account/subaccount"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Tue, 21 May 2024 07:16:19 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"5"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": -11163,\n    \"message\": \"Cannot disable sub account with balances\"\n}"}],"_postman_id":"635bd01c-61d0-45b8-bf4d-1bd9eabd9d74"},{"name":"Rename Subaccount","id":"85f683dd-7b2a-41a7-99e8-783bc92a6546","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n"}],"body":{"mode":"raw","raw":"{\n\t\"id\": \"1068214337466658816\",\n    \"label\": \"Arbitrage Acc 002\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/account/subaccount","description":"<p>Renames subaccount label.</p>\n<p>Can only be called by a primary account API key with <code>Trade</code> permissions.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>label (required)</td>\n<td>The new subaccount name. It may contain letters (uppercase and lowercase), numbers (0-9), spaces, and hyphens. Maximum length of 64 characters supported.</td>\n</tr>\n<tr>\n<td>id (required)</td>\n<td>The <code>id</code> of the subaccount.</td>\n</tr>\n</tbody>\n</table>\n</div><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"id\": \"1068214337466658816\",\n    \"label\": \"Arbitrage Acc 002\"\n}\n\n</code></pre><p>Successful requests return <code>202 - Accepted</code>.</p>\n","urlObject":{"path":["v1","account","subaccount"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"b45d1e65-c4c4-4f81-bd3a-57c2c9f1fa58","name":"Rename Subaccount (202 Accepted)","originalRequest":{"method":"PUT","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n"}],"body":{"mode":"raw","raw":"{\n\t\"id\": \"1068214337466658816\",\n    \"label\": \"Arbitrage Acc 002\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/account/subaccount"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Thu, 18 Jul 2024 11:13:54 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"9"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":null},{"id":"e3368f08-610a-4e7a-8b7c-f02e7ed69e91","name":"Rename Subaccount (403 Forbidden)","originalRequest":{"method":"PUT","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n"}],"body":{"mode":"raw","raw":"{\n\t\"id\": \"1068214337466658816\",\n    \"label\": \"Arbitrage Acc 002\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/account/subaccount"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Thu, 18 Jul 2024 11:14:39 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"31"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": -11132,\n    \"message\": \"A subaccount with that label already exists\"\n}"}],"_postman_id":"85f683dd-7b2a-41a7-99e8-783bc92a6546"},{"name":"Update Subaccount With KYC Info","id":"1e33eeb6-d9b1-45ca-bf27-90c4d8c4b38a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"1277294828062744576\",\n    \"label\": \"SubAccountKyc43\",\n    \"firstName\": \"John\",\n    \"lastName\": \"Doe\",\n    \"dateOfBirth\": \"1985-06-15\",\n    \"residentialCountry\": \"ZA\",\n    \"identityIssuingCountry\": \"ZA\",\n    \"identityType\": \"passport\",\n    \"identityNumber\": \"A293456789\",\n    \"identityExpiryDate\": \"2030-12-31\",\n    \"cellNumber\": \"+293456789\",\n    \"email\": \"johndoe+29@example.com\",\n    \"purpose\": \"TRADING\",\n    \"employmentStatus\": \"FREELANCER\",\n    \"sourceOfFunds\": \"ALLOWANCE\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/account/subaccount?isProprietarySubAccount=false","description":"<h2 id=\"note\">Note</h2>\n<p>Registering subaccounts with KYC information is not available to all clients and will not work unless VALR has specifically enabled this for your account. Please contact <a href=\"https://mailto:help@valr.com\">help@valr.com</a> if you have already been enabled to utilise these endpoints but are having technical difficulty using them. Please contact <a href=\"https://mailto:Business@valr.com\">business@valr.com</a> if you believe these endpoints are required for your use case. Please describe in detail your business model, corporate information and regulatory licensing.</p>\n<p>Additionally these endpoints can only be called by a primary account API key with <code>Trade</code> permissions.</p>\n<h2 id=\"query-parameter-isproprietarysubaccount\">Query Parameter <code>isProprietarySubAccount</code></h2>\n<p>A boolean value indicating whether to update a proprietary subaccount (label only) or a customer subaccount (including KYC data).</p>\n<p>Existing proprietary sub-accounts (label only) can be converted to customer sub-accounts (including KYC data) by making an update request with <code>isProprietarySubAccount</code> set to <code>false</code> and providing the necessary KYC information.</p>\n<h2 id=\"body\">Body</h2>\n<p>Note that label, identityNumber and cellNumber should be unique per subaccount.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id (required)</td>\n<td>The <code>id</code> of the subaccount.</td>\n</tr>\n<tr>\n<td>label (required)</td>\n<td>The name given to the newly created subaccount. It may contain letters (uppercase and lowercase), numbers (0-9), spaces, and hyphens. Maximum length of 64 characters supported.</td>\n</tr>\n<tr>\n<td>firstName (required)</td>\n<td>The first name of the subaccount holder. It may contain letters (uppercase and lowercase), spaces, and punctuation. Maximum length of 128 characters supported.</td>\n</tr>\n<tr>\n<td>lastName (required)</td>\n<td>The last name of the subaccount holder. It may contain letters (uppercase and lowercase), spaces, and punctuation. Maximum length of 128 characters supported.</td>\n</tr>\n<tr>\n<td>dateOfBirth (required)</td>\n<td>The date of birth of the subaccount holder. It must be a date in the YYYY-MM-DD format.</td>\n</tr>\n<tr>\n<td>residentialCountry (required)</td>\n<td>The residential country of the subaccount holder, which refers to the country where the account holder currently resides. This field supports both the ISO 3166-1 alpha-2 (e.g., \"US\") and ISO 3166-1 alpha-3 (e.g., \"USA\") formats.</td>\n</tr>\n<tr>\n<td>identityIssuingCountry (required)</td>\n<td>The identity issuing country of the subaccount holder, which refers to the country as verified by an official ID document (such as an ID card, driver's license, or passport). This field supports both the ISO 3166-1 alpha-2 (e.g., \"US\") and ISO 3166-1 alpha-3 (e.g., \"USA\") formats.</td>\n</tr>\n<tr>\n<td>identityType (required)</td>\n<td>The identity type refers to the type of ID document used to verify the subaccount holder's identity. This value is case-insensitive. Valid values are PASSPORT, ID_CARD, and DRIVERS_LICENSE.</td>\n</tr>\n<tr>\n<td>identityNumber (required)</td>\n<td>The identity number of the subaccount holder. It must contain between 5 and 30 characters.</td>\n</tr>\n<tr>\n<td>identityExpiryDate</td>\n<td>The date on which the ID of the subaccount holder expires. It must be a date in the YYYY-MM-DD format.</td>\n</tr>\n<tr>\n<td>cellNumber (required)</td>\n<td>The cell phone number of the subaccount holder, provided in the international E.164 format. The number should begin with a + followed by the country code and the subscriber number, ensuring a total length of up to 15 digits.</td>\n</tr>\n<tr>\n<td>email (optional)</td>\n<td>The email address of the subaccount holder. The email must be between 6 and 128 characters in length, case-insensitive, and follow the standard email format.</td>\n</tr>\n<tr>\n<td>purpose (required)</td>\n<td>The purpose of the subaccount. This value is case-insensitive. Valid values are TRADING, TRANSACTIONS_AND_PAYMENTS, MARKET_MAKING, VALR_PAY, BUYING, SAVINGS_AND_INVESTMENTS, ARBITRAGE_TRADING, OTC_TRADING, CRYPTOCURRENCY_BROKERING, REFERRALS_AND_COMPETITIONS.</td>\n</tr>\n<tr>\n<td>employmentStatus (required)</td>\n<td>The employment status of the subaccount holder. This value is case-insensitive. Valid values are EMPLOYED_FULL_TIME, EMPLOYED_PART_TIME, FREELANCER, RETIRED, SELF_EMPLOYED, STUDENT, UNEMPLOYED.</td>\n</tr>\n<tr>\n<td>sourceOfFunds (required)</td>\n<td>The source of funds for the subaccount. This value is case-insensitive. Valid values are ALLOWANCE, BUSINESS_PROFITS, CRYPTOCURRENCY_TRANSACTIONS, INHERITANCE, INTEREST_DIVIDENDS, PENSION, SALARY_WAGES, GOVERNMENT_GRANTS, SAVINGS.</td>\n</tr>\n</tbody>\n</table>\n</div><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"id\": \"903671169785507840\",\n    \"label\": \"SubAccountWithKyc\",\n    \"firstName\": \"John\",\n    \"lastName\": \"Updated\",\n    \"dateOfBirth\": \"1985-06-15\",\n    \"residentialCountry\": \"ZA\",\n    \"identityIssuingCountry\": \"ZA\",\n    \"identityType\": \"PASSPORT\",\n    \"identityNumber\": \"A123456789\",\n    \"identityExpiryDate\": \"2030-12-31\",\n    \"cellNumber\": \"+12345678901234\",\n    \"email\": \"johndoe@example.com\",\n    \"purpose\": \"TRADING\",\n    \"employmentStatus\": \"EMPLOYED_FULL_TIME\",\n    \"sourceOfFunds\": \"ALLOWANCE\"\n}\n\n</code></pre>\n","urlObject":{"path":["v1","account","subaccount"],"host":["https://api.valr.com"],"query":[{"description":{"content":"<p>A boolean value indicating whether a proprietary subaccount or a customer subaccount will be updated.</p>\n","type":"text/plain"},"key":"isProprietarySubAccount","value":"false"}],"variable":[]}},"response":[{"id":"1d29d370-d38b-4727-b91c-02696d103c9d","name":"Update Subaccount","originalRequest":{"method":"PUT","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"903671169785507840\",\n    \"label\": \"SubAccountWithKyc\",\n    \"firstName\": \"John\",\n    \"lastName\": \"Updated\",\n    \"dateOfBirth\": \"1985-06-15\",\n    \"residentialCountry\": \"ZA\",\n    \"identityIssuingCountry\": \"ZA\",\n    \"identityType\": \"PASSPORT\",\n    \"identityNumber\": \"A123456789\",\n    \"identityExpiryDate\": \"2030-12-31\",\n    \"cellNumber\": \"+12345678901234\",\n    \"email\": \"johndoe@example.com\",\n    \"purpose\": \"TRADING\",\n    \"employmentStatus\": \"EMPLOYED_FULL_TIME\",\n    \"sourceOfFunds\": \"ALLOWANCE\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.valr.com/v1/account/subaccount?isProprietarySubAccount=false","protocol":"https","host":["api","valr","com"],"path":["v1","account","subaccount"],"query":[{"key":"isProprietarySubAccount","value":"false"}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"1e33eeb6-d9b1-45ca-bf27-90c4d8c4b38a"},{"name":"Internal Transfer Subaccounts","id":"f065f4d0-bde5-4793-874d-3b2c67f5e42d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n","type":"text"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n","type":"text"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"fromId\": \"0\",\n    \"toId\": \"1364175408828567552\",\n    \"currencyCode\": \"ZAR\",\n    \"amount\": \"2.99\",\n    \"allowBorrow\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/account/subaccounts/transfer","description":"<p>Transfer funds between 2 accounts.</p>\n<p>The primary API key can transfer <code>from</code> and <code>to</code> any subaccount.<br />The subaccount API key can only transfer <code>from</code> itself.</p>\n<p>Please note: The transfer process is asyncronous, to verify completion listen for balance changes or TX updates on the Account WebSocket.</p>\n<p><strong>Borrowing:</strong><br />Use the <code>allowBorrow</code> option to borrow funds against assets in your account. Collateral is locked while the loan is outstanding. Interest accrues hourly and is capitalised into the loan. You can repay the loan whenever you prefer. Crypto Loans are only available in margin-enabled Subaccounts.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>fromId</code> (required)</td>\n<td>The <code>id</code> of the source account. Use <code>0</code> for the primary account</td>\n</tr>\n<tr>\n<td><code>toId</code> (required)</td>\n<td>The <code>id</code> of destination account. Use <code>0</code> for the primary account</td>\n</tr>\n<tr>\n<td><code>currencyCode</code> (required)</td>\n<td>The currency code of the currency being transferred</td>\n</tr>\n<tr>\n<td><code>amount</code> (required)</td>\n<td>The total amount being transferred</td>\n</tr>\n<tr>\n<td><code>allowBorrow</code> (optional)</td>\n<td><code>true</code> or <code>false</code>. Default value is <code>false</code>. See description above.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","account","subaccounts","transfer"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"898e2714-5b1c-4e1c-bf2f-29851c94f8dc","name":"Internal Transfer Accepted","originalRequest":{"method":"POST","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n"}],"body":{"mode":"raw","raw":"{\n    \"fromId\": \"0\",\n    \"toId\": \"1385226517613019136\",\n    \"currencyCode\": \"FLR\",\n    \"amount\": \"10\",\n    \"allowBorrow\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/account/subaccounts/transfer"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"21"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Fri, 04 Jul 2025 07:27:57 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":null},{"id":"eb0ba735-74ec-47ae-ae33-d9af98ee6d12","name":"Allow borrow margin not enabled for account Unsuccessful","originalRequest":{"method":"POST","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n"}],"body":{"mode":"raw","raw":"{\n    \"fromId\": \"0\",\n    \"toId\": \"1364247026410483712\",\n    \"currencyCode\": \"ZAR\",\n    \"amount\": \"2.99\",\n    \"allowBorrow\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/account/subaccounts/transfer"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Tue, 20 May 2025 13:24:37 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"16"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": -19213,\n    \"message\": \"Margin not enabled for account\"\n}"}],"_postman_id":"f065f4d0-bde5-4793-874d-3b2c67f5e42d"}],"id":"8b94e266-9ad2-44b9-8b7b-a5acfcac6838","description":"<p>This section describes the subaccounts APIs and how to interact with them.</p>\n<p><strong>Note:</strong> An API key created on the main (primary) account can impersonate a subaccount by including the header <strong>X-VALR-SUB-ACCOUNT-ID</strong> and specifying the subaccount <code>id</code>, as well as adding the <code>id</code> to request signature. This allows the primary account to transact on behalf of the impersonated subaccount. Please see the <a href=\"https://docs.valr.com/#authentication\">Authentication</a> section for more details.</p>\n","_postman_id":"8b94e266-9ad2-44b9-8b7b-a5acfcac6838"},{"name":"Balances","id":"60455ec7-ecdc-42ad-9a57-64941299da52","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n","type":"text"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n","type":"text"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n","type":"text"}],"url":"https://api.valr.com/v1/account/balances?excludeZeroBalances=true","description":"<p>Returns the list of all wallets with their respective balances.</p>\n<p>You can view zero balances by specifying the <code>excludeZeroBalances</code> parameter to <code>false</code></p>\n","urlObject":{"path":["v1","account","balances"],"host":["https://api.valr.com"],"query":[{"key":"excludeZeroBalances","value":"true"}],"variable":[]}},"response":[{"id":"061a743e-44ba-4e76-9db1-172b3fdad24f","name":"Balances","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/account/balances?excludeZeroBalances=true","host":["https://api.valr.com"],"path":["v1","account","balances"],"query":[{"key":"excludeZeroBalances","value":"true"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Tue, 25 Apr 2023 09:16:18 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"1"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"currency\": \"USDT\",\n        \"available\": \"44822.97549155\",\n        \"reserved\": \"99.99925\",\n        \"total\": \"145612.43129945\",\n        \"updatedAt\": \"2023-04-25T09:00:04.406Z\",\n        \"lendReserved\": \"100000\",\n        \"borrowReserved\": \"689.4565579\",\n        \"borrowedAmount\": \"0\",\n        \"totalInReference\": \"7828.62533868\",\n        \"totalInReferenceWeighted\": \"7828.62533868\",\n        \"referenceCurrency\": \"USDC\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"available\": \"0\",\n        \"reserved\": \"0\",\n        \"total\": \"-0.00101056\",\n        \"updatedAt\": \"2023-04-25T09:00:00.103Z\",\n        \"lendReserved\": \"0\",\n        \"borrowReserved\": \"0\",\n        \"borrowedAmount\": \"0.00101056\",\n        \"totalInReference\": \"-28.29568\",\n        \"totalInReferenceWeighted\": \"-27.588288\",\n        \"referenceCurrency\": \"USDC\"\n    }\n]"}],"_postman_id":"60455ec7-ecdc-42ad-9a57-64941299da52"},{"name":"Transaction History","id":"a84bf578-adb8-4023-8aa0-5f74550490a8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n","type":"text"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n","type":"text"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n","type":"text"}],"url":"https://api.valr.com/v1/account/transactionhistory?skip=0&limit=100","description":"<p>Transaction history for your account. <strong>Note:</strong> This API supports pagination.</p>\n","urlObject":{"path":["v1","account","transactionhistory"],"host":["https://api.valr.com"],"query":[{"description":{"content":"<p>Skip this number of results. (Default 0)</p>\n","type":"text/plain"},"key":"skip","value":"0"},{"description":{"content":"<p>Limit the results to this number. (Max 200)</p>\n","type":"text/plain"},"key":"limit","value":"100"}],"variable":[]}},"response":[{"id":"1c8531f1-30a8-4faa-a193-d401654cec9d","name":"Transaction History","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/account/transactionhistory?skip=0&limit=100","host":["https://api.valr.com"],"path":["v1","account","transactionhistory"],"query":[{"key":"skip","value":"0","description":"Skip this number of results. (Default 0)"},{"key":"limit","value":"100","description":"Limit the results to this number. (Max 200)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"302"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Fri, 04 Jul 2025 08:58:00 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"transactionType\": {\n            \"type\": \"REFERRAL_REBATE\",\n            \"description\": \"Referral Rebate\"\n        },\n        \"creditCurrency\": \"XRP\",\n        \"creditValue\": \"0.00032\",\n        \"eventAt\": \"2025-07-04T08:38:13.550Z\",\n        \"additionalInfo\": {\n            \"sourceTransactionId\": \"1057478\"\n        },\n        \"id\": \"0197d496-0f2e-726a-baeb-5d8b993e826a\"\n    },\n    {\n        \"transactionType\": {\n            \"type\": \"SIMPLE_BUY\",\n            \"description\": \"Simple Buy\"\n        },\n        \"debitCurrency\": \"ZAR\",\n        \"debitValue\": \"9.997956\",\n        \"creditCurrency\": \"XRP\",\n        \"creditValue\": \"0.1971936\",\n        \"feeCurrency\": \"XRP\",\n        \"feeValue\": \"0.0032064\",\n        \"eventAt\": \"2025-07-04T08:38:13.407Z\",\n        \"additionalInfo\": {\n            \"costPerCoin\": 49.89,\n            \"costPerCoinSymbol\": \"R\",\n            \"currencyPairSymbol\": \"XRPZAR\",\n            \"orderId\": \"0197d496-0e4e-7453-ae5b-1d930e8f3a81\"\n        },\n        \"id\": \"0197d496-0e9f-7ef5-8476-c45cd13ccef5\"\n    },\n    {\n        \"transactionType\": {\n            \"type\": \"SPOT_BORROW_INTEREST_CHARGE\",\n            \"description\": \"Spot Borrow Interest Charge\"\n        },\n        \"debitCurrency\": \"AVAX\",\n        \"debitValue\": \"0.00000184\",\n        \"eventAt\": \"2025-07-04T08:00:00.292Z\",\n        \"additionalInfo\": {\n            \"borrowAmount\": \"3.05214376\",\n            \"hourlyRate\": \"6.00E-7\"\n        },\n        \"id\": \"0197d473-1124-7a33-8f06-e6491a720a33\"\n    },\n    {\n        \"transactionType\": {\n            \"type\": \"FUTURES_FUNDING_PAID\",\n            \"description\": \"Futures Funding Paid\"\n        },\n        \"debitCurrency\": \"ZAR\",\n        \"debitValue\": \"17.5939\",\n        \"eventAt\": \"2025-07-04T08:00:00.194Z\",\n        \"additionalInfo\": {\n            \"notionalAmount\": \"10228.9947\",\n            \"fundingRate\": \"0.001720\"\n        },\n        \"id\": \"0197d473-10c2-7b7a-81cb-e872db623b7a\"\n    },\n    {\n        \"transactionType\": {\n            \"type\": \"FUTURES_PNL_PROFIT\",\n            \"description\": \"Futures PNL Profit\"\n        },\n        \"creditCurrency\": \"USDT\",\n        \"creditValue\": \"0.0584\",\n        \"eventAt\": \"2025-07-04T08:00:00.095Z\",\n        \"id\": \"0197d473-105f-762d-b6f7-a52bfa9c062d\"\n    }\n]"}],"_postman_id":"a84bf578-adb8-4023-8aa0-5f74550490a8"},{"name":"Transaction History (With Filters)","id":"0d7cc0ff-b8ca-4e1f-980e-36d07672e53d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n","type":"text"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n","type":"text"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n","type":"text"}],"url":"https://api.valr.com/v1/account/transactionhistory?skip=0&limit=100&transactionTypes=SIMPLE_BUY,LIMIT_BUY,MARKET_BUY&currency=ZAR&startTime=2020-02-29T22:00:00.000Z&endTime=2021-04-30T21:59:59.999Z","description":"<p>Transaction history for your account.</p>\n<p>The results of this request may be filtered by transaction types, currency and datetime. The <code>skip</code> and <code>limit</code> parameters may be applied to paginate the filtered results.</p>\n<h2 id=\"filtering-by-transactiontypes\">Filtering by <code>transactionTypes</code></h2>\n<p>The <code>transactionTypes</code> parameter may be used to filter the returned items by a comma-separated list of transaction types from the following list of supported types:</p>\n<ul>\n<li><p>LIMIT_BUY</p>\n</li>\n<li><p>LIMIT_SELL</p>\n</li>\n<li><p>MARKET_BUY</p>\n</li>\n<li><p>MARKET_SELL</p>\n</li>\n<li><p>SIMPLE_BUY</p>\n</li>\n<li><p>SIMPLE_SELL</p>\n</li>\n<li><p>AUTO_BUY</p>\n</li>\n<li><p>MAKER_REWARD</p>\n</li>\n<li><p>BLOCKCHAIN_RECEIVE</p>\n</li>\n<li><p>BLOCKCHAIN_SEND</p>\n</li>\n<li><p>FIAT_DEPOSIT</p>\n</li>\n<li><p>FIAT_WITHDRAWAL</p>\n</li>\n<li><p>REFERRAL_REBATE</p>\n</li>\n<li><p>REFERRAL_REWARD</p>\n</li>\n<li><p>PROMOTIONAL_REBATE</p>\n</li>\n<li><p>INTERNAL_TRANSFER</p>\n</li>\n<li><p>FIAT_WITHDRAWAL_REVERSAL</p>\n</li>\n<li><p>PAYMENT_SENT</p>\n</li>\n<li><p>PAYMENT_RECEIVED</p>\n</li>\n<li><p>PAYMENT_REVERSED</p>\n</li>\n<li><p>PAYMENT_REWARD</p>\n</li>\n<li><p>OFF_CHAIN_BLOCKCHAIN_WITHDRAW</p>\n</li>\n<li><p>OFF_CHAIN_BLOCKCHAIN_DEPOSIT</p>\n</li>\n<li><p>SIMPLE_SWAP_BUY</p>\n</li>\n<li><p>SIMPLE_SWAP_SELL</p>\n</li>\n<li><p>SIMPLE_SWAP_FAILURE_REVERSAL</p>\n</li>\n<li><p>ACCOUNT_FUNDING</p>\n</li>\n<li><p>FUND</p>\n</li>\n<li><p>FIAT_WITHDRAWAL_FEE_REVERSAL</p>\n</li>\n<li><p>CREDIT_CARD_DEPOSIT</p>\n</li>\n<li><p>SPOT_BORROW_INTEREST_CHARGE</p>\n</li>\n<li><p>SPOT_LEND_INTEREST_PAYMENT</p>\n</li>\n<li><p>LIQUIDATION_LIMIT_BUY</p>\n</li>\n<li><p>LIQUIDATION_LIMIT_SELL</p>\n</li>\n<li><p>LIQUIDATION_TAKEOVER_ASSET_TRANSFER</p>\n</li>\n<li><p>LIQUIDATION_TAKEOVER_DEBT_TRANSFER</p>\n</li>\n<li><p>FUTURES_FUNDING_EARNED</p>\n</li>\n<li><p>FUTURES_FUNDING_PAID</p>\n</li>\n<li><p>FUTURES_PNL_PROFIT</p>\n</li>\n<li><p>FUTURES_PNL_LOSS</p>\n</li>\n<li><p>FUTURES_TRADE_FEE</p>\n</li>\n<li><p>COLLATERAL_CONVERSION_LIMIT_BUY</p>\n</li>\n<li><p>COLLATERAL_CONVERSION_LIMIT_SELL</p>\n</li>\n</ul>\n<h2 id=\"filtering-by-currency\">Filtering by <code>currency</code></h2>\n<p>The <code>currency</code> parameter may be used to filter the returned items by the currency symbol (Example: <code>ZAR</code>, <code>BTC</code> etc.). It will include transactions where the <code>creditCurrency</code> or the <code>debitCurrency</code> matches this parameter.</p>\n<h2 id=\"filtering-by-starttime-or-endtime\">Filtering by <code>startTime</code> or <code>endTime</code></h2>\n<p>The <code>startTime</code> or <code>endTime</code> parameters may be used to filter the returned items by the transaction date. The parameters will be interpreted as being in the UTC time zone and must be supplied in the ISO 8601 format (<code>2020-02-29T22:00:00.000Z</code>). These two parameters may be used together or separately. When <code>startTime</code> is used, transactions that have occurred since <code>startTime</code> are returned. When <code>endTime</code> is used, transactions that have occurred up to and including <code>endTime</code> are returned.</p>\n<p><strong>NOTE</strong>\nThe <code>startTime</code> and <code>endTime</code> parameters are optional filters. However, omitting these parameters may result in slower response times. To mitigate this, a default time window such as the most recent 30 days may be automatically applied to the request.</p>\n","urlObject":{"path":["v1","account","transactionhistory"],"host":["https://api.valr.com"],"query":[{"description":{"content":"<p>Skip this number of results. (Default 0)</p>\n","type":"text/plain"},"key":"skip","value":"0"},{"description":{"content":"<p>Limit the results to this number. (Max 200)</p>\n","type":"text/plain"},"key":"limit","value":"100"},{"description":{"content":"<p>Comma-separated list of transaction types to include.</p>\n","type":"text/plain"},"key":"transactionTypes","value":"SIMPLE_BUY,LIMIT_BUY,MARKET_BUY"},{"description":{"content":"<p>Include only transactions in this currency.</p>\n","type":"text/plain"},"key":"currency","value":"ZAR"},{"description":{"content":"<p>Include only transactions after this ISO 8601 start time.</p>\n","type":"text/plain"},"key":"startTime","value":"2020-02-29T22:00:00.000Z"},{"description":{"content":"<p>Include only transactions before this ISO 8601 end time.</p>\n","type":"text/plain"},"key":"endTime","value":"2021-04-30T21:59:59.999Z"}],"variable":[]}},"response":[{"id":"af4f61b7-8b76-4679-8f10-81ad8b5292ae","name":"Transaction History (With Filters - Fiat Withdrawal)","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/account/transactionhistory?skip=0&limit=100&transactionTypes=FIAT_WITHDRAWAL&currency=ZAR&startTime=2020-02-29T22:00:00.000Z&endTime=2021-04-30T21:59:59.999Z","host":["https://api.valr.com"],"path":["v1","account","transactionhistory"],"query":[{"key":"skip","value":"0","description":"Skip this number of results. (Default 0)"},{"key":"limit","value":"100","description":"Limit the results to this number. (Max 200)"},{"key":"transactionTypes","value":"FIAT_WITHDRAWAL","description":"Comma-separated list of transaction types to include"},{"key":"currency","value":"ZAR","description":"Include only transactions in this currency"},{"key":"startTime","value":"2020-02-29T22:00:00.000Z","description":"Include only transactions after this ISO 8601 start time"},{"key":"endTime","value":"2021-04-30T21:59:59.999Z","description":"Include only transactions before this ISO 8601 end time"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Mon, 08 Feb 2021 12:13:29 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"8"},{"key":"server","value":"envoy"},{"key":"transfer-encoding","value":"chunked"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"clear"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"transactionType\": {\n            \"type\": \"FIAT_WITHDRAWAL\",\n            \"description\": \"Withdraw\"\n        },\n        \"debitCurrency\": \"ZAR\",\n        \"debitValue\": \"1500\",\n        \"feeCurrency\": \"ZAR\",\n        \"feeValue\": \"8.5\",\n        \"eventAt\": \"2020-12-15T15:28:12.159949Z\",\n        \"additionalInfo\": {\n            \"bankName\": \"Standard Bank\",\n            \"accountNumber\": \"****3239\"\n        },\n        \"id\": \"25b83ec9-db25-4f07-882b-eddfced29341\"\n    },\n    {\n        \"transactionType\": {\n            \"type\": \"FIAT_WITHDRAWAL\",\n            \"description\": \"Withdraw\"\n        },\n        \"debitCurrency\": \"ZAR\",\n        \"debitValue\": \"14000\",\n        \"feeCurrency\": \"ZAR\",\n        \"feeValue\": \"8.5\",\n        \"eventAt\": \"2020-12-10T19:52:45.923283Z\",\n        \"additionalInfo\": {\n            \"bankName\": \"Standard Bank\",\n            \"accountNumber\": \"****3239\"\n        },\n        \"id\": \"23207113-6fe8-4236-af8e-1ed23bbc6e1c\"\n    }\n]"},{"id":"ec5de17f-2cf4-416f-9616-31a673166e03","name":"Transaction History, including only buy transactions, in USDC, for a specific period","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/account/transactionhistory?skip=0&limit=100&transactionTypes=SIMPLE_BUY,LIMIT_BUY,MARKET_BUY&currency=USDC&startTime=2023-02-29T22:00:00.000Z&endTime=2024-02-08T21:59:59.999Z","host":["https://api.valr.com"],"path":["v1","account","transactionhistory"],"query":[{"key":"skip","value":"0","description":"Skip this number of results. (Default 0)"},{"key":"limit","value":"100","description":"Limit the results to this number. (Max 200)"},{"key":"transactionTypes","value":"SIMPLE_BUY,LIMIT_BUY,MARKET_BUY","description":"Comma-separated list of transaction types to include"},{"key":"currency","value":"USDC","description":"Include only transactions in this currency"},{"key":"startTime","value":"2023-02-29T22:00:00.000Z","description":"Include only transactions after this ISO 8601 start time"},{"key":"endTime","value":"2024-02-08T21:59:59.999Z","description":"Include only transactions before this ISO 8601 end time"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Mon, 08 Feb 2021 12:16:36 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"10"},{"key":"server","value":"envoy"},{"key":"transfer-encoding","value":"chunked"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"clear"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"transactionType\": {\n      \"type\": \"LIMIT_BUY\",\n      \"description\": \"Limit Buy\"\n    },\n    \"debitCurrency\": \"USDC\",\n    \"debitValue\": \"39.99991926\",\n    \"creditCurrency\": \"BTC\",\n    \"creditValue\": \"0.001378846222\",\n    \"feeCurrency\": \"BTC\",\n    \"feeValue\": \"0.000000413778\",\n    \"eventAt\": \"2024-02-07T06:00:30.180Z\",\n    \"additionalInfo\": {\n      \"costPerCoin\": 29001,\n      \"costPerCoinSymbol\": \"USDC\",\n      \"currencyPairSymbol\": \"BTCUSDC\",\n      \"orderId\": \"3fda280f-e87e-44c8-babf-852da844e514\"\n    },\n    \"id\": \"32ad1950-c57e-11ee-9935-593da58a6690\"\n  },\n  {\n    \"transactionType\": {\n      \"type\": \"MARKET_BUY\",\n      \"description\": \"Market Buy\"\n    },\n    \"debitCurrency\": \"USDC\",\n    \"debitValue\": \"49.99975407\",\n    \"creditCurrency\": \"BTC\",\n    \"creditValue\": \"0.001723552779\",\n    \"feeCurrency\": \"BTC\",\n    \"feeValue\": \"0.000000517221\",\n    \"eventAt\": \"2024-02-07T05:59:46.717Z\",\n    \"additionalInfo\": {\n      \"costPerCoin\": 29001,\n      \"costPerCoinSymbol\": \"USDC\",\n      \"currencyPairSymbol\": \"BTCUSDC\",\n      \"orderId\": \"da4d11b7-9bf3-4eb4-ba0b-97fd3d5be352\"\n    },\n    \"id\": \"18c5c7b3-c57e-11ee-9935-593da58a6690\"\n  },\n  {\n    \"transactionType\": {\n      \"type\": \"SIMPLE_BUY\",\n      \"description\": \"Simple Buy\"\n    },\n    \"debitCurrency\": \"USDC\",\n    \"debitValue\": \"99.99979815\",\n    \"creditCurrency\": \"BTC\",\n    \"creditValue\": \"0.0034274611\",\n    \"feeCurrency\": \"BTC\",\n    \"feeValue\": \"0.0000206889\",\n    \"eventAt\": \"2024-02-07T05:55:26.216Z\",\n    \"additionalInfo\": {\n      \"costPerCoin\": 29001,\n      \"costPerCoinSymbol\": \"USDC\",\n      \"currencyPairSymbol\": \"BTCUSDC\",\n      \"orderId\": \"bb636989-1b1c-4aaf-bb08-e50d9713d5d0\"\n    },\n    \"id\": \"7d805447-c57d-11ee-9935-593da58a6690\"\n  }\n]"},{"id":"2a93fc1f-1936-4b0f-b815-e4481e4de542","name":"Transaction History - Internal Transfer","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/account/transactionhistory?skip=0&limit=100&transactionTypes=INTERNAL_TRANSFER&currency=ZAR&startTime=2024-12-09T09:29:50.254Z","host":["https://api.valr.com"],"path":["v1","account","transactionhistory"],"query":[{"key":"skip","value":"0","description":"Skip this number of results. (Default 0)"},{"key":"limit","value":"100","description":"Limit the results to this number. (Max 200)"},{"key":"transactionTypes","value":"INTERNAL_TRANSFER","description":"Comma-separated list of transaction types to include"},{"key":"currency","value":"ZAR","description":"Include only transactions in this currency"},{"key":"startTime","value":"2024-12-09T09:29:50.254Z","description":"Include only transactions after this ISO 8601 start time"},{"key":"endTime","value":"2021-04-30T21:59:59.999Z","description":"Include only transactions before this ISO 8601 end time","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Mon, 09 Dec 2024 09:38:42 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"7"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"n/a"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"transactionType\": {\n            \"type\": \"INTERNAL_TRANSFER\",\n            \"description\": \"Transfer\"\n        },\n        \"debitCurrency\": \"ZAR\",\n        \"debitValue\": \"2.99\",\n        \"eventAt\": \"2024-12-09T09:29:50.254Z\",\n        \"additionalInfo\": {\n            \"reason\": \"SUB_ACCOUNT\",\n            \"reasonDescription\": \"Transfer between subaccounts\",\n            \"additional\": \"Transfer from Primary to Sub Acc 001\",\n            \"transferId\": \"95513\"\n        },\n        \"id\": \"2377cbf2-b610-11ef-b428-d52ceccfe664\"\n    }\n]"}],"_postman_id":"0d7cc0ff-b8ca-4e1f-980e-36d07672e53d"},{"name":"Transaction History (Paginated by ID)","id":"c2f6db65-1fe4-4561-9e5e-d28d6a4fca9d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n","type":"text"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n","type":"text"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n","type":"text"}],"url":"https://api.valr.com/v1/account/transactionhistory?limit=100&beforeId=22861141-62a7-49e2-8d3f-acbaf14dd4ba","description":"<p>Transaction history for your account.</p>\n<p>Transaction history may be paginated by supplying a transaction ID in the <code>beforeId</code> parameter. Only transactions which occurred before the given ID will be included in the result. This allows backwards traversal of transaction history by increments of <code>limit</code>.</p>\n<p>To apply this method of pagination, use the last transaction ID from the previous result set as the <code>beforeId</code> parameter of the next request.</p>\n<p><code>limit</code> and other filters can be applied with <code>beforeId</code>.</p>\n","urlObject":{"path":["v1","account","transactionhistory"],"host":["https://api.valr.com"],"query":[{"description":{"content":"<p>Limit the results to this number. (Max 200)</p>\n","type":"text/plain"},"key":"limit","value":"100"},{"description":{"content":"<p>Only include transactions before this ID</p>\n","type":"text/plain"},"key":"beforeId","value":"22861141-62a7-49e2-8d3f-acbaf14dd4ba"}],"variable":[]}},"response":[{"id":"5b6d5c8d-e628-42ee-b18f-352b704714e6","name":"Transaction History (Paginated by ID)","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/account/transactionhistory?limit=100&beforeId=22861141-62a7-49e2-8d3f-acbaf14dd4ba","host":["https://api.valr.com"],"path":["v1","account","transactionhistory"],"query":[{"key":"limit","value":"100","description":"Limit the results to this number. (Max 200)"},{"key":"beforeId","value":"22861141-62a7-49e2-8d3f-acbaf14dd4ba","description":"Only include transactions before this ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Mon, 08 Feb 2021 12:19:35 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"10"},{"key":"server","value":"envoy"},{"key":"transfer-encoding","value":"chunked"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"clear"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"transactionType\": {\n      \"type\": \"MARKET_BUY\",\n      \"description\": \"Market Buy\"\n    },\n    \"debitCurrency\": \"USDC\",\n    \"debitValue\": \"49.99975407\",\n    \"creditCurrency\": \"BTC\",\n    \"creditValue\": \"0.001723552779\",\n    \"feeCurrency\": \"BTC\",\n    \"feeValue\": \"0.000000517221\",\n    \"eventAt\": \"2024-02-07T05:59:46.717Z\",\n    \"additionalInfo\": {\n      \"costPerCoin\": 29001,\n      \"costPerCoinSymbol\": \"USDC\",\n      \"currencyPairSymbol\": \"BTCUSDC\",\n      \"orderId\": \"da4d11b7-9bf3-4eb4-ba0b-97fd3d5be352\"\n    },\n    \"id\": \"18c5c7b3-c57e-11ee-9935-593da58a6690\"\n  },\n  {\n    \"transactionType\": {\n      \"type\": \"MARKET_SELL\",\n      \"description\": \"Market Sell\"\n    },\n    \"debitCurrency\": \"BTC\",\n    \"debitValue\": \"0.00342746\",\n    \"creditCurrency\": \"USDC\",\n    \"creditValue\": \"99.366521098\",\n    \"feeCurrency\": \"USDC\",\n    \"feeValue\": \"0.029818902\",\n    \"eventAt\": \"2024-02-07T05:59:35.240Z\",\n    \"additionalInfo\": {\n      \"costPerCoin\": 29000,\n      \"costPerCoinSymbol\": \"USDC\",\n      \"currencyPairSymbol\": \"BTCUSDC\",\n      \"orderId\": \"62456682-7d8b-4a6e-9da2-88887d56d1dd\"\n    },\n    \"id\": \"11ee122d-c57e-11ee-9935-593da58a6690\"\n  },\n  {\n    \"transactionType\": {\n      \"type\": \"SIMPLE_BUY\",\n      \"description\": \"Simple Buy\"\n    },\n    \"debitCurrency\": \"USDC\",\n    \"debitValue\": \"99.99979815\",\n    \"creditCurrency\": \"BTC\",\n    \"creditValue\": \"0.0034274611\",\n    \"feeCurrency\": \"BTC\",\n    \"feeValue\": \"0.0000206889\",\n    \"eventAt\": \"2024-02-07T05:55:26.216Z\",\n    \"additionalInfo\": {\n      \"costPerCoin\": 29001,\n      \"costPerCoinSymbol\": \"USDC\",\n      \"currencyPairSymbol\": \"BTCUSDC\",\n      \"orderId\": \"bb636989-1b1c-4aaf-bb08-e50d9713d5d0\"\n    },\n    \"id\": \"7d805447-c57d-11ee-9935-593da58a6690\"\n  },\n  {\n    \"transactionType\": {\n      \"type\": \"INTERNAL_TRANSFER\",\n      \"description\": \"Transfer\"\n    },\n    \"creditCurrency\": \"USDC\",\n    \"creditValue\": \"100\",\n    \"eventAt\": \"2023-08-30T08:44:40.529436Z\",\n    \"additionalInfo\": {\n      \"reason\": \"SUB_ACCOUNT\",\n      \"reasonDescription\": \"Transfer between subaccounts\",\n      \"additional\": \"Transfer from Primary to LL-API-Demo\"\n    },\n    \"id\": \"756f0448-4711-11ee-8047-611d9219726d\"\n  }\n]"}],"_postman_id":"c2f6db65-1fe4-4561-9e5e-d28d6a4fca9d"},{"name":"Trade History","id":"d9fa96cd-63b3-487b-b62e-0c4b6f769ea2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"url":"https://api.valr.com/v1/account/tradehistory?skip=0&limit=100","description":"<p>Fetch the most recent trades on your account.</p>\n<h2 id=\"filtering-by-beforeid\">Filtering by <code>beforeId</code></h2>\n<p>The <code>beforeId</code> parameter may be used to paginate the trade history. Only trades which occurred before the given ID will be included in the result. This allows backwards traversal of trade history by increments of <code>limit</code>.</p>\n<h2 id=\"filtering-by-starttime-or-endtime\">Filtering by <code>startTime</code> or <code>endTime</code></h2>\n<p>The <code>startTime</code> or <code>endTime</code> parameters may be used to filter the returned items by the traded date. The parameters will be interpreted as being in the UTC time zone and must be supplied in the ISO 8601 format (<code>2020-02-29T22:00:00.000Z</code>). These two parameters may be used together or separately. When <code>startTime</code> is used, trades that have occurred since <code>startTime</code> are returned. When <code>endTime</code> is used, trades that have occurred up to and including <code>endTime</code> are returned.</p>\n<p><strong>NOTE</strong>\nThe <code>startTime</code> and <code>endTime</code> parameters are optional filters. However, omitting these parameters may result in slower response times. To mitigate this, a default time window such as the most recent 30 days may be automatically applied to the request.</p>\n","urlObject":{"path":["v1","account","tradehistory"],"host":["https://api.valr.com"],"query":[{"description":{"content":"<p>Skip this number of results. (Default 0)</p>\n","type":"text/plain"},"key":"skip","value":"0"},{"description":{"content":"<p>Limit the results to this number. (Default and Max 100)</p>\n","type":"text/plain"},"key":"limit","value":"100"},{"disabled":true,"description":{"content":"<p>Only include transactions before this ID.</p>\n","type":"text/plain"},"key":"beforeId","value":"c4bb69c9-b0cf-11ef-b5e9-0dde11a83386"},{"disabled":true,"description":{"content":"<p>Include only transactions after this ISO 8601 start time.</p>\n","type":"text/plain"},"key":"startTime","value":"2024-11-01T13:12:12.358Z"},{"disabled":true,"description":{"content":"<p>Include only transactions before this ISO 8601 end time.</p>\n","type":"text/plain"},"key":"endTime","value":"2024-11-24T11:17:02.258Z"}],"variable":[]}},"response":[{"id":"f337b54a-492b-4edf-9fde-f5a1293604fe","name":"Trade History For All Currency Pairs","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/account/tradehistory?skip=0&limit=100","host":["https://api.valr.com"],"path":["v1","account","tradehistory"],"query":[{"key":"skip","value":"0","description":"Skip this number of results. (Default 0)"},{"key":"limit","value":"100","description":"Limit the results to this number. (Default and Max 100)"},{"key":"beforeId","value":"c4bb69c9-b0cf-11ef-b5e9-0dde11a83386","description":"Only include transactions before this ID","disabled":true},{"key":"startTime","value":"2024-11-01T13:12:12.358Z","description":"Include only transactions after this ISO 8601 start time","disabled":true},{"key":"endTime","value":"2024-11-24T11:17:02.258Z","description":"Include only transactions before this ISO 8601 end time","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"22"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Tue, 08 Jul 2025 09:17:52 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"price\": \"49.89\",\n    \"quantity\": \"0.2004\",\n    \"currencyPair\": \"XRPZAR\",\n    \"tradedAt\": \"2025-07-04T08:38:13.407Z\",\n    \"side\": \"buy\",\n    \"sequenceId\": 1368928567986638030,\n    \"id\": \"0197d496-0e9f-7230-9aa1-4699655e7230\",\n    \"orderId\": \"0197d496-0e4e-7453-ae5b-1d930e8f3a81\",\n    \"fee\": \"0.0032064\",\n    \"feeCurrency\": \"XRP\"\n  }\n]"},{"id":"5f739c0d-3181-4ecc-a8e6-d71857539056","name":"Trade History Paginating With beforeId","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/account/tradehistory?skip=0&limit=100&beforeId=0197d496-0e9f-7230-9aa1-4699655e7230","host":["https://api.valr.com"],"path":["v1","account","tradehistory"],"query":[{"key":"skip","value":"0","description":"Skip this number of results. (Default 0)"},{"key":"limit","value":"100","description":"Limit the results to this number. (Default and Max 100)"},{"key":"beforeId","value":"0197d496-0e9f-7230-9aa1-4699655e7230","description":"Only include transactions before this ID."},{"key":"startTime","value":"2024-11-01T13:12:12.358Z","description":"Include only transactions after this ISO 8601 start time.","disabled":true},{"key":"endTime","value":"2024-11-24T11:17:02.258Z","description":"Include only transactions before this ISO 8601 end time.","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"19"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Tue, 08 Jul 2025 10:16:22 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"price\": \"109800\",\n    \"quantity\": \"0.0001\",\n    \"currencyPair\": \"BTCUSDC\",\n    \"tradedAt\": \"2025-07-04T08:37:01.499Z\",\n    \"side\": \"buy\",\n    \"sequenceId\": 1368928567986638028,\n    \"id\": \"0197d494-f5bb-71f5-9df6-33c92a7a01f5\",\n    \"orderId\": \"0197d494-f5ba-77e1-83f1-37a1fcffe446\",\n    \"fee\": \"0.0000001\",\n    \"feeCurrency\": \"BTC\"\n  }\n]"},{"id":"9138b305-c823-4ab0-a9d8-b78c3c16bfe9","name":"Trade History With startTime And endTime","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/account/tradehistory?skip=0&limit=100&startTime=2025-07-03T12:17:02.258Z&endTime=2025-07-07T11:17:02.258Z","host":["https://api.valr.com"],"path":["v1","account","tradehistory"],"query":[{"key":"skip","value":"0","description":"Skip this number of results. (Default 0)"},{"key":"limit","value":"100","description":"Limit the results to this number. (Default and Max 100)"},{"key":"beforeId","value":"0197d496-0e9f-7230-9aa1-4699655e7230","description":"Only include transactions before this ID.","disabled":true},{"key":"startTime","value":"2025-07-03T12:17:02.258Z","description":"Include only transactions after this ISO 8601 start time."},{"key":"endTime","value":"2025-07-07T11:17:02.258Z","description":"Include only transactions before this ISO 8601 end time."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"4"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Tue, 08 Jul 2025 10:28:22 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"price\": \"49.89\",\n    \"quantity\": \"0.2004\",\n    \"currencyPair\": \"XRPZAR\",\n    \"tradedAt\": \"2025-07-04T08:38:13.407Z\",\n    \"side\": \"buy\",\n    \"sequenceId\": 1368928567986638030,\n    \"id\": \"0197d496-0e9f-7230-9aa1-4699655e7230\",\n    \"orderId\": \"0197d496-0e4e-7453-ae5b-1d930e8f3a81\",\n    \"fee\": \"0.0032064\",\n    \"feeCurrency\": \"XRP\"\n  },\n  {\n    \"price\": \"109800\",\n    \"quantity\": \"0.0001\",\n    \"currencyPair\": \"BTCUSDC\",\n    \"tradedAt\": \"2025-07-04T08:37:01.499Z\",\n    \"side\": \"buy\",\n    \"sequenceId\": 1368928567986638028,\n    \"id\": \"0197d494-f5bb-71f5-9df6-33c92a7a01f5\",\n    \"orderId\": \"0197d494-f5ba-77e1-83f1-37a1fcffe446\",\n    \"fee\": \"0.0000001\",\n    \"feeCurrency\": \"BTC\"\n  }\n]"}],"_postman_id":"d9fa96cd-63b3-487b-b62e-0c4b6f769ea2"},{"name":"Trade History For A Currency Pair","id":"11856958-9461-490e-9e01-4b1f5a2097ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n","type":"text"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n","type":"text"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n","type":"text"}],"url":"https://api.valr.com/v1/account/:currencyPair/tradehistory?skip=0&limit=100","description":"<p>Get the last 100 recent trades for a given currency pair for your account. You can limit the number of trades returned by specifying the <code>limit</code> parameter, and the <code>skip</code> parameter to exclude a specified number of the latest trades from the results.</p>\n","urlObject":{"path":["v1","account",":currencyPair","tradehistory"],"host":["https://api.valr.com"],"query":[{"description":{"content":"<p>Skip this number of results. (Default 0)</p>\n","type":"text/plain"},"key":"skip","value":"0"},{"description":{"content":"<p>Limit the results to this number. (Default and Max 100)</p>\n","type":"text/plain"},"key":"limit","value":"100"}],"variable":[{"description":{"content":"<p>Specify the currency pair for which you want to query the trade history. </p>\n<p>Examples: SOLUSDC, BTCUSDT, ETHUSDT, AVAXUSDT.</p>\n","type":"text/plain"},"type":"any","value":"BTCUSDC","key":"currencyPair"}]}},"response":[{"id":"3360f0b2-1fca-4cc9-99cc-db0d4049b8f9","name":"Trade History For A Currency Pair","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/account/:currencyPair/tradehistory?limit=100","host":["https://api.valr.com"],"path":["v1","account",":currencyPair","tradehistory"],"query":[{"key":"skip","value":"0","description":"Skip this number of results. (Default 0)","disabled":true},{"key":"limit","value":"100","description":"Limit the results to this number. (Default and Max 100)"}],"variable":[{"key":"currencyPair","value":"BTCUSDT","description":" Specify the currency pair for which you want to query the trade history. \n\nExamples: BTCUSDC, ETHUSDC, XRPUSDC, ADABTC, ADAETH etc."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"24"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Wed, 16 Jul 2025 12:34:32 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"price\": \"93129\",\n        \"quantity\": \"0.0001\",\n        \"currencyPair\": \"BTCUSDT\",\n        \"tradedAt\": \"2025-06-13T09:21:48.393Z\",\n        \"side\": \"buy\",\n        \"sequenceId\": 1368928567986636114,\n        \"id\": \"01976898-6969-7c30-b002-bb021d376c30\",\n        \"orderId\": \"01976898-6967-7d63-88c1-8223d40cc39e\",\n        \"fee\": \"0.0000001\",\n        \"feeCurrency\": \"BTC\"\n    }\n]"},{"id":"9ccdb4f6-04db-46f6-8ce6-93f46f172c46","name":"Trade History For A Currency Pair With Skip","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/account/:currencyPair/tradehistory?skip=0&limit=100","host":["https://api.valr.com"],"path":["v1","account",":currencyPair","tradehistory"],"query":[{"key":"skip","value":"0","description":"Skip this number of results. (Default 0)"},{"key":"limit","value":"100","description":"Limit the results to this number. (Default and Max 100)"}],"variable":[{"key":"currencyPair","value":"BTCUSDT","description":" Specify the currency pair for which you want to query the trade history. \n\nExamples: BTCUSDC, ETHUSDC, XRPUSDC, ADABTC, ADAETH etc."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"12"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Wed, 16 Jul 2025 12:35:00 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"price\": \"93129\",\n        \"quantity\": \"0.0001\",\n        \"currencyPair\": \"BTCUSDT\",\n        \"tradedAt\": \"2025-06-13T09:21:48.393Z\",\n        \"side\": \"buy\",\n        \"sequenceId\": 1368928567986636114,\n        \"id\": \"01976898-6969-7c30-b002-bb021d376c30\",\n        \"orderId\": \"01976898-6967-7d63-88c1-8223d40cc39e\",\n        \"fee\": \"0.0000001\",\n        \"feeCurrency\": \"BTC\"\n    }\n]"}],"_postman_id":"11856958-9461-490e-9e01-4b1f5a2097ae"},{"name":"Trade Fees","id":"00502bc7-bf1e-40d5-b284-25fa719f0229","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"url":"https://api.valr.com/v1/account/fees/trade","description":"<p>Returns the list of all currency pairs and their respective fees per order type <code>maker</code>, <code>taker</code> and <code>simple</code>.</p>\n","urlObject":{"path":["v1","account","fees","trade"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"233dd671-7753-48b9-8a8d-0ba4b2c031aa","name":"Trade Fees","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":"https://api.valr.com/v1/account/fees/trade"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"3"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Wed, 16 Jul 2025 12:40:57 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"currencyPair\": \"ETHBTC\",\n    \"makerPercentage\": \"0.08\",\n    \"takerPercentage\": \"0.1\",\n    \"simplePercentage\": \"1.6\"\n  },\n  {\n    \"currencyPair\": \"BTCUSDT\",\n    \"makerPercentage\": \"0.08\",\n    \"takerPercentage\": \"0.1\",\n    \"simplePercentage\": \"1.6\"\n  },\n  {\n    \"currencyPair\": \"ETHUSDT\",\n    \"makerPercentage\": \"0.1\",\n    \"takerPercentage\": \"0.1\",\n    \"simplePercentage\": \"1.6\"\n  },\n  {\n    \"currencyPair\": \"XRPUSDT\",\n    \"makerPercentage\": \"0\",\n    \"takerPercentage\": \"0.1\",\n    \"simplePercentage\": \"1.6\"\n  },\n  {\n    \"currencyPair\": \"BTCUSDC\",\n    \"makerPercentage\": \"0.08\",\n    \"takerPercentage\": \"0.1\",\n    \"simplePercentage\": \"1.6\"\n  }\n]"}],"_postman_id":"00502bc7-bf1e-40d5-b284-25fa719f0229"}],"id":"bf772177-77f8-4f38-b3e2-b24187e67243","description":"<p>The following APIs allow you to query your account balances and full transaction history. </p>\n<p>These APIs are protected and will require authentication. See the section on <code>Authentication</code> above to learn how to authenticate your API calls.</p>\n","event":[{"listen":"prerequest","script":{"id":"b148a7cc-b349-43c4-8d5d-46712bd91ec3","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"a288821a-576e-4cea-8800-8493f4ddf137","type":"text/javascript","exec":[""]}}],"_postman_id":"bf772177-77f8-4f38-b3e2-b24187e67243"},{"name":"Wallets ","item":[{"name":"Crypto","item":[{"name":"Deposit Address","id":"b10ea5dd-00cb-4c33-bb28-53104a8f1b7b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n","type":"text"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n","type":"text"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n","type":"text"}],"url":"https://api.valr.com/v1/wallet/crypto/:currencyCode/deposit/address","description":"<p>Returns the default deposit address associated with currency specified in the path variable <code>:currencyCode</code> and the query param <code>networkType</code> (if specified).</p>\n<p>If <code>networkType</code> is not specified, it will be defaulted based on the configuration for the currency that can be found at <code>/v1/public/currencies</code></p>\n<p>Please also consult the supporting documentation for the <code>/v1/public/currencies</code> api which illustrates different network type scenarios.</p>\n","urlObject":{"path":["v1","wallet","crypto",":currencyCode","deposit","address"],"host":["https://api.valr.com"],"query":[{"disabled":true,"description":{"content":"<p>(Optional) The network type to use when depositing the specified currency. If not specified, it will be defaulted based on the currency configuration.</p>\n","type":"text/plain"},"key":"networkType","value":"Ethereum"}],"variable":[{"description":{"content":"<p>The currency for which to get your deposit address</p>\n","type":"text/plain"},"type":"any","value":"ETH","key":"currencyCode"}]}},"response":[{"id":"7b17f895-49e1-420b-acd6-b8fb67af6faa","name":"Deposit Address","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/wallet/crypto/:currencyCode/deposit/address","host":["https://api.valr.com"],"path":["v1","wallet","crypto",":currencyCode","deposit","address"],"query":[{"key":"networkType","value":"Ethereum","description":"(Optional) The network type to use when depositing the specified currency. If not specified, it will be defaulted based on the currency configuration.","disabled":true}],"variable":[{"key":"currencyCode","value":"ETH","description":"The currency for which to get your deposit address"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Mon, 08 Feb 2021 12:35:35 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"39"},{"key":"server","value":"envoy"},{"key":"transfer-encoding","value":"chunked"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"clear"}],"cookie":[],"responseTime":null,"body":"{\n    \"currency\": \"ETH\",\n    \"address\": \"0x614A03eBc3cC4a57Da341e52e4a0E9f89221710D\",\n    \"networkType\": \"Ethereum\"\n}"},{"id":"5758d182-9fec-4210-bb00-c64a879b5693","name":"Deposit Address with optional network type param","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/wallet/crypto/:currencyCode/deposit/address?networkType=Avalanche","host":["https://api.valr.com"],"path":["v1","wallet","crypto",":currencyCode","deposit","address"],"query":[{"key":"networkType","value":"Avalanche","description":"(Optional) The network type to use when depositing the specified currency. If not specified, it will be defaulted based on the currency configuration."}],"variable":[{"key":"currencyCode","value":"USDC","description":"The currency for which to get your deposit address"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Mon, 08 Feb 2021 12:35:35 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"39"},{"key":"server","value":"envoy"},{"key":"transfer-encoding","value":"chunked"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"clear"}],"cookie":[],"responseTime":null,"body":"{\n    \"currency\": \"USDC\",\n    \"address\": \"0x614A03eBc3cC4a57Da341e52e4a0E9f89221710D\",\n    \"networkType\": \"Avalanche\"\n}"}],"_postman_id":"b10ea5dd-00cb-4c33-bb28-53104a8f1b7b"},{"name":"Deposit History","id":"1061d8de-3792-4a0a-8ae6-715cb8a5179e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n","type":"text"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n","type":"text"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n","type":"text"}],"url":"https://api.valr.com/v1/wallet/crypto/deposit/history?skip=0&limit=10&startTime=2025-01-01T00:00:00Z&endTime=2025-01-31T23:59:59Z&currency=BTC","description":"<p>Get the Deposit History records for a given currency.</p>\n","urlObject":{"path":["v1","wallet","crypto","deposit","history"],"host":["https://api.valr.com"],"query":[{"description":{"content":"<p>Skip this number of results. (Default 0)</p>\n","type":"text/plain"},"key":"skip","value":"0"},{"description":{"content":"<p>Limit the results to this number. (Default and Max 100)</p>\n","type":"text/plain"},"key":"limit","value":"10"},{"description":{"content":"<p>ISO 8601 string (e.g., 2025-01-01T00:00:00Z) for the start of the time range. Defaults to the earliest date if not provided.</p>\n","type":"text/plain"},"key":"startTime","value":"2025-01-01T00:00:00Z"},{"description":{"content":"<p>ISO 8601 string (e.g., 2025-01-31T23:59:59Z) for the end of the time range. Defaults to the latest date if not provided.</p>\n","type":"text/plain"},"key":"endTime","value":"2025-01-31T23:59:59Z"},{"description":{"content":"<p>Currency Code (e.g., BTC, ETH, XRP, ADA): The code representing the currency for which you want to retrieve historical deposit records. Leave empty to retrieve records for all currencies.</p>\n","type":"text/plain"},"key":"currency","value":"BTC"}],"variable":[{"type":"any","value":"BTC","key":"currencyCode"}]}},"response":[{"id":"327f269f-ef3d-4a02-ab1d-e735b2bf19f8","name":"Deposit History","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/wallet/crypto/deposit/history?skip=0&limit=10","host":["https://api.valr.com"],"path":["v1","wallet","crypto","deposit","history"],"query":[{"key":"skip","value":"0","description":"Skip this number of results. (Default 0)"},{"key":"limit","value":"10","description":"Limit the results to this number. (Default and Max 100)"},{"key":"startTime","value":"2025-01-01T00:00:00Z","description":"ISO 8601 string (e.g., 2025-01-01T00:00:00Z) for the start of the time range. Defaults to the earliest date if not provided.","disabled":true},{"key":"endTime","value":"2025-01-31T23:59:59Z","description":"ISO 8601 string (e.g., 2025-01-31T23:59:59Z) for the end of the time range. Defaults to the latest date if not provided.","disabled":true},{"key":"currency","value":"BTC","description":"Currency Code (e.g., BTC, ETH, XRP, ADA): The code representing the currency for which you want to retrieve historical deposit records. Leave empty to retrieve records for all currencies.","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"19"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 31 Jul 2025 07:05:19 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"currencyCode\": \"ETH\",\n        \"receiveAddress\": \"0xcfb6fdfc030ec1b51eb1a03689f19735fdebe3b0\",\n        \"transactionHash\": \"0xd97ca2ce13707cce6ce2b211499e14d04ce104250dbeb0b59359563c05a0577d\",\n        \"amount\": \"0.0005\",\n        \"createdAt\": \"2025-06-05T08:40:48Z\",\n        \"confirmations\": 5,\n        \"confirmed\": true,\n        \"confirmedAt\": \"2025-06-05T08:41:56.879293Z\"\n    }\n]"}],"_postman_id":"1061d8de-3792-4a0a-8ae6-715cb8a5179e"},{"name":"Whitelisted Withdrawal Address Book","id":"b54b42e0-d721-4cc7-b6c2-59cb05b39568","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>Your API Key</p>\n","key":"X-VALR-API-KEY","type":"text","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33"},{"description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n","key":"X-VALR-SIGNATURE","type":"text","value":"{{requestSignature}}"},{"description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n","key":"X-VALR-TIMESTAMP","type":"text","value":"{{requestTimestamp}}"}],"url":"https://api.valr.com/v1/wallet/crypto/address-book","description":"<p>Returns all the withdrawal addresses whitelisted for this account.</p>\n<p>The optional <code>networkType</code> can be used to filter addresses further.</p>\n<p>Each withdrawal address has a type field indicating how it is scoped:</p>\n<ul>\n<li><p><code>CURRENCY_SPECIFIC</code> — the address is linked to a specific currency and network type.</p>\n</li>\n<li><p><code>UNIVERSAL</code> — the address is linked to a network type only and can be used for any currency on that network.</p>\n</li>\n</ul>\n","urlObject":{"path":["v1","wallet","crypto","address-book"],"host":["https://api.valr.com"],"query":[{"disabled":true,"description":{"content":"<p>(Optional) The network type used to filter the address book. If not specified, all addresses are returned.</p>\n","type":"text/plain"},"key":"networkType","value":"Ethereum"}],"variable":[]}},"response":[{"id":"9197401e-a4f4-4966-8e8c-1130213d3a9d","name":"Whitelisted Withdrawal Address Book","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":"https://api.valr.com/v1/wallet/crypto/address-book"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Mon, 30 Nov 2020 13:07:47 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"15"},{"key":"server","value":"envoy"},{"key":"transfer-encoding","value":"chunked"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"clear"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"2a22433a-1548-11eb-adc1-0242ac120002\",\n        \"label\": \"My Secure Address\",\n        \"currency\": \"BTC\",\n        \"address\": \"2N5jUhwzndtTUXspDGJkAvP7WCCRLQkgMfX\",\n        \"networkType\": \"Bitcoin\",\n        \"createdAt\": \"2020-11-30T10:18:54.994930Z\",\n        \"type\": \"CURRENCY_SPECIFIC\",\n        \"beneficiaryName\": \"Satoshi Nakamoto\",\n        \"isCorporate\": false,\n        \"isSelfHosted\": false,\n        \"serviceProviderName\": \"Binance\"       \n    },\n    {\n        \"id\": \"f7027162-8dc1-4619-88e2-1587145df376\",\n        \"label\": \"Ethereum Universal Address\",\n        \"address\": \"0xc6d9d2cd449a754c494264e1809c50e34d64562b\",\n        \"networkType\": \"Ethereum\",\n        \"createdAt\": \"2026-02-05T08:54:41.631247Z\",\n        \"type\": \"UNIVERSAL\",\n        \"beneficiaryName\": \"Wallet\",\n        \"isCorporate\": false,\n        \"isSelfHosted\": true\n    }    \n]"}],"_postman_id":"b54b42e0-d721-4cc7-b6c2-59cb05b39568"},{"name":"Whitelisted Withdrawal Address Book for a currency","id":"f4c4548b-67b0-4f55-80c0-62b605926c6d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>Your API Key</p>\n","key":"X-VALR-API-KEY","type":"text","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33"},{"description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n","key":"X-VALR-SIGNATURE","type":"text","value":"{{requestSignature}}"},{"description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n","key":"X-VALR-TIMESTAMP","type":"text","value":"{{requestTimestamp}}"}],"url":"https://api.valr.com/v1/wallet/crypto/address-book/:currencyCode","description":"<p>Returns all the withdrawal addresses whitelisted for this account and the currency specified in the path variable <code>:currencyCode</code>.</p>\n<p>The optional <code>networkType</code> can be used to filter addresses further. If <code>networkType</code> is not provided, universal addresses will be included in the result if the <code>:currencyCode</code> provided is supported by those universal addresses.</p>\n<p>Each withdrawal address has a type field indicating how it is scoped:</p>\n<ul>\n<li><p><code>CURRENCY_SPECIFIC</code> — the address is linked to a specific currency and network type.</p>\n</li>\n<li><p><code>UNIVERSAL</code> — the address is linked to a network type only and can be used for any currency on that network.</p>\n</li>\n</ul>\n","urlObject":{"path":["v1","wallet","crypto","address-book",":currencyCode"],"host":["https://api.valr.com"],"query":[{"disabled":true,"description":{"content":"<p>(Optional) The network type used to filter the address book.</p>\n","type":"text/plain"},"key":"networkType","value":"Ethereum"}],"variable":[{"description":{"content":"<p>Specify the currency for which you want to query the address book</p>\n","type":"text/plain"},"type":"any","value":"BTC","key":"currencyCode"}]}},"response":[{"id":"28e0ff80-f39d-459a-88b9-ba256b7aacd8","name":"Whitelisted Withdrawal Address Book for a currency","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/wallet/crypto/address-book/:currencyCode","host":["https://api.valr.com"],"path":["v1","wallet","crypto","address-book",":currencyCode"],"variable":[{"key":"currencyCode","value":"USDC"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Mon, 30 Nov 2020 13:08:45 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"6"},{"key":"server","value":"envoy"},{"key":"transfer-encoding","value":"chunked"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"clear"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"a6c46997-98a9-4e2f-b27b-d2b39466e1db\",\n        \"label\": \"Stellar USDC\",\n        \"currency\": \"USDC\",\n        \"address\": \"GC6BZQERWJX36DE5YKWHUBSY5V7KNJRDKSPIMNNI2I72QXURPDE6G3VY\",\n        \"networkType\": \"StellarLumens\",\n        \"paymentReference\": \"123\",\n        \"createdAt\": \"2025-10-03T09:48:55.483059Z\",\n        \"type\": \"CURRENCY_SPECIFIC\",\n        \"beneficiaryName\": \"Wallet\",\n        \"isCorporate\": false,\n        \"isSelfHosted\": true\n    },\n    {\n        \"id\": \"f7027162-8dc1-4619-88e2-1587145df376\",\n        \"label\": \"Ethereum Universal Address\",\n        \"address\": \"0xc6d9d2cd449a754c494264e1809c50e34d64562b\",\n        \"networkType\": \"Ethereum\",\n        \"createdAt\": \"2026-02-05T08:54:41.631247Z\",\n        \"type\": \"UNIVERSAL\",\n        \"beneficiaryName\": \"Wallet\",\n        \"isCorporate\": false,\n        \"isSelfHosted\": true\n    }       \n]"}],"_postman_id":"f4c4548b-67b0-4f55-80c0-62b605926c6d"},{"name":"Withdrawal Config Info","id":"b44b9b19-3e9b-45b0-be2b-0adc35caf480","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n","type":"text"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n","type":"text"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n","type":"text"}],"url":"https://api.valr.com/v1/wallet/crypto/:currencyCode/withdraw","description":"<p>Get all the information about withdrawing a given currency from your VALR account. That will include withdrawal costs, minimum withdrawal amount etc.</p>\n<p>If <code>networkType</code> is not specified, it will be defaulted based on the configuration for the currency that can be found at <code>/v1/public/currencies</code></p>\n<p>Please also consult the supporting documentation for the <code>/v1/public/currencies</code> api which illustrates different scenarios by example.</p>\n<p>The <code>withdrawalDecimalPlaces</code> specified is the maximum scale of the value that will be submitted to the network and will be rounded down to that scale if a value with a larger scale is provided.</p>\n","urlObject":{"path":["v1","wallet","crypto",":currencyCode","withdraw"],"host":["https://api.valr.com"],"query":[{"disabled":true,"description":{"content":"<p>(Optional) The network type to use when retrieving the currency config for the specified currency. If not specified, it will be defaulted based on the currency configuration.</p>\n","type":"text/plain"},"key":"networkType","value":"Bitcoin"}],"variable":[{"description":{"content":"<p>This is the currency code of the currency you want withdrawal information about.</p>\n<p>Examples: BTC, ETH, XRP, ADA, etc.</p>\n","type":"text/plain"},"type":"any","value":"BTC","key":"currencyCode"}]}},"response":[{"id":"0c40e0fa-5330-4b66-9a4d-1c0f17c9fba2","name":"Withdrawal Configuration information","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate request signature"}],"url":{"raw":"https://api.valr.com/v1/wallet/crypto/:currencyCode/withdraw","protocol":"https","host":["api","valr","com"],"path":["v1","wallet","crypto",":currencyCode","withdraw"],"query":[{"key":"networkType","value":"Bitcoin","description":"(Optional) The network type to use when retrieving the currency config for the specified currency. If not specified, it will be defaulted based on the currency configuration.","disabled":true}],"variable":[{"key":"currencyCode","value":"BTC","description":"This is the currency code of the currency you want withdrawal information about.\nExamples: BTC, ETH, XRP, ADA, etc."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 20 Apr 2019 14:38:07 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"Deny"},{"key":"Content-Security-Policy","value":"default-src 'none'"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"clear"},{"key":"Strict-Transport-Security","value":"max-age=0; includeSubDomains; preload"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"4ca7dc2f7b99ac5a-JNB"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"currency\": \"BTC\",\n    \"minimumWithdrawAmount\": \"0.0002\",\n    \"withdrawalDecimalPlaces\": \"8\",\n    \"isActive\": true,\n    \"withdrawCost\": \"0.00013\",\n    \"supportsPaymentReference\": false,\n    \"networkType\": \"Bitcoin\"\n}"}],"_postman_id":"b44b9b19-3e9b-45b0-be2b-0adc35caf480"},{"name":"New Withdrawal","id":"d92b3f29-86a8-4f3b-85e6-30331409ffa8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>, then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"0.0005\",\n    \"address\": \"2N1rvRDR3fUD6L43QxG5Awy8RHC8nCavAnc\",\n    \"networkType\": \"Bitcoin\",\n    \"allowBorrow\": false,\n    \"beneficiaryName\": \"Satoshi Nakamoto\",\n    \"isCorporate\": false,\n    \"isSelfHosted\": false,\n    \"serviceProviderId\": \"6720c583142afc3bc573c133\"\n}"},"url":"https://api.valr.com/v1/wallet/crypto/:currencyCode/withdraw","description":"<p>Withdraw cryptocurrency funds to an address.</p>\n<p>Withdrawals created with more decimals than the number supported by the currency will be rounded down to the <code>withdrawalDecimalPlaces</code> specified for the network (see documentation on the <code>/v1/public/currencies</code> endpoint for more info)</p>\n<p>The request body for currencies supporting a memo or payment reference, such as XRP, XMR, XEM or XLM, will accept an optional field called \"paymentReference\". The max length for the <code>paymentReference</code> is 256 characters.</p>\n<p><strong>Withdrawal using an address:</strong></p>\n<ul>\n<li><p>Network Type</p>\n<ul>\n<li><p><code>networkType</code> is a request field that can be optionally supplied to specify the network that should used for the withdrawal. It is very important to make sure that the <code>networkType</code> supplied corresponds to the withdrawal <code>address</code> supplied. In cases where the incorrect <code>networkType</code> is supplied for an <code>address</code> it may result in loss of funds.</p>\n<p>  If <code>networkType</code> is not specified, it will be defaulted based on the configuration for the currency that can be found at <code>/v1/public/currencies</code></p>\n</li>\n</ul>\n</li>\n<li><p>Beneficiary Information</p>\n<ul>\n<li><code>beneficiaryName</code>, <code>isCorporate</code>, <code>isSelfHosted</code>, <code>serviceProviderId</code> and <code>serviceProviderName</code> are new fields to support the collection of the beneficiary's (recipient's) information. This information will be mandatory after 30 April 2025 is accordance with South Africa regulation that governs crypto asset service providers like VALR.</li>\n</ul>\n</li>\n</ul>\n<p>Please also consult the supporting documentation for the <code>/v1/public/currencies</code> API which illustrates different network type scenarios.</p>\n<p><strong>Withdrawal using an addressBookId:</strong></p>\n<ul>\n<li><p>Network Type</p>\n<ul>\n<li>When doing a withdrawal by using an <code>addressBookId</code>, <code>networkType</code> does not need to be specified as the <code>networkType</code> of the addressBook entry will be used.</li>\n</ul>\n</li>\n<li><p>Beneficiary Information</p>\n<ul>\n<li><p>Provided that the address book has beneficiary information saved, beneficiary related fields do not need to be supplied in the withdrawal request.</p>\n</li>\n<li><p>If the address book DOES NOT have beneficiary information stored, you can update it via our web and mobile clients, or supply the information in the same way one would when performing a withdrawal to an address.</p>\n</li>\n<li><p><code>beneficiaryName</code>, <code>isCorporate</code>, <code>isSelfHosted</code>, <code>serviceProviderId</code> and <code>serviceProviderName</code> are new fields to support the collection of the beneficiary's (recipient's) information. This information will be mandatory after 30 April 2025, in accordance with South African regulations that govern crypto asset service providers like VALR.</p>\n</li>\n</ul>\n</li>\n</ul>\n<p><strong>Borrowing:</strong><br />Use the <code>allowBorrow</code> option to borrow funds against assets in your account. Collateral is locked while the loan is outstanding. Interest accrues hourly and is capitalised into the loan. You can repay the loan whenever you prefer. Crypto Loans are only available in margin-enabled Subaccounts.</p>\n<p><strong>The Request Body</strong></p>\n<p>An example of the request body is as follows:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"amount\": \"0.0005\",\n    \"address\": \"2N1rvRDR3fUD6L43QxG5Awy8RHC8nCavAnc\",\n    \"networkType\": \"Bitcoin\",\n    \"allowBorrow\": false,\n    \"beneficiaryName\": \"Satoshi Nakamoto\",\n    \"isCorporate\": false,\n    \"isSelfHosted\": false,\n    \"serviceProviderId\": \"6720c583142afc3bc573c133\"\n}\n\n</code></pre>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>amount</code> (required)</td>\n<td>The amount (in <code>:currencyCode</code> currency)</td>\n</tr>\n<tr>\n<td><code>address</code> (required if <code>addressBookId</code> not used)</td>\n<td>The address to which the crypto will be sent. Either <code>address</code> or <code>addressBookId</code> must be provided. See examples below.</td>\n</tr>\n<tr>\n<td><code>addressBookId</code> (required if <code>address</code> not used)</td>\n<td>The unique identifier of an address book entry that will be used for the withdrawal. Either <code>addressBookId</code> or <code>address</code> must be provided. See examples below.</td>\n</tr>\n<tr>\n<td><code>networkType</code> (optional)</td>\n<td>Specifies the network that should used for the withdrawal. See note above on <code>networkType</code> usage and considerations.</td>\n</tr>\n<tr>\n<td><code>allowBorrow</code> (optional)</td>\n<td><code>true</code> or <code>false</code>. Default value is <code>false</code>. See description above.</td>\n</tr>\n<tr>\n<td><code>beneficiaryName</code> (required *)</td>\n<td>The full name of the recipient of the withdrawal.  <br />  <br />* This is required if using <code>address</code>. When using <code>addressBookId</code> this can be omitted provided the address book already has this information saved.</td>\n</tr>\n<tr>\n<td><code>isCorporate</code> (required *)</td>\n<td><code>true</code> if the recipient is a legal entity / business. <code>false</code> if the recipient is a person.  <br />  <br />* This is required if using <code>address</code>. When using <code>addressBookId</code> this can be omitted provided the address book already has this information saved.</td>\n</tr>\n<tr>\n<td><code>isSelfHosted</code> (required *)</td>\n<td><code>true</code> if the recipient has control of their own keys. <code>false</code> if the recipient uses another crypto asset service provider (exchange).  <br />  <br />* This is required if using <code>address</code>. When using <code>addressBookId</code> this can be omitted provided the address book already has this information saved.</td>\n</tr>\n<tr>\n<td><code>serviceProviderId</code> (required *)</td>\n<td>Unique identifier of the recipient's crypto asset service provider (exchange). Please find the full list of supported service providers in <code>/v1/wallet/crypto/service-providers</code>  <br />  <br />Should the list not include the recipient's service provider, please make use of <code>serviceProviderName</code>  <br /><code>serviceProviderId</code> and <code>serviceProviderName</code> cannot be used simultaneous.  <br />  <br />* This is required if using <code>address</code>. When using <code>addressBookId</code> this can be omitted provided the address book already has this information saved.</td>\n</tr>\n<tr>\n<td><code>serviceProviderName</code> (required *)</td>\n<td>The name of the recipient's crypto asset service provider.  <br />  <br />This should ONLY be used when the list of service providers DOES NOT include the required exchange.  <br />  <br /><code>serviceProviderId</code> and <code>serviceProviderName</code> cannot be used simultaneous.  <br />  <br />* This is required if using <code>address</code>. When using <code>addressBookId</code> this can be omitted provided the address book already has this information saved.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","wallet","crypto",":currencyCode","withdraw"],"host":["https://api.valr.com"],"query":[],"variable":[{"description":{"content":"<p>This is the currency code for the currency you are withdrawing. Examples: BTC, ETH, XRP, ADA, etc.</p>\n","type":"text/plain"},"type":"any","value":"BTC","key":"currencyCode"}]}},"response":[{"id":"88d72c08-6fde-452e-b037-e098c5b161b2","name":"New Withdrawal to an exchange hosted address using ID Accepted","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`, then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"0.0005\",\n    \"address\": \"0x289008cef8Ca791Ee49a61DD0de0dF954aa2C9e8\",\n    \"networkType\": \"Ethereum\",\n    \"allowBorrow\": false,\n    \"beneficiaryName\": \"Vitalik Buterin\",\n    \"isCorporate\": false,\n    \"isSelfHosted\": false,\n    \"serviceProviderId\": \"6720c583142afc3bc573c133\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.valr.com/v1/wallet/crypto/:currencyCode/withdraw","host":["https://api.valr.com"],"path":["v1","wallet","crypto",":currencyCode","withdraw"],"variable":[{"key":"currencyCode","value":"ETH","description":"This is the currency code for the currency you are withdrawing. Examples: BTC, ETH, XRP, ADA, etc."}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Tue, 20 May 2025 12:55:11 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"1004"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"686ce4b8-1504-4f9c-b217-f6f24300cfb3\"\n}"},{"id":"cc1db523-a8cc-459f-a07d-17952ce134ad","name":"New Withdrawal to an exchange hosted address using Name Accepted","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`, then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"0.0005\",\n    \"address\": \"0xCfb6fDFC030Ec1b51eB1a03689F19735fDEbE3B0\",\n    \"networkType\": \"Ethereum\",\n    \"allowBorrow\": false,\n    \"beneficiaryName\": \"Vitalik Buterin\",\n    \"isCorporate\": false,\n    \"isSelfHosted\": false,\n    \"serviceProviderName\": \"Unlisted Exchange (Pty) Ltd\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.valr.com/v1/wallet/crypto/:currencyCode/withdraw","host":["https://api.valr.com"],"path":["v1","wallet","crypto",":currencyCode","withdraw"],"variable":[{"key":"currencyCode","value":"ETH","description":"This is the currency code for the currency you are withdrawing. Examples: BTC, ETH, XRP, ADA, etc."}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Tue, 20 May 2025 13:00:51 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"605"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"dee33527-d514-4229-860b-35e0cfc9139f\"\n}"},{"id":"0a5ae85d-e41d-4419-9e21-cb04ba4c39bf","name":"New Withdrawal to a self-hosted address Accepted","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`, then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"0.0005\",\n    \"address\": \"0xCfb6fDFC030Ec1b51eB1a03689F19735fDEbE3B0\",\n    \"networkType\": \"Ethereum\",\n    \"allowBorrow\": false,\n    \"beneficiaryName\": \"Vitalik Buterin\",\n    \"isCorporate\": false,\n    \"isSelfHosted\": true\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.valr.com/v1/wallet/crypto/:currencyCode/withdraw","host":["https://api.valr.com"],"path":["v1","wallet","crypto",":currencyCode","withdraw"],"variable":[{"key":"currencyCode","value":"ETH","description":"This is the currency code for the currency you are withdrawing. Examples: BTC, ETH, XRP, ADA, etc."}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Tue, 20 May 2025 13:06:09 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"2059"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"bf1abcb8-16d4-48be-aace-e4d465437c7e\"\n}"},{"id":"ec22d235-17bb-4c46-985b-479e2e98e6c9","name":"New Withdrawal using an address book id Accepted","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`, then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"0.0002\",\n    \"addressBookId\": \"ed35f60b-9dcf-4baf-bcdd-643691044ac3\",\n    \"allowBorrow\": false\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.valr.com/v1/wallet/crypto/:currencyCode/withdraw","host":["https://api.valr.com"],"path":["v1","wallet","crypto",":currencyCode","withdraw"],"variable":[{"key":"currencyCode","value":"BTC","description":"This is the currency code for the currency you are withdrawing. Examples: BTC, ETH, XRP, ADA, etc."}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Tue, 20 May 2025 13:10:30 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"72"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"bcff39b3-7fbc-4582-b6f7-53a3597373a0\"\n}"},{"id":"fc7829cc-bdeb-4ac3-98b4-c711d9a3e42d","name":"Allow borrow margin not enabled for account Unsuccessful","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`, then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"0.0005\",\n    \"address\": \"2N1rvRDR3fUD6L43QxG5Awy8RHC8nCavAnc\",\n    \"networkType\": \"Bitcoin\",\n    \"allowBorrow\": true,\n    \"beneficiaryName\": \"Vitalik Buterin\",\n    \"isCorporate\": false,\n    \"isSelfHosted\": false,\n    \"serviceProviderId\": \"6720c583142afc3bc573c133\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.valr.com/v1/wallet/crypto/:currencyCode/withdraw","host":["https://api.valr.com"],"path":["v1","wallet","crypto",":currencyCode","withdraw"],"variable":[{"key":"currencyCode","value":"BTC","description":"This is the currency code for the currency you are withdrawing. Examples: BTC, ETH, XRP, ADA, etc."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Tue, 20 May 2025 13:14:38 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"60"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": -19213,\n    \"message\": \"Margin not enabled for account\"\n}"},{"id":"0f9272dc-ab8d-491e-b9fb-40e20e744d33","name":"Invalid JSON","originalRequest":{"method":"POST","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate request signature"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"0.0001\",\n    \"address\": \"194CnYJwAYaW3Pj1GvCoBESmPRTFHy68JK\",\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.valr.com/v1/wallet/crypto/:currencyCode/withdraw","protocol":"https","host":["api","valr","com"],"path":["v1","wallet","crypto",":currencyCode","withdraw"],"variable":[{"key":"currencyCode","value":"BTC","description":"This is the currency code for the currency you are withdrawing. Examples: BTC, ETH, XRP, ADA, etc."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 20 Apr 2019 14:32:48 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"Deny"},{"key":"Content-Security-Policy","value":"default-src 'none'"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"clear"},{"key":"Strict-Transport-Security","value":"max-age=0; includeSubDomains; preload"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"4ca7d4653cc7ac5a-JNB"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": -113,\n    \"message\": \"Invalid JSON payload\"\n}"}],"_postman_id":"d92b3f29-86a8-4f3b-85e6-30331409ffa8"},{"name":"Withdrawal Status","id":"b1f5aae3-c896-4a7f-a20a-ff4d67ea8007","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n","type":"text"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n","type":"text"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n","type":"text"}],"url":"https://api.valr.com/v1/wallet/crypto/:currencyCode/withdraw/:withdrawId","description":"<p>Check the status of a withdrawal.</p>\n","urlObject":{"path":["v1","wallet","crypto",":currencyCode","withdraw",":withdrawId"],"host":["https://api.valr.com"],"query":[],"variable":[{"description":{"content":"<p>This is the currency code for the currency you have withdrawn. Examples: BTC, ETH, XRP, ADA, etc.</p>\n","type":"text/plain"},"type":"string","value":"BTC","key":"currencyCode"},{"description":{"content":"<p>The unique id that represents your withdrawal request. This is provided as a response to the API call to withdraw.</p>\n","type":"text/plain"},"type":"string","value":"b8e2e6c0-5215-4f6b-80b4-a664b2b6ef94","key":"withdrawId"}]}},"response":[{"id":"f5c9f88e-ce2b-4a17-8115-d850670d6d48","name":"Withdrawal Status","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/wallet/crypto/:currencyCode/withdraw/:withdrawId","host":["https://api.valr.com"],"path":["v1","wallet","crypto",":currencyCode","withdraw",":withdrawId"],"variable":[{"key":"currencyCode","value":"BTC","description":"This is the currency code for the currency you have withdrawn. Examples: BTC, ETH, XRP, ADA, etc.\n"},{"key":"withdrawId","value":"b8e2e6c0-5215-4f6b-80b4-a664b2b6ef94","description":"The unique id that represents your withdrawal request. This is provided as a response to the API call to withdraw.\n"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 20 May 2019 14:50:49 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"Deny"},{"key":"Content-Security-Policy","value":"default-src 'none'"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"clear"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"4d9f2009085f563d-JNB"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"currency\": \"BTC\",\n    \"address\": \"mkHS9ne12qx9pS9VojpwU5xtRd4T7X7ZUt\",\n    \"amount\": \"0.001\",\n    \"feeAmount\": \"0.0002\",\n    \"transactionHash\": \"1558363779645\",\n    \"confirmations\": 2,\n    \"lastConfirmationAt\": \"2019-05-20T14:49:59.659675\",\n    \"uniqueId\": \"b8e2e6c0-5215-4f6b-80b4-a664b2b6ef94\",\n    \"createdAt\": \"2019-05-20T14:49:39.609Z\",\n    \"verified\": true,\n    \"status\": \"Processing\",\n    \"networkType\": \"Bitcoin\"\n}"}],"_postman_id":"b1f5aae3-c896-4a7f-a20a-ff4d67ea8007"},{"name":"Service Providers","id":"5ad83869-49e9-4f38-b79d-f5c1df2c4266","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"url":"https://api.valr.com/v1/wallet/crypto/service-providers","description":"<p>Returns the list of known service providers for use when performing a new crypto withdrawal.</p>\n","urlObject":{"path":["v1","wallet","crypto","service-providers"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"fa0cce41-eeca-4dfe-9f78-1c51fb2feabd","name":"Service Providers","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":"https://api.valr.com/v1/wallet/crypto/service-providers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Mon, 08 Feb 2021 12:35:35 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"39"},{"key":"server","value":"envoy"},{"key":"transfer-encoding","value":"chunked"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"clear"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"672b1ff8a1ff8a027906ff39\",\n        \"name\": \"Bybit\"\n    },\n    {\n        \"id\": \"676d1c189ef2fd542e5bbf33\",\n        \"name\": \"Binance\"\n    }\n]"}],"_postman_id":"5ad83869-49e9-4f38-b79d-f5c1df2c4266"},{"name":"Withdrawal History","id":"d166dbf5-e922-4037-b0a7-5d490796662c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n","type":"text"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n","type":"text"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n","type":"text"}],"url":"https://api.valr.com/v1/wallet/crypto/withdraw/history?skip=0&limit=10&currency=BTC&startTime=2025-01-01T00:00:00Z&endTime=2025-01-31T23:59:59Z","description":"<p>Get Withdrawal History records for a given currency.</p>\n","urlObject":{"path":["v1","wallet","crypto","withdraw","history"],"host":["https://api.valr.com"],"query":[{"description":{"content":"<p>Skip this number of results. (Default 0)</p>\n","type":"text/plain"},"key":"skip","value":"0"},{"description":{"content":"<p>Limit the results to this number. (Default and Max 100)</p>\n","type":"text/plain"},"key":"limit","value":"10"},{"description":{"content":"<p>Currency Code (e.g., BTC, ETH, XRP, ADA): The code representing the currency for which you want to retrieve historical withdrawal records. Leave empty to retrieve records for all currencies.</p>\n","type":"text/plain"},"key":"currency","value":"BTC"},{"description":{"content":"<p>ISO 8601 string (e.g., 2025-01-01T00:00:00Z) for the start of the time range. Defaults to the earliest available date if not provided.</p>\n","type":"text/plain"},"key":"startTime","value":"2025-01-01T00:00:00Z"},{"description":{"content":"<p>ISO 8601 string (e.g., 2025-02-31T23:59:59Z) for the end of the time range. Defaults to the latest date if not provided.</p>\n","type":"text/plain"},"key":"endTime","value":"2025-01-31T23:59:59Z"}],"variable":[{"type":"any","value":"BTC","key":"currencyCode"}]}},"response":[{"id":"ed5e2e7a-c869-4359-9df2-b8e9b9548129","name":"Withdrawal History","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate request signature"}],"url":"https://api.valr.com/v1/wallet/crypto/withdraw/history"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 23 Apr 2019 07:42:10 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"Deny"},{"key":"Content-Security-Policy","value":"default-src 'none'"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"clear"},{"key":"Strict-Transport-Security","value":"max-age=0; includeSubDomains; preload"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"4cbe33024de15645-JNB"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"currency\": \"USDC\",\n        \"address\": \"0x388C818CA8B9251b393131C08a736A67ccB11297\",\n        \"amount\": \"10\",\n        \"feeAmount\": \"20\",\n        \"transactionHash\": \"0xbf21b35945b41aeab5a081a878b0ed6c317639018718a56b0446a6747b3407a5\",\n        \"confirmations\": 6,\n        \"lastConfirmationAt\": \"2025-01-07T14:22:32.419194\",\n        \"uniqueId\": \"e1221de5-c494-4b75-bd0d-63e106879c08\",\n        \"createdAt\": \"2025-01-07T14:19:17.861765Z\",\n        \"verified\": true,\n        \"status\": \"Complete\",\n        \"networkType\": \"Ethereum\"\n    },\n    {\n        \"currency\": \"ETH\",\n        \"address\": \"0x388C818CA8B1251b393131C08a736A67ccB19297\",\n        \"amount\": \"0.001\",\n        \"feeAmount\": \"0.0018\",\n        \"transactionHash\": \"0xae971c7f1bc35f53203c14f289e80ba4c30c4f1591e3be19fbc6bffbcd5d46aa\",\n        \"confirmations\": 6,\n        \"lastConfirmationAt\": \"2025-01-07T14:12:55.543998\",\n        \"uniqueId\": \"ff9614bb-78f4-44ca-9694-7d8cfd341633\",\n        \"createdAt\": \"2025-01-07T14:11:06.482998Z\",\n        \"verified\": true,\n        \"status\": \"Complete\",\n        \"networkType\": \"Ethereum\"\n    }\n]"}],"_postman_id":"d166dbf5-e922-4037-b0a7-5d490796662c"}],"id":"4a7b4353-3f48-45d1-b096-b7638901ddf7","description":"<p>This section describes how to use the Cryptocurrency Wallet APIs.</p>\n","event":[{"listen":"prerequest","script":{"id":"8591d350-c4a4-43b5-a5ac-a930f115c484","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"777c966d-375f-4b93-ae80-b1221b5c52c3","type":"text/javascript","exec":[""]}}],"_postman_id":"4a7b4353-3f48-45d1-b096-b7638901ddf7"},{"name":"Fiat","item":[{"name":"Add Bank Account","id":"63a97644-8783-48cb-999c-31b6f0b54753","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"body":{"mode":"raw","raw":"{\n  \"bank\": \"FNB\",\n  \"accountHolder\": \"Frodo Baggins\",\n  \"accountNumber\": \"62792461544\",\n  \"branchCode\": \"040000\",\n  \"accountType\": \"CHEQUE\",\n  \"country\": \"ZA\"\n}"},"url":"https://api.valr.com/v1/wallet/fiat/:currencyCode/accounts","description":"<p>Link a bank account to your VALR account for fiat withdrawals.</p>\n<p>The <code>bank</code> field should contain a valid bank identifier. Use the <code>Banks for Currency</code> request for a list of supported banks for the given currency.</p>\n<p>The <code>country</code> field must be the valid 2 character ISO 3166‑1 code for the country in which the bank account is registered.</p>\n","urlObject":{"path":["v1","wallet","fiat",":currencyCode","accounts"],"host":["https://api.valr.com"],"query":[],"variable":[{"description":{"content":"<p>The currency code for the fiat currency. Supported: ZAR.</p>\n","type":"text/plain"},"type":"any","value":"ZAR","key":"currencyCode"}]}},"response":[{"id":"0ed2eced-901f-4ee1-981c-6d392950b970","name":"Add Bank Account","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n  \"bank\": \"FNB\",\n  \"accountHolder\": \"Frodo Baggins\",\n  \"accountNumber\": \"62792461544\",\n  \"branchCode\": \"040000\",\n  \"accountType\": \"CHEQUE\",\n  \"country\": \"ZA\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.valr.com/v1/wallet/fiat/:currencyCode/accounts","host":["https://api.valr.com"],"path":["v1","wallet","fiat",":currencyCode","accounts"],"variable":[{"key":"currencyCode","value":"ZAR","description":"The currency code for the fiat currency. Supported: ZAR, ZMW."}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 03 Mar 2023 14:41:52 GMT"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"Deny"},{"key":"Content-Security-Policy","value":"default-src 'none'"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"a317d907-7439-447c-879f-c05bddfedadc\",\n    \"bankCode\": \"FNB\",\n    \"bankName\": \"FNB/RMB\",\n    \"accountHolder\": \"Frodo Baggins\",\n    \"accountNumber\": \"62792461544\",\n    \"branchCode\": \"040000\",\n    \"accountType\": \"Current/Cheque\",\n    \"status\": \"VERIFIED\",\n    \"insertedAt\": \"2023-03-03T14:41:53.841072Z\",\n    \"updatedAt\": \"2023-03-03T14:41:54.062808Z\",\n    \"country\": \"ZA\",\n    \"currency\": {\n        \"symbol\": \"R\",\n        \"decimalPlaces\": 2,\n        \"isActive\": true,\n        \"shortName\": \"ZAR\",\n        \"longName\": \"Rand\",\n        \"supportedWithdrawDecimalPlaces\": 2,\n        \"collateral\": true,\n        \"collateralWeight\": \"1\"\n    }\n}"}],"_postman_id":"63a97644-8783-48cb-999c-31b6f0b54753"},{"name":"Bank Account Detail","id":"379d73fd-52dd-47bb-9aed-a20baf44b4d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"url":"https://api.valr.com/v1/wallet/fiat/:currencyCode/accounts/:id","description":"<p>Get the details of a linked bank account.</p>\n","urlObject":{"path":["v1","wallet","fiat",":currencyCode","accounts",":id"],"host":["https://api.valr.com"],"query":[],"variable":[{"description":{"content":"<p>The currency code for the fiat currency. Supported: ZAR.</p>\n","type":"text/plain"},"type":"any","value":"ZAR","key":"currencyCode"},{"description":{"content":"<p>The UUID identifier of the linked bank account.</p>\n","type":"text/plain"},"type":"any","value":"47818b9d-1fdf-48b3-97f4-2578b5456a9a","key":"id"}]}},"response":[{"id":"6199052f-688a-43bf-a231-24b0dcf3fd15","name":"Bank Account Detail","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/wallet/fiat/:currencyCode/accounts/:id","host":["https://api.valr.com"],"path":["v1","wallet","fiat",":currencyCode","accounts",":id"],"variable":[{"key":"currencyCode","value":"ZAR","description":"The currency code for the fiat currency. Supported: ZAR, ZMW."},{"key":"id","value":"47818b9d-1fdf-48b3-97f4-2578b5456a9a","description":"The UUID identifier of the linked bank account."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Mon, 27 Feb 2023 13:49:08 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"115"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"47818b9d-1fdf-48b3-97f4-2578b5456a9a\",\n    \"bank\": \"FNB/RMB\",\n    \"accountHolder\": \"Frodo Baggins\",\n    \"accountNumber\": \"62004626662\",\n    \"branchCode\": \"250655\",\n    \"accountType\": \"Current/Cheque\",\n    \"createdAt\": \"2019-08-08T08:30:27.495181Z\",\n    \"country\": \"ZA\"\n}"}],"_postman_id":"379d73fd-52dd-47bb-9aed-a20baf44b4d0"},{"name":"Bank Accounts","id":"e7b13f1d-9740-4452-9653-141e1055d03b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n","type":"text"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n","type":"text"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n","type":"text"}],"url":"https://api.valr.com/v1/wallet/fiat/:currencyCode/accounts","description":"<p>Get a list of bank accounts that are linked to your VALR account. Bank accounts can be linked by signing in to your account on <a href=\"https://www.VALR.com\">www.VALR.com</a> or by using the <code>Add Bank Account</code> request.</p>\n","urlObject":{"path":["v1","wallet","fiat",":currencyCode","accounts"],"host":["https://api.valr.com"],"query":[],"variable":[{"description":{"content":"<p>The currency code for the fiat currency. Supported: ZAR.</p>\n","type":"text/plain"},"type":"any","value":"ZAR","key":"currencyCode"}]}},"response":[{"id":"e6a0d20f-a89a-45ee-8692-d7999efb2dcf","name":"Bank Accounts","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/wallet/fiat/:currencyCode/accounts","host":["https://api.valr.com"],"path":["v1","wallet","fiat",":currencyCode","accounts"],"variable":[{"key":"currencyCode","value":"ZAR","description":"The currency code for the fiat currency. Supported: ZAR, ZMW."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 03 Mar 2023 14:42:42 GMT"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"Deny"},{"key":"Content-Security-Policy","value":"default-src 'none'"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"a4368195-571b-499f-93ae-717c44f92b1b\",\n        \"bank\": \"FNB/RMB\",\n        \"accountHolder\": \"Frodo Baggins\",\n        \"accountNumber\": \"62792461544\",\n        \"branchCode\": \"040000\",\n        \"accountType\": \"Current/Cheque\",\n        \"createdAt\": \"2023-03-03T14:37:24.095872Z\",\n        \"country\": \"ZA\"\n    }\n]"}],"_postman_id":"e7b13f1d-9740-4452-9653-141e1055d03b"},{"name":"Delete Bank Account","id":"44e93d34-9fb6-4483-b1c9-30a8c731d65f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"url":"https://api.valr.com/v1/wallet/fiat/:currencyCode/accounts/:id","description":"<p>Delete a linked bank account.</p>\n","urlObject":{"path":["v1","wallet","fiat",":currencyCode","accounts",":id"],"host":["https://api.valr.com"],"query":[],"variable":[{"description":{"content":"<p>The currency code for the fiat currency. Supported: ZAR.</p>\n","type":"text/plain"},"type":"any","value":"ZAR","key":"currencyCode"},{"description":{"content":"<p>The UUID identifier of the linked bank account to delete.</p>\n","type":"text/plain"},"type":"any","value":"3d33ca42-73d3-45b3-a44d-434dd159ec6d","key":"id"}]}},"response":[{"id":"408f7af5-676b-4134-b5e5-8d348328b075","name":"Delete Bank Account","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/wallet/fiat/:currencyCode/accounts/:id","host":["https://api.valr.com"],"path":["v1","wallet","fiat",":currencyCode","accounts",":id"],"variable":[{"key":"currencyCode","value":"ZAR","description":"The currency code for the fiat currency. Supported: ZAR, ZMW."},{"key":"id","value":"a4368195-571b-499f-93ae-717c44f92b1b","description":"The UUID identifier of the linked bank account to delete."}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 03 Mar 2023 14:44:05 GMT"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"Deny"},{"key":"Content-Security-Policy","value":"default-src 'none'"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"44e93d34-9fb6-4483-b1c9-30a8c731d65f"},{"name":"Banks for Currency","id":"77cf29a8-4573-4745-831a-58516ba1bcf4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"url":"https://api.valr.com/v1/wallet/fiat/:currencyCode/banks","description":"<p>Get a list of banks supported for a given currency.</p>\n","urlObject":{"path":["v1","wallet","fiat",":currencyCode","banks"],"host":["https://api.valr.com"],"query":[],"variable":[{"description":{"content":"<p>The currency code for the fiat currency. Supported: ZAR.</p>\n","type":"text/plain"},"type":"any","value":"ZAR","key":"currencyCode"}]}},"response":[{"id":"b33d3603-0b6b-48ba-aaa7-f1606b6044c4","name":"Banks for Currency","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/wallet/fiat/:currencyCode/banks","host":["https://api.valr.com"],"path":["v1","wallet","fiat",":currencyCode","banks"],"variable":[{"key":"currencyCode","value":"ZAR","description":"The currency code for the fiat currency. Supported: ZAR, ZMW."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 03 Mar 2023 14:44:30 GMT"},{"key":"Cache-Control","value":"max-age=600"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"Deny"},{"key":"Content-Security-Policy","value":"default-src 'none'"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"code\": \"ABSA\",\n    \"displayName\": \"ABSA Bank\",\n    \"defaultBranchCode\": \"632005\",\n    \"rtcParticipant\": true,\n    \"rtgsParticipant\": true,\n    \"countryCode\": \"ZA\"\n  },\n  {\n    \"code\": \"CAPITEC\",\n    \"displayName\": \"Capitec Bank\",\n    \"defaultBranchCode\": \"470010\",\n    \"rtcParticipant\": true,\n    \"rtgsParticipant\": true,\n    \"countryCode\": \"ZA\"\n  },\n  {\n    \"code\": \"FNB\",\n    \"displayName\": \"FNB/RMB\",\n    \"defaultBranchCode\": \"250655\",\n    \"rtcParticipant\": true,\n    \"rtgsParticipant\": true,\n    \"countryCode\": \"ZA\"\n  },\n  {\n    \"code\": \"NEDBANK\",\n    \"displayName\": \"Nedbank\",\n    \"defaultBranchCode\": \"198765\",\n    \"rtcParticipant\": true,\n    \"rtgsParticipant\": true,\n    \"countryCode\": \"ZA\"\n  },\n  {\n    \"code\": \"STANDARD\",\n    \"displayName\": \"Standard Bank\",\n    \"defaultBranchCode\": \"051001\",\n    \"rtcParticipant\": true,\n    \"rtgsParticipant\": true,\n    \"countryCode\": \"ZA\"\n  }\n]"}],"_postman_id":"77cf29a8-4573-4745-831a-58516ba1bcf4"},{"name":"Deposit Reference","id":"619d83fa-f562-4ed3-a573-81afbafd2f1c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n","type":"text"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n","type":"text"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n","type":"text"}],"url":"https://api.valr.com/v1/wallet/fiat/:currencyCode/deposit/reference","description":"<p>Get the unique Deposit Reference for the primary account or subaccount whose API Key is authorised.</p>\n<p>Payments made with this reference will be credited to your account.</p>\n","urlObject":{"path":["v1","wallet","fiat",":currencyCode","deposit","reference"],"host":["https://api.valr.com"],"query":[],"variable":[{"description":{"content":"<p>The currency code for the fiat currency. Supported: ZAR, USD.</p>\n","type":"text/plain"},"type":"any","value":"ZAR","key":"currencyCode"}]}},"response":[{"id":"4f4dc752-7376-4a23-bd50-30c989fc131e","name":"Deposit Reference","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key","type":"text"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature.","type":"text"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate request signature","type":"text"}],"url":{"raw":"https://api.valr.com/v1/wallet/fiat/:currencyCode/deposit/reference","protocol":"https","host":["api","valr","com"],"path":["v1","wallet","fiat",":currencyCode","deposit","reference"],"variable":[{"key":"currencyCode","value":"ZAR","description":"Fiat currency code. Supported: ZAR"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 20 Apr 2019 14:48:39 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"Deny"},{"key":"Content-Security-Policy","value":"default-src 'none'"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"clear"},{"key":"Strict-Transport-Security","value":"max-age=0; includeSubDomains; preload"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"4ca7eb9bdb9dac5a-JNB"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"reference\": \"VR8AFU9DD6\"\n}"}],"_postman_id":"619d83fa-f562-4ed3-a573-81afbafd2f1c"},{"name":"Auto-Buy Deposit Reference","id":"d085a371-339a-49e1-8c4f-a20cf582217e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"url":"https://api.valr.com/v1/wallet/fiat/:currencyCode/deposit/reference/:buyCurrencySymbol","description":"<p>Get the unique auto-buy Deposit Reference for the primary account or subaccount whose API Key is authorised.</p>\n<p>Payments in the <code>currencyCode</code> currency made with this reference will be used to buy <code>buyCurrencySymbol</code> currency.</p>\n<p>Use the <code>Supported Auto-Buy Currencies</code> request for the list of currencies supported for auto-buy with the pay currency.</p>\n","urlObject":{"path":["v1","wallet","fiat",":currencyCode","deposit","reference",":buyCurrencySymbol"],"host":["https://api.valr.com"],"query":[],"variable":[{"description":{"content":"<p>The currency code for the fiat currency. Supported: ZAR, USD.</p>\n","type":"text/plain"},"type":"any","value":"ZAR","key":"currencyCode"},{"description":{"content":"<p>The currency code to buy. See <code>Supported Auto-Buy Currencies</code>.</p>\n","type":"text/plain"},"type":"any","value":"ETH","key":"buyCurrencySymbol"}]}},"response":[{"id":"a4ae04a1-8e94-46b1-ae85-3d84dbd2b9ab","name":"Auto-Buy Deposit Reference","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/wallet/fiat/:currencyCode/deposit/reference/:buyCurrencySymbol","host":["https://api.valr.com"],"path":["v1","wallet","fiat",":currencyCode","deposit","reference",":buyCurrencySymbol"],"variable":[{"key":"currencyCode","value":"ZAR","description":"The currency code for the fiat currency. Supported: ZAR, ZMW."},{"key":"buyCurrencySymbol","value":"ETH","description":"The currency code to buy. See `Supported Auto-Buy Currencies`."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 03 Mar 2023 14:44:42 GMT"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"Deny"},{"key":"Content-Security-Policy","value":"default-src 'none'"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"reference\": \"ETH2YBLFVQ\"\n}"}],"_postman_id":"d085a371-339a-49e1-8c4f-a20cf582217e"},{"name":"Supported Auto-Buy Currencies","id":"d1894fc7-23da-49fc-a8bd-1ba48ce54a82","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"url":"https://api.valr.com/v1/wallet/fiat/:currencyCode/auto-buy","description":"<p>Get a list of currencies supported for auto-buying with the <code>currencyCode</code> currency.</p>\n","urlObject":{"path":["v1","wallet","fiat",":currencyCode","auto-buy"],"host":["https://api.valr.com"],"query":[],"variable":[{"description":{"content":"<p>The currency code for the fiat currency. Supported: ZAR, USD.</p>\n","type":"text/plain"},"type":"any","value":"ZAR","key":"currencyCode"}]}},"response":[{"id":"ccfd2b68-522a-413d-885a-e680fd68f963","name":"Supported Auto-Buy Currencies","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/wallet/fiat/:currencyCode/auto-buy","host":["https://api.valr.com"],"path":["v1","wallet","fiat",":currencyCode","auto-buy"],"variable":[{"key":"currencyCode","value":"ZAR","description":"The currency code for the fiat currency. Supported: ZAR, ZMW."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 03 Mar 2023 14:45:18 GMT"},{"key":"Cache-Control","value":"max-age=60"},{"key":"Cache-Control","value":"public"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"Deny"},{"key":"Content-Security-Policy","value":"default-src 'none'"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    \"BTC\",\n    \"ETH\",\n    \"XRP\"\n]"}],"_postman_id":"d1894fc7-23da-49fc-a8bd-1ba48ce54a82"},{"name":"New Withdrawal","id":"fb4db187-530b-4632-b933-7bdfd192bcf5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n","type":"text"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n","type":"text"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"linkedBankAccountId\": \"1f5aefb3-3ed0-4e79-99cc-efbee7dddbdf\",\n\t\"amount\": \"500\",\n\t\"fast\": true,\n    \"allowBorrow\": false\n}"},"url":"https://api.valr.com/v1/wallet/fiat/:currencyCode/withdraw","description":"<p>Withdraw your ZAR funds into one of your linked bank accounts.</p>\n<p>The request body accepts an optional field called \"fast\". If the value of this field is \"true\" the withdrawal will be processed with real-time clearing (\"RTC\") (participating banks only) or real-time gross settlement (\"RTGS\") during our next withdrawal run.</p>\n<p>The first 30 normal withdrawals per month are free, but higher fees apply to fast withdrawals. <a href=\"https://support.valr.com/hc/en-us/articles/360010571299-Fast-Withdrawals-on-VALR\">Learn more</a></p>\n<p><strong>Borrowing:</strong><br />Use the <code>allowBorrow</code> option to borrow funds against assets in your account. Collateral is locked while the loan is outstanding. Interest accrues hourly and is capitalised into the loan. You can repay the loan whenever you prefer. Crypto Loans are only available in margin-enabled Subaccounts.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>linkedBankAccountId</code> (required)</td>\n<td>The unique identifier of the linked bank account denoting the destination account for the withdrawal</td>\n</tr>\n<tr>\n<td><code>amount</code>(required)</td>\n<td>The total amount being withdrawn</td>\n</tr>\n<tr>\n<td><code>fast</code> (optional)</td>\n<td><code>true</code> or <code>false</code>. Default value is <code>false</code></td>\n</tr>\n<tr>\n<td><code>allowBorrow</code> (optional)</td>\n<td><code>true</code> or <code>false</code>. Default value is <code>false</code>. See description above.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","wallet","fiat",":currencyCode","withdraw"],"host":["https://api.valr.com"],"query":[],"variable":[{"description":{"content":"<p>The currency code for the fiat currency. Supported: ZAR.</p>\n","type":"text/plain"},"type":"any","value":"ZAR","key":"currencyCode"}]}},"response":[{"id":"649bb03d-db1d-4a94-b7cf-fbfe103c58c3","name":"New Withdrawal Accepted","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n\t\"linkedBankAccountId\": \"1f5aefb3-3ed0-4e79-99cc-efbee7dddbdf\",\n\t\"amount\": \"500\",\n\t\"fast\": true,\n    \"allowBorrow\": false\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.valr.com/v1/wallet/fiat/:currencyCode/withdraw","host":["https://api.valr.com"],"path":["v1","wallet","fiat",":currencyCode","withdraw"],"variable":[{"key":"currencyCode","value":"ZAR","description":"The currency code for the fiat currency. Supported: ZAR."}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Tue, 20 May 2025 10:06:06 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"409"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"e5bc0b2f-8fa2-4c3d-baa9-9548666cfedd\"\n}"},{"id":"fbe98f82-9dc1-4a1a-8e34-7b4f6458c205","name":"Allow borrow margin not enabled for account Unsuccessful","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n\t\"linkedBankAccountId\": \"d6408e34-adcb-484d-a060-795abd1b2bf2\",\n\t\"amount\": \"500\",\n\t\"fast\": true,\n    \"allowBorrow\": true\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.valr.com/v1/wallet/fiat/:currencyCode/withdraw","host":["https://api.valr.com"],"path":["v1","wallet","fiat",":currencyCode","withdraw"],"variable":[{"key":"currencyCode","value":"ZAR","description":"The currency code for the fiat currency. Supported: ZAR."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Tue, 20 May 2025 13:22:17 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"155"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": -19213,\n    \"message\": \"Margin not enabled for account available=0|amount=500|fee=25\"\n}"}],"_postman_id":"fb4db187-530b-4632-b933-7bdfd192bcf5"}],"id":"0f46df3b-fb89-4b22-b5f4-d3f3ca6f1e70","description":"<p>This section describes how to use the fiat Wallet APIs.</p>\n","event":[{"listen":"prerequest","script":{"id":"02349666-de2e-4a34-a7ef-58d399c89dd4","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"f14c9ab4-935f-4a3f-a2cb-d2c0f8e5b9a5","type":"text/javascript","exec":[""]}}],"_postman_id":"0f46df3b-fb89-4b22-b5f4-d3f3ca6f1e70"}],"id":"dd0c482d-4449-4390-b9c2-aab4d6293592","description":"<p>Access your wallets programmatically. </p>\n<p>These APIs are protected and will require authentication. See the section on <code>Authentication</code> above to learn how to authenticate your API calls.</p>\n","event":[{"listen":"prerequest","script":{"id":"7b9e0049-4a01-4eb6-ada6-8b2c054ef911","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"2a0d5450-598e-4970-8925-380bfb635d44","type":"text/javascript","exec":[""]}}],"_postman_id":"dd0c482d-4449-4390-b9c2-aab4d6293592"},{"name":"Market Data","item":[{"name":"Order Book","id":"926f9245-35d1-4bca-a114-0af07bc229f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>Your API Key</p>\n","key":"X-VALR-API-KEY","type":"text","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33"},{"description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n","key":"X-VALR-SIGNATURE","type":"text","value":"{{requestSignature}}"},{"description":"<p>The same timestamp used to generate request signature</p>\n","key":"X-VALR-TIMESTAMP","type":"text","value":"{{requestTimestamp}}"}],"url":"https://api.valr.com/v1/marketdata/:currencyPair/orderbook","description":"<p>Returns a list of the top 40 bids and asks in the order book. Ask orders are sorted by price ascending. Bid orders are sorted by price descending. Orders of the same price are aggregated.</p>\n","urlObject":{"path":["v1","marketdata",":currencyPair","orderbook"],"host":["https://api.valr.com"],"query":[],"variable":[{"description":{"content":"<p>The currency pair for which you would like to query the order book.</p>\n","type":"text/plain"},"type":"any","value":"BTCUSDC","key":"currencyPair"}]}},"response":[{"id":"13ea8e91-2f19-4915-bbae-81330d04395c","name":"Order Book","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate request signature"}],"url":{"raw":"https://api.valr.com/v1/marketdata/:currencyPair/orderbook","host":["https://api.valr.com"],"path":["v1","marketdata",":currencyPair","orderbook"],"variable":[{"key":"currencyPair","value":"BTCUSDC","description":"The currency pair for which you would like to query the order book."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"cache-control","value":"max-age=1"},{"key":"x-valr-upstream-service-time","value":"11"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Wed, 06 Aug 2025 09:44:51 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"Asks\": [\n        {\n            \"side\": \"sell\",\n            \"quantity\": \"0.998418\",\n            \"price\": \"118000\",\n            \"currencyPair\": \"BTCUSDC\",\n            \"orderCount\": 1\n        }\n    ],\n    \"Bids\": [\n        {\n            \"side\": \"buy\",\n            \"quantity\": \"0.0001\",\n            \"price\": \"117820\",\n            \"currencyPair\": \"BTCUSDC\",\n            \"orderCount\": 1\n        },\n        {\n            \"side\": \"buy\",\n            \"quantity\": \"0.0000143\",\n            \"price\": \"117819\",\n            \"currencyPair\": \"BTCUSDC\",\n            \"orderCount\": 2\n        },\n        {\n            \"side\": \"buy\",\n            \"quantity\": \"0.00002\",\n            \"price\": \"117818\",\n            \"currencyPair\": \"BTCUSDC\",\n            \"orderCount\": 2\n        },\n        {\n            \"side\": \"buy\",\n            \"quantity\": \"0.00002\",\n            \"price\": \"117817\",\n            \"currencyPair\": \"BTCUSDC\",\n            \"orderCount\": 2\n        },\n        {\n            \"side\": \"buy\",\n            \"quantity\": \"0.00002\",\n            \"price\": \"117816\",\n            \"currencyPair\": \"BTCUSDC\",\n            \"orderCount\": 2\n        },\n        {\n            \"side\": \"buy\",\n            \"quantity\": \"0.00002\",\n            \"price\": \"117815\",\n            \"currencyPair\": \"BTCUSDC\",\n            \"orderCount\": 2\n        },\n        {\n            \"side\": \"buy\",\n            \"quantity\": \"0.00003\",\n            \"price\": \"117814\",\n            \"currencyPair\": \"BTCUSDC\",\n            \"orderCount\": 3\n        },\n        {\n            \"side\": \"buy\",\n            \"quantity\": \"0.00001\",\n            \"price\": \"117813\",\n            \"currencyPair\": \"BTCUSDC\",\n            \"orderCount\": 1\n        },\n        {\n            \"side\": \"buy\",\n            \"quantity\": \"0.00001\",\n            \"price\": \"117810\",\n            \"currencyPair\": \"BTCUSDC\",\n            \"orderCount\": 1\n        },\n        {\n            \"side\": \"buy\",\n            \"quantity\": \"0.99924\",\n            \"price\": \"117700\",\n            \"currencyPair\": \"BTCUSDC\",\n            \"orderCount\": 1\n        },\n        {\n            \"side\": \"buy\",\n            \"quantity\": \"0.28698179\",\n            \"price\": \"2000\",\n            \"currencyPair\": \"BTCUSDC\",\n            \"orderCount\": 18\n        }\n    ],\n    \"LastChange\": \"2025-08-05T08:51:11.470Z\",\n    \"SequenceNumber\": 2907775\n}"}],"_postman_id":"926f9245-35d1-4bca-a114-0af07bc229f7"},{"name":"Order Book (Non aggregated)","id":"c2acf6b9-dbba-4e6a-9075-a7907360812d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>Your API Key</p>\n","key":"X-VALR-API-KEY","type":"text","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33"},{"description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n","key":"X-VALR-SIGNATURE","type":"text","value":"{{requestSignature}}"},{"description":"<p>The same timestamp used to generate request signature</p>\n","key":"X-VALR-TIMESTAMP","type":"text","value":"{{requestTimestamp}}"}],"url":"https://api.valr.com/v1/marketdata/:currencyPair/orderbook/full","description":"<p>Returns a list of all the bids and asks in the order book. Ask orders are sorted by price ascending. Bid orders are sorted by price descending. Orders of the same price are NOT aggregated. The <code>LastChange</code> field indicates the timestamp of the last update to the order book.</p>\n","urlObject":{"path":["v1","marketdata",":currencyPair","orderbook","full"],"host":["https://api.valr.com"],"query":[],"variable":[{"description":{"content":"<p>The currency pair for which you would like to query the order book.</p>\n","type":"text/plain"},"type":"any","value":"BTCUSDC","key":"currencyPair"}]}},"response":[{"id":"9df2d147-bab0-4614-9ff6-0e8d662087f6","name":"Order Book (Non aggregated)","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate request signature"}],"url":{"raw":"https://api.valr.com/v1/marketdata/:currencyPair/orderbook/full","host":["https://api.valr.com"],"path":["v1","marketdata",":currencyPair","orderbook","full"],"variable":[{"key":"currencyPair","value":"BTCUSDC","description":"The currency pair for which you would like to query the order book."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"cache-control","value":"max-age=1"},{"key":"x-valr-upstream-service-time","value":"8"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Wed, 06 Aug 2025 09:46:41 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n  \"Asks\": [\n    {\n      \"side\": \"sell\",\n      \"quantity\": \"0.998418\",\n      \"price\": \"118000\",\n      \"currencyPair\": \"BTCUSDC\",\n      \"id\": \"0198187f-528b-7856-a6e0-8349fbc5f607\",\n      \"positionAtPrice\": 1\n    }\n  ],\n  \"Bids\": [\n    {\n      \"side\": \"buy\",\n      \"quantity\": \"0.0000043\",\n      \"price\": \"117819\",\n      \"currencyPair\": \"BTCUSDC\",\n      \"id\": \"01981a20-ea17-702f-b0ab-62b4b0526be2\",\n      \"positionAtPrice\": 1\n    },\n    {\n      \"side\": \"buy\",\n      \"quantity\": \"0.00001\",\n      \"price\": \"117819\",\n      \"currencyPair\": \"BTCUSDC\",\n      \"id\": \"01981a20-ea7b-7dce-bc85-5d3c6f4fc7e6\",\n      \"positionAtPrice\": 2\n    }\n  ],\n  \"LastChange\": \"2025-08-05T08:51:11.470Z\",\n  \"SequenceNumber\": 2907775\n}"}],"_postman_id":"c2acf6b9-dbba-4e6a-9075-a7907360812d"},{"name":"Trade History","id":"8e9429c0-f43b-4483-a2be-d03cd1bbb230","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n","type":"text"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n","type":"text"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n","type":"text"}],"url":"https://api.valr.com/v1/marketdata/:currencyPair/tradehistory?skip=0&limit=10","description":"<p>Get the last 100 recent trades for a given currency pair. You can limit the number of trades returned by specifying the <code>limit</code> parameter.</p>\n","urlObject":{"path":["v1","marketdata",":currencyPair","tradehistory"],"host":["https://api.valr.com"],"query":[{"description":{"content":"<p>Skip this number of results. (Default 0)</p>\n","type":"text/plain"},"key":"skip","value":"0"},{"description":{"content":"<p>Limit the results to this number. (Default and Max 100)</p>\n","type":"text/plain"},"key":"limit","value":"10"}],"variable":[{"description":{"content":"<p>Specify the currency pair for which you want to query the trade history.</p>\n","type":"text/plain"},"type":"any","value":"BTCUSDC","key":"currencyPair"}]}},"response":[{"id":"bf3ac3ea-4071-4c57-a8b8-b351cc02226e","name":"Trade History","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/marketdata/:currencyPair/tradehistory?skip=0&limit=10","host":["https://api.valr.com"],"path":["v1","marketdata",":currencyPair","tradehistory"],"query":[{"key":"skip","value":"0","description":"Skip this number of results. (Default 0)"},{"key":"limit","value":"10","description":"Limit the results to this number. (Default and Max 100)"}],"variable":[{"key":"currencyPair","value":"BTCUSDC","description":"Specify the currency pair for which you want to query the trade history."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"cache-control","value":"max-age=1"},{"key":"x-valr-upstream-service-time","value":"4"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Wed, 06 Aug 2025 09:51:22 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"price\": \"118000\",\n        \"quantity\": \"0.00058147\",\n        \"currencyPair\": \"BTCUSDC\",\n        \"tradedAt\": \"2025-08-04T12:38:10.282Z\",\n        \"takerSide\": \"buy\",\n        \"sequenceId\": 1368928567986639370,\n        \"id\": \"01987516-e06a-756c-825d-82ada5ded56c\",\n        \"quoteVolume\": \"68.61346\"\n    },\n    {\n        \"price\": \"118000\",\n        \"quantity\": \"0.00000847\",\n        \"currencyPair\": \"BTCUSDC\",\n        \"tradedAt\": \"2025-07-31T12:04:27.246Z\",\n        \"takerSide\": \"buy\",\n        \"sequenceId\": 1368928567986639360,\n        \"id\": \"0198605e-91ee-7219-9f45-bdced9b23219\",\n        \"quoteVolume\": \"0.99946\"\n    },\n    {\n        \"price\": \"117819\",\n        \"quantity\": \"0.0000057\",\n        \"currencyPair\": \"BTCUSDC\",\n        \"tradedAt\": \"2025-07-27T09:59:35.211Z\",\n        \"takerSide\": \"sell\",\n        \"sequenceId\": 1368928567986639203,\n        \"id\": \"01984b52-d02b-7d03-95dd-5093feec1d03\",\n        \"quoteVolume\": \"0.6715683\"\n    },\n    {\n        \"price\": \"117820\",\n        \"quantity\": \"0.00000215\",\n        \"currencyPair\": \"BTCUSDC\",\n        \"tradedAt\": \"2025-07-27T09:59:35.211Z\",\n        \"takerSide\": \"sell\",\n        \"sequenceId\": 1368928567986639202,\n        \"id\": \"01984b52-d02b-7ecf-9807-0228a0764ecf\",\n        \"quoteVolume\": \"0.253313\"\n    },\n    {\n        \"price\": \"118000\",\n        \"quantity\": \"0.00001694\",\n        \"currencyPair\": \"BTCUSDC\",\n        \"tradedAt\": \"2025-07-25T10:17:16.560Z\",\n        \"takerSide\": \"buy\",\n        \"sequenceId\": 1368928567986639191,\n        \"id\": \"01984116-4a10-7f42-81d8-593826d8cf42\",\n        \"quoteVolume\": \"1.99892\"\n    },\n    {\n        \"price\": \"118000\",\n        \"quantity\": \"0.00000847\",\n        \"currencyPair\": \"BTCUSDC\",\n        \"tradedAt\": \"2025-07-25T10:16:16.471Z\",\n        \"takerSide\": \"buy\",\n        \"sequenceId\": 1368928567986639190,\n        \"id\": \"01984115-5f57-7c72-9b1c-2a2defedbc72\",\n        \"quoteVolume\": \"0.99946\"\n    },\n    {\n        \"price\": \"118000\",\n        \"quantity\": \"0.00000847\",\n        \"currencyPair\": \"BTCUSDC\",\n        \"tradedAt\": \"2025-07-25T10:11:16.374Z\",\n        \"takerSide\": \"buy\",\n        \"sequenceId\": 1368928567986639189,\n        \"id\": \"01984110-cb16-75a7-ab11-2dcf939315a7\",\n        \"quoteVolume\": \"0.99946\"\n    },\n    {\n        \"price\": \"118000\",\n        \"quantity\": \"0.00000847\",\n        \"currencyPair\": \"BTCUSDC\",\n        \"tradedAt\": \"2025-07-25T10:06:16.819Z\",\n        \"takerSide\": \"buy\",\n        \"sequenceId\": 1368928567986639188,\n        \"id\": \"0198410c-38f3-76e9-8571-6baa82bab6e9\",\n        \"quoteVolume\": \"0.99946\"\n    },\n    {\n        \"price\": \"117820\",\n        \"quantity\": \"0.00000785\",\n        \"currencyPair\": \"BTCUSDC\",\n        \"tradedAt\": \"2025-07-25T09:59:16.743Z\",\n        \"takerSide\": \"sell\",\n        \"sequenceId\": 1368928567986639187,\n        \"id\": \"01984105-d007-7bc1-a5ad-86466dbc0bc1\",\n        \"quoteVolume\": \"0.924887\"\n    },\n    {\n        \"price\": \"118000\",\n        \"quantity\": \"0.00000847\",\n        \"currencyPair\": \"BTCUSDC\",\n        \"tradedAt\": \"2025-07-24T11:37:11.776Z\",\n        \"takerSide\": \"buy\",\n        \"sequenceId\": 1368928567986639156,\n        \"id\": \"01983c39-1960-7b37-a507-68e8327b6b37\",\n        \"quoteVolume\": \"0.99946\"\n    }\n]"}],"_postman_id":"8e9429c0-f43b-4483-a2be-d03cd1bbb230"},{"name":"Trade History (With Filters)","id":"3063f94e-bc91-4ae5-a956-aebc2b0bee37","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","type":"text","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","type":"text","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","type":"text","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"url":"https://api.valr.com/v1/marketdata/:currencyPair/tradehistory?startTime=2020-11-30T08:51:21.604113Z&endTime=2020-11-30T08:55:29.339000Z","description":"<p>Get the trade history for a given currency pair.\nThe results of this request may be filtered by datetime. The <code>skip</code> and <code>limit</code> parameters may be applied to paginate the filtered results.</p>\n<h2 id=\"filtering-by-starttime-or-endtime\">Filtering by <code>startTime</code> or <code>endTime</code></h2>\n<p>The <code>startTime</code> or <code>endTime</code> parameters may be used to filter the returned items by the trade date. The parameters will be interpreted as being in the UTC time zone and must be supplied in the ISO 8601 format (<code>2020-02-29T22:00:00.000Z</code>). These two parameters may be used together or separately. When <code>startTime</code> is used, trades that have occurred since <code>startTime</code> are returned. When <code>endTime</code> is used, trades that have occurred up to and including <code>endTime</code> are returned.</p>\n<p><strong>NOTE</strong>\nThe <code>startTime</code> and <code>endTime</code> parameters are optional filters. However, omitting these parameters may result in slower response times. To mitigate this, a default time window such as the most recent 30 days may be automatically applied to the request.</p>\n","urlObject":{"path":["v1","marketdata",":currencyPair","tradehistory"],"host":["https://api.valr.com"],"query":[{"disabled":true,"description":{"content":"<p>Skip this number of results. (Default 0)</p>\n","type":"text/plain"},"key":"skip","value":"0"},{"disabled":true,"description":{"content":"<p>Limit the results to this number. (Default and Max 100)</p>\n","type":"text/plain"},"key":"limit","value":"10"},{"description":{"content":"<p>Include only trades after this ISO 8601 start time.</p>\n","type":"text/plain"},"key":"startTime","value":"2020-11-30T08:51:21.604113Z"},{"description":{"content":"<p>Include only transactions before this ISO 8601 end time.</p>\n","type":"text/plain"},"key":"endTime","value":"2020-11-30T08:55:29.339000Z"}],"variable":[{"description":{"content":"<p>Specify the currency pair for which you want to query the trade history.</p>\n","type":"text/plain"},"type":"any","value":"BTCUSDC","key":"currencyPair"}]}},"response":[{"id":"662707d0-f8e8-46f4-a802-ada219a8b686","name":"Trade History (With Filters)","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/marketdata/:currencyPair/tradehistory?startTime=2025-07-01T08:51:21.604113Z&endTime=2025-07-01T10:55:29.339000Z","host":["https://api.valr.com"],"path":["v1","marketdata",":currencyPair","tradehistory"],"query":[{"key":"skip","value":"0","description":"Skip this number of results. (Default 0)","disabled":true},{"key":"limit","value":"10","description":"Limit the results to this number. (Default and Max 100)","disabled":true},{"key":"startTime","value":"2025-07-01T08:51:21.604113Z","description":"Include only trades after this ISO 8601 start time."},{"key":"endTime","value":"2025-07-01T10:55:29.339000Z","description":"Include only transactions before this ISO 8601 end time."}],"variable":[{"key":"currencyPair","value":"BTCUSDC","description":"Specify the currency pair for which you want to query the trade history."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"cache-control","value":"max-age=1"},{"key":"x-valr-upstream-service-time","value":"7"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Wed, 06 Aug 2025 09:55:43 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"price\": \"104465\",\n        \"quantity\": \"0.1\",\n        \"currencyPair\": \"BTCUSDC\",\n        \"tradedAt\": \"2025-07-01T09:53:00.345Z\",\n        \"takerSide\": \"buy\",\n        \"sequenceId\": 1368928567986637010,\n        \"id\": \"0197c567-71b9-7ef8-970a-7fc6d5f5bef8\",\n        \"quoteVolume\": \"10446.5\"\n    }\n]"}],"_postman_id":"3063f94e-bc91-4ae5-a956-aebc2b0bee37"},{"name":"Trade History (Paginated by ID)","id":"88a15718-5f1c-4cb5-86dc-300c70d60edb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","type":"text","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","type":"text","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","type":"text","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"url":"https://api.valr.com/v1/marketdata/:currencyPair/tradehistory?limit=5&beforeId=35f07b86-d788-43e2-96f0-9e5a7b9b56d0","description":"<p>Get the trade history for a given currency pair.\nTrade history may be paginated by supplying a trade ID in the <code>beforeId</code> parameter. Only trades which occurred before the given ID will be included in the result. This allows backwards traversal of trade history by increments of <code>limit</code>.</p>\n<p>To apply this method of pagination, use the last trade ID from the previous result set as the <code>beforeId</code> parameter of the next request.</p>\n<p><code>limit</code> and other filters can be applied with <code>beforeId</code>.</p>\n","urlObject":{"path":["v1","marketdata",":currencyPair","tradehistory"],"host":["https://api.valr.com"],"query":[{"description":{"content":"<p>Limit the results to this number. (Default and Max 100)</p>\n","type":"text/plain"},"key":"limit","value":"5"},{"description":{"content":"<p>Only include trades before this ID.</p>\n","type":"text/plain"},"key":"beforeId","value":"35f07b86-d788-43e2-96f0-9e5a7b9b56d0"}],"variable":[{"description":{"content":"<p>Specify the currency pair for which you want to query the trade history.</p>\n","type":"text/plain"},"type":"any","value":"BTCUSDC","key":"currencyPair"}]}},"response":[{"id":"5953ad04-128b-4add-b1c2-59120b44bd47","name":"Trade History (Paginated by ID)","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/marketdata/:currencyPair/tradehistory?limit=5&beforeId=0198410c-38f3-76e9-8571-6baa82bab6e9","host":["https://api.valr.com"],"path":["v1","marketdata",":currencyPair","tradehistory"],"query":[{"key":"limit","value":"5","description":"Limit the results to this number. (Default and Max 100)"},{"key":"beforeId","value":"0198410c-38f3-76e9-8571-6baa82bab6e9","description":"Only include trades before this ID."}],"variable":[{"key":"currencyPair","value":"BTCUSDC","description":"Specify the currency pair for which you want to query the trade history."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"cache-control","value":"max-age=1"},{"key":"x-valr-upstream-service-time","value":"23"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Wed, 06 Aug 2025 09:58:05 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"price\": \"117820\",\n        \"quantity\": \"0.00000785\",\n        \"currencyPair\": \"BTCUSDC\",\n        \"tradedAt\": \"2025-07-25T09:59:16.743Z\",\n        \"takerSide\": \"sell\",\n        \"sequenceId\": 1368928567986639187,\n        \"id\": \"01984105-d007-7bc1-a5ad-86466dbc0bc1\",\n        \"quoteVolume\": \"0.924887\"\n    },\n    {\n        \"price\": \"118000\",\n        \"quantity\": \"0.00000847\",\n        \"currencyPair\": \"BTCUSDC\",\n        \"tradedAt\": \"2025-07-24T11:37:11.776Z\",\n        \"takerSide\": \"buy\",\n        \"sequenceId\": 1368928567986639156,\n        \"id\": \"01983c39-1960-7b37-a507-68e8327b6b37\",\n        \"quoteVolume\": \"0.99946\"\n    },\n    {\n        \"price\": \"118000\",\n        \"quantity\": \"0.00000847\",\n        \"currencyPair\": \"BTCUSDC\",\n        \"tradedAt\": \"2025-07-24T11:35:45.163Z\",\n        \"takerSide\": \"buy\",\n        \"sequenceId\": 1368928567986639155,\n        \"id\": \"01983c37-c70b-7b03-a2a3-617206487b03\",\n        \"quoteVolume\": \"0.99946\"\n    },\n    {\n        \"price\": \"118000\",\n        \"quantity\": \"0.00003194\",\n        \"currencyPair\": \"BTCUSDC\",\n        \"tradedAt\": \"2025-07-23T13:41:22.681Z\",\n        \"takerSide\": \"buy\",\n        \"sequenceId\": 1368928567986639130,\n        \"id\": \"01983784-6e79-7ed7-acbf-4a78fcb97ed7\",\n        \"quoteVolume\": \"3.76892\"\n    },\n    {\n        \"price\": \"118000\",\n        \"quantity\": \"0.00000847\",\n        \"currencyPair\": \"BTCUSDC\",\n        \"tradedAt\": \"2025-07-23T10:57:41.446Z\",\n        \"takerSide\": \"buy\",\n        \"sequenceId\": 1368928567986639126,\n        \"id\": \"019836ee-9246-7166-a3fa-108a05032166\",\n        \"quoteVolume\": \"0.99946\"\n    }\n]"}],"_postman_id":"88a15718-5f1c-4cb5-86dc-300c70d60edb"}],"id":"bf6f17de-8513-4b5b-9802-c3a5c92f8839","description":"<p>These API calls can be used to receive the market data. </p>\n<p>These APIs are protected and will require authentication. See the section on <code>Authentication</code> above to learn how to authenticate your API calls.</p>\n","event":[{"listen":"prerequest","script":{"id":"2430fde0-b94c-4975-ac4f-541fc3a2917a","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"ea2ca6b8-5c79-4090-9d39-a10ea369b1c5","type":"text/javascript","exec":[""]}}],"_postman_id":"bf6f17de-8513-4b5b-9802-c3a5c92f8839"},{"name":"Simple Buy/Sell","item":[{"name":"Simple Buy/Sell Quote","id":"8c1df98d-5878-44f0-9090-2211f793fd6f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"description":"<p>Your API Key</p>\n","key":"X-VALR-API-KEY","type":"text","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33"},{"description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n","key":"X-VALR-SIGNATURE","type":"text","value":"{{requestSignature}}"},{"description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n","key":"X-VALR-TIMESTAMP","type":"text","value":"{{requestTimestamp}}"}],"body":{"mode":"raw","raw":"{\n    \"payInCurrency\": \"BTC\",\n    \"payAmount\": \"0.001\",\n    \"side\": \"SELL\"\n}"},"url":"https://api.valr.com/v1/simple/:currencyPair/quote","description":"<p>Get a quote to buy or sell instantly using Simple Buy.</p>\n<p>A sample request body is as follows:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-JavaScript\">{\n    \"payInCurrency\": \"BTC\",\n    \"payAmount\": \"0.001\",\n    \"side\": \"SELL\"\n}\n\n</code></pre>\n<p>Example usage of <code>payInCurrency</code> and <code>side</code> for the <code>BTCUSDC</code> currency pair:</p>\n<ul>\n<li><p>If you want to sell <code>BTC</code> for <code>USDC</code>, <code>payInCurrency</code> will be <code>BTC</code> and the side would be <code>SELL</code></p>\n</li>\n<li><p>If you want to buy <code>BTC</code> with <code>USDC</code>, <code>payInCurrency</code> will be <code>USDC</code> and the side would be <code>BUY</code></p>\n</li>\n</ul>\n<p>Example usage of <code>payInCurrency</code> and <code>side</code> for the <code>ETHBTC</code> currency pair:</p>\n<ul>\n<li><p>If you want to sell <code>ETH</code> for <code>BTC</code>, <code>payInCurrency</code> will be <code>ETH</code> and the side would be <code>SELL</code></p>\n</li>\n<li><p>If you want to buy <code>ETH</code> with <code>BTC</code>, <code>payInCurrency</code> will be <code>BTC</code> and the side would be <code>BUY</code></p>\n</li>\n</ul>\n","urlObject":{"path":["v1","simple",":currencyPair","quote"],"host":["https://api.valr.com"],"query":[],"variable":[{"description":{"content":"<p>The currency pair to get a simple quote for. Any currency pair that supports the \"simple\" order type, can be specified.</p>\n","type":"text/plain"},"type":"any","value":"BTCUSDC","key":"currencyPair"}]}},"response":[{"id":"c98e0bb4-f049-46fc-a6c5-9a74560bbd4e","name":"Unable to fulfill","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    \"payInCurrency\": \"BTC\",\n    \"payAmount\": \"1\",\n    \"side\": \"SELL\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.valr.com/v1/simple/:currencyPair/quote","host":["https://api.valr.com"],"path":["v1","simple",":currencyPair","quote"],"variable":[{"key":"currencyPair","value":"BTCUSDC","description":"The currency pair to get a simple quote for. Any currency pair that supports the \"simple\" order type, can be specified."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"5"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Fri, 08 Aug 2025 08:27:31 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": -39,\n    \"message\": \"Please decrease your amount.  The maximum is 0.78546762 BTC\"\n}"},{"id":"f7ecf635-35d4-4446-aba4-308037c07c06","name":"Simple Buy/Sell Quote","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    \"payInCurrency\": \"BTC\",\n    \"payAmount\": \"0.78546761\",\n    \"side\": \"SELL\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.valr.com/v1/simple/:currencyPair/quote","host":["https://api.valr.com"],"path":["v1","simple",":currencyPair","quote"],"variable":[{"key":"currencyPair","value":"BTCUSDC","description":"The currency pair to get a simple quote for. Any currency pair that supports the \"simple\" order type, can be specified."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"21"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Fri, 08 Aug 2025 08:23:39 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"currencyPair\": \"BTCUSDC\",\n    \"payAmount\": \"0.78546761\",\n    \"receiveAmount\": \"90970.3614988\",\n    \"fee\": \"1479.19286989\",\n    \"feeCurrency\": \"USDC\",\n    \"createdAt\": \"2025-08-08T08:23:39.782984109\",\n    \"id\": \"019888c7-4e07-7bbc-9319-f925f931828f\",\n    \"ordersToMatch\": [\n        {\n            \"price\": \"117819\",\n            \"quantity\": \"0.0000043\"\n        },\n        {\n            \"price\": \"117819\",\n            \"quantity\": \"0.00001\"\n        },\n        {\n            \"price\": \"117818\",\n            \"quantity\": \"0.00001\"\n        },\n        {\n            \"price\": \"117818\",\n            \"quantity\": \"0.00001\"\n        },\n        {\n            \"price\": \"117817\",\n            \"quantity\": \"0.00001\"\n        },\n        {\n            \"price\": \"117817\",\n            \"quantity\": \"0.00001\"\n        },\n        {\n            \"price\": \"117816\",\n            \"quantity\": \"0.00001\"\n        },\n        {\n            \"price\": \"117816\",\n            \"quantity\": \"0.00001\"\n        },\n        {\n            \"price\": \"117815\",\n            \"quantity\": \"0.00001\"\n        },\n        {\n            \"price\": \"117815\",\n            \"quantity\": \"0.00001\"\n        },\n        {\n            \"price\": \"117814\",\n            \"quantity\": \"0.00001\"\n        },\n        {\n            \"price\": \"117814\",\n            \"quantity\": \"0.00001\"\n        },\n        {\n            \"price\": \"117814\",\n            \"quantity\": \"0.00001\"\n        },\n        {\n            \"price\": \"117813\",\n            \"quantity\": \"0.00001\"\n        },\n        {\n            \"price\": \"117810\",\n            \"quantity\": \"0.00001\"\n        },\n        {\n            \"price\": \"117700\",\n            \"quantity\": \"0.78532331\"\n        }\n    ]\n}"}],"_postman_id":"8c1df98d-5878-44f0-9090-2211f793fd6f"},{"name":"Simple Buy/Sell Order","id":"b064c7f3-d789-47ea-a427-e86a8039fdda","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n","type":"text"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n","type":"text"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"payInCurrency\": \"DAI\",\n    \"payAmount\": \"1.98603\",\n    \"side\": \"SELL\"\n}"},"url":"https://api.valr.com/v1/simple/:currencyPair/order","description":"<p>Submit an order to buy or sell instantly using Simple Buy/Sell.</p>\n<p>A sample request body is as follows:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-JavaScript\">{\n    \"payInCurrency\": \"BTC\",\n    \"payAmount\": \"0.001\",\n    \"side\": \"SELL\"\n}\n\n</code></pre>\n<p>Example usage of <code>payInCurrency</code> and <code>side</code> for the <code>BTCUSDC</code> currency pair:</p>\n<ul>\n<li><p>If you want to sell <code>BTC</code> for <code>USDC</code>, <code>payInCurrency</code> will be <code>BTC</code> and the side would be <code>SELL</code></p>\n</li>\n<li><p>If you want to buy <code>BTC</code> with <code>USDC</code>, <code>payInCurrency</code> will be <code>USDC</code> and the side would be <code>BUY</code></p>\n</li>\n</ul>\n<p>Example usage of <code>payInCurrency</code> and <code>side</code> for the <code>ETHBTC</code> currency pair:</p>\n<ul>\n<li>If you want to sell ETH for BTC, <code>payInCurrency</code> will be <code>ETH</code> and the side would be <code>SELL</code></li>\n<li>If you want to buy ETH with BTC, <code>payInCurrency</code> will be <code>BTC</code> and the side would be <code>BUY</code></li>\n</ul>\n","urlObject":{"path":["v1","simple",":currencyPair","order"],"host":["https://api.valr.com"],"query":[],"variable":[{"description":{"content":"<p>The currency pair to place a simple order for.  Any currency pair that supports the \"simple\" order type, can be specified.</p>\n","type":"text/plain"},"type":"any","value":"BTCUSDC","key":"currencyPair"}]}},"response":[{"id":"b63bf742-3ddb-4021-b74a-9cbc0706d7a0","name":"Currency Pair does not support order type","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    \"payInCurrency\": \"USDT\",\n    \"payAmount\": \"10\",\n    \"side\": \"BUY\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.valr.com/v1/simple/:currencyPair/order","host":["https://api.valr.com"],"path":["v1","simple",":currencyPair","order"],"variable":[{"key":"currencyPair","value":"AVAXUSDTPERP","description":"The currency pair to place a simple order for.  Any currency pair that supports the \"simple\" order type, can be specified."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"13"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Wed, 16 Jul 2025 13:37:44 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": -12005,\n    \"message\": \"Selected order type is not allowed for the currency pair.\"\n}"},{"id":"d684c2a1-8613-4bc3-91c4-8ea98aff9550","name":"Pair is not active","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    \"payInCurrency\": \"BTC\",\n    \"payAmount\": \"0.0001\",\n    \"side\": \"BUY\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.valr.com/v1/simple/:currencyPair/order","host":["https://api.valr.com"],"path":["v1","simple",":currencyPair","order"],"variable":[{"key":"currencyPair","value":"ADABTC","description":"The currency pair to place a simple order for.  Any currency pair that supports the \"simple\" order type, can be specified."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"4"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Fri, 08 Aug 2025 08:43:07 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": -32,\n    \"message\": \"The given currency pair is not active\"\n}"},{"id":"649c2fd5-99f3-4844-bae0-6b8b959f556a","name":"Amount too low","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    \"payInCurrency\": \"BTC\",\n    \"payAmount\": \"0.0001\",\n    \"side\": \"SELL\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.valr.com/v1/simple/:currencyPair/order","host":["https://api.valr.com"],"path":["v1","simple",":currencyPair","order"],"variable":[{"key":"currencyPair","value":"ADABTC","description":"The currency pair to place a simple order for.  Any currency pair that supports the \"simple\" order type, can be specified."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"4"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Fri, 08 Aug 2025 08:43:07 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": -38,\n    \"message\": \"Please increase your amount. The minimum is 0.0008 BTC\"\n}"},{"id":"db255c42-f61b-4676-b492-0e4bf0edd132","name":"Simple Buy Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate request signature"}],"body":{"mode":"raw","raw":"{\n    \"payInCurrency\": \"BTC\",\n    \"payAmount\": \"0.0008\",\n    \"side\": \"BUY\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.valr.com/v1/simple/:currencyPair/order","protocol":"https","host":["api","valr","com"],"path":["v1","simple",":currencyPair","order"],"variable":[{"key":"currencyPair","value":"ADABTC","description":"The currency pair to place a simple order for.  Any currency pair that supports the \"simple\" order type, can be specified."}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 20 Apr 2019 13:57:54 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"Deny"},{"key":"Content-Security-Policy","value":"default-src 'none'"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"clear"},{"key":"Strict-Transport-Security","value":"max-age=0; includeSubDomains; preload"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"4ca7a1475a79ac30-JNB"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"9fed72b4-5d59-4bd7-b4fc-26cf43d27c94\"\n}"}],"_postman_id":"b064c7f3-d789-47ea-a427-e86a8039fdda"},{"name":"Simple Buy/Sell Order Status","id":"c001557e-0356-4b5f-92cf-64d3b2fe98ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n","type":"text"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n","type":"text"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n","type":"text"}],"url":"https://api.valr.com/v1/simple/:currencyPair/order/:orderId","description":"<p>Get the status of a Simple Buy/Sell order.</p>\n","urlObject":{"path":["v1","simple",":currencyPair","order",":orderId"],"host":["https://api.valr.com"],"query":[],"variable":[{"description":{"content":"<p>(Optional) The currency pair to place a simple order for.  Any currency pair that supports the \"simple\" order type, can be specified.</p>\n","type":"text/plain"},"type":"any","value":"ADABTC","key":"currencyPair"},{"description":{"content":"<p>Order Id of the order for which you are querying the status.</p>\n","type":"text/plain"},"type":"any","value":"9fed72b4-5d59-4bd7-b4fc-26cf43d27c94","key":"orderId"}]}},"response":[{"id":"557820bf-79a7-4410-a21d-832e95c9649d","name":"Simple Buy Order Status","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate request signature"}],"url":{"raw":"https://api.valr.com/v1/simple/:currencyPair/order/:orderId","protocol":"https","host":["api","valr","com"],"path":["v1","simple",":currencyPair","order",":orderId"],"variable":[{"key":"currencyPair","value":"ADABTC","description":"(Optional) The currency pair to place a simple order for.  Any currency pair that supports the \"simple\" order type, can be specified."},{"key":"orderId","value":"9fed72b4-5d59-4bd7-b4fc-26cf43d27c94","description":"Order Id of the order for which you are querying the status."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 20 Apr 2019 14:00:46 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"Deny"},{"key":"Content-Security-Policy","value":"default-src 'none'"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"clear"},{"key":"Strict-Transport-Security","value":"max-age=0; includeSubDomains; preload"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"4ca7a576991cac30-JNB"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"orderId\": \"9fed72b4-5d59-4bd7-b4fc-26cf43d27c94\",\n    \"success\": true,\n    \"processing\": false,\n    \"paidAmount\": \"0.0008\",\n    \"paidCurrency\": \"BTC\",\n    \"receivedAmount\": \"54.49553877\",\n    \"receivedCurrency\": \"ADA\",\n    \"feeAmount\": \"0.000006\",\n    \"feeCurrency\": \"BTC\",\n    \"orderExecutedAt\": \"2019-04-20T13:57:56.618\"\n}"}],"_postman_id":"c001557e-0356-4b5f-92cf-64d3b2fe98ed"}],"id":"e5f1a41c-e5a0-4560-9726-8b736752f6be","description":"<p>Make use of our Simple Buy/Sell API to instantly buy and sell currencies. </p>\n<p>These APIs are protected and will require authentication. See the section on <code>Authentication</code> above to learn how to authenticate your API calls.</p>\n","event":[{"listen":"prerequest","script":{"id":"a2f6f625-b19e-4ec1-b5e4-3f5fa9179477","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"e9bd4849-ec96-40e3-9bdf-a2e37199e44b","type":"text/javascript","exec":[""]}}],"_postman_id":"e5f1a41c-e5a0-4560-9726-8b736752f6be"},{"name":"Pay","item":[{"name":"New Payment","id":"3b9fbd53-cf42-419d-9fd2-971c14b189b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"description":"<p>Your API Key</p>\n","key":"X-VALR-API-KEY","type":"text","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33"},{"description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n","key":"X-VALR-SIGNATURE","type":"text","value":"{{requestSignature}}"},{"description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n","key":"X-VALR-TIMESTAMP","type":"text","value":"{{requestTimestamp}}"}],"body":{"mode":"raw","raw":"{\n    \"currency\": \"USDC\",\n    \"amount\": 12.00,\n    \"recipientEmail\": \"test@gmail.com\",\n    //\"recipientCellNumber\": \"+27777710022\", \n    //\"recipientPayId\": \"3JXAB98VTWAAE6CMF3DX\",\n    \"recipientNote\": \"Great Service\",\n    \"senderNote\": \"Paid in full\",\n    \"anonymous\": \"false\"\n}"},"url":"https://api.valr.com/v1/pay","description":"<p>Initiate an instant payment using VALR Pay by specifying the recipient email, recipient cellphone number or their account payment reference (VALR PayID)</p>\n<p>A sample request body is as follows:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-JavaScript\">{\n    \"amount\": 15.00,\n    \"recipientEmail\": \"test@gmail.com\",\n     //\"recipientCellNumber\": \"+27724761002\", \n   // \"recipientPayId\": \"AUCSAB4GC5DZJJ7UJ345\",\n    \"currency\": \"ZAR\",\n    \"recipientNote\": \"Thanks for a great service\",\n    \"senderNote\": \"Tip\",\n    \"anonymous\": \"false\"\n}\n\n</code></pre>\n<ul>\n<li>To initiate a payment, your balance in the payment currency should be equal to, or greater than the minimum <code>Payment limit</code>.</li>\n<li>Successful requests return <code>202 - Accepted</code> with an <code>identifier</code> and <code>transactionId</code> in the body.</li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>currency (required)</td>\n<td>The currency in which payment is made.</td>\n</tr>\n<tr>\n<td>amount (required)</td>\n<td>Value of the <code>currency</code> to be paid</td>\n</tr>\n<tr>\n<td>recipientEmail  <br />  <br />OR  <br />recipientCellNumber  <br />  <br />OR  <br />recipientPayId  <br />  <br />  <br /><em>Only one of these recipient identifiers is required at a time. Use more than one and it will fail as expected.</em></td>\n<td>Recipient email address  <br />  <br />  <br />Recipient cell number  <br />  <br />  <br />Recipient's paymentID / payment reference</td>\n</tr>\n<tr>\n<td>recipientNote (optional)</td>\n<td>A note to the recipient</td>\n</tr>\n<tr>\n<td>senderNote (optional)</td>\n<td>A note for the sender</td>\n</tr>\n<tr>\n<td>anonymous (optional)</td>\n<td>Can be <code>true</code> or <code>false</code>. Default is <code>false</code> i.e. payment is not anonymous.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","pay"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"3b92b94b-1bd4-4b21-8be4-1c1449b64c96","name":"Accepted - Recipient Email","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."},{"key":"","value":"","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"amount\": 15.00,\n    \"recipientEmail\": \"test@gmail.com\",\n     //\"recipientCellNumber\": \"+3472476102\", \n   // \"recipientPayId\": \"AUCSAB4GC5DZJJ7UJ345\",\n    \"currency\": \"USDC\",\n    \"recipientNote\": \"Thanks for a great service\",\n    \"senderNote\": \"Tip\",\n    \"anonymous\": \"false\"\n}"},"url":"https://api.valr.com/v1/pay"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Thu, 09 Dec 2021 12:57:48 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"390"},{"key":"server","value":"envoy"},{"key":"transfer-encoding","value":"chunked"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"clear"}],"cookie":[],"responseTime":null,"body":"{\n    \"identifier\": \"d2e16dc6-0c83-4f70-a30e-ef958a2b1d5d\",\n    \"transactionId\": \"918486592856862720\"\n}"},{"id":"a198ae71-d884-481f-9e85-fcd40ce53bfd","name":"Accepted - Anonynous","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    \"amount\": 5.00,\n    //\"recipientEmail\": \"test@gmail.com\",\n    \"recipientCellNumber\": \"+3477710022\", \n   // \"recipientPayId\": \"AUCSAB4GC5DZJJ7UJ345\",\n    \"currency\": \"USDC\",\n    \"recipientNote\": \"Gift\",\n    //\"senderNote\": \"\",\n    \"anonymous\": \"true\"\n}"},"url":"https://api.valr.com/v1/pay"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Thu, 09 Dec 2021 15:01:13 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"115"},{"key":"server","value":"envoy"},{"key":"transfer-encoding","value":"chunked"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"clear"}],"cookie":[],"responseTime":null,"body":"{\n    \"identifier\": \"f7c7f143-dda0-4c21-a5dd-56e1cb78a54d\",\n    \"transactionId\": \"918517653670285312\"\n}"},{"id":"6e468967-42a2-4eb4-85b6-c71df109170e","name":"Accepted - PayID","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    \"amount\": 128.00,\n    //\"recipientEmail\": \"test@gmail.com\",\n    //\"recipientCellNumber\": \"+3477771022\", \n    \"recipientPayId\": \"3JXAB98VTWAAE6CMF3DX\",\n    \"currency\": \"USDC\",\n    \"recipientNote\": \"Great Service\",\n    \"senderNote\": \"Paid in full\",\n    \"anonymous\": \"false\"\n}"},"url":"https://api.valr.com/v1/pay"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Thu, 09 Dec 2021 15:08:51 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"174"},{"key":"server","value":"envoy"},{"key":"transfer-encoding","value":"chunked"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"clear"}],"cookie":[],"responseTime":null,"body":"{\n    \"identifier\": \"31bcd6e0-c35f-4257-b0ed-f66d6705ba0f\",\n    \"transactionId\": \"918519571587092480\"\n}"},{"id":"b8d371a2-abc1-4f10-9b28-f30b56f6547c","name":"Failed -  Too Many Recipient IDs","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    \"amount\": 2500.00,\n    //\"recipientEmail\": \"test@gmail.com\",\n    \"recipientCellNumber\": \"+3477710022\", \n    \"recipientPayId\": \"AUCSAB4GC5DZJJ7UJ345\",\n    \"currency\": \"USDC\",\n    \"recipientNote\": \"Gift\",\n    //\"senderNote\": \"\",\n    \"anonymous\": \"true\"\n}"},"url":"https://api.valr.com/v1/pay"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Thu, 09 Dec 2021 15:02:50 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"2"},{"key":"server","value":"envoy"},{"key":"transfer-encoding","value":"chunked"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"clear"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": -15417,\n    \"message\": \"Payment has too many recipient identifiers\"\n}"}],"_postman_id":"3b9fbd53-cf42-419d-9fd2-971c14b189b2"},{"name":"Reverse Payment","id":"7dbe78a0-4cc1-4b9d-ab16-809e483d83f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"url":"https://api.valr.com/v1/pay/transactionid/:transactionId/reverse","description":"<p>Reverse an instant payment using VALR Pay by specifying the payment transaction id. An anonymous payment will be made back to the original sender's VALR Pay ID with the exact amount and identical currency.</p>\n<p>Only a recipient of a payment can perform the reversal.</p>\n<ul>\n<li>Successful requests return <code>202 - Accepted</code> with an <code>identifier</code> and <code>transactionId</code> in the body.</li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>transactionId (required)</td>\n<td>The transaction id of the payment that is to be reversed</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","pay","transactionid",":transactionId","reverse"],"host":["https://api.valr.com"],"query":[],"variable":[{"id":"7d169811-b515-40fa-80db-24a17a3d72ce","type":"any","value":"1115687462052442112","key":"transactionId"}]}},"response":[{"id":"81217bdc-ebf5-44de-a69a-bcdf31abb217","name":"Accepted","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."},{"key":"","value":"","disabled":true}],"url":{"raw":"https://api.valr.com/v1/pay/transactionid/:transactionId/reverse","host":["https://api.valr.com"],"path":["v1","pay","transactionid",":transactionId","reverse"],"variable":[{"key":"transactionId","value":"1123604015368015872"}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Thu, 09 Dec 2021 12:57:48 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"390"},{"key":"server","value":"envoy"},{"key":"transfer-encoding","value":"chunked"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"clear"}],"cookie":[],"responseTime":null,"body":"{\n    \"identifier\": \"d2e16dc6-0c83-4f70-a30e-ef958a2b1d5d\",\n    \"transactionId\": \"918486592856862720\"\n}"}],"_postman_id":"7dbe78a0-4cc1-4b9d-ab16-809e483d83f7"},{"name":"Partially Reverse Payment","id":"f0525735-2f85-4122-853e-8bb00704bf20","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"amountToReverse\": \"1.00\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/pay/transactionid/:transactionId/partial-reverse","description":"<p>Partially reverse an instant payment using VALR Pay by specifying the payment transaction id. An anonymous payment will be made back to the original sender's VALR Pay ID with the exact amount and identical currency.</p>\n<p>Only a recipient of a payment can perform the partial reversal.</p>\n<ul>\n<li>Successful requests return <code>202 - Accepted</code> with an <code>identifier</code> and <code>transactionId</code> in the body.</li>\n</ul>\n<p>A sample request body is as follows:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"amountToReverse\": \"1.00\"\n}\n\n</code></pre>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>transactionId (required)</td>\n<td>The transaction id of the payment that is to be reversed</td>\n</tr>\n<tr>\n<td>amountToReverse (required)</td>\n<td>The specific amount to be reversed. Must be greater than zero and can have up to 8 decimal places</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","pay","transactionid",":transactionId","partial-reverse"],"host":["https://api.valr.com"],"query":[],"variable":[{"id":"0e051ce0-b45e-4da8-a657-955a4bdc87b7","type":"any","value":"1360140976553283584","key":"transactionId"}]}},"response":[{"id":"35325d2f-460f-4ed0-af4e-496688cd59ac","name":"Accepted","originalRequest":{"method":"GET","header":[],"url":""},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"f0525735-2f85-4122-853e-8bb00704bf20"},{"name":"Payment Limits","id":"a6fbee20-b283-4693-91f1-7a35e81deee8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n","type":"text"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n","type":"text"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n","type":"text"}],"url":"https://api.valr.com/v1/pay/limits?currency=BTC","description":"<p>Retrieves all the payment limits applicable to your account. This will include minimum payment amount, maximum payment amount, payment currency and limit type (currently per transaction)</p>\n","urlObject":{"path":["v1","pay","limits"],"host":["https://api.valr.com"],"query":[{"description":{"content":"<p>The currency shortname in which the limits should be denominated</p>\n","type":"text/plain"},"key":"currency","value":"BTC"}],"variable":[]}},"response":[{"id":"5481c4e8-eb0c-4629-bbc0-6cdb87ad8610","name":"Payment Limits","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key","type":"text"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature.","type":"text"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds.","type":"text"}],"url":"https://api.valr.com/v1/pay/limits"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Thu, 09 Dec 2021 13:00:35 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"10"},{"key":"server","value":"envoy"},{"key":"transfer-encoding","value":"chunked"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"clear"}],"cookie":[],"responseTime":null,"body":"{\n    \"maxPaymentAmount\": 50000.00,\n    \"minPaymentAmount\": 5.0,\n    \"paymentCurrency\": \"ZAR\",\n    \"limitType\": \"per transaction\"\n}"}],"_postman_id":"a6fbee20-b283-4693-91f1-7a35e81deee8"},{"name":"Pay ID","id":"16783a18-d56c-48c3-a491-1db883df43b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n","type":"text"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n","type":"text"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n","type":"text"}],"url":"https://api.valr.com/v1/pay/payid","description":"<p>Get your account's unique <code>VALR PayID.</code></p>\n<p>Payments made with this reference will be credited to your account.</p>\n","urlObject":{"path":["v1","pay","payid"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"d79b1f1e-0409-40c1-82e4-4f128891a3ff","name":"Pay ID","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key","type":"text"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature.","type":"text"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds.","type":"text"}],"url":"https://api.valr.com/v1/pay/payid"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Thu, 09 Dec 2021 13:01:41 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"27"},{"key":"server","value":"envoy"},{"key":"transfer-encoding","value":"chunked"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"clear"}],"cookie":[],"responseTime":null,"body":"{\n    \"payId\": \"8KDR68R4NA7HUD63CDCR\"\n}"}],"_postman_id":"16783a18-d56c-48c3-a491-1db883df43b8"},{"name":"Payment History","id":"04abb3b3-6c1e-49fd-b599-5e04fb8d204a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n","type":"text"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n","type":"text"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n","type":"text"}],"url":"https://api.valr.com/v1/pay/history","description":"<p>Fetches a list of all payments made from and made to the current users account.</p>\n<p>Payments received (incoming) have <code>type</code> = <code>CREDIT</code> and Payments sent (outgoing) have <code>type</code> = <code>DEBIT</code></p>\n<p>The results of this request may be filtered by <code>Status</code> i.e.<code>STATUS=COMPLETE,FAILED</code></p>\n<p>Valid Status are <code>INITIATED</code>, <code>AUTHORISED</code>, <code>COMPLETE</code>, <code>RETURNED</code>, <code>FAILED</code>, <code>EXPIRED</code></p>\n<p>The <code>skip</code> and <code>limit</code> parameters may be applied to paginate the filtered results.</p>\n","urlObject":{"path":["v1","pay","history"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"136c02e2-cb9b-457f-aad5-43523725c0b2","name":"Payment History","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":"https://api.valr.com/v1/pay/history"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Thu, 09 Dec 2021 19:41:16 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"17"},{"key":"server","value":"envoy"},{"key":"transfer-encoding","value":"chunked"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"clear"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"identifier\": \"dfd15233-3556-4c53-830a-f5d5253952b7\",\n        \"otherPartyIdentifier\": \"John\",\n        \"amount\": 12,\n        \"status\": \"COMPLETE\",\n        \"timestamp\": \"2021-12-09T19:05:45.519279Z\",\n        \"transactionId\": \"918579191017975808\",\n        \"anonymous\": false,\n        \"type\": \"DEBIT\"\n    },\n    {\n        \"identifier\": \"6627cfb5-ea15-4db8-bf2b-c7acb7320b9b\",\n        \"otherPartyIdentifier\": \"Oz\",\n        \"amount\": 1800,\n        \"timestamp\": \"2021-12-09T18:34:23.800109Z\",\n        \"transactionId\": \"918570461094293504\",\n        \"anonymous\": false,\n        \"type\": \"CREDIT\"\n    },\n    {\n        \"identifier\": \"31bcd6e0-c35f-4257-b0ed-f66d6705ba0f\",\n        \"otherPartyIdentifier\": \"Amanda\",\n        \"amount\": 128,\n        \"status\": \"COMPLETE\",\n        \"timestamp\": \"2021-12-09T15:08:51.138276Z\",\n        \"senderNote\": \"Paid in full\",\n        \"recipientNote\": \"Great Service\",\n        \"transactionId\": \"918519571587092480\",\n        \"anonymous\": false,\n        \"type\": \"DEBIT\"\n    },\n    {\n        \"identifier\": \"f7c7f143-dda0-4c21-a5dd-56e1cb78a54d\",\n        \"otherPartyIdentifier\": \"Doe\",\n        \"amount\": 5,\n        \"status\": \"RETURNED\",\n        \"timestamp\": \"2021-12-09T15:01:13.867287Z\",\n        \"recipientNote\": \"Gift\",\n        \"transactionId\": \"918517653670285312\",\n        \"anonymous\": true,\n        \"type\": \"DEBIT\"\n    },\n    {\n        \"identifier\": \"d2e16dc6-0c83-4f70-a30e-ef958a2b1d5d\",\n        \"otherPartyIdentifier\": \"Jim\",\n        \"amount\": 15,\n        \"status\": \"COMPLETE\",\n        \"timestamp\": \"2021-12-09T12:57:48.488803Z\",\n        \"senderNote\": \"Tip\",\n        \"recipientNote\": \"Thanks for a great service\",\n        \"transactionId\": \"918486592856862720\",\n        \"anonymous\": false,\n        \"type\": \"DEBIT\"\n    }\n]"}],"_postman_id":"04abb3b3-6c1e-49fd-b599-5e04fb8d204a"},{"name":"Payment Details (by identifier)","id":"cf7e6c2d-cab7-4ee0-b895-e413f3210efb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n","type":"text"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n","type":"text"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n","type":"text"}],"url":"https://api.valr.com/v1/pay/identifier/:identifier","description":"<p>Get the payment details by specifying the payment <code>identifier</code></p>\n","urlObject":{"path":["v1","pay","identifier",":identifier"],"host":["https://api.valr.com"],"query":[],"variable":[{"id":"7a71d01f-738a-4aad-ba0a-b30d02f5f512","type":"any","value":"d2e16dc6-0c83-4f70-a30e-ef958a2b1d5d","key":"identifier"}]}},"response":[{"id":"437b5617-ea9d-4c50-b7e7-d93d9dfd2ff7","name":"Payment Details","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key","type":"text"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature.","type":"text"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds.","type":"text"}],"url":{"raw":"https://api.valr.com/v1/pay/identifier/:identifier","host":["https://api.valr.com"],"path":["v1","pay","identifier",":identifier"],"variable":[{"key":"identifier","value":"d2e16dc6-0c83-4f70-a30e-ef958a2b1d5d"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Thu, 09 Dec 2021 13:04:49 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"12"},{"key":"server","value":"envoy"},{"key":"transfer-encoding","value":"chunked"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"clear"}],"cookie":[],"responseTime":null,"body":"{\n    \"identifier\": \"d2e16dc6-0c83-4f70-a30e-ef958a2b1d5d\",\n    \"otherPartyIdentifier\": \"test@gmail.com\",\n    \"amount\": 15,\n    \"status\": \"COMPLETE\",\n    \"timestamp\": \"2021-12-09T12:57:48.488803Z\",\n    \"senderNote\": \"Tip\",\n    \"recipientNote\": \"Thanks for a great service\",\n    \"transactionId\": \"918486592856862720\",\n    \"anonymous\": false,\n    \"type\": \"DEBIT\"\n}"}],"_postman_id":"cf7e6c2d-cab7-4ee0-b895-e413f3210efb"},{"name":"Payment Status (by transactionId)","id":"36306bd5-fdab-4df1-a19a-9b06ed4f6ec9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n","type":"text"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n","type":"text"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n","type":"text"}],"url":"https://api.valr.com/v1/pay/transactionid/:transactionId","description":"<p>Get the status and details of a payment transaction, by specifying a <code>transactionId</code></p>\n","urlObject":{"path":["v1","pay","transactionid",":transactionId"],"host":["https://api.valr.com"],"query":[],"variable":[{"id":"33c6fe4a-e224-4451-b875-cf5f06dd60fd","type":"any","value":"918486592856862720","key":"transactionId"}]}},"response":[{"id":"253ebd05-56cd-4dc1-ba80-93ba705c5d16","name":"Payment Status (by Transaction ID)","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key","type":"text"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature.","type":"text"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds.","type":"text"}],"url":{"raw":"https://api.valr.com/v1/pay/transactionid/:transactionId","host":["https://api.valr.com"],"path":["v1","pay","transactionid",":transactionId"],"variable":[{"key":"transactionId","value":"918486592856862720"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Thu, 09 Dec 2021 13:06:12 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"13"},{"key":"server","value":"envoy"},{"key":"transfer-encoding","value":"chunked"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"clear"}],"cookie":[],"responseTime":null,"body":"{\n    \"amount\": \"15\",\n    \"timestamp\": \"2021-12-09T12:57:48.488803Z\",\n    \"transactionId\": \"918486592856862720\",\n    \"status\": \"COMPLETE\",\n    \"direction\": \"SEND\"\n}"}],"_postman_id":"36306bd5-fdab-4df1-a19a-9b06ed4f6ec9"}],"id":"f63d1a60-863b-4e6e-94ee-ab7151ed24de","description":"<p>Make use of our Pay API to instantly initiate new payments, get status, details and a history of your payments made and received using VALR Pay.</p>\n<p>These APIs are protected and will require authentication. See the section on <code>Authentication</code> above to learn how to authenticate your API calls.</p>\n<p>Note: Your API key needs Withdrawal permissions in order to make or reverse payments.</p>\n","event":[{"listen":"prerequest","script":{"id":"ac2fa6f4-c4cd-4473-8cfa-e4cce10fc816","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"3b9a158d-3b42-45f3-ab9d-782e881413a2","type":"text/javascript","exec":[""]}}],"_postman_id":"f63d1a60-863b-4e6e-94ee-ab7151ed24de"},{"name":"Exchange Buy/Sell","item":[{"name":"Limit Order V1","id":"5beb7328-24ca-4d8a-84f2-6029725ad923","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n","type":"text"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n","type":"text"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"side\": \"SELL\",\n    \"quantity\": \"0.020000\",\n    \"price\": \"62829\",\n    \"pair\": \"BTCUSDT\",\n    \"postOnly\": false,\n    \"customerOrderId\": \"LimitSell\",\n    \"timeInForce\": \"GTC\",\n    \"allowMargin\": \"false\"\n}"},"url":"https://api.valr.com/v1/orders/limit","description":"<p>Create a new limit order.</p>\n<p>The JSON body used to create a limit order looks like this:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"side\": \"SELL\",\n    \"quantity\": \"0.100000\",\n    \"price\": \"64250\",\n    \"pair\": \"BTCUSDC\",\n    \"postOnly\": true,\n    \"customerOrderId\": \"1234\",\n    \"timeInForce\": \"GTC\",\n    \"allowMargin\": \"false\",\n    \"reduceOnly\": \"false\"\n}\n\n</code></pre>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>side (required)</td>\n<td><code>BUY</code> or <code>SELL (should be upper case)</code></td>\n</tr>\n<tr>\n<td>quantity (required)</td>\n<td>Base amount (the amount submitted will be truncated to <code>baseDecimalPlaces</code> of the currency pair)</td>\n</tr>\n<tr>\n<td>price (required)</td>\n<td>Price in quote Currency</td>\n</tr>\n<tr>\n<td>pair (required)</td>\n<td>Can be any supported currency pair e.g. <code>BTCUSDC</code>, <code>ETHUSDC</code> or <code>BTCUSDT</code></td>\n</tr>\n<tr>\n<td>postOnly (optional)</td>\n<td><code>postOnly=true</code> will place a Maker order and cause it to fail if matched immediately. Default value is <code>false</code></td>\n</tr>\n<tr>\n<td>customerOrderId (optional)</td>\n<td>Alphanumeric value. See below for explanation.</td>\n</tr>\n<tr>\n<td>timeInForce (optional)</td>\n<td>Can be <code>GTC</code>, <code>FOK</code> or <code>IOC</code>. <code>(should be upper case)</code>Default value is <code>GTC</code>. See below for explanation</td>\n</tr>\n<tr>\n<td>allowMargin (optional)</td>\n<td><code>true</code> or <code>false</code>. Default value is <code>false</code>. See below for explanation.</td>\n</tr>\n<tr>\n<td>reduceOnly (optional)</td>\n<td><code>true</code> or <code>false</code>. Default value is <code>false</code>. See below for explanation.</td>\n</tr>\n<tr>\n<td>conditionalOrderData (optional)</td>\n<td>Used on futures pairs to manage exposure through adding a Take Profit and/or Stop Loss (TPSL) to the order. See below for explanation.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Notes</strong></p>\n<p>The <code>customerOrderId</code> is an optional field which can be specified by clients to track this order using their own internal order management systems. It supports alphanumeric characters and dashes (\"-\"), with a 50-character limit. Special characters are not allowed. The <code>customerOrderId</code> must be <strong>unique across all open orders</strong> for a given account. Reusing an <code>id</code> from an active order will prevent the new order from being placed (use the order status API to check an order’s status).</p>\n<ul>\n<li><p><strong><code>timeInForce</code></strong>:<br />  Defines how long an order remains active:</p>\n<ul>\n<li><p><code>GTC</code>: Good Till Cancelled</p>\n</li>\n<li><p><code>FOK</code>: Fill or Kill</p>\n</li>\n<li><p><code>IOC</code>: Immediate or Cancel</p>\n</li>\n</ul>\n</li>\n<li><p><strong><code>allowMargin</code></strong>:<br />  Set to <code>true</code> for margin/leverage trades. Only subaccounts can trade on margin, and each must be enabled individually via the account/status API.</p>\n</li>\n<li><p><strong><code>reduceOnly</code></strong>:</p>\n</li>\n<li><p>Set to <code>true</code> for Perpetual Futures order(s) where the limit order should only ever reduce a position, never create or increase.</p>\n</li>\n<li><p><strong><code>conditionalOrderData</code></strong>:<br />  Conditional orders are used to add Take Profit and Stop Loss (TPSL) conditions to manage your futures Perpetual Futures order(s). These fields are used to define the conditions under which the TPSL will trigger, and how the order will be placed when triggered.</p>\n<p>  The key thing to note is that you do not need the <code>linkedOrderId</code> or <code>pair</code> because it refers to the limit order that you are placing.</p>\n<p>  More information can be found in the <a href=\"https://docs.valr.com/#8ab83b51-a0f7-405e-bc6b-b7e7f049544b\">Conditional Orders Section</a>.</p>\n</li>\n<li><p><strong>Order Retrieval</strong>:<br />  When fetching open or historical orders, the <code>customerOrderId</code> (if specified during creation) and VALR's <code>orderId</code> will be returned.</p>\n</li>\n<li><p><strong>Order Cancellation</strong>:<br />  Use either <code>orderId</code> or <code>customerOrderId</code> to cancel an order—<strong>not both</strong>.</p>\n</li>\n</ul>\n<p><strong>Fee currency</strong></p>\n<ul>\n<li><p>If you are a Maker and you are Buying BTC with USDC, your reward will be paid in USDC</p>\n</li>\n<li><p>If you are a Maker and you are Selling BTC for USDC, your reward will be paid in BTC</p>\n</li>\n<li><p>If you are a Taker and you are Buying BTC with USDC, your fee will be charged in BTC</p>\n</li>\n<li><p>If you are a Taker and you are Selling BTC for USDC, your fee will be charged in USDC</p>\n</li>\n</ul>\n<p>In short, fees will be in the currency that the taker is receiving and the maker is paying in the trade. The following example uses the <code>BTCUSDC</code> trading pair:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>BTC/ZAR</th>\n<th>MAKER</th>\n<th>TAKER</th>\n<th>FEE/REWARD CURRENCY</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>TRADE SIDE</td>\n<td>BUY</td>\n<td>SELL</td>\n<td>USDC</td>\n</tr>\n<tr>\n<td>TRADE SIDE</td>\n<td>SELL</td>\n<td>BUY</td>\n<td>BTC</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>PLEASE NOTE</strong>: When you receive a response with an id, it does not always mean that the order has been placed. When the response is <code>202 Accepted</code>, you can use the Order Status REST API or use WebSocket API to receive the status of this order. The reasons why an order could fail are as follows:</p>\n<ul>\n<li><p>Insufficient balance in your account.</p>\n</li>\n<li><p>If you're using a non-unique <code>customerOrderId</code>.</p>\n</li>\n<li><p>If you set <code>postOnly</code> flag to true, but your order would have matched immediately.</p>\n</li>\n<li><p>Self trading: If your order matches against your own order (on the other side).</p>\n</li>\n<li><p>Insufficient liquidity: If you're placing an order and there isn't liquidity to fulfill the order.</p>\n</li>\n</ul>\n","urlObject":{"path":["v1","orders","limit"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"e7b4459f-5545-4b0c-8c0e-67e683464c4e","name":"Limit order accepted","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    \"side\": \"BUY\",\n    \"quantity\": \"0.0001\",\n    \"price\": \"93129\",\n    \"pair\": \"BTCUSDT\",\n    \"postOnly\": false,\n    \"customerOrderId\": \"123\",\n    \"timeInForce\": \"GTC\",\n    \"allowMargin\": \"false\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/orders/limit"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"41"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 17 Jul 2025 07:51:54 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"0198175e-53b0-7c4b-ac26-b18a8a687e59\",\n    \"customerOrderId\": \"123\"\n}"},{"id":"17f797f8-a975-4681-9b06-abf23a66419b","name":"Limit Order With Conditional accepted","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    \"side\": \"BUY\",\n    \"quantity\": \"0.2\",\n    \"price\": \"31.74\",\n    \"pair\": \"AVAXUSDTPERP\",\n    \"postOnly\": false,\n    \"customerOrderId\": \"LimitSell\",\n    \"timeInForce\": \"GTC\",\n    \"allowMargin\": \"false\",\n    \"conditionalOrderData\": {\n        \"quantity\": \"0.2\",\n        \"triggerType\": \"LAST_TRADED\",\n        \"takeProfitTriggerPrice\": \"44.74\",\n        \"takeProfitOrderPrice\": \"44.8\",\n        \"stopLossTriggerPrice\": \"30.1\",\n        \"stopLossOrderPrice\": \"30\",\n        \"customerOrderId\": \"ConditionalByLastTraded\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/orders/limit"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Sat, 12 Oct 2024 03:08:19 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"25"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"5b5ca343-2063-40dd-9c31-840dc72a5aab\",\n    \"customerOrderId\": \"LimitSell\",\n    \"conditionalOrderId\": \"e281eb8e-c315-4372-a7b6-8c5e5f5eb971\"\n}"}],"_postman_id":"5beb7328-24ca-4d8a-84f2-6029725ad923"},{"name":"Limit Order V2","id":"9f30324d-6f23-4d36-9873-14d4a7757c7b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"side\": \"SELL\",\n    \"quantity\": \"0.020000\",\n    \"price\": \"107200\",\n    \"pair\": \"BTCUSDT\",\n    \"postOnly\": false,\n    \"customerOrderId\": \"MyLimit1234\",\n    \"timeInForce\": \"GTC\",\n    \"allowMargin\": \"false\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v2/orders/limit","description":"<p>Create a new limit order.</p>\n<p>The JSON body used to create a limit order looks like this:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-JavaScript\">{\n    \"side\": \"SELL\",\n    \"quantity\": \"0.100000\",\n    \"price\": \"10000\",\n    \"pair\": \"BTCUSDT\",\n    \"postOnly\": true,\n    \"customerOrderId\": \"1234\"\n    \"timeInForce\": \"GTC\"\n}\n\n</code></pre>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>side (required)</td>\n<td><code>BUY</code> or <code>SELL (should be upper case)</code></td>\n</tr>\n<tr>\n<td>quantity (required)</td>\n<td>Base amount (the amount submitted will be truncated to <code>baseDecimalPlaces</code> of the currency pair)</td>\n</tr>\n<tr>\n<td>price (required)</td>\n<td>Price per coin in Quote Currency</td>\n</tr>\n<tr>\n<td>pair (required)</td>\n<td>Any pair that supports limit orders. Please see Public/Order Types.</td>\n</tr>\n<tr>\n<td>postOnly (optional)</td>\n<td><code>postOnly=true</code> will place a Maker order and cause it to fail if matched immediately. Default value is <code>false</code></td>\n</tr>\n<tr>\n<td>customerOrderId (optional)</td>\n<td>Alphanumeric value. See below for explanation.</td>\n</tr>\n<tr>\n<td>timeInForce (optional)</td>\n<td>Can be <code>GTC</code>, <code>FOK</code> or <code>IOC</code>. <code>(should be upper case)</code>Default value is <code>GTC</code>. See below for explanation</td>\n</tr>\n<tr>\n<td>allowMargin (optional)</td>\n<td><code>true</code> or <code>false</code>. Default value is <code>false</code>. See below for explanation.</td>\n</tr>\n<tr>\n<td>reduceOnly (optional)</td>\n<td><code>true</code> or <code>false</code>. Default value is <code>false</code>. See below for explanation.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Notes</strong></p>\n<p>The <code>customerOrderId</code> is an optional field which can be specified by clients to track this order using their own internal order management systems. It supports alphanumeric characters  with a 50-character limit. Special characters are not allowed. The <code>customerOrderId</code> must be <strong>unique across all open orders</strong> for a given account. Reusing an <code>id</code> from an active order will prevent the new order from being placed (use the order status API to check an order’s status).</p>\n<ul>\n<li><p><strong><code>timeInForce</code></strong>:<br />  Defines how long an order remains active:</p>\n<ul>\n<li><p><code>GTC</code>: Good Till Cancelled</p>\n</li>\n<li><p><code>FOK</code>: Fill or Kill</p>\n</li>\n<li><p><code>IOC</code>: Immediate or Cancel</p>\n</li>\n</ul>\n</li>\n<li><p><strong><code>allowMargin</code></strong>:<br />  Set to <code>true</code> for margin/leverage trades. Only subaccounts can trade on margin, and each must be enabled individually via the account/status API.</p>\n</li>\n<li><p><strong><code>reduceOnly</code></strong>:</p>\n</li>\n<li><p>Set to <code>true</code> for Perpetual Futures order(s) where the limit order should only ever reduce a position, never create or increase.</p>\n</li>\n<li><p><strong>Order Retrieval</strong>:<br />  When fetching open or historical orders, the <code>customerOrderId</code> (if specified during creation) and VALR's <code>orderId</code> will be returned.</p>\n</li>\n<li><p><strong>Order Cancellation</strong>:<br />  Use either <code>orderId</code> or <code>customerOrderId</code> to cancel an order—<strong>not both</strong>.</p>\n</li>\n</ul>\n<p><strong>Fee currency</strong></p>\n<ul>\n<li><p>If you are a Maker and you are Buying BTC with USDT, your reward will be paid in USDT</p>\n</li>\n<li><p>If you are a Maker and you are Selling BTC for USDT, your reward will be paid in BTC</p>\n</li>\n<li><p>If you are a Taker and you are Buying BTC with USDT, your fee will be charged in BTC</p>\n</li>\n<li><p>If you are a Taker and you are Selling BTC for USDT, your fee will be charged in USDT</p>\n</li>\n</ul>\n<p>In short, fees will be in the currency that the taker is receiving and the maker is paying in the trade. The following example uses the <code>BTCUSDT</code> trading pair:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>BTC/USDT</th>\n<th>MAKER</th>\n<th>TAKER</th>\n<th>FEE/REWARD CURRENCY</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>TRADE SIDE</td>\n<td>BUY</td>\n<td>SELL</td>\n<td>USDT</td>\n</tr>\n<tr>\n<td>TRADE SIDE</td>\n<td>SELL</td>\n<td>BUY</td>\n<td>BTC</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>PLEASE NOTE</strong>:</p>\n<ul>\n<li><p>When you receive a <code>201 Created</code> response with an id, it means that the order has been successfully placed. You can use the Order Status REST API or use WebSocket API to receive the status of this order.</p>\n</li>\n<li><p>When an order fails during the order placement process you can expect to receive an <code>orderId</code>, <code>code</code> and <code>message</code> in the response body. You can use the Order Status REST API or use WebSocket API to receive the status of this order.</p>\n</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"orderId\": \"d043a37d-40b0-49e5-b3fd-104c762585e7\",\n    \"code\": -6,\n    \"message\": \"Insufficient Balance\"\n}\n\n</code></pre>\n","urlObject":{"path":["v2","orders","limit"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"2d5108a7-3b4c-45db-9903-623cf78e4ac5","name":"Limit order placed unsuccessfully on exchange","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate request signature"}],"body":{"mode":"raw","raw":"{\n\t\"side\": \"SELL\",\n\t\"quantity\": \"0.100000\",\n\t\"price\": \"10000\",\n\t\"pair\": \"BTCUSDT\",\n\t\"postOnly\": true,\n\t\"customerOrderId\": \"1235\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v2/orders/limit"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 14 Apr 2019 20:18:28 GMT"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"Deny"},{"key":"Content-Security-Policy","value":"default-src 'none'"},{"key":"Server","value":"Other"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n\t/*NOTE: \n    When an order is sent successfully to the exchange but fails during order placement the error response will contain the orderId.\n    To receive status updates for this order you can use:\n    1. Order Status REST API \n    2. WebSocket API \n    */\n    \"orderId\": \"99ded62e-26ff-407c-98d5-cd24b4e56179\",\n    \"code\": -6,\n    \"message\": \"Insufficient Balance\"\n}\n\n"},{"id":"495141ec-6fd7-410c-838d-1baf93918551","name":"Limit Order placed successfully","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    \"side\": \"BUY\",\n    \"quantity\": \"2.00050\",\n    \"price\": \"19.10\",\n    \"pair\": \"USDTZAR\",\n    \"postOnly\": false,\n    \"customerOrderId\": \"USDTZARLIMIT\",\n    \"timeInForce\": \"GTC\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v2/orders/limit"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"13"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"date","value":"Mon, 04 Dec 2023 14:05:27 GMT"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"14ed7fbc-272e-4bac-a4f9-7ec8df36df34\"\n}"}],"_postman_id":"9f30324d-6f23-4d36-9873-14d4a7757c7b"},{"name":"Conditional Order","id":"8ab83b51-a0f7-405e-bc6b-b7e7f049544b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"quantity\": \"0.0001\",\n    \"triggerType\": \"LAST_TRADED\",\n    \"pair\": \"BTCUSDTPERP\",\n    \"stopLossTriggerPrice\": \"97400\",\n    \"stopLossOrderPrice\": \"97000\",\n    \"takeProfitTriggerPrice\": \"97600\",\n    \"takeProfitOrderPrice\": \"98000\",\n    \"customerOrderId\": \"Atest\"\n}"},"url":"https://api.valr.com/v1/orders/conditionals","description":"<p>This order type allows users to specify conditional orders that only place on the order book once a trigger price is reached.</p>\n<p>On spot, it can be used to construct a take profit, stop loss as well as ordinary conditional orders. It can also be used with margin.</p>\n<p>On futures, it can be added to an existing position or limit order only as a Take Profit and Stop Loss (TPSL).</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>quantity (required)</td>\n<td>The value in base amount (the amount submitted will be truncated to <code>baseDecimalPlaces</code> of the currency pair). See explanation below.</td>\n</tr>\n<tr>\n<td>triggerType (required)</td>\n<td>Can either be <code>LAST_TRADED</code> or <code>MARK_PRICE</code></td>\n</tr>\n<tr>\n<td>pair (required)</td>\n<td>The target trading pair for the conditional order (e.g., <code>BTCUSDTPERP</code>, <code>BTCUSDT</code>).</td>\n</tr>\n<tr>\n<td>takeProfitTriggerPrice (required for TP)</td>\n<td>If Take Profit, the mark price or last traded price to trigger the conditional order.</td>\n</tr>\n<tr>\n<td>takeProfitOrderPrice (required for TP)</td>\n<td>If Take Profit, the price at which the conditional order will be placed.</td>\n</tr>\n<tr>\n<td>stopLossTriggerPrice (required for SL)</td>\n<td>If Stop Loss, the mark price or last traded price to trigger the conditional order.</td>\n</tr>\n<tr>\n<td>stopLossOrderPrice (required for SL)</td>\n<td>If Stop Loss,The price at which the conditional order will be placed.</td>\n</tr>\n<tr>\n<td>customerOrderId (optional)</td>\n<td>Alphanumeric value. See below for explanation.</td>\n</tr>\n<tr>\n<td>allowMargin</td>\n<td>Set to <code>true</code> for margin/leverage trades. Only subaccounts can trade on margin, and each must be enabled individually via the account/status API. (Defaults <code>false</code>)</td>\n</tr>\n<tr>\n<td>side (Spot only)</td>\n<td><code>BUY</code> or <code>SELL</code></td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Notes</strong></p>\n<ul>\n<li><p><strong>Quantity Behavior</strong>:</p>\n<ul>\n<li><code>quantity = 0</code>: Closes the entire open position.</li>\n<li><code>quantity &gt; 0</code>: Places a <strong>reduce-only</strong> order for the specified amount. If the quantity exceeds the current position, the system will use the open position's quantity.</li>\n<li><code>quantity = -1</code>: Useful when adding to the position. Only closes the quantity added by the new order.</li>\n</ul>\n</li>\n<li><p><strong>Price Behavior</strong>:</p>\n<ul>\n<li><code>takeProfitOrderPrice = -1</code> or <code>stopLossOrderPrice = -1</code>: Places a market order. A limit order at the min/max slippage price is used to simulate the behavior of a market order.</li>\n</ul>\n</li>\n<li><p><strong>OCO (One-Cancels-the-Other)</strong>:</p>\n<ul>\n<li>If both TP and SL are specified, the order is handled as <strong>OCO</strong>. Once one side triggers, the other is canceled.</li>\n</ul>\n</li>\n<li><p><strong><code>customerOrderId</code></strong>:</p>\n<ul>\n<li>Must be unique across all open orders. Reusing an <code>id</code> from an active order results in the order being rejected. Use the order status API to check active orders.</li>\n</ul>\n</li>\n</ul>\n<p><strong>PLEASE NOTE</strong>: When you receive a response with an id, it does not always mean that the order has been placed. When the response is <code>202 Accepted</code>, you can use the Order Status REST API or use WebSocket API to receive the status of this order. The reasons why an order could fail are as follows:</p>\n<ul>\n<li>Insufficient balance in your account.</li>\n<li>If you're using a non-unique <code>customerOrderId</code>.</li>\n<li>Self trading: If your order matches against your own order (on the other side).</li>\n<li>Insufficient liquidity: If you're placing an order and there isn't liquidity to fulfill the order.</li>\n</ul>\n","urlObject":{"path":["v1","orders","conditionals"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"cd659622-110b-4ae0-a767-4ae287b38d20","name":"Futures Conditional by Last Traded success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    \"quantity\": \"0.0001\",\n    \"triggerType\": \"LAST_TRADED\",\n    \"pair\": \"BTCUSDTPERP\",\n    \"stopLossTriggerPrice\": \"97400\",\n    \"stopLossOrderPrice\": \"97000\",\n    \"takeProfitTriggerPrice\": \"97600\",\n    \"takeProfitOrderPrice\": \"98000\",\n    \"customerOrderId\": \"Atest\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/orders/conditionals"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Wed, 08 May 2024 09:45:53 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"43"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"7a19f5a1-afad-4138-bb9a-65a136e6c507\"\n}"},{"id":"1ee3c232-b640-484a-8af2-dd7fb67c5120","name":"Futures Conditional by Mark Price success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    \"quantity\": \"0.0001\",\n    \"triggerType\": \"MARK_PRICE\",\n    \"pair\": \"BTCUSDTPERP\",\n    \"stopLossTriggerPrice\": \"97400\",\n    \"stopLossOrderPrice\": \"97000\",\n    \"takeProfitTriggerPrice\": \"97600\",\n    \"takeProfitOrderPrice\": \"98000\",\n    \"customerOrderId\": \"Atest\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/orders/conditionals"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Mon, 06 May 2024 22:08:53 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"5"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"c0358c7d-10fd-4b60-8193-769a53da712e\"\n}"},{"id":"aeb6a772-42e6-45bd-8908-c84c519feb15","name":"Spot Conditional by Mark Price success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    \"allowMargin\": true,\n    \"side\": \"BUY\",\n    \"quantity\": \"10\",\n    \"triggerType\": \"MARK_PRICE\",\n    \"pair\": \"BTCUSDT\",\n    \"stopLossTriggerPrice\": \"93000\",\n    \"stopLossOrderPrice\": \"-1\",\n    \"takeProfitTriggerPrice\": \"90000\",\n    \"takeProfitOrderPrice\": \"-1\",\n    \"customerOrderId\": \"testB\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/orders/conditionals"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"3"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Wed, 10 Dec 2025 12:20:11 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"019b0834-6cd9-7cbe-b8e3-f72938e0b729\"\n}"},{"id":"3b131400-fd7a-46a1-bab2-9f7a2f5af055","name":"Spot Conditional by Last Traded success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    \"allowMargin\": true,\n    \"side\": \"BUY\",\n    \"quantity\": \"10\",\n    \"triggerType\": \"LAST_TRADED\",\n    \"pair\": \"BTCUSDT\",\n    \"stopLossTriggerPrice\": \"93000\",\n    \"stopLossOrderPrice\": \"-1\",\n    \"takeProfitTriggerPrice\": \"90000\",\n    \"takeProfitOrderPrice\": \"-1\",\n    \"customerOrderId\": \"testB\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/orders/conditionals"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"19"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Wed, 10 Dec 2025 12:31:44 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"019b083e-fddb-7759-bc5f-2bf2f8417cb8\"\n}"},{"id":"4f35ca4d-7ffb-481c-adc7-0385a10e320b","name":"Conditional order unsuccessful","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    \"quantity\": \"0.0001\",\n    \"triggerType\": \"LAST_TRADED\",\n    \"pair\": \"BTCUSDTPERP\",\n    \"stopLossTriggerPrice\": \"97500\",\n    \"stopLossOrderPrice\": \"-1\",\n    \"takeProfitTriggerPrice\": \"97600\",\n    \"takeProfitOrderPrice\": \"-1\",\n    \"customerOrderId\": \"testA\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/orders/conditionals"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Wed, 08 May 2024 09:08:58 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"29"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": -21403,\n    \"message\": \"Could not place conditional order as it would have triggered immediately\"\n}"}],"_postman_id":"8ab83b51-a0f7-405e-bc6b-b7e7f049544b"},{"name":"Market Order V1","id":"e1892b20-2b2a-44cf-a67b-1d86def85ec4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"description":"<p>Your API Key</p>\n","key":"X-VALR-API-KEY","type":"text","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33"},{"description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n","key":"X-VALR-SIGNATURE","type":"text","value":"{{requestSignature}}"},{"description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n","key":"X-VALR-TIMESTAMP","type":"text","value":"{{requestTimestamp}}"}],"body":{"mode":"raw","raw":"{\n\t\"side\": \"SELL\",\n\t\"baseAmount\": \"0.01\",\n\t\"pair\": \"BTCUSDT\",\n\t\"customerOrderId\": \"1234\",\n    \"allowMargin\": \"false\"\n}"},"url":"https://api.valr.com/v1/orders/market","description":"<p>Create a new market order.</p>\n<p>When the response is <code>202 Accepted</code>, you can either use the <code>Order Status</code> REST API or use WebSocket API to receive updates about this order.</p>\n<p>Example request body:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"side\": \"SELL\",\n    \"baseAmount\": \"0.100000\",\n    \"pair\": \"BTCUSDT\",\n    \"customerOrderId\": \"1234\",\n    \"allowMargin\": \"false\",\n    \"timeInForce\": \"FOK\"\n}\n\n</code></pre>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>side (required)</td>\n<td><code>BUY</code> or <code>SELL</code></td>\n</tr>\n<tr>\n<td>timeInForce (optional)</td>\n<td>Can be FOK or IOC (must be uppercase). If the field is not specified, IOC will be used by default. See below for explanation.</td>\n</tr>\n<tr>\n<td>baseAmount / quoteAmount (required)</td>\n<td>Either the <code>baseAmount</code> or <code>quoteAmount</code> must be provided.  <br /><strong>Please note</strong>:  <br />1. If <code>quoteAmount</code> is specified for a SELL order, your account will be credited with <code>quoteAmount</code> minus taker fees.  <br />2. If <code>baseAmount</code> is specified for a BUY order, your account will be credited with <code>baseAmount</code> minus taker fees.  <br />3. If <code>baseAmount</code> is provided, it will be truncated to <code>baseDecimalPlaces</code> of the currency pair.</td>\n</tr>\n<tr>\n<td>pair (required)</td>\n<td>Can be <code>SOLUSDC</code>, <code>BTCUSDT</code>, <code>ETHUSDT</code>, <code>AVAXUSDT</code>.</td>\n</tr>\n<tr>\n<td>customerOrderId (optional)</td>\n<td>Alphanumeric value. See below for explanation.</td>\n</tr>\n<tr>\n<td>allowMargin (optional)</td>\n<td><code>true</code> or <code>false</code>. Default value is <code>false</code>. See below for explanation.</td>\n</tr>\n<tr>\n<td>reduceOnly (optional)</td>\n<td><code>true</code> or <code>false</code>. Default value is <code>false</code>. See below for explanation.</td>\n</tr>\n<tr>\n<td>conditionalOrderData (optional)</td>\n<td>Used on futures pairs to manage exposure through adding a Take Profit and/or Stop Loss (TPSL) to the order. See below for explanation.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Notes</strong></p>\n<ul>\n<li><p><strong><code>timeInForce</code></strong>:<br />IOC: Fills as much of the order as possible within the allowed slippage, then cancels the remainder.\nFOK: The entire order must fill within the allowed slippage or it is canceled completely.</p>\n</li>\n<li><p><strong><code>customerOrderId</code></strong>:<br />  Optional field for tracking orders using your internal system. It supports alphanumeric characters and dashes (\"-\"), with a 50-character limit. Special characters are not allowed. The <code>customerOrderId</code> must be <strong>unique across all open orders</strong> for a given account. Reusing an <code>id</code> from an active order will prevent the new order from being placed (use the order status API to check an order’s status).</p>\n</li>\n<li><p><strong><code>allowMargin</code></strong>:<br />  Set to <code>true</code> for margin/leverage trades. Only subaccounts can trade on margin, and each must be enabled individually via the account/status API.</p>\n</li>\n<li><p><strong><code>reduceOnly</code></strong>:</p>\n</li>\n<li><p>Set to <code>true</code> for Perpetual Futures order(s) where the market order should only ever reduce a position, never create or increase.</p>\n</li>\n<li><p><strong><code>conditionalOrderData</code></strong>:<br />  Conditional orders are used to add Take Profit and Stop Loss (TPSL) conditions to manage your futures Perpetual Futures order(s). These fields are used to define the conditions under which the TPSL will trigger, and how the order will be placed when triggered.</p>\n<p>  The key thing to note is that you do not need the <code>linkedOrderId</code> or <code>pair</code> because it refers to the market order that you are placing.</p>\n<p>  More information can be found in the <a href=\"https://docs.valr.com/#8ab83b51-a0f7-405e-bc6b-b7e7f049544b\">Conditional Orders Section</a>.</p>\n</li>\n</ul>\n<p><strong>Fee currency</strong></p>\n<p>When you place a market order, you will be charged the \"Taker fee\" on the trade.</p>\n<ul>\n<li><p>As a Taker, if you are Buying BTC with ZAR, your fee will be charged in BTC</p>\n</li>\n<li><p>As a Taker, if you are Selling BTC for ZAR, your fee will be charged in ZAR</p>\n</li>\n</ul>\n<p><strong>PLEASE NOTE</strong>: When you receive a response with an id, it does not always mean that the order has been placed. When the response is <code>202 Accepted</code>, you can use the Order Status REST API or use WebSocket API to receive the status of this order. The reasons why an order could fail are as follows:</p>\n<ul>\n<li><p>Insufficient balance in your account.</p>\n</li>\n<li><p>If you're using a non-unique <code>customerOrderId</code>.</p>\n</li>\n<li><p>If you set <code>postOnly</code> flag to true, but your order would have matched immediately.</p>\n</li>\n<li><p>Self trading: If your order matches against your own order (on the other side).</p>\n</li>\n<li><p>Insufficient liquidity: If you're placing an order and there isn't liquidity to fulfill the order.</p>\n</li>\n</ul>\n","urlObject":{"path":["v1","orders","market"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"9cad66d6-b00b-4cb4-abb9-1c765e2745e0","name":"BUY - With Base Amount","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n\t\"side\": \"BUY\",\n\t\"baseAmount\": \"0.00000786\",\n\t\"pair\": \"BTCUSDT\",\n\t\"customerOrderId\": \"1234\",\n    \"allowMargin\": \"false\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/orders/market"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"50"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 17 Jul 2025 08:00:01 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"01981765-c3a7-7061-ba61-2fccd2688abd\",\n    \"customerOrderId\": \"1234\"\n}"},{"id":"3c97ec4b-0e44-4668-ba9a-13489d66e365","name":"SELL - With Base Amount","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n\t\"side\": \"SELL\",\n\t\"baseAmount\": \"0.00000786\",\n\t\"pair\": \"BTCUSDT\",\n\t\"customerOrderId\": \"1234\",\n    \"allowMargin\": \"false\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/orders/market"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"34"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 17 Jul 2025 08:00:54 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"01981766-9288-7624-a5fa-3942fdda6f70\",\n    \"customerOrderId\": \"1234\"\n}"},{"id":"9e5eb69b-e4ea-4892-af85-5aef263dce21","name":"BUY - With Quote Amount","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n\t\"side\": \"BUY\",\n\t\"quoteAmount\": \"0.52\",\n\t\"pair\": \"BTCUSDT\",\n\t\"customerOrderId\": \"1234\",\n    \"allowMargin\": \"false\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/orders/market"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"4"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 17 Jul 2025 08:04:17 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"01981769-a93a-77a6-bd95-6af8bf9a30de\",\n    \"customerOrderId\": \"1234\"\n}"},{"id":"95b7498a-e5c8-46b2-9f0d-a04756e45d4d","name":"SELL - With Quote Amount","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n\t\"side\": \"SELL\",\n\t\"quoteAmount\": \"0.52\",\n\t\"pair\": \"BTCUSDT\",\n\t\"customerOrderId\": \"1234\",\n    \"allowMargin\": \"false\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/orders/market"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"4"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 17 Jul 2025 08:04:48 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"0198176a-2220-7da9-8ef7-dd7ed8c00863\",\n    \"customerOrderId\": \"1234\"\n}"},{"id":"c7318d88-bf82-4362-a5b9-f3cb13107505","name":"BUY - With Conditional Order","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    \"side\": \"BUY\",\n    \"baseAmount\": \"0.2\",\n    \"pair\": \"AVAXUSDTPERP\",\n    \"customerOrderId\": \"MarketSell\",\n    \"allowMargin\": \"false\",\n    \"conditionalOrderData\": {\n        \"quantity\": \"0.2\",\n        \"triggerType\": \"LAST_TRADED\",\n        \"takeProfitTriggerPrice\": \"44.74\",\n        \"takeProfitOrderPrice\": \"44.8\",\n        \"stopLossTriggerPrice\": \"30.1\",\n        \"stopLossOrderPrice\": \"30\",\n        \"customerOrderId\": \"MarketConditionalByLastTraded\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/orders/market"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Wed, 16 Oct 2024 08:06:42 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"48"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"68eadc21-6bb4-4219-a948-3a01d160a607\",\n    \"customerOrderId\": \"MarketSell\",\n    \"conditionalOrderId\": \"0aabd961-ae98-4e5e-bc93-2cf072c6b510\"\n}"}],"_postman_id":"e1892b20-2b2a-44cf-a67b-1d86def85ec4"},{"name":"Market Order V2","id":"ff7bd87b-f59b-4321-a498-5ef672152a27","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"body":{"mode":"raw","raw":"{\n\t\"side\": \"BUY\",\n\t\"baseAmount\": \"0.0003\",\n\t\"pair\": \"BTCUSDTPERP\",\n\t\"customerOrderId\": \"BUY12\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v2/orders/market","description":"<p>Create a new market order.</p>\n<p>When the response is <code>201 Created</code>, you can either use the <code>Order Status</code> REST API or use WebSocket API to receive updates about this order.</p>\n<p>Example request body:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"side\": \"SELL\",\n    \"baseAmount\": \"0.100000\",\n    \"pair\": \"BTCUSDT\",\n    \"customerOrderId\": \"1234\",\n    \"timeInForce\": \"FOK\"\n}\n\n</code></pre><div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>side (required)</td>\n<td><code>BUY</code> or <code>SELL (should be upper case)</code></td>\n</tr>\n<tr>\n<td>timeInForce (optional)</td>\n<td>Can be FOK or IOC (must be uppercase). If the field is not specified, IOC will be used by default. See below for explanation.</td>\n</tr>\n<tr>\n<td>baseAmount / quoteAmount (required)</td>\n<td>Either the <code>baseAmount</code> or <code>quoteAmount</code> must be provided.  <br /><strong>Please note</strong>:  <br />1. If <code>quoteAmount</code> is specified for a SELL order, your account will be credited with <code>quoteAmount</code> minus taker fees.  <br />2. If <code>baseAmount</code> is specified for a BUY order, your account will be credited with <code>baseAmount</code> minus taker fees.  <br />3. If <code>baseAmount</code> is provided, it will be truncated to <code>baseDecimalPlaces</code> of the currency pair.</td>\n</tr>\n<tr>\n<td>pair (required)</td>\n<td>Any pair that supports market orders. Please see Public/Order Types.</td>\n</tr>\n<tr>\n<td>customerOrderId (optional)</td>\n<td>Alphanumeric value. See below for explanation.</td>\n</tr>\n<tr>\n<td>allowMargin (optional)</td>\n<td><code>true</code> or <code>false</code>. Default value is <code>false</code>. See below for explanation.</td>\n</tr>\n<tr>\n<td>reduceOnly (optional)</td>\n<td><code>true</code> or <code>false</code>. Default value is <code>false</code>. See below for explanation.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Notes</strong></p>\n<ul>\n<li><p><strong><code>timeInForce</code></strong>: \nIOC: Fills as much of the order as possible within the allowed slippage, then cancels the remainder.\nFOK: The entire order must fill within the allowed slippage or it is canceled completely.</p>\n</li>\n<li><p><strong><code>customerOrderId</code></strong>:<br />  Optional field for tracking orders using your internal system. It supports alphanumeric characters with a 50-character limit. Special characters are not allowed. The <code>customerOrderId</code> must be <strong>unique across all open orders</strong> for a given account. Reusing an <code>id</code> from an active order will prevent the new order from being placed (use the order status API to check an order’s status).</p>\n</li>\n<li><p><strong><code>allowMargin</code></strong>:<br />  Set to <code>true</code> for margin/leverage trades. Only subaccounts can trade on margin, and each must be enabled individually via the account/status API.</p>\n</li>\n<li><p><strong><code>reduceOnly</code></strong>:</p>\n</li>\n<li><p>Set to <code>true</code> for Perpetual Futures order(s) where the limit order should only ever reduce a position, never create or increase.</p>\n</li>\n</ul>\n<p><strong>Fee currency</strong></p>\n<p>When you place a market order, you will be charged the \"Taker fee\" on the trade.</p>\n<ul>\n<li><p>As a Taker, if you are Buying BTC with ZAR, your fee will be charged in BTC</p>\n</li>\n<li><p>As a Taker, if you are Selling BTC for ZAR, your fee will be charged in ZAR</p>\n</li>\n</ul>\n<p><strong>PLEASE NOTE</strong>:</p>\n<ul>\n<li><p>When you receive a <code>201 Created</code> response with an id, it means that the order has been successfully placed. You can use the Order Status REST API or use WebSocket API to receive the status of this order.</p>\n</li>\n<li><p>When an order fails during the order placement process you can expect to receive an <code>orderId</code>, <code>code</code> and <code>message</code> in the response body. See example below. You can use the Order Status REST API or use WebSocket API to receive the status of this order.</p>\n</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"orderId\": \"d043a37d-40b0-49e5-b3fd-104c762585e7\",\n    \"code\": -6,\n    \"message\": \"Insufficient Balance\"\n}\n\n</code></pre>\n","urlObject":{"path":["v2","orders","market"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"2654ba35-95b2-45af-afd0-58466b8e9290","name":"Market Order placed unsuccessfully on the exchange","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n\t\"side\": \"SELL\",\n\t\"quoteAmount\": \"10\",\n\t\"pair\": \"BTCUSDT\",\n\t\"customerOrderId\": \"1234\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v2/orders/market"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Fri, 14 Aug 2020 13:58:49 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"2"},{"key":"server","value":"envoy"},{"key":"transfer-encoding","value":"chunked"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"clear"}],"cookie":[],"responseTime":null,"body":"{\n\t/*NOTE: \n    When an order is sent successfully to the exchange but fails during order placement the error response will contain the orderId.\n    To receive status updates for this order you can use:\n    1. Order Status REST API \n    2. WebSocket API \n    */\n    \"orderId\": \"d043a37d-40b0-49e5-b3fd-104c762585e7\",\n    \"code\": -6,\n    \"message\": \"Insufficient Balance\"\n}\n\n"},{"id":"d40aecb1-3ca5-47f3-ad0f-ac6156426a56","name":"Market Order placed successfully","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n\t\"side\": \"SELL\",\n\t\"baseAmount\": \"0.0001\",\n\t\"pair\": \"BTCUSDT\",\n\t\"customerOrderId\": \"Sell123\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v2/orders/market"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"28"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"date","value":"Mon, 04 Dec 2023 13:58:40 GMT"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"fd7c947c-9022-4457-a1a8-2ecc7e3d5518\"\n}"}],"_postman_id":"ff7bd87b-f59b-4321-a498-5ef672152a27"},{"name":"Stop Limit Order V1","id":"4bdd004a-a7a0-4d75-b018-d0e4b7316614","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"description":"<p>Your API Key</p>\n","key":"X-VALR-API-KEY","type":"text","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33"},{"description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n","key":"X-VALR-SIGNATURE","type":"text","value":"{{requestSignature}}"},{"description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n","key":"X-VALR-TIMESTAMP","type":"text","value":"{{requestTimestamp}}"}],"body":{"mode":"raw","raw":"{\n    \"side\": \"BUY\",\n    \"quantity\": \"0.00016\",\n    \"price\": \"645055\",\n    \"pair\": \"BTCUSDT\",\n    \"customerOrderId\": \"556789\",\n    \"timeInForce\": \"GTC\",\n    \"stopPrice\": \"36000\",\n    \"type\": \"STOP_LOSS_LIMIT\"\n}\n"},"url":"https://api.valr.com/v1/orders/stop/limit","description":"<p>Stop Limit routes will be deprecated in a future release in favour of the <a href=\"https://docs.valr.com/#8ab83b51-a0f7-405e-bc6b-b7e7f049544b\">Conditional Order</a> routes.</p>\n<p>Create a new Stop Loss Limit or Take Profit Limit order.</p>\n<p>When the response is <code>202 Accepted</code>, you can either use the <code>Order Status</code> REST API or use WebSocket API to receive updates about this order.</p>\n<p>Example request body:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"side\": \"BUY\",\n    \"quantity\": \"0.00015\",\n    \"price\": \"645055\",\n    \"pair\": \"BTCUSDT\",\n    \"customerOrderId\": \"56789\",\n    \"timeInForce\": \"GTC\",\n    \"stopPrice\": \"644021\",\n    \"type\": \"STOP_LOSS_LIMIT\"\n}\n\n</code></pre>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>side (required)</td>\n<td><code>BUY</code> or <code>SELL (should be upper case)</code></td>\n</tr>\n<tr>\n<td>quantity (required)</td>\n<td>Amount in Base Currency must be provided.</td>\n</tr>\n<tr>\n<td>price (required)</td>\n<td>The Limit Price at which the BUY or SELL order will be placed .</td>\n</tr>\n<tr>\n<td>pair (required)</td>\n<td>Can be <code>SOLUSDC</code>, <code>BTCUSDT</code>, <code>ETHUSDT</code>, <code>AVAXUSDT</code>.</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>stopPrice (required)</td>\n<td>The target price for the trade to trigger. Cannot be equal to last traded price.</td>\n</tr>\n<tr>\n<td>type (required)</td>\n<td>Can be <code>TAKE_PROFIT_LIMIT</code> or <code>STOP_LOSS_LIMIT</code>.</td>\n</tr>\n<tr>\n<td>customerOrderId (optional)</td>\n<td>Alphanumeric value. See below for explanation.</td>\n</tr>\n<tr>\n<td>timeInForce (optional)</td>\n<td>Can be <code>GTC</code>, <code>FOK</code> or <code>IOC</code>. <code>(should be upper case)</code>Default value is GTC. See below for explanation</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Notes</strong></p>\n<ul>\n<li><p><strong><code>customerOrderId</code></strong>:<br />  Optional field for tracking orders using your internal system. It supports alphanumeric characters and dashes (\"-\"), with a 50-character limit. Special characters are not allowed. The <code>customerOrderId</code> must be <strong>unique across all open orders</strong> for a given account. Reusing an <code>id</code> from an active order will prevent the new order from being placed (use the order status API to check an order’s status).</p>\n</li>\n<li><p><strong><code>allowMargin</code></strong>:<br />  Set to <code>true</code> for margin/leverage trades. Only subaccounts can trade on margin, and each must be enabled individually via the account/status API.</p>\n</li>\n<li><p><strong>Order Retrieval</strong>:<br />  When fetching open or historical orders, the <code>customerOrderId</code> (if specified during creation) and VALR's <code>orderId</code> will be returned.</p>\n</li>\n<li><p><strong>Order Cancellation</strong>:<br />  Use either <code>orderId</code> or <code>customerOrderId</code> to cancel an order—<strong>not both</strong>.</p>\n</li>\n</ul>\n<p><strong>PLEASE NOTE</strong>: \n    When you receive a response with an id, it does not always mean that the order has been placed. When the response is <code>202 Accepted</code>, you can use the WebSocket API (or Order Status REST API) to receive the status of this order. The reasons why an order could fail are as follows:</p>\n<ul>\n<li>Insufficient balance in your account.</li>\n<li>If it would be triggered immediately.</li>\n<li>If you're using a non-unique <code>customerOrderId</code>.</li>\n<li>Self trading: If your order matches against your own order (on the other side).</li>\n<li>Insufficient liquidity: If you're placing an order and there isn't liquidity to fulfil the order.</li>\n</ul>\n","urlObject":{"path":["v1","orders","stop","limit"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"9ff4c8e8-e58a-4aa0-8ce0-85685bf2e1a9","name":"Stop Limit Order","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    \"side\": \"BUY\",\n    \"quantity\": \"0.00001\",\n    \"price\": \"645055\",\n    \"pair\": \"BTCUSDT\",\n    \"customerOrderId\": \"556789\",\n    \"timeInForce\": \"GTC\",\n    \"stopPrice\": \"36000\",\n    \"type\": \"STOP_LOSS_LIMIT\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/orders/stop/limit"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"40"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 17 Jul 2025 08:07:47 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"0198176c-df21-794a-99bc-ea7683efe371\",\n    \"customerOrderId\": \"556789\"\n}"}],"_postman_id":"4bdd004a-a7a0-4d75-b018-d0e4b7316614"},{"name":"Stop Limit Order V2","id":"7f841323-b0aa-4e88-84ef-956b0f105b78","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"side\": \"BUY\",\n    \"quantity\": \"0.00016\",\n    \"price\": \"645055\",\n    \"pair\": \"BTCUSDT\",\n    \"customerOrderId\": \"556789\",\n    \"timeInForce\": \"GTC\",\n    \"stopPrice\": \"644021\",\n    \"type\": \"STOP_LOSS_LIMIT\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v2/orders/stop/limit","description":"<p>Stop Limit routes will be deprecated in a future release in favour of the <a href=\"https://docs.valr.com/#8ab83b51-a0f7-405e-bc6b-b7e7f049544b\">Conditional Order</a> routes.</p>\n<p>Create a new Stop Loss Limit or Take Profit Limit order.</p>\n<p>When the response is <code>201 Created</code>, you can either use the <code>Order Status</code> REST API or use WebSocket API to receive updates about this order.</p>\n<p>Example request body:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"side\": \"BUY\",\n    \"quantity\": \"0.00015\",\n    \"price\": \"645055\",\n    \"pair\": \"BTCUSDT\",\n    \"customerOrderId\": \"56789\",\n    \"timeInForce\": \"GTC\",\n    \"stopPrice\": \"644021\",\n    \"type\": \"STOP_LOSS_LIMIT\"\n}\n\n</code></pre><div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>side (required)</td>\n<td><code>BUY</code> or <code>SELL (should be upper case)</code></td>\n</tr>\n<tr>\n<td>quantity (required)</td>\n<td>Amount in Base Currency must be provided.</td>\n</tr>\n<tr>\n<td>price (required)</td>\n<td>The Limit Price in Quote Currency at which the BUY or SELL order will be placed .</td>\n</tr>\n<tr>\n<td>pair (required)</td>\n<td>Any pair that supports stop limit orders. Please see Public/Order Types.</td>\n</tr>\n<tr>\n<td>stopPrice (required)</td>\n<td>The target price for the trade to trigger. Cannot be equal to last traded price.</td>\n</tr>\n<tr>\n<td>type (required)</td>\n<td>Can be <code>TAKE_PROFIT_LIMIT</code> or <code>STOP_LOSS_LIMIT</code>.</td>\n</tr>\n<tr>\n<td>customerOrderId (optional)</td>\n<td>Alphanumeric value. See below for explanation.</td>\n</tr>\n<tr>\n<td>timeInForce (optional)</td>\n<td>Can be <code>GTC</code>, <code>FOK</code> or <code>IOC</code>. <code>(should be upper case)</code> Default value is GTC. See below for explanation</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Notes</strong></p>\n<ul>\n<li><p><strong><code>customerOrderId</code></strong>:<br />  Optional field for tracking orders using your internal system. It supports alphanumeric characters and dashes (\"-\"), with a 50-character limit. Special characters are not allowed. The <code>customerOrderId</code> must be <strong>unique across all open orders</strong> for a given account. Reusing an <code>id</code> from an active order will prevent the new order from being placed (use the order status API to check an order’s status).</p>\n</li>\n<li><p><strong><code>allowMargin</code></strong>:<br />  Set to <code>true</code> for margin/leverage trades. Only subaccounts can trade on margin, and each must be enabled individually via the account/status API.</p>\n</li>\n<li><p><strong>Order Retrieval</strong>:<br />  When fetching open or historical orders, the <code>customerOrderId</code> (if specified during creation) and VALR's <code>orderId</code> will be returned.</p>\n</li>\n<li><p><strong>Order Cancellation</strong>:<br />  Use either <code>orderId</code> or <code>customerOrderId</code> to cancel an order—<strong>not both</strong>.</p>\n</li>\n</ul>\n<p><strong>PLEASE NOTE</strong>:</p>\n<ul>\n<li>When you receive a <code>201 Created</code> response with an id, it means that the order has been successfully placed. You can use the Order Status REST API or use WebSocket API to receive the status of this order.</li>\n<li>When an order fails during the order placement process you can expect to receive an <code>orderId</code>, <code>code</code> and <code>message</code> in the response body. See example below. You can use the Order Status REST API or use WebSocket API to receive the status of this order.</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"orderId\": \"d043a37d-40b0-49e5-b3fd-104c762585e7\",\n    \"code\": -6,\n    \"message\": \"Insufficient Balance\"\n}\n\n</code></pre>\n","urlObject":{"path":["v2","orders","stop","limit"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"939fd777-6a6d-4780-b2c3-3deae349f345","name":"Stop Limit Order placed unsuccessfully on the exchange","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    \"side\": \"BUY\",\n    \"quantity\": \"0.00016\",\n    \"price\": \"645055\",\n    \"pair\": \"BTCUSDT\",\n    \"customerOrderId\": \"556789\",\n    \"timeInForce\": \"GTC\",\n    \"stopPrice\": \"644021\",\n    \"type\": \"STOP_LOSS_LIMIT\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v2/orders/stop/limit"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Mon, 08 Feb 2021 19:27:41 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"9"},{"key":"server","value":"envoy"},{"key":"transfer-encoding","value":"chunked"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"clear"}],"cookie":[],"responseTime":null,"body":"{\n\t/*NOTE: \n    When an order is sent successfully to the exchange but fails during order placement the error response will contain the orderId.\n    To receive status updates for this order you can use:\n    1. Order Status REST API \n    2. WebSocket API \n    */\n    \"orderId\": \"d043a37d-40b0-49e5-b3fd-104c762585e7\",\n    \"code\": -6,\n    \"message\": \"Insufficient Balance\"\n}\n\n"},{"id":"3f850423-9705-4fd5-bfa1-8b39367fedce","name":"Stop Limit Order placed successfully","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    \"side\": \"BUY\",\n    \"quantity\": \"2.0001\",\n    \"price\": \"19.10\",\n    \"pair\": \"USDTZAR\",\n    \"customerOrderId\": \"990121212121\",\n    \"timeInForce\": \"GTC\",\n    \"stopPrice\": \"19.15\",\n    \"type\": \"STOP_LOSS_LIMIT\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v2/orders/stop/limit"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"19"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"date","value":"Mon, 04 Dec 2023 14:40:34 GMT"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"95603118-2f14-4da3-93c4-2b8c25850d8d\"\n}"}],"_postman_id":"7f841323-b0aa-4e88-84ef-956b0f105b78"},{"name":"Batch Orders","id":"bae7aee0-9768-4daa-8331-81096abf6934","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"description":"<p>Your API Key</p>\n","key":"X-VALR-API-KEY","type":"text","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33"},{"description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n","key":"X-VALR-SIGNATURE","type":"text","value":"{{requestSignature}}"},{"description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n","key":"X-VALR-TIMESTAMP","type":"text","value":"{{requestTimestamp}}"}],"body":{"mode":"raw","raw":"{\n    \"requests\": [\n        {\n            \"type\": \"PLACE_MARKET\",\n            \"data\": {\n                \"side\": \"SELL\",\n                \"quoteAmount\": \"100\",\n                \"pair\": \"BTCUSDT\",\n                \"customerOrderId\": \"1234\"\n            }\n        },\n        {\n            \"type\": \"PLACE_LIMIT\",\n            \"data\": {\n                \"pair\": \"BTCUSDT\",\n                \"side\": \"BUY\",\n                \"quantity\": \"0.0002\",\n                \"price\": \"100000\",\n                \"timeInForce\": \"GTC\"\n            }\n        },\n        {\n            \"type\": \"PLACE_LIMIT\",\n            \"data\": {\n                \"pair\": \"ETHUSDT\",\n                \"side\": \"SELL\",\n                \"quantity\": \"0.2\",\n                \"price\": \"32000\",\n                \"postOnly\":\"false\",\n                \"timeInForce\": \"GTC\"\n            }\n        },\n        {\n            \"type\": \"PLACE_STOP_LIMIT\",\n            \"data\": {\n                \"pair\": \"BTCUSDT\",\n                \"side\": \"BUY\",\n                \"quantity\": \"0.0002\",\n                \"price\": \"100000\",\n                \"timeInForce\": \"GTC\",\n                \"stopPrice\": \"110000\",\n                \"type\": \"TAKE_PROFIT_LIMIT\"\n            }\n        },\n        {\n            \"type\": \"PLACE_STOP_LIMIT\",\n            \"data\": {\n                \"pair\": \"BTCUSDT\",\n                \"side\": \"SELL\",\n                \"quantity\": \"0.0003\",\n                \"price\": \"1150000\",\n                \"timeInForce\": \"GTC\",\n                \"stopPrice\": \"110000\",\n                \"type\": \"STOP_LOSS_LIMIT\"\n            }\n        },\n        {\n            \"type\": \"PLACE_STOP_LIMIT\",\n            \"data\": {\n                \"pair\": \"BTCUSDT\",\n                \"side\": \"BUY\",\n                \"quantity\": \"0.0000002\",\n                \"price\": \"100000\",\n                \"timeInForce\": \"GTC\",\n                \"stopPrice\": \"110000\",\n                \"type\": \"STOP_LOSS_LIMIT\"\n            }\n            },\n        {\n            \"type\": \"CANCEL_ORDER\",\n            \"data\": {\n                \"orderId\":\"e5886f2d-191b-4330-a221-c7b41b0bc553\",\n                \"pair\": \"ETHUSDT\"\n            }\n        }\n    ]\n}"},"url":"https://api.valr.com/v1/batch/orders","description":"<p>Create a batch of multiple create, cancel or modify orders in a single request. The data parameter supports the same fields as in the non batch order for the relevant request.</p>\n<p>When the response is <code>200 - OK</code>, this means that the <code>Batch Order</code> has been submitted. However, this does not mean that all the orders in the Batch have been executed.</p>\n<p>In the response body will be the outcomes of each of the orders in the batch. Values are <code>true</code> with an <code>orderId</code> for accepted orders, or <code>false</code> with a failure message for failed orders.</p>\n<p>Example request body:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"requests\": [\n        {\n            \"type\": \"PLACE_MARKET\",\n            \"data\": {\n                \"side\": \"SELL\",\n                \"quoteAmount\": \"10\",\n                \"pair\": \"BTCUSDT\",\n                \"customerOrderId\": \"1234\"\n            }\n        },\n        {\n            \"type\": \"PLACE_LIMIT\",\n            \"data\": {\n                \"pair\": \"BTCUSDT\",\n                \"side\": \"BUY\",\n                \"quantity\": \"0.0002\",\n                \"price\": \"100000\",\n                \"timeInForce\": \"GTC\"\n            }\n        },\n        {\n            \"type\": \"PLACE_LIMIT\",\n            \"data\": {\n                \"pair\": \"ETHZAR\",\n                \"side\": \"SELL\",\n                \"quantity\": \"0.2\",\n                \"price\": \"32000\",\n                \"postOnly\":\"false\",\n                \"timeInForce\": \"GTC\"\n            }\n        },\n        {\n            \"type\": \"PLACE_STOP_LIMIT\",\n            \"data\": {\n                \"pair\": \"BTCUSDT\",\n                \"side\": \"BUY\",\n                \"quantity\": \"0.0002\",\n                \"price\": \"100000\",\n                \"timeInForce\": \"GTC\",\n                \"stopPrice\": \"110000\",\n                \"type\": \"TAKE_PROFIT_LIMIT\"\n            }\n        },\n        {\n            \"type\": \"PLACE_STOP_LIMIT\",\n            \"data\": {\n                \"pair\": \"BTCUSDT\",\n                \"side\": \"SELL\",\n                \"quantity\": \"0.0003\",\n                \"price\": \"1150000\",\n                \"timeInForce\": \"GTC\",\n                \"stopPrice\": \"110000\",\n                \"type\": \"STOP_LOSS_LIMIT\"\n            }\n        },\n        {\n            \"type\": \"PLACE_STOP_LIMIT\",\n            \"data\": {\n                \"pair\": \"BTCUSDT\",\n                \"side\": \"BUY\",\n                \"quantity\": \"0.0000002\",\n                \"price\": \"100000\",\n                \"timeInForce\": \"GTC\",\n                \"stopPrice\": \"110000\",\n                \"type\": \"STOP_LOSS_LIMIT\"\n            }\n            },\n        {\n            \"type\": \"CANCEL_ORDER\",\n            \"data\": {\n                \"orderId\":\"e5886f2d-191b-4330-a221-c7b41b0bc553\",\n                \"pair\": \"ETHZAR\"\n            }\n        }\n    ]\n}\n\n</code></pre>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>type (required)</td>\n<td>For each order in the batch, order type being placed. Can be <code>PLACE_MARKET</code>, <code>PLACE_LIMIT</code>, <code>PLACE_STOP_LIMIT</code> , <code>CANCEL_ORDER</code> or <code>MODIFY_ORDER</code></td>\n</tr>\n<tr>\n<td>data (required)</td>\n<td>This contains the actual values of each of the order <code>type</code>. Must be valid values according to the order <code>type</code> being placed.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Notes</strong></p>\n<ul>\n<li><p><strong><code>customerOrderId</code></strong>:\n  Optional field for tracking orders using your internal system. It supports alphanumeric characters and dashes (\"-\"), with a 50-character limit. Special characters are not allowed. The <code>customerOrderId</code> must be <strong>unique across all open orders</strong> for a given account. Reusing an <code>id</code> from an active order will prevent the new order from being placed (use the order status API to check an order’s status).</p>\n</li>\n<li><p><strong>Order Types</strong>:<br />  The <code>customerOrderId</code> is valid for <code>PLACE_MARKET</code>, <code>PLACE_LIMIT</code>, and <code>PLACE_STOP_LIMIT</code> within a batch.</p>\n</li>\n<li><p><strong>Order Retrieval</strong>:<br />  When retrieving <code>All Open Orders</code> or <code>Order History</code>, the <code>customerOrderId</code> (if specified during creation) and VALR's <code>orderId</code> will be returned.</p>\n</li>\n<li><p><strong>Order Cancellation</strong>:<br />  For <code>CANCEL_ORDER</code>, use either <code>orderId</code> or <code>customerOrderId</code> to cancel an order—<strong>not both</strong>.</p>\n</li>\n</ul>\n<p><strong>PLEASE NOTE</strong>:</p>\n<ul>\n<li><p>A maximum of 20 orders may be submitted in a single <code>Batch Orders</code> request.</p>\n</li>\n<li><p>Responses for the orders will be returned in the same sequence that they are submitted in the request.</p>\n</li>\n<li><p>When you receive a response with <code>accepted: true</code> and an <code>orderId</code>, it means that the order has been accepted and will be placed if possible, and filled if matched.</p>\n</li>\n<li><p>When the response is <code>200 - OK</code>, you can use the WebSocket API (or <code>Order Status</code> REST API) to receive the up to date status each of the orders in the batch by <code>orderId</code>.</p>\n</li>\n</ul>\n<p>The reasons why an order could fail are as follows:</p>\n<ul>\n<li><p>Insufficient balance in your account.</p>\n</li>\n<li><p>If it would be triggered immediately for any applicable <code>PLACE_STOP_LIMIT</code> orders in the batch.</p>\n</li>\n<li><p>If you're using a non-unique <code>customerOrderId</code>.</p>\n</li>\n<li><p>Self trading: If your order matches against your own order (on the other side).</p>\n</li>\n<li><p>Insufficient liquidity: If you're placing an order and there isn't enough liquidity on the order book to fulfil the order.</p>\n</li>\n<li><p>Minimum order size is not met. In this case, the response will be <code>accepted:false</code>, with the failure reason.</p>\n</li>\n</ul>\n","urlObject":{"path":["v1","batch","orders"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"ff93bdd1-04ea-46cb-a802-0aaac05bb626","name":"Batch Orders  (Market, Limit, Stop Loss Limit, Take Profit Limit, Cancel Order)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    \"requests\": [\n        {\n            \"type\": \"PLACE_MARKET\",\n            \"data\": {\n                \"side\": \"SELL\",\n                \"quoteAmount\": \"100\",\n                \"pair\": \"BTCUSDT\",\n                \"customerOrderId\": \"1234\"\n            }\n        },\n        {\n            \"type\": \"PLACE_LIMIT\",\n            \"data\": {\n                \"pair\": \"BTCUSDT\",\n                \"side\": \"BUY\",\n                \"quantity\": \"0.0002\",\n                \"price\": \"100000\",\n                \"timeInForce\": \"GTC\"\n            }\n        },\n        {\n            \"type\": \"PLACE_LIMIT\",\n            \"data\": {\n                \"pair\": \"ETHUSDT\",\n                \"side\": \"SELL\",\n                \"quantity\": \"0.2\",\n                \"price\": \"32000\",\n                \"postOnly\":\"false\",\n                \"timeInForce\": \"GTC\"\n            }\n        },\n        {\n            \"type\": \"PLACE_STOP_LIMIT\",\n            \"data\": {\n                \"pair\": \"BTCUSDT\",\n                \"side\": \"BUY\",\n                \"quantity\": \"0.0002\",\n                \"price\": \"100000\",\n                \"timeInForce\": \"GTC\",\n                \"stopPrice\": \"110000\",\n                \"type\": \"TAKE_PROFIT_LIMIT\"\n            }\n        },\n        {\n            \"type\": \"PLACE_STOP_LIMIT\",\n            \"data\": {\n                \"pair\": \"BTCUSDT\",\n                \"side\": \"SELL\",\n                \"quantity\": \"0.0003\",\n                \"price\": \"1150000\",\n                \"timeInForce\": \"GTC\",\n                \"stopPrice\": \"110000\",\n                \"type\": \"STOP_LOSS_LIMIT\"\n            }\n        },\n        {\n            \"type\": \"PLACE_STOP_LIMIT\",\n            \"data\": {\n                \"pair\": \"BTCUSDT\",\n                \"side\": \"BUY\",\n                \"quantity\": \"0.0000002\",\n                \"price\": \"100000\",\n                \"timeInForce\": \"GTC\",\n                \"stopPrice\": \"110000\",\n                \"type\": \"STOP_LOSS_LIMIT\"\n            }\n            },\n        {\n            \"type\": \"CANCEL_ORDER\",\n            \"data\": {\n                \"orderId\":\"e5886f2d-191b-4330-a221-c7b41b0bc553\",\n                \"pair\": \"ETHUSDT\"\n            }\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/batch/orders"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"118"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 17 Jul 2025 10:21:52 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"outcomes\": [\n        {\n            \"accepted\": true,\n            \"orderId\": \"019817e7-a109-7924-9269-90a1296d0ffd\",\n            \"customerOrderId\": \"1234\",\n            \"requestType\": \"PLACE_MARKET\"\n        },\n        {\n            \"accepted\": true,\n            \"orderId\": \"019817e7-a10b-70d0-b8c9-4f76be471825\",\n            \"requestType\": \"PLACE_LIMIT\"\n        },\n        {\n            \"accepted\": true,\n            \"orderId\": \"019817e7-a10b-7a44-aef7-fbb52b6b8f30\",\n            \"requestType\": \"PLACE_LIMIT\"\n        },\n        {\n            \"accepted\": true,\n            \"orderId\": \"019817e7-a10b-7c90-bf3a-594ba91e9cea\",\n            \"requestType\": \"PLACE_STOP_LIMIT\"\n        },\n        {\n            \"accepted\": true,\n            \"orderId\": \"019817e7-a113-73df-8bcd-7e29fdcde48d\",\n            \"requestType\": \"PLACE_STOP_LIMIT\"\n        },\n        {\n            \"accepted\": false,\n            \"error\": {\n                \"code\": -12007,\n                \"message\": \"Minimum order size not met . Minimum amount: 0.00000786 BTC, minimum total: 0.52 USDT\"\n            }\n        },\n        {\n            \"accepted\": true,\n            \"orderId\": \"e5886f2d-191b-4330-a221-c7b41b0bc553\",\n            \"requestType\": \"CANCEL_ORDER\"\n        }\n    ],\n    \"batchId\": 1395349783381499904\n}"}],"_postman_id":"bae7aee0-9768-4daa-8331-81096abf6934"},{"name":"Limit Post Only Reprice","id":"c54efc93-6541-4c9b-8168-5e1266eb4d19","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"side\": \"SELL\",\n    \"quantity\": \"0.020000\",\n    \"price\": \"107200\",\n    \"pair\": \"BTCUSDC\",\n    \"postOnly\": false,\n    \"postOnlyReprice\": true,\n    \"postOnlyRepriceTicks\": \"1\",\n    \"customerOrderId\": \"postOnlyReprice\",\n    \"timeInForce\": \"GTC\"\n}"},"url":"https://api.valr.com/v1/orders/limit","description":"<p>Create a new Limit Order which will be repriced by 1 tick to the best bid or best ask (or by the \"postOnlyRepriceTicks\" value) if the specified price were to match. This ensures Limit Post Only Reprice orders are always placed, and execute as maker trades.</p>\n<p>The JSON body used to create a limit order looks like this:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"side\": \"BUY\",\n    \"quantity\": \"0.0001\",\n    \"price\": \"656596\",\n    \"pair\": \"BTCUSDT\",\n    \"postOnlyReprice\": true,\n    \"postOnlyRepriceTicks\": \"1\",\n    \"customerOrderId\": \"Reprice1\",\n    \"timeInForce\": \"GTC\"\n}\n\n</code></pre>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>side (required)</td>\n<td><code>BUY</code> or <code>SELL</code> (must be uppercase)</td>\n</tr>\n<tr>\n<td>quantity (required)</td>\n<td>Base amount (the amount submitted will be truncated to <code>baseDecimalPlaces</code> of the currency pair)</td>\n</tr>\n<tr>\n<td>price (required)</td>\n<td>Price per coin in quote currency</td>\n</tr>\n<tr>\n<td>pair (required)</td>\n<td>Must be a supported currency pair e.g., <code>SOLUSDC</code>, <code>BTCUSDT</code>, <code>ETHUSDT</code>, <code>AVAXUSDT</code>.</td>\n</tr>\n<tr>\n<td>postOnlyReprice (required)</td>\n<td><code>true</code> or <code>false</code>. Must be <code>true</code> for order repricing.</td>\n</tr>\n<tr>\n<td>postOnlyRepriceTicks (optional)</td>\n<td>Numeric value (Default: <code>1</code>, Max: <code>50</code>). Number of ticks away from the other side of the book if the order were to match.</td>\n</tr>\n<tr>\n<td>customerOrderId (optional)</td>\n<td>Alphanumeric value. See below for explanation.</td>\n</tr>\n<tr>\n<td>timeInForce (optional)</td>\n<td>Can be <code>GTC</code>, <code>FOK</code>, or <code>IOC</code> (must be uppercase). Default value is <code>GTC</code>. See below for explanation.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<p><strong>Notes</strong></p>\n<ul>\n<li><p><strong><code>postOnlyReprice</code></strong>:<br />  Must be <code>true</code> for the order to reprice if the order matches as it's placed.</p>\n</li>\n<li><p><strong><code>postOnlyRepriceTicks</code></strong>:<br />  The number of ticks away from the other side of the book if the order were to match. Default value is <code>1</code>, Max is <code>50</code>.</p>\n</li>\n<li><p><strong><code>customerOrderId</code></strong>:<br />  An optional field which can be specified by clients to track this order using their own internal order management systems. It supports alphanumeric characters and dashes (\"-\"), with a 50-character limit. Special characters are not allowed. The <code>customerOrderId</code> must be <strong>unique across all open orders</strong> for a given account. Reusing an <code>id</code> from an active order will prevent the new order from being placed (use the order status API to check an order’s status).</p>\n</li>\n<li><p><strong><code>postOnly</code></strong>:<br />  Setting <code>postOnly=true</code> will place a Maker order and cause it to fail if it is matched immediately.</p>\n</li>\n<li><p><strong><code>timeInForce</code></strong>:<br />  Specifies the duration that an order will remain active. Post only reprice orders have to use <code>GTC</code>.</p>\n</li>\n<li><p><strong>Order Retrieval</strong>:<br />  When you retrieve open orders or order history, the <code>customerOrderId</code> (if specified during creation) and VALR's <code>orderId</code> will both be returned.</p>\n</li>\n<li><p><strong>Order Cancellation</strong>:<br />  You can cancel an order by specifying either <code>orderId</code> or <code>customerOrderId</code>, but <strong>not both</strong>.</p>\n</li>\n</ul>\n<p><strong>PLEASE NOTE</strong>: When you receive a response with an id,<br />it does not always mean that the order has been placed.<br />When the response is <code>202 Accepted</code>, you can use the<br />Order Status REST API or use WebSocket API to receive the status<br />of this order. The reasons why an order could fail are as follows:</p>\n<ul>\n<li><p>Insufficient balance in your account.</p>\n</li>\n<li><p>If you're using a non-unique <code>customerOrderId</code>.</p>\n</li>\n<li><p>Self trading: If your order matches against your own order (on the other side).</p>\n</li>\n<li><p>Insufficient liquidity: If you're placing an order and there isn't liquidity to fulfil the order.</p>\n</li>\n</ul>\n","urlObject":{"path":["v1","orders","limit"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"1409c3e5-f23e-4cfa-9fe3-0e33cbaaab7b","name":"Limit Post Only Reprice accepted","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    \"side\": \"SELL\",\n    \"quantity\": \"0.020000\",\n    \"price\": \"107200\",\n    \"pair\": \"BTCUSDC\",\n    \"postOnly\": false,\n    \"postOnlyReprice\": true,\n    \"postOnlyRepriceTicks\": \"1\",\n    \"customerOrderId\": \"postOnlyReprice\",\n    \"timeInForce\": \"GTC\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/orders/limit"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Wed, 08 May 2024 13:22:58 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"8"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"6158df52-db69-4ace-94bd-12ae54225001\"\n}"}],"_postman_id":"c54efc93-6541-4c9b-8168-5e1266eb4d19"},{"name":"TWAP Orders","id":"9fb609e7-7d04-4949-ac30-d5d387ecfd89","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}"}],"body":{"mode":"raw","raw":"{\n    \"side\": \"BUY\",\n    \"quantity\": \"0.0002\",\n    \"price\": \"0\",\n    \"pair\": \"BTCUSDT\",\n    \"orderType\": \"MARKET\",\n    \"duration\": 300,\n    \"cadence\": 30,\n    \"randomQuantity\": false,\n    \"allowMargin\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/twap","description":"<p>Places a TWAP order which splits a large order into smaller sub-orders executed at regular intervals over a set duration.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>side (required)</td>\n<td><code>BUY</code> or <code>SELL</code> (should be upper case).</td>\n</tr>\n<tr>\n<td>quantity (required)</td>\n<td>Base amount (the amount submitted will be truncated to <code>baseDecimalPlaces</code> of the currency pair).</td>\n</tr>\n<tr>\n<td>price (required)</td>\n<td>Price in quote Currency(<code>should be set to ZERO for MARKET orders</code>).</td>\n</tr>\n<tr>\n<td>pair (required)</td>\n<td>Can be any supported SPOT and FUTURES currency pair e.g. <code>BTCUSDC</code>, <code>ETHUSDC</code>, <code>BTCUSDT</code> or <code>BTCUSTDPERP</code>.</td>\n</tr>\n<tr>\n<td>orderType (required)</td>\n<td>Can be any supported order type e.g. <code>MARKET</code>, <code>LIMIT</code> or <code>LIMIT_REDUCE_ONLY</code> or <code>MARKET_REDUCE_ONLY</code>.</td>\n</tr>\n<tr>\n<td>duration (required)</td>\n<td>Total duration in seconds e.g. <code>60</code>, <code>90</code>, <code>120</code>. See below for explanation.</td>\n</tr>\n<tr>\n<td>cadence (required)</td>\n<td>Interval between orders in seconds e.g. <code>10</code>, <code>20</code>, <code>30</code>, or <code>60</code>. See below for explanation.</td>\n</tr>\n<tr>\n<td>randomQuantity (required)</td>\n<td><code>true</code> or <code>false</code>. Default value is <code>false</code>.</td>\n</tr>\n<tr>\n<td>allowMargin (optional)</td>\n<td><code>true</code> or <code>false</code>. Default value is <code>false</code>. See below for explanation.</td>\n</tr>\n<tr>\n<td>triggerPrice (optional)</td>\n<td>Price level that triggers the order execution. If not included, TWAP starts immediately.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Note</strong></p>\n<ul>\n<li><p><strong><code>price</code></strong>:<br />  Set to <code>0</code> for market orders. Otherwise suborders are submitted as limit orders with the specified price.</p>\n</li>\n<li><p><strong><code>duration</code></strong>:<br />  The duration is how long the TWAP order runs for, in seconds. The total quantity is spread across this time window. Minimum is <code>60 seconds</code> (1 minute), maximum is <code>259200 seconds</code> (72 hours). The duration input should be a multiple of cadence.</p>\n</li>\n<li><p><strong><code>cadence</code></strong>:<br />  The cadence is how often a sub-order is placed, in seconds. Accepted values are 10, 20, 30, or 60. For example, a duration of 3600 (1 hour) with a cadence of 30 will place 120 sub-orders, one every 30 seconds.</p>\n</li>\n<li><p><strong><code>randomQuantity</code></strong>:<br />  When false (default), every sub-order is the same size (total quantity divided evenly). When set to <code>true</code>, each sub-order size is randomly varied, making the execution pattern less predictable. The total quantity executed remains the same regardless of this setting.</p>\n</li>\n<li><p><strong><code>allowMargin</code></strong>:<br />  Set to <code>true</code> for margin/leverage trades. Only subaccounts can trade on margin, and each must be enabled individually via the account/status API.</p>\n</li>\n<li><p><strong><code>triggerPrice</code></strong>:<br />  The <code>triggerPrice</code> parameter specifies <strong>when</strong> <strong>the</strong> <strong>TWAP</strong> <strong>execution</strong> <strong>should</strong> <strong>start</strong> - only after Mark price of the pair reaching that value does the TWAP duration begin.</p>\n</li>\n</ul>\n<p><strong>PLEASE NOTE</strong>: When you receive a response with an id, it does not always mean that the order has been placed. When the response is <code>202 Accepted</code>, you can use the TWAP Order History REST API to verify the current state of the order. The reasons why a suborder could fail are as follows:</p>\n<ul>\n<li><p>Insufficient balance in your account.</p>\n</li>\n<li><p>Self trading: If your order matches against your own order (on the other side).</p>\n</li>\n<li><p>Insufficient liquidity: If you're placing an order and there isn't liquidity to fulfill the order.</p>\n</li>\n</ul>\n","urlObject":{"path":["v1","twap"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"a8151045-c051-4792-ac4b-bcb2fdaa162f","name":"TWAP Market Buy Order","originalRequest":{"method":"POST","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). "}],"body":{"mode":"raw","raw":"{\n    \"side\": \"BUY\",\n    \"quantity\": \"0.2\",\n    \"price\": \"0\",\n    \"pair\": \"SOLUSDT\",\n    \"orderType\": \"MARKET\",\n    \"duration\": 300,\n    \"cadence\": 30,\n    \"randomQuantity\": false,\n    \"allowMargin\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/twap"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":":status","value":202},{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"158"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 16 Apr 2026 06:53:21 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"orderId\": \"019d9510-d4a4-73aa-bf24-768ff2970529\"\n}"},{"id":"c97acdbc-884b-41a2-a5de-3387a141a74b","name":"TWAP Limit Buy Order","originalRequest":{"method":"POST","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). "}],"body":{"mode":"raw","raw":"{\n    \"side\": \"BUY\",\n    \"quantity\": \"1.5\",\n    \"price\": \"83\",\n    \"pair\": \"SOLUSDT\",\n    \"orderType\": \"LIMIT\",\n    \"duration\": 300,\n    \"cadence\": 30,\n    \"randomQuantity\": false,\n    \"allowMargin\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/twap"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":":status","value":202},{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"36"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 16 Apr 2026 07:00:15 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"orderId\": \"019d9517-262a-7aae-841d-0c35d11cff74\"\n}"},{"id":"50e57ea4-e431-43aa-9bf1-98cfbd28d221","name":"TWAP Trigger Buy Order","originalRequest":{"method":"POST","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). "}],"body":{"mode":"raw","raw":"{\n    \"side\": \"BUY\",\n    \"quantity\": \"1.5\",\n    \"price\": \"0\",\n    \"pair\": \"SOLUSDT\",\n    \"orderType\": \"MARKET\",\n    \"duration\": 300,\n    \"cadence\": 30,\n    \"randomQuantity\": false,\n    \"allowMargin\": false,\n    \"triggerPrice\": \"60\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/twap"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":":status","value":202},{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"32"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 16 Apr 2026 07:14:28 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"orderId\": \"019d9524-2b8d-711c-89de-b047e83caab2\"\n}"},{"id":"93b1ebe2-f8b1-42c4-a5cb-89bfb2d59221","name":"TWAP Futures Market Buy Order","originalRequest":{"method":"POST","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). "}],"body":{"mode":"raw","raw":"{\n    \"side\": \"BUY\",\n    \"quantity\": \"0.002\",\n    \"price\": \"0\",\n    \"pair\": \"ETHUSDTPERP\",\n    \"orderType\": \"MARKET\",\n    \"duration\": 300,\n    \"cadence\": 30,\n    \"randomQuantity\": false,\n    \"allowMargin\": false\n\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/twap"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":":status","value":202},{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"38"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 16 Apr 2026 07:25:14 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"orderId\": \"019d952e-053d-7e23-8463-baa8778721cc\"\n}"},{"id":"c221eeac-eacd-4bfc-80ff-2a4979a1a332","name":"TWAP Futures Limit Buy Order","originalRequest":{"method":"POST","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). "}],"body":{"mode":"raw","raw":"{\n    \"side\": \"BUY\",\n    \"quantity\": \"0.002\",\n    \"price\": \"2337\",\n    \"pair\": \"ETHUSDTPERP\",\n    \"orderType\": \"LIMIT\",\n    \"duration\": 300,\n    \"cadence\": 30,\n    \"randomQuantity\": false,\n    \"allowMargin\": false\n\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/twap"},"status":"Accepted","code":202,"_postman_previewlanguage":null,"header":[{"key":":status","value":202},{"key":"content-type","value":"application/json"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"22"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 16 Apr 2026 07:28:15 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"orderId\": \"019d9530-c86c-72bd-aee6-c6cbd2bc3749\"\n}"},{"id":"0ca1131b-300b-4d00-97ea-8bb59c7c93a2","name":"TWAP Futures Trigger Buy Order","originalRequest":{"method":"POST","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). "}],"body":{"mode":"raw","raw":"{\n    \"side\": \"BUY\",\n    \"quantity\": \"0.002\",\n    \"price\": \"0\",\n    \"pair\": \"ETHUSDTPERP\",\n    \"orderType\": \"MARKET\",\n    \"duration\": 300,\n    \"cadence\": 30,\n    \"randomQuantity\": false,\n    \"allowMargin\": false,\n    \"triggerPrice\": \"2000\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/twap"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":":status","value":202},{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"27"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 16 Apr 2026 07:31:01 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"orderId\": \"019d9533-541e-7690-adbd-1b98cb3c1e69\"\n}"},{"id":"3c439cab-c267-4d69-9bb3-818f84272a86","name":"TWAP Futures Limit Reduce Only Buy Order","originalRequest":{"method":"POST","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). "}],"body":{"mode":"raw","raw":"{\n    \"side\": \"BUY\",\n    \"quantity\": \"0.003\",\n    \"price\": \"2337.21\",\n    \"pair\": \"ETHUSDTPERP\",\n    \"orderType\": \"LIMIT_REDUCE_ONLY\",\n    \"duration\": 300,\n    \"cadence\": 30,\n    \"randomQuantity\": false,\n    \"allowMargin\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/twap"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":":status","value":202},{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"13"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 16 Apr 2026 08:11:21 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"orderId\": \"019d9558-3c21-7ea7-8264-6f13b47b27f3\"\n}"},{"id":"1b8899e6-d948-4678-ac60-56d3fd883b73","name":"TWAP Market Sell Order","originalRequest":{"method":"POST","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). "}],"body":{"mode":"raw","raw":"{\n    \"side\": \"SELL\",\n    \"quantity\": \"1.5\",\n    \"price\": \"0\",\n    \"pair\": \"SOLUSDT\",\n    \"orderType\": \"MARKET\",\n    \"duration\": 300,\n    \"cadence\": 30,\n    \"randomQuantity\": false,\n    \"allowMargin\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/twap"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":":status","value":202},{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"29"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 16 Apr 2026 07:48:47 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"orderId\": \"019d9543-97cc-70fb-985b-c76e3807fec0\"\n}"},{"id":"17a99cd2-5003-4b62-bb23-8428b892ffd6","name":"TWAP Limit Sell Order","originalRequest":{"method":"POST","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). "}],"body":{"mode":"raw","raw":"{\n    \"side\": \"SELL\",\n    \"quantity\": \"0.2\",\n    \"price\": \"3000\",\n    \"pair\": \"SOLUSDT\",\n    \"orderType\": \"LIMIT\",\n    \"duration\": 300,\n    \"cadence\": 30,\n    \"randomQuantity\": false,\n    \"allowMargin\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/twap"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":":status","value":202},{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"24"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 16 Apr 2026 07:51:29 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"orderId\": \"019d9546-0db4-7929-b0ad-5d8de52baa67\"\n}"},{"id":"4b9b52b2-ade3-4dfc-942a-7b7af722b3a0","name":"TWAP Trigger Sell Order","originalRequest":{"method":"POST","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). "}],"body":{"mode":"raw","raw":"{\n    \"side\": \"SELL\",\n    \"quantity\": \"1.5\",\n    \"price\": \"0\",\n    \"pair\": \"SOLUSDT\",\n    \"orderType\": \"MARKET\",\n    \"duration\": 300,\n    \"cadence\": 30,\n    \"randomQuantity\": false,\n    \"allowMargin\": false,\n    \"triggerPrice\": \"100\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/twap"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":":status","value":202},{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"22"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 16 Apr 2026 07:56:43 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"orderId\": \"019d954a-d8b4-74fd-92c3-ea920cf2b0bb\"\n}"},{"id":"b88a3491-8889-409e-8d87-ba91e02f673e","name":"TWAP Futures Market Sell Order","originalRequest":{"method":"POST","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). "}],"body":{"mode":"raw","raw":"{\n    \"side\": \"SELL\",\n    \"quantity\": \"0.004\",\n    \"price\": \"0\",\n    \"pair\": \"ETHUSDTPERP\",\n    \"orderType\": \"MARKET\",\n    \"duration\": 300,\n    \"cadence\": 30,\n    \"randomQuantity\": false,\n    \"allowMargin\": false\n\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/twap"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":":status","value":202},{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"23"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 16 Apr 2026 08:00:56 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"orderId\": \"019d954e-b51e-774e-ae6b-ba4d8340bc65\"\n}"},{"id":"25cfcfd8-3c39-4071-b8b9-6f2f69159e2e","name":"TWAP Futures Limit Sell Order","originalRequest":{"method":"POST","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). "}],"body":{"mode":"raw","raw":"{\n    \"side\": \"SELL\",\n    \"quantity\": \"0.002\",\n    \"price\": \"2337\",\n    \"pair\": \"ETHUSDTPERP\",\n    \"orderType\": \"LIMIT\",\n    \"duration\": 300,\n    \"cadence\": 30,\n    \"randomQuantity\": false,\n    \"allowMargin\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/twap"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":":status","value":202},{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"24"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 16 Apr 2026 08:05:01 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"orderId\": \"019d9552-71cc-7fa0-b68a-9be3a10eb24a\"\n}"},{"id":"090b830a-661b-479a-8c01-f1a826eb5d4a","name":"TWAP Futures Trigger Limit Sell Order","originalRequest":{"method":"POST","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). "}],"body":{"mode":"raw","raw":"{\n    \"side\": \"SELL\",\n    \"quantity\": \"0.002\",\n    \"price\": \"0\",\n    \"pair\": \"ETHUSDTPERP\",\n    \"orderType\": \"MARKET\",\n    \"duration\": 300,\n    \"cadence\": 30,\n    \"randomQuantity\": false,\n    \"allowMargin\": false,\n    \"triggerPrice\": \"3000\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/twap"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":":status","value":202},{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"29"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 16 Apr 2026 08:06:27 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"orderId\": \"019d9553-c4b5-76cc-ab85-d4ce73a6fca4\"\n}"},{"id":"98197a73-648d-4620-bdc9-516e2b4c0872","name":"TWAP Futures Limit Reduce Only Sell Order","originalRequest":{"method":"POST","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). "}],"body":{"mode":"raw","raw":"{\n    \"side\": \"SELL\",\n    \"quantity\": \"0.001\",\n    \"price\": \"2337\",\n    \"pair\": \"ETHUSDTPERP\",\n    \"orderType\": \"LIMIT_REDUCE_ONLY\",\n    \"duration\": 300,\n    \"cadence\": 30,\n    \"randomQuantity\": false,\n    \"allowMargin\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/twap"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":":status","value":202},{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"23"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 16 Apr 2026 07:41:52 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"{\n    \"orderId\": \"019d953d-40ab-7107-9324-4f6fa4f876f4\"\n}"}],"_postman_id":"9fb609e7-7d04-4949-ac30-d5d387ecfd89"},{"name":"Order Status (orderId)","id":"8d9252e1-ee27-495e-86ed-57458bdafd19","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>Your API Key</p>\n","key":"X-VALR-API-KEY","type":"text","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33"},{"description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n","key":"X-VALR-SIGNATURE","type":"text","value":"{{requestSignature}}"},{"description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n","key":"X-VALR-TIMESTAMP","type":"text","value":"{{requestTimestamp}}"}],"url":"https://api.valr.com/v1/orders/:currencyPair/orderid/:orderId","description":"<p>This API returns the status of an order that was placed on the Exchange queried using the <code>id</code> provided by VALR. VALR provides an <code>id</code> for every order that is placed on the Exchange. Use this <code>id</code> to populate the path variable <code>orderId</code> in this API to query the status of the order.</p>\n<p>Note: If a <code>customerOrderId</code> was also specified while placing the order, that <code>customerOrderId</code> will be returned as part of the response.</p>\n","urlObject":{"path":["v1","orders",":currencyPair","orderid",":orderId"],"host":["https://api.valr.com"],"query":[],"variable":[{"description":{"content":"<p>The currency pair</p>\n","type":"text/plain"},"type":"any","value":"BTCUSDT","key":"currencyPair"},{"description":{"content":"<p>The order ID provided by VALR.</p>\n","type":"text/plain"},"type":"any","value":"9dbeb334-f1d4-405e-860e-8588b842ccbe","key":"orderId"}]}},"response":[{"id":"a6f8bef9-1998-4061-9ecb-5cac4ee80456","name":"Failed Buy","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/orders/:currencyPair/orderid/:orderId","host":["https://api.valr.com"],"path":["v1","orders",":currencyPair","orderid",":orderId"],"variable":[{"key":"currencyPair","value":"ETHBTC","description":"The currency pair"},{"key":"orderId","value":"0198177e-54b4-7847-b87a-7f5db0f677d8","description":"The order ID provided by VALR."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"41"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 17 Jul 2025 08:27:05 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"orderId\": \"0198177e-54b4-7847-b87a-7f5db0f677d8\",\n    \"orderStatusType\": \"Failed\",\n    \"currencyPair\": \"ETHBTC\",\n    \"originalPrice\": \"0\",\n    \"remainingQuantity\": \"0.000565\",\n    \"originalQuantity\": \"0.000565\",\n    \"orderSide\": \"buy\",\n    \"orderType\": \"market\",\n    \"failedReason\": \"We did not execute this order since it would have matched with your own order on the Exchange\",\n    \"orderUpdatedAt\": \"2025-07-17T08:26:51.958Z\",\n    \"orderCreatedAt\": \"2025-07-17T08:26:51.956Z\",\n    \"customerOrderId\": \"1234\",\n    \"timeInForce\": \"IOC\"\n}"},{"id":"29b6a22d-3f97-4a07-a9a8-998d4cfe312d","name":"Cancelled","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/orders/:currencyPair/orderid/:orderId","host":["https://api.valr.com"],"path":["v1","orders",":currencyPair","orderid",":orderId"],"variable":[{"key":"currencyPair","value":"ETHBTC","description":"The currency pair"},{"key":"orderId","value":"01981786-c482-7bae-a3da-4a756ef9d12e","description":"The order ID provided by VALR."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"8"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 17 Jul 2025 08:37:49 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"orderId\": \"01981786-c482-7bae-a3da-4a756ef9d12e\",\n    \"orderStatusType\": \"Cancelled\",\n    \"currencyPair\": \"ETHBTC\",\n    \"originalPrice\": \"0.0355\",\n    \"remainingQuantity\": \"0.000565\",\n    \"originalQuantity\": \"0.000565\",\n    \"orderSide\": \"sell\",\n    \"orderType\": \"post-only limit\",\n    \"failedReason\": \"\",\n    \"orderUpdatedAt\": \"2025-07-17T08:37:44.419Z\",\n    \"orderCreatedAt\": \"2025-07-17T08:36:04.866Z\",\n    \"customerOrderId\": \"LimitSell\",\n    \"timeInForce\": \"GTC\"\n}"},{"id":"c0f3b517-96e8-4543-8ef0-f14d05d58832","name":"Filled - Order Status (orderId)","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/orders/:currencyPair/orderid/:orderId","host":["https://api.valr.com"],"path":["v1","orders",":currencyPair","orderid",":orderId"],"variable":[{"key":"currencyPair","value":"ETHBTC","description":"The currency pair"},{"key":"orderId","value":"0198178f-a957-7684-b650-eb987183f8e5","description":"The order ID provided by VALR."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"8"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 17 Jul 2025 08:53:08 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"orderId\": \"0198178f-a957-7684-b650-eb987183f8e5\",\n    \"orderStatusType\": \"Filled\",\n    \"currencyPair\": \"ETHBTC\",\n    \"originalPrice\": \"0.03\",\n    \"remainingQuantity\": \"0\",\n    \"originalQuantity\": \"0.033333\",\n    \"orderSide\": \"sell\",\n    \"orderType\": \"post-only limit\",\n    \"failedReason\": \"\",\n    \"orderUpdatedAt\": \"2025-07-17T08:53:00.620Z\",\n    \"orderCreatedAt\": \"2025-07-17T08:45:47.735Z\",\n    \"customerOrderId\": \"LimitSell\",\n    \"timeInForce\": \"GTC\"\n}"},{"id":"addafb7c-dba4-4f27-b976-37f395890f54","name":"Partially Filled","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/orders/:currencyPair/orderid/:orderId","host":["https://api.valr.com"],"path":["v1","orders",":currencyPair","orderid",":orderId"],"variable":[{"key":"currencyPair","value":"ETHBTC","description":"The currency pair"},{"key":"orderId","value":"0198178f-a957-7684-b650-eb987183f8e5","description":"The order ID provided by VALR."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"41"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 17 Jul 2025 08:47:11 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"orderId\": \"0198178f-a957-7684-b650-eb987183f8e5\",\n    \"orderStatusType\": \"Partially Filled\",\n    \"currencyPair\": \"ETHBTC\",\n    \"originalPrice\": \"0.03\",\n    \"remainingQuantity\": \"0.032333\",\n    \"originalQuantity\": \"0.033333\",\n    \"orderSide\": \"sell\",\n    \"orderType\": \"post-only limit\",\n    \"failedReason\": \"\",\n    \"orderUpdatedAt\": \"2025-07-17T08:47:05.537Z\",\n    \"orderCreatedAt\": \"2025-07-17T08:45:47.735Z\",\n    \"customerOrderId\": \"LimitSell\",\n    \"timeInForce\": \"GTC\"\n}"},{"id":"9bb48f22-a49c-4936-a316-a97f33f79303","name":"Placed","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/orders/:currencyPair/orderid/:orderId","host":["https://api.valr.com"],"path":["v1","orders",":currencyPair","orderid",":orderId"],"variable":[{"key":"currencyPair","value":"ETHBTC","description":"The currency pair"},{"key":"orderId","value":"01981786-c482-7bae-a3da-4a756ef9d12e","description":"The order ID provided by VALR."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"6"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 17 Jul 2025 08:36:16 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"orderId\": \"01981786-c482-7bae-a3da-4a756ef9d12e\",\n    \"orderStatusType\": \"Placed\",\n    \"currencyPair\": \"ETHBTC\",\n    \"originalPrice\": \"0.0355\",\n    \"remainingQuantity\": \"0.000565\",\n    \"originalQuantity\": \"0.000565\",\n    \"orderSide\": \"sell\",\n    \"orderType\": \"post-only limit\",\n    \"failedReason\": \"\",\n    \"orderUpdatedAt\": \"2025-07-17T08:36:04.867Z\",\n    \"orderCreatedAt\": \"2025-07-17T08:36:04.866Z\",\n    \"customerOrderId\": \"LimitSell\",\n    \"timeInForce\": \"GTC\"\n}"},{"id":"06d12032-1f2d-4964-b4ff-52f18d00caa5","name":"Active Stop Order","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/orders/:currencyPair/orderid/:orderId","host":["https://api.valr.com"],"path":["v1","orders",":currencyPair","orderid",":orderId"],"variable":[{"key":"currencyPair","value":"XRPZAR","description":"The currency pair"},{"key":"orderId","value":"ff72a8d6-161f-43a6-806d-68061afc3c7a","description":"The order ID provided by VALR."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Thu, 18 Aug 2022 12:35:04 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"5"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"orderId\": \"ff72a8d6-161f-43a6-806d-68061afc3c7a\",\n    \"orderStatusType\": \"Active\",\n    \"currencyPair\": \"XRPZAR\",\n    \"originalPrice\": \"10\",\n    \"remainingQuantity\": \"10\",\n    \"originalQuantity\": \"10\",\n    \"orderSide\": \"buy\",\n    \"orderType\": \"take-profit-limit\",\n    \"failedReason\": \"\",\n    \"orderUpdatedAt\": \"2022-08-18T12:34:56.115Z\",\n    \"orderCreatedAt\": \"2022-08-18T12:34:56.112Z\",\n    \"customerOrderId\": \"556789\",\n    \"stopPrice\": \"12\",\n    \"timeInForce\": \"GTC\"\n}"},{"id":"68ca5488-b615-4eda-b208-1d3e3c41b305","name":"Triggered Stop Order","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/orders/:currencyPair/orderid/:orderId","host":["https://api.valr.com"],"path":["v1","orders",":currencyPair","orderid",":orderId"],"variable":[{"key":"currencyPair","value":"XRPZAR","description":"The currency pair"},{"key":"orderId","value":"b4b678f4-eae7-477d-b48f-0e27a25efadc","description":"The order ID provided by VALR."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Thu, 18 Aug 2022 12:42:45 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"6"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"orderId\": \"b4b678f4-eae7-477d-b48f-0e27a25efadc\",\n    \"orderStatusType\": \"Placed\",\n    \"currencyPair\": \"XRPZAR\",\n    \"originalPrice\": \"10\",\n    \"remainingQuantity\": \"10\",\n    \"originalQuantity\": \"10\",\n    \"orderSide\": \"sell\",\n    \"orderType\": \"stop-loss-limit\",\n    \"failedReason\": \"\",\n    \"orderUpdatedAt\": \"2022-08-18T12:40:07.992Z\",\n    \"orderCreatedAt\": \"2022-08-17T15:13:24.732Z\",\n    \"stopPrice\": \"3000\",\n    \"timeInForce\": \"GTC\"\n}"}],"_postman_id":"8d9252e1-ee27-495e-86ed-57458bdafd19"},{"name":"Order Status (customerOrderId)","id":"87c78a99-c94c-4b16-a986-5957a62a66fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>Your API Key</p>\n","key":"X-VALR-API-KEY","type":"text","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33"},{"description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n","key":"X-VALR-SIGNATURE","type":"text","value":"{{requestSignature}}"},{"description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n","key":"X-VALR-TIMESTAMP","type":"text","value":"{{requestTimestamp}}"}],"url":"https://api.valr.com/v1/orders/:currencyPair/customerorderid/:customerOrderId","description":"<p>This API returns the status of an order that was placed on the Exchange queried using <code>customerOrderId</code>. The customer can specify a <code>customerOrderId</code> while placing an order on the Exchange. Use this API to query the order status using that <code>customerOrderId</code>.</p>\n","urlObject":{"path":["v1","orders",":currencyPair","customerorderid",":customerOrderId"],"host":["https://api.valr.com"],"query":[],"variable":[{"description":{"content":"<p>The currency pair</p>\n","type":"text/plain"},"type":"any","value":"BTCUSDT","key":"currencyPair"},{"description":{"content":"<p>The order ID provided by the customer when creating the order.</p>\n","type":"text/plain"},"type":"any","value":"1234","key":"customerOrderId"}]}},"response":[{"id":"dccf4d14-2a17-4b84-80cd-a0729bb7c4cb","name":"Order Filled","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/orders/:currencyPair/customerorderid/:customerOrderId","host":["https://api.valr.com"],"path":["v1","orders",":currencyPair","customerorderid",":customerOrderId"],"variable":[{"key":"currencyPair","value":"ETHBTC","description":"The currency pair"},{"key":"customerOrderId","value":"LimitSell","description":"The order ID provided by the customer when creating the order."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"36"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 17 Jul 2025 10:05:35 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"orderId\": \"0198178f-a957-7684-b650-eb987183f8e5\",\n    \"orderStatusType\": \"Filled\",\n    \"currencyPair\": \"ETHBTC\",\n    \"originalPrice\": \"0.03\",\n    \"remainingQuantity\": \"0\",\n    \"originalQuantity\": \"0.033333\",\n    \"orderSide\": \"sell\",\n    \"orderType\": \"post-only limit\",\n    \"failedReason\": \"\",\n    \"orderUpdatedAt\": \"2025-07-17T08:53:00.620Z\",\n    \"orderCreatedAt\": \"2025-07-17T08:45:47.735Z\",\n    \"customerOrderId\": \"LimitSell\",\n    \"timeInForce\": \"GTC\"\n}"},{"id":"ca02ac3e-fbed-4aeb-95e9-2e1f212ec1bb","name":"Order placed","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/orders/:currencyPair/customerorderid/:customerOrderId","host":["https://api.valr.com"],"path":["v1","orders",":currencyPair","customerorderid",":customerOrderId"],"variable":[{"key":"currencyPair","value":"ETHBTC","description":"The currency pair"},{"key":"customerOrderId","value":"LimitSell","description":"The order ID provided by the customer when creating the order."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"36"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 17 Jul 2025 10:08:08 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"orderId\": \"019817da-ed41-7e7c-b68b-2b58644d3e89\",\n    \"orderStatusType\": \"Placed\",\n    \"currencyPair\": \"ETHBTC\",\n    \"originalPrice\": \"0.03\",\n    \"remainingQuantity\": \"0.033333\",\n    \"originalQuantity\": \"0.033333\",\n    \"orderSide\": \"sell\",\n    \"orderType\": \"post-only limit\",\n    \"failedReason\": \"\",\n    \"orderUpdatedAt\": \"2025-07-17T10:08:00.348Z\",\n    \"orderCreatedAt\": \"2025-07-17T10:08:00.321Z\",\n    \"customerOrderId\": \"LimitSell\",\n    \"timeInForce\": \"GTC\"\n}"},{"id":"af87d095-fab3-4a05-be61-268a41f25ae3","name":"Invalid Order","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/orders/:currencyPair/customerorderid/:customerOrderId","host":["https://api.valr.com"],"path":["v1","orders",":currencyPair","customerorderid",":customerOrderId"],"variable":[{"key":"currencyPair","value":"ETHBTC","description":"The currency pair"},{"key":"customerOrderId","value":"invalidID","description":"The order ID provided by the customer when creating the order."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"78"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 17 Jul 2025 10:11:04 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": -1,\n    \"message\": \"Invalid Order. \"\n}"},{"id":"85c37a9c-dc3c-46f6-9579-1884a9b011bf","name":"Partially Filled","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/orders/:currencyPair/customerorderid/:customerOrderId","host":["https://api.valr.com"],"path":["v1","orders",":currencyPair","customerorderid",":customerOrderId"],"variable":[{"key":"currencyPair","value":"ETHBTC","description":"The currency pair"},{"key":"customerOrderId","value":"LimitSell","description":"The order ID provided by the customer when creating the order."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"6"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 17 Jul 2025 10:09:50 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"orderId\": \"019817da-ed41-7e7c-b68b-2b58644d3e89\",\n    \"orderStatusType\": \"Partially Filled\",\n    \"currencyPair\": \"ETHBTC\",\n    \"originalPrice\": \"0.03\",\n    \"remainingQuantity\": \"0.023333\",\n    \"originalQuantity\": \"0.033333\",\n    \"orderSide\": \"sell\",\n    \"orderType\": \"post-only limit\",\n    \"failedReason\": \"\",\n    \"orderUpdatedAt\": \"2025-07-17T10:09:45.204Z\",\n    \"orderCreatedAt\": \"2025-07-17T10:08:00.321Z\",\n    \"customerOrderId\": \"LimitSell\",\n    \"timeInForce\": \"GTC\"\n}"},{"id":"d0098633-4c3e-43af-a83d-2eb681270cc2","name":"Order failed","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/orders/:currencyPair/customerorderid/:customerOrderId","host":["https://api.valr.com"],"path":["v1","orders",":currencyPair","customerorderid",":customerOrderId"],"variable":[{"key":"currencyPair","value":"ETHBTC","description":"The currency pair"},{"key":"customerOrderId","value":"1234","description":"The order ID provided by the customer when creating the order."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"5"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 17 Jul 2025 10:14:00 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"orderId\": \"019817df-c3a3-771f-894a-90a8e6a7824e\",\n    \"orderStatusType\": \"Failed\",\n    \"currencyPair\": \"ETHBTC\",\n    \"originalPrice\": \"0\",\n    \"remainingQuantity\": \"0.01\",\n    \"originalQuantity\": \"0.01\",\n    \"orderSide\": \"buy\",\n    \"orderType\": \"market\",\n    \"failedReason\": \"We did not execute this order since it would have matched with your own order on the Exchange\",\n    \"orderUpdatedAt\": \"2025-07-17T10:13:17.348Z\",\n    \"orderCreatedAt\": \"2025-07-17T10:13:17.347Z\",\n    \"customerOrderId\": \"1234\",\n    \"timeInForce\": \"IOC\"\n}"},{"id":"84524322-6a6a-4afa-96f9-b6daed9afcc4","name":"Active Stop Order","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/orders/:currencyPair/customerorderid/:customerOrderId","host":["https://api.valr.com"],"path":["v1","orders",":currencyPair","customerorderid",":customerOrderId"],"variable":[{"key":"currencyPair","value":"XRPZAR","description":"The currency pair"},{"key":"customerOrderId","value":"556789","description":"The order ID provided by the customer when creating the order."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Thu, 18 Aug 2022 12:36:21 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"7"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"orderId\": \"ff72a8d6-161f-43a6-806d-68061afc3c7a\",\n    \"orderStatusType\": \"Active\",\n    \"currencyPair\": \"XRPZAR\",\n    \"originalPrice\": \"10\",\n    \"remainingQuantity\": \"10\",\n    \"originalQuantity\": \"10\",\n    \"orderSide\": \"buy\",\n    \"orderType\": \"take-profit-limit\",\n    \"failedReason\": \"\",\n    \"orderUpdatedAt\": \"2022-08-18T12:34:56.115Z\",\n    \"orderCreatedAt\": \"2022-08-18T12:34:56.112Z\",\n    \"customerOrderId\": \"556789\",\n    \"stopPrice\": \"12\",\n    \"timeInForce\": \"GTC\"\n}"}],"_postman_id":"87c78a99-c94c-4b16-a986-5957a62a66fc"},{"name":"All Open Orders","id":"910bc498-b88d-48e8-b392-6cc94b8cb66d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n","type":"text"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n","type":"text"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n","type":"text"}],"url":"https://api.valr.com/v1/orders/open","description":"<p>Get all open orders for your account.</p>\n<p>A <code>customerOrderId</code> field will be returned in the response for all those orders that were created with a <code>customerOrderId</code> field.</p>\n","urlObject":{"path":["v1","orders","open"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"f73308c7-2e63-40de-9f98-3348c4ead3d8","name":"All Open Orders","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":"https://api.valr.com/v1/orders/open"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Wed, 08 May 2024 12:01:30 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"1"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"orderId\": \"4cbf1b17-fa28-4be3-8d36-08b829cfedf9\",\n        \"side\": \"sell\",\n        \"remainingQuantity\": \"0.00005062\",\n        \"price\": \"66391\",\n        \"currencyPair\": \"BTCUSDC\",\n        \"createdAt\": \"2024-05-08T11:51:29.169Z\",\n        \"originalQuantity\": \"0.00015062\",\n        \"filledPercentage\": \"66.39\",\n        \"updatedAt\": \"2024-05-08T11:51:29.181Z\",\n        \"status\": \"Partially Filled\",\n        \"type\": \"limit\",\n        \"timeInForce\": \"GTC\",\n        \"allowMargin\": true\n    },\n    {\n        \"orderId\": \"4352df1d-6d24-472e-8a81-9c03e74690e7\",\n        \"side\": \"sell\",\n        \"remainingQuantity\": \"3\",\n        \"price\": \"17.9\",\n        \"currencyPair\": \"AVAXUSDC\",\n        \"createdAt\": \"2024-05-08T11:55:14.422Z\",\n        \"originalQuantity\": \"3\",\n        \"filledPercentage\": \"0.00\",\n        \"updatedAt\": \"2024-05-08T11:55:14.423Z\",\n        \"status\": \"Placed\",\n        \"type\": \"limit\",\n        \"timeInForce\": \"GTC\",\n        \"allowMargin\": false\n    },\n    {\n        \"orderId\": \"9d0b49ef-fd54-4653-822d-bef023e2e2e4\",\n        \"side\": \"sell\",\n        \"remainingQuantity\": \"0.12\",\n        \"price\": \"381\",\n        \"currencyPair\": \"AVAXZAR\",\n        \"createdAt\": \"2024-05-08T11:55:56.682Z\",\n        \"originalQuantity\": \"0.12\",\n        \"filledPercentage\": \"0.00\",\n        \"updatedAt\": \"2024-05-08T11:55:56.683Z\",\n        \"status\": \"Placed\",\n        \"type\": \"limit\",\n        \"timeInForce\": \"GTC\",\n        \"allowMargin\": false\n    },\n    {\n        \"orderId\": \"6506546f-eb88-4cde-9409-eeec17bdf062\",\n        \"side\": \"sell\",\n        \"remainingQuantity\": \"12\",\n        \"price\": \"36\",\n        \"currencyPair\": \"SOLUSDC\",\n        \"createdAt\": \"2024-05-08T11:57:27.222Z\",\n        \"originalQuantity\": \"12\",\n        \"filledPercentage\": \"0.00\",\n        \"updatedAt\": \"2024-05-08T11:57:27.245Z\",\n        \"status\": \"Placed\",\n        \"type\": \"post-only limit\",\n        \"timeInForce\": \"GTC\",\n        \"allowMargin\": false\n    },\n    {\n        \"orderId\": \"d75888b8-58e9-4472-ad75-911018fc1770\",\n        \"side\": \"buy\",\n        \"remainingQuantity\": \"0.015954\",\n        \"price\": \"0.06268\",\n        \"currencyPair\": \"ETHBTC\",\n        \"createdAt\": \"2024-05-08T12:00:46.890Z\",\n        \"originalQuantity\": \"0.015954\",\n        \"filledPercentage\": \"0.00\",\n        \"updatedAt\": \"2024-05-08T12:00:46.909Z\",\n        \"status\": \"Placed\",\n        \"type\": \"post-only limit\",\n        \"timeInForce\": \"GTC\",\n        \"allowMargin\": false\n    },\n    {\n        \"orderId\": \"ec8f3d88-0a22-4dad-af26-bed0148883b7\",\n        \"side\": \"buy\",\n        \"remainingQuantity\": \"12\",\n        \"price\": \"0.99989\",\n        \"currencyPair\": \"PYUSDUSDT\",\n        \"createdAt\": \"2024-05-08T12:01:25.860Z\",\n        \"originalQuantity\": \"12\",\n        \"filledPercentage\": \"0.00\",\n        \"updatedAt\": \"2024-05-08T12:01:25.861Z\",\n        \"status\": \"Placed\",\n        \"type\": \"post-only limit\",\n        \"timeInForce\": \"GTC\",\n        \"allowMargin\": false\n    }\n]"},{"id":"be75609e-6ad8-4df7-a662-71b51145e76b","name":"Active and Triggered Open Stop Orders","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key","type":"text"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature.","type":"text"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds.","type":"text"}],"url":"https://api.valr.com/v1/orders/open"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Thu, 18 Aug 2022 12:40:22 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"6"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"orderId\": \"b4b678f4-eae7-477d-b48f-0e27a25efadc\",\n        \"side\": \"sell\",\n        \"remainingQuantity\": \"10\",\n        \"price\": \"10\",\n        \"currencyPair\": \"XRPZAR\",\n        \"createdAt\": \"2022-08-17T15:13:24.732Z\",\n        \"originalQuantity\": \"10\",\n        \"filledPercentage\": \"0.00\",\n        \"stopPrice\": \"3000\",\n        \"updatedAt\": \"2022-08-18T12:40:07.992Z\",\n        \"status\": \"Placed\",\n        \"type\": \"stop-loss-limit\",\n        \"timeInForce\": \"GTC\"\n    },\n    {\n        \"orderId\": \"ff72a8d6-161f-43a6-806d-68061afc3c7a\",\n        \"side\": \"buy\",\n        \"remainingQuantity\": \"10\",\n        \"price\": \"10\",\n        \"currencyPair\": \"XRPZAR\",\n        \"createdAt\": \"2022-08-18T12:34:56.112Z\",\n        \"originalQuantity\": \"10\",\n        \"filledPercentage\": \"0.00\",\n        \"customerOrderId\": \"556789\",\n        \"stopPrice\": \"12\",\n        \"updatedAt\": \"2022-08-18T12:34:56.115Z\",\n        \"status\": \"Active\",\n        \"type\": \"take-profit-limit\",\n        \"timeInForce\": \"GTC\"\n    }\n]"}],"_postman_id":"910bc498-b88d-48e8-b392-6cc94b8cb66d"},{"name":"All Conditional Orders","id":"a27344ac-7050-4fe2-96b9-eb0683522126","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"url":"https://api.valr.com/v1/orders/conditionals","description":"<p>Get all active conditional orders for your account.</p>\n<p>A <code>customerOrderId</code> field will be returned in the response for all those orders that were created with a <code>customerOrderId</code> field.</p>\n","urlObject":{"path":["v1","orders","conditionals"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"950a469e-f60c-46a6-9d00-8082af65dbd7","name":"All Conditional Orders","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":"https://api.valr.com/v1/orders/conditionals"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Wed, 08 May 2024 11:20:19 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"5"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"orderId\": \"12d87c9e-ea28-416c-b0df-76ef6e2c0c05\",\n        \"triggerOrderSide\": \"buy\",\n        \"triggerOrderType\": \"limit-reduce-only\",\n        \"currencyPair\": \"1000PEPEUSDTPERP\",\n        \"createdAt\": \"2024-05-08T09:42:03.684Z\",\n        \"updatedAt\": \"2024-05-08T09:42:03.684Z\",\n        \"triggerType\": \"LAST_TRADED\",\n        \"conditionalType\": \"TAKE_PROFIT\",\n        \"positionSide\": \"sell\",\n        \"positionId\": \"a478bbe1-6090-08de-28a9-03d971446924\",\n        \"quantity\": \"0\",\n        \"takeProfitTriggerPrice\": \"0.007359\",\n        \"takeProfitPlacePrice\": \"0.0073\"\n    },\n    {\n        \"orderId\": \"7a19f5a1-afad-4138-bb9a-65a136e6c507\",\n        \"triggerOrderSide\": \"buy\",\n        \"triggerOrderType\": \"limit-reduce-only\",\n        \"currencyPair\": \"1000PEPEUSDTPERP\",\n        \"createdAt\": \"2024-05-08T09:45:53.630Z\",\n        \"updatedAt\": \"2024-05-08T09:45:53.630Z\",\n        \"triggerType\": \"LAST_TRADED\",\n        \"conditionalType\": \"TAKE_PROFIT\",\n        \"customerOrderId\": \"ConditionalByLast\",\n        \"positionSide\": \"sell\",\n        \"positionId\": \"a478bbe1-6090-08de-28a9-03d971446924\",\n        \"quantity\": \"8320\",\n        \"takeProfitTriggerPrice\": \"0.007359\",\n        \"takeProfitPlacePrice\": \"0.0073\"\n    },\n    {\n        \"orderId\": \"8f3b9e0d-ff08-42c4-b5bc-8a57583574f6\",\n        \"triggerOrderSide\": \"sell\",\n        \"triggerOrderType\": \"limit-reduce-only\",\n        \"currencyPair\": \"SOLUSDTPERP\",\n        \"createdAt\": \"2024-05-08T11:16:21.885Z\",\n        \"updatedAt\": \"2024-05-08T11:16:21.885Z\",\n        \"triggerType\": \"MARK_PRICE\",\n        \"conditionalType\": \"TAKE_PROFIT\",\n        \"positionSide\": \"buy\",\n        \"positionId\": \"60dab264-d008-dea4-28a9-03da7d620964\",\n        \"quantity\": \"0\",\n        \"takeProfitTriggerPrice\": \"146.45\",\n        \"takeProfitPlacePrice\": \"-1\"\n    },\n    {\n        \"orderId\": \"d1469f6e-774f-422b-877a-fa7ae6a03dfe\",\n        \"triggerOrderSide\": \"sell\",\n        \"triggerOrderType\": \"limit-reduce-only\",\n        \"currencyPair\": \"ETHUSDTPERP\",\n        \"createdAt\": \"2024-05-08T11:16:44.682Z\",\n        \"updatedAt\": \"2024-05-08T11:16:44.682Z\",\n        \"triggerType\": \"MARK_PRICE\",\n        \"conditionalType\": \"TAKE_PROFIT\",\n        \"positionSide\": \"buy\",\n        \"positionId\": \"52306c62-c068-046f-28a9-03da7d7cfa3c\",\n        \"quantity\": \"0\",\n        \"takeProfitTriggerPrice\": \"6350\",\n        \"takeProfitPlacePrice\": \"-1\"\n    },\n    {\n        \"orderId\": \"e281eb8e-c315-4372-a7b6-8c5e5f5eb971\",\n        \"triggerOrderSide\": \"sell\",\n        \"triggerOrderType\": \"limit-reduce-only\",\n        \"currencyPair\": \"AVAXUSDTPERP\",\n        \"createdAt\": \"2024-10-12T03:08:19.060Z\",\n        \"updatedAt\": \"2024-10-12T03:08:19.060Z\",\n        \"triggerType\": \"LAST_TRADED\",\n        \"conditionalType\": \"OT_OCO\",\n        \"customerOrderId\": \"ConditionalByLastTraded\",\n        \"quantity\": \"0.2\",\n        \"takeProfitTriggerPrice\": \"44.74\",\n        \"takeProfitPlacePrice\": \"44.8\",\n        \"stopLossTriggerPrice\": \"30.1\",\n        \"stopLossPlacePrice\": \"30\",\n        \"linkedOrderId\": \"5b5ca343-2063-40dd-9c31-840dc72a5aab\"\n    },\n    {\n        \"orderId\": \"019b0c6c-7a42-7d7b-a408-8d2266c1bd57\",\n        \"triggerOrderSide\": \"buy\",\n        \"triggerOrderType\": \"limit\",\n        \"currencyPair\": \"BTCUSDT\",\n        \"createdAt\": \"2025-12-11T07:59:54.434Z\",\n        \"updatedAt\": \"2025-12-11T07:59:54.434Z\",\n        \"triggerType\": \"MARK_PRICE\",\n        \"conditionalType\": \"OCO\",\n        \"customerOrderId\": \"testB\",\n        \"quantity\": \"10\",\n        \"takeProfitTriggerPrice\": \"90000\",\n        \"takeProfitPlacePrice\": \"-1\",\n        \"stopLossTriggerPrice\": \"93000\",\n        \"stopLossPlacePrice\": \"-1\",\n        \"allowMargin\": true\n    }\n]"}],"_postman_id":"a27344ac-7050-4fe2-96b9-eb0683522126"},{"name":"Active TWAP Orders","id":"cd2bb2e6-602c-498c-8c29-5ef749125580","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \nExample: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"url":"https://api.valr.com/v1/twap/active?symbol=BTCUSDT&status=ACTIVE","description":"<p>This API returns all active and pending trigger TWAP orders.</p>\n","urlObject":{"path":["v1","twap","active"],"host":["https://api.valr.com"],"query":[{"description":{"content":"<p>(Optional) Filter returned orders by this currency pair.</p>\n","type":"text/plain"},"key":"symbol","value":"BTCUSDT"},{"description":{"content":"<p>(Optional) Filter by status: ACTIVE or PENDING_TRIGGER.</p>\n","type":"text/plain"},"key":"status","value":"ACTIVE"}],"variable":[]}},"response":[{"id":"f932295e-72c4-40ca-991e-f18b118aed37","name":"Active TWAP Orders","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/twap/active?symbol=SOLUSDT&status=ACTIVE","host":["https://api.valr.com"],"path":["v1","twap","active"],"query":[{"key":"symbol","value":"SOLUSDT","description":"(Optional) Filter returned orders by this currency pair."},{"key":"status","value":"ACTIVE","description":"(Optional) Filter by status: ACTIVE or PENDING_TRIGGER."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":":status","value":200},{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"7"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 16 Apr 2026 08:15:10 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"orderId\": \"019d955a-9fa2-7815-a979-548997ff6f6e\",\n        \"currencyPair\": \"SOLUSDT\",\n        \"side\": \"sell\",\n        \"orderType\": \"market\",\n        \"totalQuantity\": \"0.2\",\n        \"quantityFilled\": \"0.06\",\n        \"averageFilledPrice\": \"82.99\",\n        \"status\": \"ACTIVE\",\n        \"createdAt\": 1776327237538,\n        \"durationSeconds\": 300,\n        \"cadenceSeconds\": 30,\n        \"executionCount\": 3,\n        \"firstExecutionAt\": 1776327237,\n        \"lastExecutionAt\": 1776327297,\n        \"allowMargin\": false\n    },\n    {\n        \"orderId\": \"019d955b-79e9-75f3-a23e-de10d7060120\",\n        \"currencyPair\": \"SOLUSDT\",\n        \"side\": \"buy\",\n        \"orderType\": \"limit\",\n        \"totalQuantity\": \"1.5\",\n        \"quantityFilled\": \"0.15\",\n        \"price\": \"83\",\n        \"averageFilledPrice\": \"83\",\n        \"status\": \"ACTIVE\",\n        \"createdAt\": 1776327293417,\n        \"durationSeconds\": 300,\n        \"cadenceSeconds\": 30,\n        \"executionCount\": 1,\n        \"firstExecutionAt\": 1776327293,\n        \"lastExecutionAt\": 1776327293,\n        \"allowMargin\": false\n    },\n    {\n        \"orderId\": \"019d955b-9b1f-7050-8f49-e649bdcb19be\",\n        \"currencyPair\": \"SOLUSDT\",\n        \"side\": \"sell\",\n        \"orderType\": \"limit\",\n        \"totalQuantity\": \"1.5\",\n        \"quantityFilled\": \"0\",\n        \"price\": \"83\",\n        \"status\": \"ACTIVE\",\n        \"createdAt\": 1776327301919,\n        \"durationSeconds\": 300,\n        \"cadenceSeconds\": 30,\n        \"executionCount\": 1,\n        \"firstExecutionAt\": 1776327302,\n        \"lastExecutionAt\": 1776327302,\n        \"allowMargin\": false,\n        \"lastFailureReasonCode\": -11512,\n        \"lastFailureAt\": 1776327302731\n    },\n    {\n        \"orderId\": \"019d955a-7d84-7791-ab7a-a1207bc6b353\",\n        \"currencyPair\": \"SOLUSDT\",\n        \"side\": \"buy\",\n        \"orderType\": \"market\",\n        \"totalQuantity\": \"0.2\",\n        \"quantityFilled\": \"0.06\",\n        \"averageFilledPrice\": \"83\",\n        \"status\": \"ACTIVE\",\n        \"createdAt\": 1776327228804,\n        \"durationSeconds\": 300,\n        \"cadenceSeconds\": 30,\n        \"executionCount\": 3,\n        \"firstExecutionAt\": 1776327229,\n        \"lastExecutionAt\": 1776327289,\n        \"allowMargin\": false\n    }\n\n]"}],"_postman_id":"cd2bb2e6-602c-498c-8c29-5ef749125580"},{"name":"TWAP Order History","id":"5788c1ab-577a-498f-9d0e-080defe2869e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}"}],"url":"https://api.valr.com/v1/twap/historic?symbol=BTCUSDT&status=COMPLETED&skip=0&limit=100&startTime=1776417752770&endTime=1776762856790","description":"<p>This API returns all completed and cancelled TWAP orders.</p>\n","urlObject":{"path":["v1","twap","historic"],"host":["https://api.valr.com"],"query":[{"description":{"content":"<p>(Optional) Filter by currency pair, e.g. BTCUSDT.</p>\n","type":"text/plain"},"key":"symbol","value":"BTCUSDT"},{"description":{"content":"<p>(Optional) Include only TWAP orders that have this status.\nAvailable options:\n\"COMPLETED\"\n\"CANCELLED\"\n\"FAILED\".</p>\n","type":"text/plain"},"key":"status","value":"COMPLETED"},{"description":{"content":"<p>(Optional) Skip this number of results. (Default 0).</p>\n","type":"text/plain"},"key":"skip","value":"0"},{"description":{"content":"<p>(Optional) Limit the results to this number. (Default and Max 100).</p>\n","type":"text/plain"},"key":"limit","value":"100"},{"description":{"content":"<p>(Optional, default 7 days ago) — Start of time range in Unix milliseconds, e.g. 1770417228389.</p>\n","type":"text/plain"},"key":"startTime","value":"1776417752770"},{"description":{"content":"<p>(Optional, default now) — End of time range in Unix milliseconds, e.g. 1773209228389.</p>\n","type":"text/plain"},"key":"endTime","value":"1776762856790"}],"variable":[]}},"response":[{"id":"ae8231bc-ed7d-4137-9ebf-3a2426f8f739","name":"TWAP Order History","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}"}],"url":{"raw":"https://api.valr.com/v1/twap/historic?symbol=ETHUSDTPERP&status=COMPLETED&skip=0&limit=100&startTime=1776417752770&endTime=1776762856790","host":["https://api.valr.com"],"path":["v1","twap","historic"],"query":[{"key":"symbol","value":"ETHUSDTPERP","description":"(Optional) Filter by currency pair, e.g. BTCUSDT, ETHUSDTPERP."},{"key":"status","value":"COMPLETED","description":"(Optional) Include only TWAP orders that have this status.\nAvailable options:\n\"COMPLETED\"\n\"CANCELLED\"\n\"FAILED\"."},{"key":"skip","value":"0","description":"(Optional) Skip this number of results. (Default 0)."},{"key":"limit","value":"100","description":"(Optional) Limit the results to this number. (Default and Max 100)."},{"key":"startTime","value":"1776417752770","description":"(Optional, default 7 days ago) — Start of time range in Unix milliseconds, e.g. 1770417228389."},{"key":"endTime","value":"1776762856790","description":"(Optional, default now) — End of time range in Unix milliseconds, e.g. 1773209228389."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":":status","value":200},{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"37"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 16 Apr 2026 08:16:18 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"    {\n        \"orderId\": \"019d9558-3c21-7ea7-8264-6f13b47b27f3\",\n        \"currencyPair\": \"ETHUSDTPERP\",\n        \"side\": \"buy\",\n        \"orderType\": \"limit-reduce-only\",\n        \"totalQuantity\": \"0.003\",\n        \"quantityFilled\": \"0.003\",\n        \"price\": \"2337.21\",\n        \"averageFilledPrice\": \"2337.21\",\n        \"status\": \"COMPLETED\",\n        \"createdAt\": 1776327080993,\n        \"durationSeconds\": 300,\n        \"cadenceSeconds\": 30,\n        \"executionCount\": 7,\n        \"firstExecutionAt\": 1776327081,\n        \"lastExecutionAt\": 1776327261,\n        \"allowMargin\": false\n    }"}],"_postman_id":"5788c1ab-577a-498f-9d0e-080defe2869e"},{"name":"TWAP Sub-Order History","id":"72fda5ec-0ad0-4d36-ab36-30afb5e50294","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}"}],"url":"https://api.valr.com/v1/twap/suborder/:currencyPair/:orderId/history?startTime=2026-03-01T10:00:00.000Z&endTime=2026-04-22T10:05:05.000Z&skip=0&limit=100","description":"<p>This API returns the execution history of individual sub-orders for a specific TWAP order. Supports pagination and time filtering.</p>\n","urlObject":{"path":["v1","twap","suborder",":currencyPair",":orderId","history"],"host":["https://api.valr.com"],"query":[{"description":{"content":"<p>(Optional) Include only records after this ISO 8601 start time.</p>\n","type":"text/plain"},"key":"startTime","value":"2026-03-01T10:00:00.000Z"},{"description":{"content":"<p>(Optional) Include only records before this ISO 8601 end time.</p>\n","type":"text/plain"},"key":"endTime","value":"2026-04-22T10:05:05.000Z"},{"description":{"content":"<p>Skip this number of results. (Default 0).</p>\n","type":"text/plain"},"key":"skip","value":"0"},{"description":{"content":"<p>Limit the results to this number. (Default and Max 100).</p>\n","type":"text/plain"},"key":"limit","value":"100"}],"variable":[{"id":"0f98eaad-a9ff-47f9-932b-fc58fec16301","description":{"content":"<p>The currency pair.</p>\n","type":"text/plain"},"type":"any","value":"BTCUSDT","key":"currencyPair"},{"id":"546e09f7-5045-48f5-b5d6-bd61ba17be2e","description":{"content":"<p>The TWAP order ID provided by VALR.</p>\n","type":"text/plain"},"type":"any","value":"019daf51-a556-7264-8e87-68809ec542fc","key":"orderId"}]}},"response":[{"id":"c76cf9f7-f5af-4278-b78e-5b9f87b7c2bf","name":"TWAP Sub-Order History","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}"}],"url":{"raw":"https://api.valr.com/v1/twap/suborder/:currencyPair/:orderId/history?startTime=2026-03-01T10:00:00.000Z&endTime=2026-04-22T10:05:05.000Z&skip=0&limit=100","host":["https://api.valr.com"],"path":["v1","twap","suborder",":currencyPair",":orderId","history"],"query":[{"key":"startTime","value":"2026-03-01T10:00:00.000Z","description":"(Optional) Include only records after this ISO 8601 start time."},{"key":"endTime","value":"2026-04-22T10:05:05.000Z","description":"(Optional) Include only records before this ISO 8601 end time."},{"key":"skip","value":"0","description":"Skip this number of results. (Default 0)."},{"key":"limit","value":"100","description":"Limit the results to this number. (Default and Max 100)."}],"variable":[{"key":"currencyPair","value":"ETHUSDTPERP","description":"The currency pair."},{"key":"orderId","value":"019d9558-3c21-7ea7-8264-6f13b47b27f3","description":"The TWAP order ID provided by VALR."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":":status","value":200},{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"32"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 16 Apr 2026 08:17:13 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"orderId\": \"019d955a-fe1b-7d9b-8b84-a2b724eaf2ac\",\n        \"customerOrderId\": \"019d9558-3c21-7ea7-8264-6f13b47b27f3\",\n        \"orderStatusType\": \"Filled\",\n        \"currencyPair\": \"ETHUSDTPERP\",\n        \"averagePrice\": \"2337.21\",\n        \"originalPrice\": \"2337.21\",\n        \"remainingQuantity\": \"0\",\n        \"originalQuantity\": \"0.001\",\n        \"totalExecutedQuantity\": \"0.001\",\n        \"total\": \"2.33721\",\n        \"totalFee\": \"0.001402326\",\n        \"feeCurrency\": \"USDT\",\n        \"orderSide\": \"buy\",\n        \"orderType\": \"limit-reduce-only\",\n        \"failedReason\": \"\",\n        \"orderUpdatedAt\": \"2026-04-16T08:14:21.735Z\",\n        \"orderCreatedAt\": \"2026-04-16T08:14:21.734Z\",\n        \"timeInForce\": \"IOC\"\n    },\n    {\n        \"orderId\": \"019d9559-9e8a-73bb-a4b3-1d38dc94a80a\",\n        \"customerOrderId\": \"019d9558-3c21-7ea7-8264-6f13b47b27f3\",\n        \"orderStatusType\": \"Filled\",\n        \"currencyPair\": \"ETHUSDTPERP\",\n        \"averagePrice\": \"2337.21\",\n        \"originalPrice\": \"2337.21\",\n        \"remainingQuantity\": \"0\",\n        \"originalQuantity\": \"0.001\",\n        \"totalExecutedQuantity\": \"0.001\",\n        \"total\": \"2.33721\",\n        \"totalFee\": \"0.001402326\",\n        \"feeCurrency\": \"USDT\",\n        \"orderSide\": \"buy\",\n        \"orderType\": \"limit-reduce-only\",\n        \"failedReason\": \"\",\n        \"orderUpdatedAt\": \"2026-04-16T08:12:51.760Z\",\n        \"orderCreatedAt\": \"2026-04-16T08:12:51.759Z\",\n        \"timeInForce\": \"IOC\"\n    },\n    {\n        \"orderId\": \"019d9558-3efb-7be9-ba25-dba03969cc89\",\n        \"customerOrderId\": \"019d9558-3c21-7ea7-8264-6f13b47b27f3\",\n        \"orderStatusType\": \"Filled\",\n        \"currencyPair\": \"ETHUSDTPERP\",\n        \"averagePrice\": \"2337.21\",\n        \"originalPrice\": \"2337.21\",\n        \"remainingQuantity\": \"0\",\n        \"originalQuantity\": \"0.001\",\n        \"totalExecutedQuantity\": \"0.001\",\n        \"total\": \"2.33721\",\n        \"totalFee\": \"0.001402326\",\n        \"feeCurrency\": \"USDT\",\n        \"orderSide\": \"buy\",\n        \"orderType\": \"limit-reduce-only\",\n        \"failedReason\": \"\",\n        \"orderUpdatedAt\": \"2026-04-16T08:11:21.758Z\",\n        \"orderCreatedAt\": \"2026-04-16T08:11:21.757Z\",\n        \"timeInForce\": \"IOC\"\n    }\n]"}],"_postman_id":"72fda5ec-0ad0-4d36-ab36-30afb5e50294"},{"name":"Conditional Order Status (orderId)","id":"53874e25-f88f-4dc6-9621-d3b1d2777d6d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"url":"https://api.valr.com/v1/orders/conditionals/conditional/:currencyPair/orderid/:orderId","description":"<p>Get the conditional order status.</p>\n<p>A <code>customerOrderId</code> field will be returned in the response for all those orders that were created with a <code>customerOrderId</code> field.</p>\n","urlObject":{"path":["v1","orders","conditionals","conditional",":currencyPair","orderid",":orderId"],"host":["https://api.valr.com"],"query":[],"variable":[{"description":{"content":"<p>Specify the currency pair for which you want to query the order status.</p>\n<p>Examples: BTCUSDCPERP, ETHUSDCPERP</p>\n","type":"text/plain"},"type":"any","value":"AVAXUSDTPERP","key":"currencyPair"},{"description":{"content":"<p>The order ID provided by VALR.</p>\n","type":"text/plain"},"type":"any","value":"e281eb8e-c315-4372-a7b6-8c5e5f5eb971","key":"orderId"}]}},"response":[{"id":"66a6d6da-375c-41bb-83ed-31be8587c11d","name":"Futures Conditional Orders Status (orderId)","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/orders/conditionals/conditional/:currencyPair/orderid/:orderId","host":["https://api.valr.com"],"path":["v1","orders","conditionals","conditional",":currencyPair","orderid",":orderId"],"variable":[{"key":"currencyPair","value":"AVAXUSDTPERP","description":"Specify the currency pair for which you want to query the order status.\nExamples: BTCUSDCPERP, ETHUSDCPERP"},{"key":"orderId","value":"e281eb8e-c315-4372-a7b6-8c5e5f5eb971","description":"The order ID provided by VALR."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Sat, 12 Oct 2024 19:01:58 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"9"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"orderId\": \"e281eb8e-c315-4372-a7b6-8c5e5f5eb971\",\n    \"triggerOrderSide\": \"sell\",\n    \"triggerOrderType\": \"limit-reduce-only\",\n    \"currencyPair\": \"AVAXUSDTPERP\",\n    \"createdAt\": \"2024-10-12T03:08:19.060Z\",\n    \"updatedAt\": \"2024-10-12T03:08:19.060Z\",\n    \"triggerType\": \"LAST_TRADED\",\n    \"conditionalType\": \"OT_OCO\",\n    \"customerOrderId\": \"ConditionalByLastTraded\",\n    \"orderStatusType\": \"Placed\",\n    \"quantity\": \"0.2\",\n    \"takeProfitTriggerPrice\": \"44.74\",\n    \"takeProfitPlacePrice\": \"44.8\",\n    \"stopLossTriggerPrice\": \"30.1\",\n    \"stopLossPlacePrice\": \"44.8\",\n    \"linkedOrderId\": \"5b5ca343-2063-40dd-9c31-840dc72a5aab\"\n}"},{"id":"9367b70b-8e93-4d69-9954-a077b26a4b0d","name":"Spot Conditional Order Status (orderId)","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/orders/conditionals/conditional/:currencyPair/orderid/:orderId","host":["https://api.valr.com"],"path":["v1","orders","conditionals","conditional",":currencyPair","orderid",":orderId"],"variable":[{"key":"currencyPair","value":"BTCUSDT","description":"Specify the currency pair for which you want to query the order status.\n\nExamples: BTCUSDCPERP, ETHUSDCPERP"},{"key":"orderId","value":"019b0c6c-7a42-7d7b-a408-8d2266c1bd57","description":"The order ID provided by VALR."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"12"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 11 Dec 2025 08:18:45 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"orderId\": \"019b0c6c-7a42-7d7b-a408-8d2266c1bd57\",\n    \"triggerOrderSide\": \"buy\",\n    \"triggerOrderType\": \"limit\",\n    \"currencyPair\": \"BTCUSDT\",\n    \"createdAt\": \"2025-12-11T07:59:54.434Z\",\n    \"updatedAt\": \"2025-12-11T07:59:54.434Z\",\n    \"triggerType\": \"MARK_PRICE\",\n    \"conditionalType\": \"OCO\",\n    \"customerOrderId\": \"testB\",\n    \"orderStatusType\": \"Placed\",\n    \"quantity\": \"10\",\n    \"takeProfitTriggerPrice\": \"90000\",\n    \"takeProfitPlacePrice\": \"-1\",\n    \"stopLossTriggerPrice\": \"93000\",\n    \"stopLossPlacePrice\": \"-1\"\n}"}],"_postman_id":"53874e25-f88f-4dc6-9621-d3b1d2777d6d"},{"name":"Conditional Order Status History","id":"ca67843e-4fcf-4082-bcb1-645976ac927c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"url":"https://api.valr.com/v1/orders/conditionals/:currencyPair/history","description":"<p>Get all conditional orders for your account per currency pair.</p>\n<p>A <code>customerOrderId</code> field will be returned in the response for all those orders that were created with a <code>customerOrderId</code> field.</p>\n","urlObject":{"path":["v1","orders","conditionals",":currencyPair","history"],"host":["https://api.valr.com"],"query":[],"variable":[{"description":{"content":"<p>Specify the currency pair for which you want to query the order status history.\nExamples: BTCUSDCPERP, ETHUSDCPERP</p>\n","type":"text/plain"},"type":"any","value":"AVAXUSDTPERP","key":"currencyPair"}]}},"response":[{"id":"24f9501b-5a7f-4fd7-9e9c-a07c42c03aef","name":"Futures Conditional Order Status History","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/orders/conditionals/:currencyPair/history","host":["https://api.valr.com"],"path":["v1","orders","conditionals",":currencyPair","history"],"variable":[{"key":"currencyPair","value":"AVAXUSDTPERP","description":"Specify the currency pair for which you want to query the order status history.\nExamples: BTCUSDCPERP, ETHUSDCPERP"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Sat, 12 Oct 2024 03:21:59 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"21"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"orderId\": \"e281eb8e-c315-4372-a7b6-8c5e5f5eb971\",\n        \"triggerOrderSide\": \"sell\",\n        \"triggerOrderType\": \"limit-reduce-only\",\n        \"currencyPair\": \"AVAXUSDTPERP\",\n        \"createdAt\": \"2024-10-12T03:08:19.060Z\",\n        \"updatedAt\": \"2024-10-12T03:08:19.167Z\",\n        \"triggerType\": \"LAST_TRADED\",\n        \"conditionalType\": \"OT_OCO\",\n        \"customerOrderId\": \"ConditionalByLastTraded\",\n        \"orderStatusType\": \"Placed\",\n        \"quantity\": \"0.2\",\n        \"takeProfitTriggerPrice\": \"44.74\",\n        \"takeProfitPlacePrice\": \"44.8\",\n        \"stopLossTriggerPrice\": \"30.1\",\n        \"stopLossPlacePrice\": \"30\",\n        \"linkedOrderId\": \"5b5ca343-2063-40dd-9c31-840dc72a5aab\"\n    }\n]"},{"id":"1b8c5af1-f916-4e5a-bf96-4edbc30ebb50","name":"Spot Conditional Order Status History","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/orders/conditionals/:currencyPair/history","host":["https://api.valr.com"],"path":["v1","orders","conditionals",":currencyPair","history"],"variable":[{"key":"currencyPair","value":"BTCUSDT","description":"Specify the currency pair for which you want to query the order status history.\nExamples: BTCUSDCPERP, ETHUSDCPERP"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"36"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 11 Dec 2025 10:06:13 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"orderId\": \"019b0c6c-7a42-7d7b-a408-8d2266c1bd57\",\n        \"triggerOrderSide\": \"buy\",\n        \"triggerOrderType\": \"limit\",\n        \"currencyPair\": \"BTCUSDT\",\n        \"createdAt\": \"2025-12-11T07:59:54.434Z\",\n        \"updatedAt\": \"2025-12-11T07:59:54.488Z\",\n        \"triggerType\": \"MARK_PRICE\",\n        \"conditionalType\": \"OCO\",\n        \"customerOrderId\": \"testB\",\n        \"orderStatusType\": \"Placed\",\n        \"quantity\": \"10\",\n        \"takeProfitTriggerPrice\": \"90000\",\n        \"takeProfitPlacePrice\": \"-1\",\n        \"stopLossTriggerPrice\": \"93000\",\n        \"stopLossPlacePrice\": \"-1\"\n    },\n    {\n        \"orderId\": \"019b0855-fd83-773f-a527-b12a48d360a0\",\n        \"triggerOrderSide\": \"buy\",\n        \"triggerOrderType\": \"limit\",\n        \"currencyPair\": \"BTCUSDT\",\n        \"createdAt\": \"2025-12-10T12:56:51.843Z\",\n        \"updatedAt\": \"2025-12-10T12:56:57.239Z\",\n        \"triggerType\": \"MARK_PRICE\",\n        \"conditionalType\": \"OCO\",\n        \"customerOrderId\": \"testB\",\n        \"orderStatusType\": \"Cancelled\",\n        \"removeReason\": \"CANCELLED_BY_USER\",\n        \"quantity\": \"3000\",\n        \"takeProfitTriggerPrice\": \"90000\",\n        \"takeProfitPlacePrice\": \"-1\",\n        \"stopLossTriggerPrice\": \"93000\",\n        \"stopLossPlacePrice\": \"-1\"\n    }\n]"}],"_postman_id":"ca67843e-4fcf-4082-bcb1-645976ac927c"},{"name":"Order History","id":"5f0ef16a-4f9d-40f3-bcdf-b1a63a0b42a4","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n","type":"text"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n","type":"text"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n","type":"text"}],"url":"https://api.valr.com/v1/orders/history?skip=0&limit=2&statuses=FILLED&currencyPair=BTCUSDC,ETHUSDC","description":"<p>Get historical orders placed by you.</p>\n<h2 id=\"filtering-by-starttime-or-endtimeor-statuses\">Filtering by <code>startTime</code> or <code>endTime</code>or <code>statuses</code></h2>\n<p>The <code>startTime</code> or <code>endTime</code> parameters may be used to filter the returned items by the <code>orderUpdatedAt</code> date. The parameters will be interpreted as being in the UTC time zone and must be supplied in the ISO 8601 format (<code>2023-10-29T22:00:00.000Z</code>). These two parameters may be used together or separately. When <code>startTime</code> is used, orders that have occurred since <code>startTime</code> are returned. When <code>endTime</code> is used, orders that have occurred up to and including <code>endTime</code> are returned.</p>\n<p>In addition <code>startTime</code> and <code>endTime</code> can be used in conjunction with <code>skip</code> and <code>limit</code>. When specified together you will be able to paginate the result within the time range specified.</p>\n<p>Example:</p>\n<ul>\n<li><p><code>startTime</code> specified as <code>2023-09-01T00:00:00.000Z</code></p>\n</li>\n<li><p><code>endTime</code> specified as <code>2023-10-01T00:00:00.000Z</code></p>\n</li>\n<li><p><code>skip</code> specified as 0 and <code>limit</code> 100</p>\n</li>\n</ul>\n<p>This will example will return the most recent 100 orders between the <code>startTime</code> and <code>endTime</code></p>\n<p>The <code>statuses</code> parameter may be used to filter the returned items by a comma-separated list of statuses from the following list of supported order statuses:</p>\n<ul>\n<li><p>PLACED</p>\n</li>\n<li><p>FAILED</p>\n</li>\n<li><p>CANCELLED</p>\n</li>\n<li><p>FILLED</p>\n</li>\n<li><p>PARTIALLY_FILLED</p>\n</li>\n<li><p>ACTIVE</p>\n</li>\n<li><p>EXPIRED</p>\n</li>\n<li><p>PARTIALLY_FILLED_DUE_TO_SLIPPAGE</p>\n</li>\n<li><p>ORDER_MODIFIED</p>\n</li>\n</ul>\n<h2 id=\"filtering-by-currencypair\">Filtering by <code>currencyPair</code></h2>\n<p>The <code>currencyPair</code> parameter may be used to filter the returned items by the currency pair symbol (Example: <code>BTCUSDC</code>, <code>SOLUSDC</code> etc.).</p>\n<h2 id=\"additional-filters-showzerovolumecancels--excludefailures\">Additional filters <code>showZeroVolumeCancels &amp; excludeFailures</code></h2>\n<p>The <code>showZeroVolumeCancels</code> parameter can be used to toogle cancelled orders that did not match. The default value is <code>false</code>.</p>\n<p>Setting the <code>excludeFailures</code> parameter to <code>true</code> will filter failed orders from the returned items. The default value is <code>false</code>.</p>\n","urlObject":{"path":["v1","orders","history"],"host":["https://api.valr.com"],"query":[{"description":{"content":"<p>Skip this number of results. (Default 0)</p>\n","type":"text/plain"},"key":"skip","value":"0"},{"description":{"content":"<p>Limit the results to this number. (Default and Max 100)</p>\n","type":"text/plain"},"key":"limit","value":"2"},{"disabled":true,"description":{"content":"<p>(Optional) Include only records after this ISO 8601 start time</p>\n","type":"text/plain"},"key":"startTime","value":"2023-10-13T17:30:01.000Z"},{"disabled":true,"description":{"content":"<p>(Optional) Include only records before this ISO 8601 end time</p>\n","type":"text/plain"},"key":"endTime","value":"2023-10-14T13:30:00.000Z"},{"description":{"content":"<p>(Optional) Include only orders that have this status.\nAvailable options:\n\"PLACED\"\n\"FAILED\"\n\"CANCELLED\"\n\"FILLED\"\n\"PARTIALLY_FILLED\"\n\"EXPIRED\"\n\"PARTIALLY_FILLED_DUE_TO_SLIPPAGE\"\n\"ORDER_MODIFIED\"\n\"REPRICED_DUE_TO_SLIPPAGE\"</p>\n","type":"text/plain"},"key":"statuses","value":"FILLED"},{"description":{"content":"<p>(Optional) Filter returned orders by this currency pair.</p>\n","type":"text/plain"},"key":"currencyPair","value":"BTCUSDC,ETHUSDC"},{"disabled":true,"description":{"content":"<p>(Optional) <code>TRUE</code> or <code>FALSE</code></p>\n","type":"text/plain"},"key":"excludeFailures","value":"FALSE"},{"disabled":true,"description":{"content":"<p>(Optional) <code>TRUE</code> or <code>FALSE</code></p>\n","type":"text/plain"},"key":"showZeroVolumeCancels","value":"FALSE"}],"variable":[]}},"response":[{"id":"e2040a35-11de-4005-93d8-65544c37b194","name":"Order History","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/orders/history","host":["https://api.valr.com"],"path":["v1","orders","history"],"query":[{"key":"skip","value":"0","description":"Skip this number of results. (Default 0)","disabled":true},{"key":"limit","value":"2","description":"Limit the results to this number. (Default and Max 100)","disabled":true},{"key":"startTime","value":"2023-10-13T17:30:01.000Z","description":"(Optional) Include only records after this ISO 8601 start time","disabled":true},{"key":"endTime","value":"2023-10-14T13:30:00.000Z","description":"(Optional) Include only records before this ISO 8601 end time","disabled":true},{"key":"statuses","value":"FILLED","description":"(Optional) Include only orders that have this status.","disabled":true},{"key":"currencyPair","value":"BTCUSDC,ETHUSDC","description":"(Optional) Filter returned orders by this currency pair.","disabled":true},{"key":"excludeFailures","value":"FALSE","description":"(Optional) `TRUE` or `FALSE`","disabled":true},{"key":"showZeroVolumeCancels","value":"FALSE","description":"(Optional) `TRUE` or `FALSE`","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"65"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"date","value":"Thu, 17 Jul 2025 10:26:48 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"orderId\": \"019817e7-a113-73df-8bcd-7e29fdcde48d\",\n    \"orderStatusType\": \"Failed\",\n    \"currencyPair\": \"BTCUSDT\",\n    \"averagePrice\": \"0\",\n    \"originalPrice\": \"1150000\",\n    \"remainingQuantity\": \"0.0003\",\n    \"originalQuantity\": \"0.0003\",\n    \"total\": \"0\",\n    \"totalExecutedQuantity\": \"0\",\n    \"totalFee\": \"0\",\n    \"feeCurrency\": \"USDT\",\n    \"orderSide\": \"sell\",\n    \"orderType\": \"stop-loss-limit\",\n    \"failedReason\": \"Stop order failed as it would have been triggered immediately\",\n    \"orderUpdatedAt\": \"2025-07-17T10:21:52.787Z\",\n    \"orderCreatedAt\": \"2025-07-17T10:21:52.787Z\",\n    \"stopPrice\": \"110000\",\n    \"timeInForce\": \"GTC\"\n  }\n]"},{"id":"ae9d7d52-a357-43b2-990d-a67d2a0a08d5","name":"Filled Stop Order","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/orders/history?skip=0&limit=1","host":["https://api.valr.com"],"path":["v1","orders","history"],"query":[{"key":"skip","value":"0","description":"Skip this number of results. (Default 0)"},{"key":"limit","value":"1","description":"Limit the results to this number. (Default and Max 100)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Thu, 18 Aug 2022 12:47:29 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"13"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"orderId\": \"b4b678f4-eae7-477d-b48f-0e27a25efadc\",\n        \"orderStatusType\": \"Filled\",\n        \"currencyPair\": \"XRPZAR\",\n        \"averagePrice\": \"10\",\n        \"originalPrice\": \"10\",\n        \"remainingQuantity\": \"0\",\n        \"originalQuantity\": \"10\",\n        \"total\": \"100\",\n        \"totalExecutedQuantity\": \"10\",\n        \"totalFee\": \"0\",\n        \"feeCurrency\": \"ZAR\",\n        \"orderSide\": \"sell\",\n        \"orderType\": \"stop-loss-limit\",\n        \"failedReason\": \"\",\n        \"orderUpdatedAt\": \"2022-08-18T12:47:01.991Z\",\n        \"orderCreatedAt\": \"2022-08-17T15:13:24.732Z\",\n        \"stopPrice\": \"3000\",\n        \"timeInForce\": \"GTC\"\n    }\n]"},{"id":"f1cb812f-bdb3-44b0-b967-567ab305e90e","name":"Order History With Status Filter","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/orders/history?skip=0&limit=2&statuses=FILLED","host":["https://api.valr.com"],"path":["v1","orders","history"],"query":[{"key":"skip","value":"0","description":"Skip this number of results. (Default 0)"},{"key":"limit","value":"2","description":"Limit the results to this number. (Default and Max 100)"},{"key":"startTime","value":"2023-10-13T17:30:01.000Z","description":"(Optional) Include only records after this ISO 8601 start time","disabled":true},{"key":"endTime","value":"2023-10-14T13:30:00.000Z","description":"(Optional) Include only records before this ISO 8601 end time","disabled":true},{"key":"statuses","value":"FILLED","description":"(Optional) Include only orders that have this status."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Thu, 30 May 2024 12:15:50 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"6"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"orderId\": \"612ca8ef-15a3-4a85-b991-cc8d23c0e485\",\n    \"orderStatusType\": \"Filled\",\n    \"currencyPair\": \"BTCUSDC\",\n    \"averagePrice\": \"66395\",\n    \"originalPrice\": \"66395\",\n    \"remainingQuantity\": \"0\",\n    \"originalQuantity\": \"0.00045187\",\n    \"total\": \"30.00190865\",\n    \"totalExecutedQuantity\": \"0.00045187\",\n    \"totalFee\": \"0\",\n    \"feeCurrency\": \"BTC\",\n    \"orderSide\": \"buy\",\n    \"orderType\": \"limit\",\n    \"failedReason\": \"\",\n    \"orderUpdatedAt\": \"2024-04-24T23:14:34.891Z\",\n    \"orderCreatedAt\": \"2024-04-24T23:13:00.280Z\",\n    \"timeInForce\": \"GTC\"\n  }\n]"}],"_postman_id":"5f0ef16a-4f9d-40f3-bcdf-b1a63a0b42a4"},{"name":"Order History Summary (orderId)","id":"7f42e4d5-c853-4da2-9c7d-adb4f3385ca2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>Your API Key</p>\n","key":"X-VALR-API-KEY","type":"text","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33"},{"description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n","key":"X-VALR-SIGNATURE","type":"text","value":"{{requestSignature}}"},{"description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n","key":"X-VALR-TIMESTAMP","type":"text","value":"{{requestTimestamp}}"}],"url":"https://api.valr.com/v1/orders/history/summary/orderid/:orderId","description":"<p>An order is considered completed when the \"Order Status\" call returns one of the following statuses: \"Filled\", \"Cancelled\" or \"Failed\". When this happens, you can get a more detailed summary about this order using this call. Orders that are not completed are invalid for this request.</p>\n","urlObject":{"path":["v1","orders","history","summary","orderid",":orderId"],"host":["https://api.valr.com"],"query":[],"variable":[{"description":{"content":"<p>The order ID provided by VALR.</p>\n","type":"text/plain"},"type":"any","value":"8ca691c4-9be8-4427-ae5e-905cdfc18491","key":"orderId"}]}},"response":[{"id":"3f05ab07-e3c5-465b-857c-95e9b6986aaf","name":"Order History Summary (orderId)","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/orders/history/summary/orderid/:orderId","host":["https://api.valr.com"],"path":["v1","orders","history","summary","orderid",":orderId"],"variable":[{"key":"orderId","value":"b47d36bf-adbc-4310-b904-b326a5be9079","description":"The order ID provided by VALR."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Mon, 08 Feb 2021 15:11:22 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"9"},{"key":"server","value":"envoy"},{"key":"transfer-encoding","value":"chunked"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"clear"}],"cookie":[],"responseTime":null,"body":"{\n    \"orderId\": \"b47d36bf-adbc-4310-b904-b326a5be9079\",\n    \"orderStatusType\": \"Filled\",\n    \"currencyPair\": \"ETHZAR\",\n    \"averagePrice\": \"8104\",\n    \"originalPrice\": \"123\",\n    \"remainingQuantity\": \"0\",\n    \"originalQuantity\": \"0.01517769\",\n    \"total\": \"122.99999976\",\n    \"totalExecutedQuantity\": \"0.01517769\",\n    \"totalFee\": \"0.000113832675\",\n    \"feeCurrency\": \"ETH\",\n    \"orderSide\": \"buy\",\n    \"orderType\": \"simple\",\n    \"failedReason\": \"\",\n    \"orderUpdatedAt\": \"2021-02-01T15:57:57.994Z\",\n    \"orderCreatedAt\": \"2021-02-01T15:57:57.992Z\",\n    \"timeInForce\": \"GTC\"\n}"},{"id":"672778d2-a308-4c51-b2fc-bc131211acce","name":"Filled Stop Order","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/orders/history/summary/orderid/:orderId","host":["https://api.valr.com"],"path":["v1","orders","history","summary","orderid",":orderId"],"variable":[{"key":"orderId","value":"b4b678f4-eae7-477d-b48f-0e27a25efadc","description":"The order ID provided by VALR."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Thu, 18 Aug 2022 12:48:16 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"5"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"orderId\": \"b4b678f4-eae7-477d-b48f-0e27a25efadc\",\n    \"orderStatusType\": \"Filled\",\n    \"currencyPair\": \"XRPZAR\",\n    \"averagePrice\": \"10\",\n    \"originalPrice\": \"10\",\n    \"remainingQuantity\": \"0\",\n    \"originalQuantity\": \"10\",\n    \"total\": \"100\",\n    \"totalExecutedQuantity\": \"10\",\n    \"totalFee\": \"0\",\n    \"feeCurrency\": \"ZAR\",\n    \"orderSide\": \"sell\",\n    \"orderType\": \"stop-loss-limit\",\n    \"failedReason\": \"\",\n    \"orderUpdatedAt\": \"2022-08-18T12:47:01.991Z\",\n    \"orderCreatedAt\": \"2022-08-17T15:13:24.732Z\",\n    \"stopPrice\": \"3000\",\n    \"timeInForce\": \"GTC\"\n}"}],"_postman_id":"7f42e4d5-c853-4da2-9c7d-adb4f3385ca2"},{"name":"Order History Summary (customerOrderId)","id":"112c551e-4ee3-46a3-8fcf-0db07d3f48f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>Your API Key</p>\n","key":"X-VALR-API-KEY","type":"text","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33"},{"description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n","key":"X-VALR-SIGNATURE","type":"text","value":"{{requestSignature}}"},{"description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n","key":"X-VALR-TIMESTAMP","type":"text","value":"{{requestTimestamp}}"}],"url":"https://api.valr.com/v1/orders/history/summary/customerorderid/:customerOrderId","description":"<p>An order is considered completed when the \"Order Status\" call returns one of the following statuses: \"Filled\", \"Cancelled\" or \"Failed\". When this happens, you can get a more detailed summary about this order using this call. Orders that are not completed are invalid for this request.</p>\n","urlObject":{"path":["v1","orders","history","summary","customerorderid",":customerOrderId"],"host":["https://api.valr.com"],"query":[],"variable":[{"description":{"content":"<p>The order ID provided by the customer when creating the order.</p>\n","type":"text/plain"},"type":"any","value":"1234","key":"customerOrderId"}]}},"response":[{"id":"458b67c0-0a6c-443d-b49c-00ff9841fa4b","name":"Order History Summary (customerOrderId)","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/orders/history/summary/customerorderid/:customerOrderId","host":["https://api.valr.com"],"path":["v1","orders","history","summary","customerorderid",":customerOrderId"],"variable":[{"key":"customerOrderId","value":"LimitSell","description":"The order ID provided by the customer when creating the order."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"17"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 17 Jul 2025 10:31:37 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"orderId\": \"0198178f-a957-7684-b650-eb987183f8e5\",\n    \"customerOrderId\": \"LimitSell\",\n    \"orderStatusType\": \"Filled\",\n    \"currencyPair\": \"ETHBTC\",\n    \"averagePrice\": \"0.03\",\n    \"originalPrice\": \"0.03\",\n    \"remainingQuantity\": \"0\",\n    \"originalQuantity\": \"0.033333\",\n    \"total\": \"0.00099999\",\n    \"totalExecutedQuantity\": \"0.033333\",\n    \"totalFee\": \"0.000000799992\",\n    \"feeCurrency\": \"BTC\",\n    \"orderSide\": \"sell\",\n    \"orderType\": \"post-only limit\",\n    \"failedReason\": \"\",\n    \"orderUpdatedAt\": \"2025-07-17T08:53:00.620Z\",\n    \"orderCreatedAt\": \"2025-07-17T08:45:47.735Z\",\n    \"timeInForce\": \"GTC\"\n}"},{"id":"7dc99ec0-bd3f-4553-b66d-404e7fec78a4","name":"Failed Stop Order","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/orders/history/summary/customerorderid/:customerOrderId","host":["https://api.valr.com"],"path":["v1","orders","history","summary","customerorderid",":customerOrderId"],"variable":[{"key":"customerOrderId","value":"556789","description":"The order ID provided by the customer when creating the order."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Thu, 18 Aug 2022 12:49:31 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"8"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"orderId\": \"b54f42ab-8228-4783-aad9-8b66f63a52d0\",\n    \"customerOrderId\": \"556789\",\n    \"orderStatusType\": \"Failed\",\n    \"currencyPair\": \"XRPZAR\",\n    \"averagePrice\": \"0\",\n    \"originalPrice\": \"10\",\n    \"remainingQuantity\": \"10\",\n    \"originalQuantity\": \"10\",\n    \"total\": \"0\",\n    \"totalExecutedQuantity\": \"0\",\n    \"totalFee\": \"0\",\n    \"feeCurrency\": \"XRP\",\n    \"orderSide\": \"buy\",\n    \"orderType\": \"stop-loss-limit\",\n    \"failedReason\": \"Stop order failed as it would have been triggered immediately\",\n    \"orderUpdatedAt\": \"2022-08-18T12:33:23.264Z\",\n    \"orderCreatedAt\": \"2022-08-18T12:33:23.260Z\",\n    \"stopPrice\": \"12\",\n    \"timeInForce\": \"GTC\"\n}"}],"_postman_id":"112c551e-4ee3-46a3-8fcf-0db07d3f48f2"},{"name":"Order History Detail (orderId)","id":"a5d5dbcd-e034-422c-acec-4257e3c12e2d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n","type":"text"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n","type":"text"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n","type":"text"}],"url":"https://api.valr.com/v1/orders/history/detail/orderid/:orderId","description":"<p>Get a detailed history of an order's statuses. This call returns an array of \"Order Status\" objects. The latest and most up-to-date status of this order is the zeroth element in the array.</p>\n<p>By default, this endpoint only returns status updates for orders that have seen activity within the last 14 days. If the order has not been updated within this window, the request may return an empty result. To retrieve the latest status of an older order without date restrictions, please use the <strong>Order History Summary (orderId)</strong> endpoint instead.</p>\n","urlObject":{"path":["v1","orders","history","detail","orderid",":orderId"],"host":["https://api.valr.com"],"query":[],"variable":[{"description":{"content":"<p>The order ID provided by VALR.</p>\n","type":"text/plain"},"type":"any","value":"68b4e939-0f90-41ed-8525-8c9c3509ca63","key":"orderId"}]}},"response":[{"id":"0dce81fa-91d2-4f6e-ad67-474e69aa07b6","name":"Order History Detail (orderId)","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/orders/history/detail/orderid/:orderId","host":["https://api.valr.com"],"path":["v1","orders","history","detail","orderid",":orderId"],"variable":[{"key":"orderId","value":"01981766-9288-7624-a5fa-3942fdda6f70","description":"The order ID provided by VALR."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"16"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Fri, 18 Jul 2025 08:15:11 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"orderId\": \"01981766-9288-7624-a5fa-3942fdda6f70\",\n        \"orderStatusType\": \"Failed\",\n        \"currencyPair\": \"BTCUSDT\",\n        \"originalPrice\": \"0\",\n        \"remainingQuantity\": \"0.00000786\",\n        \"originalQuantity\": \"0.00000786\",\n        \"orderSide\": \"sell\",\n        \"orderType\": \"market\",\n        \"failedReason\": \"Order cancelled as it would have matched outside of slippage price band\",\n        \"orderUpdatedAt\": \"2025-07-17T08:00:54.927Z\",\n        \"orderCreatedAt\": \"2025-07-17T08:00:54.920Z\",\n        \"customerOrderId\": \"1234\",\n        \"executedFee\": \"0\",\n        \"executedPrice\": \"0\",\n        \"executedQuantity\": \"0\",\n        \"timeInForce\": \"IOC\"\n    }\n]"},{"id":"cf9f415d-85f6-480b-bd07-ce403369be62","name":"Modified Order","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/orders/history/detail/orderid/:orderId","host":["https://api.valr.com"],"path":["v1","orders","history","detail","orderid",":orderId"],"variable":[{"key":"orderId","value":"01981c9d-c31d-71de-995d-f221bfaf5112","description":"The order ID provided by VALR."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"4"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Fri, 18 Jul 2025 08:20:11 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"orderId\": \"01981c9d-c31d-71de-995d-f221bfaf5112\",\n        \"orderStatusType\": \"Order Modified\",\n        \"currencyPair\": \"ETHBTC\",\n        \"originalPrice\": \"0.03545\",\n        \"remainingQuantity\": \"0.002\",\n        \"originalQuantity\": \"0.002\",\n        \"orderSide\": \"sell\",\n        \"orderType\": \"post-only limit\",\n        \"failedReason\": \"\",\n        \"orderUpdatedAt\": \"2025-07-18T08:20:02.997Z\",\n        \"orderCreatedAt\": \"2025-07-18T08:19:17.917Z\",\n        \"customerOrderId\": \"123\",\n        \"executedFee\": \"0\",\n        \"executedPrice\": \"0\",\n        \"executedQuantity\": \"0\",\n        \"timeInForce\": \"GTC\"\n    },\n    {\n        \"orderId\": \"01981c9d-c31d-71de-995d-f221bfaf5112\",\n        \"orderStatusType\": \"Placed\",\n        \"currencyPair\": \"ETHBTC\",\n        \"originalPrice\": \"0.0354\",\n        \"remainingQuantity\": \"0.001\",\n        \"originalQuantity\": \"0.001\",\n        \"orderSide\": \"sell\",\n        \"orderType\": \"post-only limit\",\n        \"failedReason\": \"\",\n        \"orderUpdatedAt\": \"2025-07-18T08:19:17.918Z\",\n        \"orderCreatedAt\": \"2025-07-18T08:19:17.917Z\",\n        \"customerOrderId\": \"123\",\n        \"executedFee\": \"0\",\n        \"executedPrice\": \"0\",\n        \"executedQuantity\": \"0\",\n        \"timeInForce\": \"GTC\"\n    }\n]"},{"id":"04e7ad32-aace-40e5-bcec-3de436d47eec","name":"Active Stop Order","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/orders/history/detail/orderid/:orderId","host":["https://api.valr.com"],"path":["v1","orders","history","detail","orderid",":orderId"],"variable":[{"key":"orderId","value":"b4b678f4-eae7-477d-b48f-0e27a25efadc","description":"The order ID provided by VALR."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Thu, 18 Aug 2022 11:58:52 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"12"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"orderId\": \"b4b678f4-eae7-477d-b48f-0e27a25efadc\",\n        \"orderStatusType\": \"Active\",\n        \"currencyPair\": \"XRPZAR\",\n        \"originalPrice\": \"10\",\n        \"remainingQuantity\": \"10\",\n        \"originalQuantity\": \"10\",\n        \"orderSide\": \"sell\",\n        \"orderType\": \"stop-loss-limit\",\n        \"failedReason\": \"\",\n        \"orderUpdatedAt\": \"2022-08-17T15:13:24.736Z\",\n        \"orderCreatedAt\": \"2022-08-17T15:13:24.732Z\",\n        \"executedFee\": \"0\",\n        \"executedPrice\": \"0\",\n        \"executedQuantity\": \"0\",\n        \"stopPrice\": \"3000\",\n        \"timeInForce\": \"GTC\"\n    }\n]"}],"_postman_id":"a5d5dbcd-e034-422c-acec-4257e3c12e2d"},{"name":"Order History Detail (customerOrderId)","id":"ed7fbcb1-550f-4b73-8b48-273f5ee78cdb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>Your API Key</p>\n","key":"X-VALR-API-KEY","type":"text","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33"},{"description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n","key":"X-VALR-SIGNATURE","type":"text","value":"{{requestSignature}}"},{"description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n","key":"X-VALR-TIMESTAMP","type":"text","value":"{{requestTimestamp}}"}],"url":"https://api.valr.com/v1/orders/history/detail/customerorderid/:customerOrderId","description":"<p>Get a detailed history of an order's statuses. This call returns an array of \"Order Status\" objects. The latest and most up-to-date status of this order is the zeroth element in the array.</p>\n","urlObject":{"path":["v1","orders","history","detail","customerorderid",":customerOrderId"],"host":["https://api.valr.com"],"query":[],"variable":[{"description":{"content":"<p>The order ID provided by the customer when creating the order.</p>\n","type":"text/plain"},"type":"any","value":"test1","key":"customerOrderId"}]}},"response":[{"id":"95ee705f-f599-443c-909a-2512eaf47708","name":"Order History Detail (customerOrderId)","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/orders/history/detail/customerorderid/:customerOrderId","host":["https://api.valr.com"],"path":["v1","orders","history","detail","customerorderid",":customerOrderId"],"variable":[{"key":"customerOrderId","value":"test1","description":"The order ID provided by the customer when creating the order."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"14"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Mon, 25 Aug 2025 11:47:12 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[]"},{"id":"acda423a-3fbf-4423-97e0-726b469f90e5","name":"Failed Stop Order","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/orders/history/detail/customerorderid/:customerOrderId","host":["https://api.valr.com"],"path":["v1","orders","history","detail","customerorderid",":customerOrderId"],"variable":[{"key":"customerOrderId","value":"556790","description":"The order ID provided by the customer when creating the order."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Thu, 18 Aug 2022 14:08:41 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"6"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"orderId\": \"54b93fcd-48bf-44e5-8ed0-4a22a23c09b8\",\n        \"orderStatusType\": \"Failed\",\n        \"currencyPair\": \"XRPZAR\",\n        \"originalPrice\": \"10\",\n        \"remainingQuantity\": \"10\",\n        \"originalQuantity\": \"10\",\n        \"orderSide\": \"buy\",\n        \"orderType\": \"take-profit-limit\",\n        \"failedReason\": \"Stop order failed as it would have been triggered immediately\",\n        \"orderUpdatedAt\": \"2022-08-18T14:08:30.975Z\",\n        \"orderCreatedAt\": \"2022-08-18T14:08:30.972Z\",\n        \"customerOrderId\": \"556790\",\n        \"executedFee\": \"0\",\n        \"executedPrice\": \"0\",\n        \"executedQuantity\": \"0\",\n        \"stopPrice\": \"12\",\n        \"timeInForce\": \"GTC\"\n    }\n]"}],"_postman_id":"ed7fbcb1-550f-4b73-8b48-273f5ee78cdb"},{"name":"Modify Order V1","id":"0d31c914-0393-463b-966a-97dbc50554fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"orderId\": \"68b4e939-0f90-41ed-8525-8c9c3509ca63\",\n    \"pair\": \"BTCUSDT\",\n    \"newRemainingQuantity\": \"0.00034\",\n    \"newPrice\": \"550000\",\n    \"modifyMatchStrategy\": \"RETAIN_ORIGINAL\"\n}"},"url":"https://api.valr.com/v1/orders/modify","description":"<p>Modify <code>Open</code> and <code>Partially Filled</code> Limit Orders</p>\n<p><strong>Note:</strong> This API is still in Beta phase but stable. We would love to improve the user experience with your feedback. We urge you to share any suggestions by logging a quick Feature Request on our <a href=\"https://support.valr.com/hc/en-us/requests/new?ticket_form_id=360000447220\">Support Portal</a></p>\n<p>The following values of an open or partially filled limit order can be modified.</p>\n<ul>\n<li><p>Price</p>\n</li>\n<li><p>Total Quantity</p>\n</li>\n<li><p>Remaining Quantity</p>\n</li>\n<li><p>Either newRemainingQuantity or newTotalQuantity can be specified in the same request, but not both</p>\n</li>\n<li><p>Reducing the Total quantity or Remaining quantity will maintain the modified order’s position in the order queue.</p>\n</li>\n<li><p>Increasing the Total quantity or Remaining quantity will move the modified order to the back of the order queue.</p>\n</li>\n<li><p>Modifying the price up or down will move the modified order to the back of the order queue.</p>\n</li>\n</ul>\n<p>Modified orders retain their original orderId and the audit trail can be viewed in the Detailed Order History API Call</p>\n<p>When the response is <code>202 - Accepted</code>, this means that the <code>Modify Order</code> request has been submitted. However, this does not always mean that the order has been modified as requested.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>orderId (required)</td>\n<td>Placed order Id provided by VALR</td>\n</tr>\n<tr>\n<td>pair (required)</td>\n<td>Currency pair for the <code>orderId</code>.</td>\n</tr>\n<tr>\n<td>modifyMatchStrategy (required)</td>\n<td><code>RETAIN_ORIGINAL</code> which keeps the original order or <code>CANCEL_ORIGINAL</code> to cancel the original order or <code>REPRICE</code> which if it would’ve resulted in a match, instead adjusts the order price to 1 tick below best ask (buy order) or 1 tick above best bid (sell order)</td>\n</tr>\n<tr>\n<td>newRemainingQuantity (optional)</td>\n<td>New base quantity to be executed, irrespective of any existing quantity on the order book at the time of processing the request</td>\n</tr>\n<tr>\n<td>newTotalQuantity (optional)</td>\n<td>New total base quantity for the order. If newTotalQuantity is less than the filled quantity, the order is canceled. Otherwise, newTotalQuantity minus filled quantity</td>\n</tr>\n<tr>\n<td>newPrice (optional)</td>\n<td>Requested new price in base currency</td>\n</tr>\n<tr>\n<td>customerOrderId (optional)</td>\n<td>Placed order ID provided by customer. Alphanumeric with no special chars, limit of 50 characters.</td>\n</tr>\n</tbody>\n</table>\n</div><ul>\n<li><p><code>customerOrderId</code> has to be unique across all open orders for a given account. If you do reuse an <code>id</code> value that is currently an active open order, your order will not be placed (you can check the status of an order using the order status API call).</p>\n</li>\n<li><p>When you retrieve <code>All Open Orders</code> or <code>Order History</code> the <code>customerOrderId</code> field will also be returned along with the VALR's <code>orderId</code> for the orders in which this field was specified in the request.</p>\n</li>\n</ul>\n<p>The reasons why a Modify Order request could fail are as follows:</p>\n<ul>\n<li><p>Insufficient balance in your account.</p>\n</li>\n<li><p>If you're using a non-unique <code>customerOrderId</code>.</p>\n</li>\n<li><p>Self trading: If your order matches against your own order (on the other side).</p>\n</li>\n<li><p>Insufficient liquidity: If you're placing an order and there isn't enough liquidity on the order book to fulfil the order.</p>\n</li>\n<li><p>Minimum order size is not met. In this case, the response will be <code>accepted:false</code>, with the failure reason.</p>\n</li>\n<li><p>When there is nothing to modify, i.e. you request the same values as specified in the original order.</p>\n</li>\n</ul>\n","urlObject":{"path":["v1","orders","modify"],"host":["https://api.valr.com"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[{"id":"1f66251d-e84d-4791-891e-cd4ca327cd38","name":"Modify Order","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    \"orderId\": \"019817da-ed41-7e7c-b68b-2b58644d3e89\",\n    \"pair\": \"ETHBTC\",\n    \"newRemainingQuantity\": \"0.00034\",\n    \"newPrice\": \"550000\",\n    \"modifyMatchStrategy\": \"RETAIN_ORIGINAL\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.valr.com/v1/orders/modify","host":["https://api.valr.com"],"path":["v1","orders","modify"],"query":[{"key":"","value":"","disabled":true}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"35"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 17 Jul 2025 10:38:30 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"019817f6-da14-70f5-acc9-d7b4e71eadb2\"\n}"}],"_postman_id":"0d31c914-0393-463b-966a-97dbc50554fd"},{"name":"Modify Order V2","id":"019bea7f-1d71-479b-9eb8-733f3644f367","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"orderId\": \"68b4e939-0f90-41ed-8525-8c9c3509ca63\",\n    \"pair\": \"BTCUSDT\",\n    \"newRemainingQuantity\": \"0.00034\",\n    \"newPrice\": \"550000\",\n    \"modifyMatchStrategy\": \"RETAIN_ORIGINAL\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v2/orders/modify","description":"<p>Modify <code>Open</code> and <code>Partially Filled</code> Limit Orders</p>\n<p><strong>Note:</strong> This API is still in Beta phase but stable. We would love to improve the user experience with your feedback. We urge you to share any suggestions by logging a quick Feature Request on our <a href=\"https://support.valr.com/hc/en-us/requests/new?ticket_form_id=360000447220\">Support Portal</a></p>\n<p>The following values of an open or partially filled limit order can be modified.</p>\n<ul>\n<li>Price</li>\n<li>Total Quantity</li>\n<li>Remaining Quantity</li>\n<li>Either newRemainingQuantity or newTotalQuantity can be specified in the same request, but not both</li>\n<li>Reducing the Total quantity or Remaining quantity will maintain the modified order’s position in the order queue.</li>\n<li>Increasing the Total quantity or Remaining quantity will move the modified order to the back of the order queue.</li>\n<li>Modifying the price up or down will move the modified order to the back of the order queue.</li>\n</ul>\n<p>Modified orders retain their original orderId and the audit trail can be viewed in the Detailed Order History API Call</p>\n<p>When the response is <code>201 - CREATED</code>, this means that the <code>Modify Order</code> request has been submitted and processed successfully.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>orderId (required)</td>\n<td>Placed order Id provided by VALR</td>\n</tr>\n<tr>\n<td>pair (required)</td>\n<td>Currency pair for the <code>orderId</code>.</td>\n</tr>\n<tr>\n<td>modifyMatchStrategy (required)</td>\n<td><code>RETAIN_ORIGINAL</code> which keeps the original order or <code>CANCEL_ORIGINAL</code> to cancel the original order</td>\n</tr>\n<tr>\n<td>newRemainingQuantity (optional)</td>\n<td>New base quantity to be executed, irrespective of any existing quantity on the order book at the time of processing the request</td>\n</tr>\n<tr>\n<td>newTotalQuantity (optional)</td>\n<td>New total base quantity for the order. If newTotalQuantity is less than the filled quantity, the order is canceled. Otherwise, newTotalQuantity minus filled quantity</td>\n</tr>\n<tr>\n<td>newPrice (optional)</td>\n<td>Requested new price in base currency</td>\n</tr>\n<tr>\n<td>customerOrderId (optional)</td>\n<td>Placed order ID provided by customer. Alphanumeric with no special chars, limit of 50 characters.</td>\n</tr>\n</tbody>\n</table>\n</div><ul>\n<li><code>customerOrderId</code> has to be unique across all open orders for a given account. If you do reuse an <code>id</code> value that is currently an active open order, your order will not be placed (you can check the status of an order using the order status API call).</li>\n<li>When you retrieve <code>All Open Orders</code> or <code>Order History</code> the <code>customerOrderId</code> field will also be returned along with the VALR's <code>orderId</code> for the orders in which this field was specified in the request.</li>\n</ul>\n<p>The reasons why a Modify Order request could fail are as follows:</p>\n<ul>\n<li>Insufficient balance in your account.</li>\n<li>If you're using a non-unique <code>customerOrderId</code>.</li>\n<li>Self trading: If your order matches against your own order (on the other side).</li>\n<li>Insufficient liquidity: If you're placing an order and there isn't enough liquidity on the order book to fulfil the order.</li>\n<li>Minimum order size is not met. In this case, the response will be <code>accepted:false</code>, with the failure reason.</li>\n<li>When there is nothing to modify, i.e. you request the same values as specified in the original order.</li>\n</ul>\n<p><strong>PLEASE NOTE</strong>:</p>\n<ul>\n<li>When you receive a <code>201 Created</code> response with an id, it means that the order has been successfully modified. You can use the Order Status REST API or use WebSocket API to receive the status of this order.</li>\n<li>When an order fails during the order modifificaton process you can expect to receive a <code>modifyOrderId</code>, <code>orderId</code>, <code>code</code> and <code>message</code> in the response body. See example below.</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"modifyOrderId\": \"d1e05e7e-7cd3-11ee-8c68-417193a135ba\",\n    \"orderId\": \"d1d1130d-6c26-49a4-8637-3a6ba2463ae5\",\n    \"code\": -21303,\n    \"message\": \"Modify order would not have modified anything and was cancelled\"\n}\n\n</code></pre>\n","urlObject":{"path":["v2","orders","modify"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"470dc8e0-0d7c-4923-aa01-7a5235fe009b","name":"Limit order modified unsuccessfully on the exchange","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate request signature"}],"body":{"mode":"raw","raw":"{\n    \"orderId\": \"68b4e939-0f90-41ed-8525-8c9c3509ca63\",\n    \"pair\": \"BTCUSDT\",\n    \"newRemainingQuantity\": \"0.00034\",\n    \"newPrice\": \"550000\",\n    \"modifyMatchStrategy\": \"RETAIN_ORIGINAL\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v2/orders/modify"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 14 Apr 2019 20:18:28 GMT"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"Deny"},{"key":"Content-Security-Policy","value":"default-src 'none'"},{"key":"Server","value":"Other"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n\t/*NOTE: \n    When a modify order is sent successfully to the exchange but fails during modify order execution the error response will contain the modifyOrderId and orderId.\n    To receive status updates for this order you can use:\n    1. Order Status REST API \n    2. WebSocket API \n    */\n    \"modifyOrderId\": \"d1e05e7e-7cd3-11ee-8c68-417193a135ba\",\n    \"orderId\": \"d1d1130d-6c26-49a4-8637-3a6ba2463ae5\",\n    \"code\": -21303,\n    \"message\": \"Modify order would not have modified anything and was cancelled\"\n}\n\n"},{"id":"7c2615d1-ba56-4fc2-8070-fda58cda967a","name":"Limit Order modified successfully on the exchange","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    \"orderId\": \"68b4e939-0f90-41ed-8525-8c9c3509ca63\",\n    \"pair\": \"BTCUSDT\",\n    \"newRemainingQuantity\": \"0.00034\",\n    \"newPrice\": \"550000\",\n    \"modifyMatchStrategy\": \"RETAIN_ORIGINAL\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v2/orders/modify"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"33"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"date","value":"Mon, 04 Dec 2023 14:49:14 GMT"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"4b6458b6-92b4-11ee-894e-894ac6bb1906\"\n}"}],"_postman_id":"019bea7f-1d71-479b-9eb8-733f3644f367"},{"name":"Modify Conditional Order","id":"57f14a59-eb19-4044-aa04-9018cc852f14","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"customerOrderId\": \"ConditionalByLastTraded\",\n    \"pair\": \"AVAXUSDTPERP\",\n    \"newQuantity\": \"0.15\",\n    \"newTakeProfitTriggerPrice\": \"45.74\",\n    \"newTakeProfitOrderPrice\": \"47\",\n    \"newStopLossTriggerPrice\": \"31\",\n    \"newStopLossOrderPrice\": \"30.5\"\n}"},"url":"https://api.valr.com/v1/orders/conditionals/modify","description":"<p>Modify conditional orders.</p>\n<p>The following values of a conditional order can be modified.</p>\n<ul>\n<li>Price</li>\n<li>Quantity</li>\n<li>Take Profit Trigger Price</li>\n<li>Take Profit Order Price</li>\n<li>Stop Loss Trigger Price</li>\n<li>Stop Loss Order Price</li>\n</ul>\n<p>Adding a missing Stop Loss (SL) or Take Profit (TP) trigger turns the conditional order into a one-cancel-other (OCO) conditional order. If the trigger already exists, the price will be modified.</p>\n<p>Modified conditional orders retain their original orderId and the audit trail can be viewed in the Detailed Order History API Call</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>orderId (optional)</td>\n<td>Placed order Id provided by VALR. Required if <code>customerOrderId</code> isn't used.</td>\n</tr>\n<tr>\n<td>customerOrderId (optional)</td>\n<td>Alphanumeric value. Required if <code>orderId</code> isn't used. See below for explanation.</td>\n</tr>\n<tr>\n<td>pair (required)</td>\n<td>Currency pair for the <code>orderId</code>.</td>\n</tr>\n<tr>\n<td>newQuantity (optional)</td>\n<td>The value in base amount (the amount submitted will be truncated to baseDecimalPlaces of the currency pair)</td>\n</tr>\n<tr>\n<td>newTakeProfitTriggerPrice (optional)</td>\n<td>If Take Profit, the mark price or last traded price to trigger the conditional order.</td>\n</tr>\n<tr>\n<td>newTakeProfitOrderPrice (optional)</td>\n<td>If Take Profit, the price at which the conditional order will be placed.</td>\n</tr>\n<tr>\n<td>newStopLossTriggerPrice (optional)</td>\n<td>If Stop Loss, the mark price or last traded price to trigger the conditional order.</td>\n</tr>\n<tr>\n<td>newStopLossOrderPrice (optional)</td>\n<td>If Stop Loss,The price at which the conditional order will be placed.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Notes</strong></p>\n<ul>\n<li><strong><code>customerOrderId</code></strong>:<br />  Optional field for tracking orders using your internal system. It supports alphanumeric characters and dashes (\"-\"), with a 50-character limit. Special characters are not allowed.</li>\n</ul>\n<p>The reasons why a Modify Order request could fail are as follows:</p>\n<ul>\n<li>Minimum order size is not met. In this case, the response will be <code>accepted:false</code>, with the failure reason.</li>\n<li>When there is nothing to modify, i.e. you request the same values as specified in the original order.</li>\n</ul>\n","urlObject":{"path":["v1","orders","conditionals","modify"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"bf6813e1-89aa-4256-9b2a-026822783fc6","name":"Futures Modify Conditional Order","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    \"customerOrderId\": \"ConditionalByLastTraded\",\n    \"pair\": \"AVAXUSDTPERP\",\n    \"newQuantity\": \"0.15\",\n    \"newTakeProfitTriggerPrice\": \"45.75\",\n    \"newTakeProfitOrderPrice\": \"46\",\n    \"newStopLossTriggerPrice\": \"32\",\n    \"newStopLossOrderPrice\": \"31.5\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.valr.com/v1/orders/conditionals/modify","host":["https://api.valr.com"],"path":["v1","orders","conditionals","modify"],"query":[{"key":"","value":"","disabled":true}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Mon, 14 Oct 2024 19:50:16 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"23"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"e281eb8e-c315-4372-a7b6-8c5e5f5eb971\",\n    \"customerOrderId\": \"ConditionalByLastTraded\"\n}"},{"id":"c2e61b8a-bf39-4aae-ad88-196202229c3a","name":"Spot Modify Conditional Order","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    \"customerOrderId\": \"testB\",\n    \"pair\": \"BTCUSDT\",\n    \"newQuantity\": \"11\",\n    \"newTakeProfitTriggerPrice\": \"89000\",\n    \"newTakeProfitOrderPrice\": \"88000\",\n    \"newStopLossTriggerPrice\": \"94000\",\n    \"newStopLossOrderPrice\": \"95000\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.valr.com/v1/orders/conditionals/modify","host":["https://api.valr.com"],"path":["v1","orders","conditionals","modify"],"query":[{"key":"","value":"","disabled":true}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"8"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 11 Dec 2025 10:33:19 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"019b0c6c-7a42-7d7b-a408-8d2266c1bd57\",\n    \"customerOrderId\": \"testB\"\n}"}],"_postman_id":"57f14a59-eb19-4044-aa04-9018cc852f14"},{"name":"Modify Batch Order","id":"1f4d5e0b-7744-4be7-8e10-c107c27868ca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"requests\": [\n        {\n            \"type\": \"MODIFY_ORDER\",\n            \"data\": {\n            \"newTotalQuantity\":\"0.00004\",\n            \"orderId\":\"6eaf85b7-7e69-4e26-9664-33a8f23bfb4f\", \n            \"pair\":\"BTCUSDC\", \n            \"modifyMatchStrategy\":\"RETAIN_ORIGINAL\" \n                    }\n        },\n        {\n        \"type\": \"MODIFY_ORDER\",\n        \"data\": {    \n        \"newPrice\":\"33560\",\n        \"orderId\":\"6cfe6d35-5245-4957-b28d-74abbddf994d\", \n        \"pair\":\"BTCUSDCPERP\", \n        \"modifyMatchStrategy\":\"RETAIN_ORIGINAL\" \n                }  \n        }\n           ]\n}"},"url":"https://api.valr.com/v1/batch/orders","description":"<p>Modify a batch of open and partially filled Limit Orders in a single request.</p>\n<p><strong>Note:</strong> This API is still in Beta phase but stable. We would love to improve the user experience with your feedback. We urge you to share any suggestions by logging a quick Feature Request on our <a href=\"https://support.valr.com/hc/en-us/requests/new?ticket_form_id=360000447220\">Support Portal</a></p>\n<p>The following values of an open or partially filled limit order can be modified.</p>\n<ul>\n<li><p>Price</p>\n</li>\n<li><p>Total Quantity</p>\n</li>\n<li><p>Remaining Quantity</p>\n</li>\n<li><p>Either newRemainingQuantity or newTotalQuantity can be specified in the same request, but not both</p>\n</li>\n<li><p>Reducing the Total quantity or Remaining quantity will maintain the modified order’s position in the order queue.</p>\n</li>\n<li><p>Increasing the Total quantity or Remaining quantity will move the modified order to the back of the order queue.</p>\n</li>\n<li><p>Modifying the price up or down will move the modified order to the back of the order queue.</p>\n</li>\n</ul>\n<p>Modified orders retain their original orderId and the audit trail can be viewed in the Detailed Order History API Call</p>\n<p>When the response is <code>202 - Accepted</code>, this means that the <code>Modify Order</code> request has been submitted. However, this does not always mean that the order has been modified as requested.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>type (required)</td>\n<td>MODIFY_ORDER</td>\n</tr>\n<tr>\n<td>orderId (required)</td>\n<td>Placed order Id provided by VALR</td>\n</tr>\n<tr>\n<td>pair (required)</td>\n<td>Currency pair for the <code>orderId</code>.</td>\n</tr>\n<tr>\n<td>modifyMatchStrategy (required)</td>\n<td><code>RETAIN_ORIGINAL</code> which keeps the original order or <code>CANCEL_ORIGINAL</code> to cancel the original order</td>\n</tr>\n<tr>\n<td>newRemainingQuantity (optional)</td>\n<td>Requested new base quantity to be executed</td>\n</tr>\n<tr>\n<td>newTotalQuantity (optional)</td>\n<td>Requested new total quantity to be executed</td>\n</tr>\n<tr>\n<td>newPrice (optional)</td>\n<td>Requested new price in base currency</td>\n</tr>\n<tr>\n<td>customerOrderId (optional)</td>\n<td>Placed order ID provided by customer. Alphanumeric with no special chars, limit of 50 characters.</td>\n</tr>\n</tbody>\n</table>\n</div><ul>\n<li><code>customerOrderId</code> has to be unique across all open orders for a given account. If you do reuse an <code>id</code> value that is currently an active open order, your order will not be placed (you can check the status of an order using the order status API call).</li>\n<li>When you retrieve <code>All Open Orders</code> or <code>Order History</code> the <code>customerOrderId</code> field will also be returned along with the VALR's <code>orderId</code> for the orders in which this field was specified in the request.</li>\n</ul>\n<p>The reasons why a Modify Order request could fail are as follows:</p>\n<ul>\n<li>Insufficient balance in your account.</li>\n<li>If you're using a non-unique <code>customerOrderId</code>.</li>\n<li>Self trading: If your order matches against your own order (on the other side).</li>\n<li>Insufficient liquidity: If you're placing an order and there isn't enough liquidity on the order book to fulfil the order.</li>\n<li>Minimum order size is not met. In this case, the response will be <code>accepted:false</code>, with the failure reason.</li>\n<li>When there is nothing to modify, i.e. you request the same values as specified in the original order.</li>\n</ul>\n","urlObject":{"path":["v1","batch","orders"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"06dc0e00-c4ce-45ee-9381-f9e0f9795bcc","name":"Modify Batch Order","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    \"requests\": [\n        {\n            \"type\": \"MODIFY_ORDER\",\n            \"data\": {\n            \"newTotalQuantity\":\"848\",\n            \"orderId\":\"0198510c-09fa-7f86-8ddb-b6b222b4e509\", \n            \"pair\":\"FARTCOINUSDTPERP\", \n            \"modifyMatchStrategy\":\"RETAIN_ORIGINAL\" \n                    }\n        },\n        {\n        \"type\": \"MODIFY_ORDER\",\n        \"data\": {    \n        \"newPrice\":\"870\",\n        \"orderId\":\"0198510c-25db-758b-9c63-fa610ac091e4\", \n        \"pair\":\"FARTCOINUSDTPERP\", \n        \"modifyMatchStrategy\":\"RETAIN_ORIGINAL\" \n                }  \n        }\n           ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/batch/orders"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"75"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Mon, 25 Aug 2025 13:21:17 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"outcomes\": [\n        {\n            \"accepted\": true,\n            \"orderId\": \"0198e163-e887-73a7-990b-272a35e4070f\",\n            \"requestType\": \"MODIFY_ORDER\"\n        },\n        {\n            \"accepted\": false,\n            \"error\": {\n                \"code\": -11528,\n                \"message\": \"Order would have exceeded position limit for pair New FARTCOINUSDTPERP position value across all subaccounts will be 763860 which is greater than position limit 200000\"\n            }\n        }\n    ],\n    \"batchId\": 1409528062846967808\n}"}],"_postman_id":"1f4d5e0b-7744-4be7-8e10-c107c27868ca"},{"name":"Cancel Order V1","id":"3d9ba169-7222-4c0f-ab08-87c22162c0c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"description":"<p>Your API Key</p>\n","key":"X-VALR-API-KEY","type":"text","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33"},{"description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n","key":"X-VALR-SIGNATURE","type":"text","value":"{{requestSignature}}"},{"description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n","key":"X-VALR-TIMESTAMP","type":"text","value":"{{requestTimestamp}}"},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"orderId\": \"0198510c-09fa-7f86-8ddb-b6b222b4e509\",\n  \"pair\": \"BTCUSDT\"\n}"},"url":"https://api.valr.com/v1/orders/order","description":"<p>Cancel an open order.</p>\n<p>A <code>200 OK</code> response means the request to cancel the order was accepted. You can either use the Order Status REST API or use the WebSocket API to receive status updates about this request.</p>\n<p>The <code>DELETE</code> request requires a JSON request body in the following format:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"orderId\": \"UUID\",\n  \"pair\": \"BTCUSDT\"\n}\n\n</code></pre>\n<p>Alternatively, the body can be of the following format if you specified a <code>customerOrderId</code> when creating your order:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"customerOrderId\": \"^[0-9a-zA-Z-]{0,50}$\",\n  \"pair\": \"BTCUSDT\"\n}\n\n</code></pre>\n<p>NOTE: When you receive this response, it does not always mean that the order has been canceled.<br />When the response is <code>200 OK</code>, you can either use the Order Status REST API or use the WebSocket API to receive status updates about this order.</p>\n","urlObject":{"path":["v1","orders","order"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"5afc6db9-e611-4071-b46f-1bd2d068e3db","name":"Deleted Order","originalRequest":{"method":"DELETE","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"orderId\": \"019817da-ed41-7e7c-b68b-2b58644d3e89\",\n  \"pair\": \"ETHBTC\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/orders/order"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"37"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 17 Jul 2025 10:39:41 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"3d9ba169-7222-4c0f-ab08-87c22162c0c4"},{"name":"Cancel Order V2","id":"7df9d3a1-17ed-44dc-b4cf-66e75d6577f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"orderId\": \"be752651-a0ce-47e6-83c5-381992e3aca6\",\n  \"pair\": \"BTCUSDT\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v2/orders/order","description":"<p>Cancel an open order.</p>\n<p>A <code>200 OK</code> response means the request to cancel the order was successfully completed. You can additionally use either the Order Status REST API or use the WebSocket API to receive status updates about this request.</p>\n<p>The <code>DELETE</code> request requires a JSON request body in the following format:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"orderId\": \"UUID\",\n  \"pair\": \"BTCUSDT\"\n}\n\n</code></pre>\n<p>Alternatively, the body can be of the following format if you specified a <code>customerOrderId</code> when creating your order:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"customerOrderId\": \"^[0-9a-zA-Z-]{0,50}$\",\n  \"pair\": \"BTCUSDT\"\n}\n\n</code></pre>\n","urlObject":{"path":["v2","orders","order"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"49d7dab5-5268-4e48-a8c7-38152574ae6d","name":"Cancelled Order by orderId","originalRequest":{"method":"DELETE","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"orderId\": \"e3b3c227-8240-41af-990b-40df7c3afc69\",\n  \"pair\": \"BTCUSDT\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v2/orders/order"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Thu, 18 Aug 2022 14:26:40 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"10"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"e3b3c227-8240-41af-990b-40df7c3afc69\"\n}"},{"id":"0a624ef4-df64-49d2-924e-da69210f2016","name":"Cancelled Order by customerOrderId","originalRequest":{"method":"DELETE","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"customerOrderId\": \"customId12345\",\n  \"pair\": \"BTCUSDT\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v2/orders/order"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Thu, 18 Aug 2022 14:26:40 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"10"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"customId12345\"\n}"}],"_postman_id":"7df9d3a1-17ed-44dc-b4cf-66e75d6577f3"},{"name":"Cancel TWAP Order","id":"11129e1a-afbb-4f8c-905f-32b7cc73807d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}"},{"key":"X-VALR-TIMESTAMP","value":" {{requestTimestamp}}"}],"url":"https://api.valr.com/v1/twap/:currencyPair/:orderId","description":"<p>This API cancels the remaining sub-orders of an active/untriggered TWAP order.</p>\n","urlObject":{"path":["v1","twap",":currencyPair",":orderId"],"host":["https://api.valr.com"],"query":[],"variable":[{"id":"ab0528ff-092f-4d57-bbb2-05e810c7ff0b","description":{"content":"<p>The currency pair.</p>\n","type":"text/plain"},"type":"any","value":"BTCUSDT","key":"currencyPair"},{"id":"7347ecde-3b71-40f2-a1b8-38132e74da33","description":{"content":"<p>The order ID provided by VALR.</p>\n","type":"text/plain"},"type":"any","value":"019daf07-c659-74a8-81be-35e2291bce5b","key":"orderId"}]}},"response":[{"id":"3d980c8d-7f5c-4312-b719-1386505e2ce8","name":"Cancel TWAP Order","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}"},{"key":"X-VALR-TIMESTAMP","value":" {{requestTimestamp}}"}],"url":{"raw":"https://api.valr.com/v1/twap/:currencyPair/:orderId","host":["https://api.valr.com"],"path":["v1","twap",":currencyPair",":orderId"],"variable":[{"key":"currencyPair","value":"SOLUSDT","description":"The currency pair."},{"key":"orderId","value":"019d9510-d4a4-73aa-bf24-768ff2970529","description":"The order ID provided by VALR."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":":status","value":200},{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"23"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 16 Apr 2026 06:57:03 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"11129e1a-afbb-4f8c-905f-32b7cc73807d"},{"name":"All Conditionals","id":"ebf53840-df1c-417b-9869-793aee5dab80","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.valr.com/v1/orders/conditionals","description":"<p>Cancel all open conditional orders for the user.</p>\n<p>A <code>200 OK</code> response means the request to cancel the order was accepted. You can either use the Order Status REST API or use the WebSocket API to receive status updates about this request.</p>\n<p>NOTE: When you receive this response, it does not always mean that the order has been canceled.<br />When the response is <code>200 OK</code>, you can either use the Order Status REST API or use the WebSocket API to receive status updates about this order.</p>\n","urlObject":{"path":["v1","orders","conditionals"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"6ebecf04-6d8a-4b33-b518-13804daa31ba","name":"Deleted All Conditionals","originalRequest":{"method":"DELETE","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."},{"key":"Content-Type","value":"application/json"}],"url":"https://api.valr.com/v1/orders/conditionals"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Mon, 06 May 2024 22:15:11 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"4"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"orderId\": \"13ae156c-8c18-4e7a-9a43-2e2891221a53\"\n    },\n    {\n        \"orderId\": \"1554825d-dd3c-4fe1-9471-52ff6e2aab56\"\n    },\n    {\n        \"orderId\": \"c0358c7d-10fd-4b60-8193-769a53da712e\",\n        \"customerOrderId\": \"ConditionalOrder001\"\n    }\n]"}],"_postman_id":"ebf53840-df1c-417b-9869-793aee5dab80"},{"name":"Conditionals by Currency Pair","id":"9c7a14d0-6265-42ec-ab06-862386b5680b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.valr.com/v1/orders/conditionals/:currencypair","description":"<p>Cancel open conditional orders for a given pair.</p>\n<p>A <code>200 OK</code> response means the request to cancel the order was accepted. You can either use the Order Status REST API or use the WebSocket API to receive status updates about this request.</p>\n<p>NOTE: When you receive this response, it does not always mean that the order has been canceled.<br />When the response is <code>200 OK</code>, you can either use the Order Status REST API or use the WebSocket API to receive status updates about this order.</p>\n","urlObject":{"path":["v1","orders","conditionals",":currencypair"],"host":["https://api.valr.com"],"query":[],"variable":[{"description":{"content":"<p>Deletes only the orders associated with the specified currency pair.</p>\n","type":"text/plain"},"type":"any","value":"ETHUSDTPERP","key":"currencypair"}]}},"response":[{"id":"e098ce8c-a69e-4c34-9523-e0ff983b547d","name":"Deleted Conditional by Currency Pair","originalRequest":{"method":"DELETE","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.valr.com/v1/orders/conditionals/:currencypair","host":["https://api.valr.com"],"path":["v1","orders","conditionals",":currencypair"],"variable":[{"key":"currencypair","value":"ETHUSDTPERP","description":"Deletes only the orders associated with the specified currency pair."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Wed, 08 May 2024 13:59:00 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"12"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"orderId\": \"d1469f6e-774f-422b-877a-fa7ae6a03dfe\"\n    }\n]"}],"_postman_id":"9c7a14d0-6265-42ec-ab06-862386b5680b"},{"name":"Conditional by ID","id":"37d3ee9c-d55a-4788-bb63-cc46981bd12b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"pair\": \"1MBONKUSDTPERP\",\n    \"orderId\": \"d1469f6e-774f-422b-877a-fa7ae6a03dfe\"\n}"},"url":"https://api.valr.com/v1/orders/conditionals/conditional","description":"<p>Cancel an open conditional order.</p>\n<p>A <code>200 OK</code> response means the request to cancel the order was accepted. You can either use the Order Status REST API or use the WebSocket API to receive status updates about this request.</p>\n<p>The <code>DELETE</code> request requires a JSON request body in the following format:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"orderId\": \"UUID\"\n}\n\n</code></pre>\n<p>Alternatively, the body can be of the following format if you specified a <code>customerOrderId</code> when creating your order:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"customerOrderId\": \"^[0-9a-zA-Z-]{0,50}$\"\n}\n\n</code></pre>\n<p>NOTE: When you receive this response, it does not always mean that the order has been canceled.<br />When the response is <code>200 OK</code>, you can either use the Order Status REST API or use the WebSocket API to receive status updates about this order.</p>\n","urlObject":{"path":["v1","orders","conditionals","conditional"],"host":["https://api.valr.com"],"query":[],"variable":[{"type":"any","value":"","key":"currencypair"}]}},"response":[{"id":"aa4b6e27-1465-487b-b288-be2ace0f32ce","name":"Delete Conditional by ordeId","originalRequest":{"method":"DELETE","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"pair\": \"1MBONKUSDTPERP\",\n    \"orderId\": \"5077682f-78ab-4122-877d-6952cd373491\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/orders/conditionals/conditional"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Wed, 23 Oct 2024 12:00:07 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"18"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":null},{"id":"e725847e-a725-45d1-8335-e5c63b4544be","name":"Delete Conditional by customerOrderId","originalRequest":{"method":"DELETE","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"pair\": \"1MBONKUSDTPERP\",\n    \"customerOrderId\": \"1MBONKUSDTPERP1101SL2312\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/orders/conditionals/conditional"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Wed, 23 Oct 2024 12:00:58 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"3"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"37d3ee9c-d55a-4788-bb63-cc46981bd12b"},{"name":"All Orders","id":"90822956-7e25-48a8-bd14-a83fb8766b46","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"description":"<p>Your API Key</p>\n","key":"X-VALR-API-KEY","type":"text","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33"},{"description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n","key":"X-VALR-SIGNATURE","type":"text","value":"{{requestSignature}}"},{"description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n","key":"X-VALR-TIMESTAMP","type":"text","value":"{{requestTimestamp}}"}],"url":"https://api.valr.com/v1/orders","description":"<p>Cancel all open orders associated with this account.</p>\n","urlObject":{"path":["v1","orders"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"0ab0dfe4-8165-463d-a3f5-99804f1ca49f","name":"All Orders","originalRequest":{"method":"DELETE","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."},{"key":"Content-Type","value":"application/json"}],"url":"https://api.valr.com/v1/orders"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Thu, 18 Aug 2022 14:41:39 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"1"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"orderId\": \"c66a13ec-2ac6-4a52-9eca-608e4480194f\"\n    },\n    {\n        \"orderId\": \"53485e46-ca8e-46c6-a784-0c175bbcd554\"\n    }\n]"}],"_postman_id":"90822956-7e25-48a8-bd14-a83fb8766b46"},{"name":"All Orders for a Pair","id":"51a54c02-ee89-4710-b2cc-2a5b206df2af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"description":"<p>Your API Key</p>\n","key":"X-VALR-API-KEY","type":"text","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33"},{"description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n","key":"X-VALR-SIGNATURE","type":"text","value":"{{requestSignature}}"},{"description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n","key":"X-VALR-TIMESTAMP","type":"text","value":"{{requestTimestamp}}"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.valr.com/v1/orders/:currencyPair","description":"<p>Cancel all open orders for the given currency pair.</p>\n","urlObject":{"path":["v1","orders",":currencyPair"],"host":["https://api.valr.com"],"query":[],"variable":[{"description":{"content":"<p>Deletes only the orders associated with the specified currency pair.</p>\n","type":"text/plain"},"type":"any","value":"XRPZAR","key":"currencyPair"}]}},"response":[{"id":"e6eeb080-527b-4106-bd14-4ef5e821b8b5","name":"All Orders for a Pair","originalRequest":{"method":"DELETE","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.valr.com/v1/orders/:currencyPair","host":["https://api.valr.com"],"path":["v1","orders",":currencyPair"],"variable":[{"key":"currencyPair","value":"FARTCOINUSDTPERP","description":"Deletes only the orders associated with the specified currency pair."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"14"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Tue, 26 Aug 2025 10:55:57 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"orderId\": \"0198510c-09fa-7f86-8ddb-b6b222b4e509\"\n    },\n    {\n        \"orderId\": \"0198510c-25db-758b-9c63-fa610ac091e4\"\n    },\n    {\n        \"orderId\": \"0198e5f9-c72f-7bc8-b763-449c067b8c33\"\n    }\n]"}],"_postman_id":"51a54c02-ee89-4710-b2cc-2a5b206df2af"}],"id":"3d713155-67aa-4cda-94f7-308ecb224952","description":"<p>Make use of our Exchange Buy/Sell APIs to place your orders on the Exchange programmatically.</p>\n<p>These APIs are protected and will require authentication. See the section on <code>Authentication</code> above to learn how to authenticate your API calls.</p>\n<h1 id=\"v2-api-motivation\">V2 API Motivation</h1>\n<p>When our V1 API returns a <code>202 Accepted</code> it does not guarantee that the order was placed. However, the V2 API will return <code>201 Created</code> whenever the order was successfully placed/modified on the order book and<code>200 Ok</code> when successfully cancelled. Otherwise a <code>400</code> is returned with the reason. This allows a synchronous programming model where the response either indicates a successful placement, or a failure.</p>\n<h1 id=\"list-of-possible-order-statuses\">List of possible Order Statuses</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Enum</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>PLACED</td>\n<td>Placed</td>\n</tr>\n<tr>\n<td>FAILED</td>\n<td>Failed</td>\n</tr>\n<tr>\n<td>CANCELLED</td>\n<td>Cancelled</td>\n</tr>\n<tr>\n<td>FILLED</td>\n<td>Filled</td>\n</tr>\n<tr>\n<td>PARTIALLY_FILLED</td>\n<td>Partially Filled</td>\n</tr>\n<tr>\n<td>EXPIRED</td>\n<td>Expired</td>\n</tr>\n<tr>\n<td>PARTIALLY_FILLED_DUE_TO_SLIPPAGE</td>\n<td>Partially Filled Due To Slippage</td>\n</tr>\n<tr>\n<td>ORDER_MODIFIED</td>\n<td>Order Modified</td>\n</tr>\n<tr>\n<td>REPRICED_DUE_TO_SLIPPAGE</td>\n<td>Repriced Due To Slippage</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"id":"d36c1e9c-d3a8-4090-b2fe-4aee1d91809c","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"e182eba0-dc6c-4a7b-ad64-d5fd7f8e3359","type":"text/javascript","exec":[""]}}],"_postman_id":"3d713155-67aa-4cda-94f7-308ecb224952"},{"name":"Brokerage Instructions","item":[{"name":"Brokerage Instruction Quote","id":"3bbda59f-515f-468f-a37d-87086a40ec27","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"payAmount\": \"100\", \n    \"payCurrency\": \"ZAR\",\n    \"receiveCurrency\": \"XRP\",\n    \"feeRate\": \"0.01\",\n    \"feeCurrency\": \"XRP\",\n    \"feeAccountId\": 1315586846625202176,\n    \"customerOrderId\": \"brokerage-order-01\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v2/brokerage/quote","description":"<p>Generate a new brokerage instruction quote.</p>\n<p>This quote is not guaranteed but serves as an indicator of how the brokerage instruction will execute.</p>\n<p>Example request body:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"payAmount\": \"100\", \n    \"payCurrency\": \"ZAR\",\n    \"receiveCurrency\": \"XRP\",\n    \"feeRate\": \"0.01\",\n    \"feeCurrency\": \"XRP\",\n    \"feeAccountId\": 1315586846625202176,\n    \"customerOrderId\": \"brokerage-order-01\"\n}\n\n</code></pre>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>payAmount (required)</td>\n<td>The total amount to be traded. The trade and brokerage fees should be included in this amount.</td>\n</tr>\n<tr>\n<td>payCurrency (required)</td>\n<td>The currency for the amount specified in <code>payAmount</code></td>\n</tr>\n<tr>\n<td>receiveCurrency (required)</td>\n<td>The currency that will be received after the simple order / swap completes.</td>\n</tr>\n<tr>\n<td>feeRate (required)</td>\n<td>The brokerage fee levied. <code>0.000</code> to <code>0.999</code> allowed</td>\n</tr>\n<tr>\n<td>feeCurrency (required)</td>\n<td>The currency in which the brokerage fee is to be collected. This should match either <code>payCurrency</code> or <code>receiveCurrency</code>.</td>\n</tr>\n<tr>\n<td>feeAccountId (optional)</td>\n<td>The account id of the account to which the brokerage fee will be transfered. This can be set to <code>0</code> to receive the fee in the main account. If not included, <code>0</code> is used as the default.</td>\n</tr>\n<tr>\n<td>customerOrderId (optional)</td>\n<td>Custom order id.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Notes</strong></p>\n<ul>\n<li><p>The account on which the trade is performed can be specified using the http header. Please see our Subaccounts section for more information. Not including the header will result in the order being placed against your main account.</p>\n</li>\n<li><p><code>feeAccountId</code>:<br />  This account cannot be the same as the account in which the simple order / simple swap is placed.</p>\n</li>\n<li><p><code>customerOrderId</code>:<br />  Optional field for tracking orders using your internal system. It supports alphanumeric characters with a 50-character limit. Special characters are not allowed.</p>\n</li>\n<li><p><code>feeCurrency</code>:<br />  If the <code>feeCurrency</code> matches the <code>payCurrency</code> then the brokerage fee will be calculated from the <code>payAmount</code> prior the simple order being placed. If the <code>feeCurrency</code> matches the <code>receiveCurrency</code> then the brokerage fee will be calculated after the simple order / swap has completed and will be a percentage of the received amount.</p>\n</li>\n<li><p><code>feeRate</code>:<br />  Fees are specified as a fraction. ie: a 10% brokerage fee can be specified as <code>0.1</code></p>\n</li>\n</ul>\n<p>Example Response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"requestPayAmount\": \"100\",\n    \"actualPayAmount\": \"100\",\n    \"payCurrency\": \"ZAR\",\n    \"receiveCurrency\": \"XRP\",\n    \"receiveAmount\": \"75\",\n    \"averagePrice\": \"1.3\",\n    \"leg1CurrencyPair\": \"USDTZAR\",\n    \"leg2CurrencyPair\": \"XRPUSDT\",\n    \"averagePriceInPayCurrency\": \"1.3\",\n    \"averagePriceInReceiveCurrency\": \"0.786\",\n    \"feeRate\": \"0.01\",\n    \"feeAmount\": \"0.75\",\n    \"feeCurrency\": \"XRP\",\n    \"feeAccountId\": 1315586846625202176,\n    \"customerOrderId\": \"brokerage-order-01\"\n    \"leg1TradeFeeAmount\": \"0.031413\",\n    \"leg1TradeFeeCurrency\": \"USDT\",\n    \"leg2TradeFeeAmount\": \"0.456\",\n    \"leg2TradeFeeCurrency\": \"XRP\"\n}\n\n</code></pre>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>requestPayAmount</td>\n<td>The total value of the brokerage instruction as specified in request's <code>payAmount</code></td>\n</tr>\n<tr>\n<td>actualPayAmount</td>\n<td>The expected amount the simple order or swap was placed for</td>\n</tr>\n<tr>\n<td>payCurrency</td>\n<td>The currency for the amount specified in payAmount</td>\n</tr>\n<tr>\n<td>receiveCurrency</td>\n<td>The currency that will be received after the simple order / swap completes</td>\n</tr>\n<tr>\n<td>receiveAmount</td>\n<td>The expected amount received in <code>receiveCurrency</code> after the simple order / swap completes</td>\n</tr>\n<tr>\n<td>averagePrice</td>\n<td>The expected average price for the simple order / swap. The average price is exclusive of the VALR fees for the simple order / simple swap.</td>\n</tr>\n<tr>\n<td>leg1CurrencyPair</td>\n<td>The currency pair used for the simple order or the first of two trades in the simple swap</td>\n</tr>\n<tr>\n<td>leg2CurrencyPair</td>\n<td>The second currency pair used for the second of two trades in the simple swap order. This field will not be included in the result if a simple order is used.</td>\n</tr>\n<tr>\n<td>averagePriceInPayCurrency</td>\n<td>The expected average price for the simple order / swap expressed in the currency defined in <code>payCurrency</code>. The average price is exclusive of the VALR fees for the simple order / simple swap.</td>\n</tr>\n<tr>\n<td>averagePriceInReceiveCurrency</td>\n<td>The expected average price for the simple order / swap expressed in the currency defined in <code>receiveCurrency</code>. The average price is exclusive of the VALR fees for the simple order / simple swap.</td>\n</tr>\n<tr>\n<td>customerOrderId</td>\n<td>The custom order id specified in the request</td>\n</tr>\n<tr>\n<td>leg1TradeFeeAmount</td>\n<td>The trade fees levied by VALR for the simple order or the first of two trades in a simple swap order</td>\n</tr>\n<tr>\n<td>leg1TradeFeeCurrency</td>\n<td>The currency in which <code>leg1TradeFeeAmount</code> will be levied</td>\n</tr>\n<tr>\n<td>leg2TradeFeeAmount</td>\n<td>The trade fees levied by VALR for the second of two trades in a simple swap order. This field will not be included in the result if a simple order is used.</td>\n</tr>\n<tr>\n<td>leg2TradeFeeCurrency</td>\n<td>The currency in which <code>leg2TradeFeeAmount</code> will be levied. This field will not be included in the result if a simple order is used.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v2","brokerage","quote"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"1666b039-fd3a-4d37-b290-034e82760b53","name":"Brokerage instruction quote using a simple swap","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."},{"key":"X-VALR-SUB-ACCOUNT-ID","value":"902529770612256768","description":"The subaccount for which to execute the brokerage order"}],"body":{"mode":"raw","raw":"{\n    \"payAmount\": \"100\", \n    \"payCurrency\": \"ZAR\",\n    \"receiveCurrency\": \"XRP\",\n    \"feeRate\": \"0.01\",\n    \"feeCurrency\": \"XRP\",\n    \"feeAccountId\": 1315586846625202176,\n    \"customerOrderId\": \"brokerage-order-01\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v2/brokerage/quote"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Fri, 14 Aug 2020 13:58:49 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"2"},{"key":"server","value":"envoy"},{"key":"transfer-encoding","value":"chunked"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"clear"}],"cookie":[],"responseTime":null,"body":"{\n    \"requestPayAmount\": \"100\",\n    \"actualPayAmount\": \"100\",\n    \"payCurrency\": \"ZAR\",\n    \"receiveCurrency\": \"XRP\",\n    \"receiveAmount\": \"75\",\n    \"averagePrice\": \"1.3\",\n    \"leg1CurrencyPair\": \"USDTZAR\",\n    \"leg2CurrencyPair\": \"XRPUSDT\",\n    \"averagePriceInPayCurrency\": \"1.3\",\n    \"averagePriceInReceiveCurrency\": \"0.786\",\n    \"feeRate\": \"0.01\",\n    \"feeAmount\": \"0.75\",\n    \"feeCurrency\": \"XRP\",\n    \"feeAccountId\": 1315586846625202176,\n    \"customerOrderId\": \"brokerage-order-01\",\n    \"leg1TradeFeeAmount\": \"0.031413\",\n    \"leg1TradeFeeCurrency\": \"USDT\",\n    \"leg2TradeFeeAmount\": \"0.456\",\n    \"leg2TradeFeeCurrency\": \"XRP\"\n}"},{"id":"d605b09c-82b1-4b60-ac22-ad0aabac2f10","name":"Brokerage instruction quote using a simple order","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."},{"key":"X-VALR-SUB-ACCOUNT-ID","value":"902529770612256768","description":"The subaccount for which to execute the brokerage order"}],"body":{"mode":"raw","raw":"{\n    \"payAmount\": \"100\", \n    \"payCurrency\": \"ZAR\",\n    \"receiveCurrency\": \"BTC\",\n    \"feeRate\": \"0.01\",\n    \"feeCurrency\": \"BTC\",\n    \"feeAccountId\": 1315586846625202176,\n    \"customerOrderId\": \"brokerage-order-02\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v2/brokerage/quote"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Fri, 14 Aug 2020 13:58:49 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"2"},{"key":"server","value":"envoy"},{"key":"transfer-encoding","value":"chunked"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"clear"}],"cookie":[],"responseTime":null,"body":"{\n    \"requestPayAmount\": \"100\",\n    \"actualPayAmount\": \"100\",\n    \"payCurrency\": \"ZAR\",\n    \"receiveCurrency\": \"BTC\",\n    \"receiveAmount\": \"0.00005359\",\n    \"averagePrice\": \"1850638\",\n    \"leg1CurrencyPair\": \"BTCZAR\",\n    \"averagePriceInPayCurrency\": \"1850638\",\n    \"averagePriceInReceiveCurrency\": \"0.00000054\",\n    \"feeRate\": \"0.01\",\n    \"feeAmount\": \"0.0000005359\",\n    \"feeCurrency\": \"BTC\",\n    \"feeAccountId\": 1315586846625202176,\n    \"customerOrderId\": \"brokerage-order-02\",\n    \"leg1TradeFeeAmount\": \"0.00000043224\",\n    \"leg1TradeFeeCurrency\": \"BTC\"\n}"}],"_postman_id":"3bbda59f-515f-468f-a37d-87086a40ec27"},{"name":"Place Brokerage Instruction","id":"a9be496e-2b27-469a-b977-1d3f96b84ecc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"payAmount\": \"100\", \n    \"payCurrency\": \"ZAR\",\n    \"receiveCurrency\": \"XRP\",\n    \"feeRate\": \"0.01\",\n    \"feeCurrency\": \"XRP\",\n    \"feeAccountId\": 1311349150067826688,\n    \"customerOrderId\": \"brokerage-order-01\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v2/brokerage","description":"<p>Place a new brokerage instruction order.</p>\n<p>Example request body:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"payAmount\": \"100\", \n    \"payCurrency\": \"ZAR\",\n    \"receiveCurrency\": \"XRP\",\n    \"feeRate\": \"0.01\",\n    \"feeCurrency\": \"XRP\",\n    \"feeAccountId\": 1315586846625202176,\n    \"customerOrderId\": \"brokerage-order-01\"\n}\n\n</code></pre>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>payAmount (required)</td>\n<td>The total amount to be traded. The trade and brokerage fees should be included in this amount.</td>\n</tr>\n<tr>\n<td>payCurrency (required)</td>\n<td>The currency for the amount specified in <code>payAmount</code></td>\n</tr>\n<tr>\n<td>receiveCurrency (required)</td>\n<td>The currency that will be received after the simple order / swap completes.</td>\n</tr>\n<tr>\n<td>feeRate (required)</td>\n<td>The brokerage fee levied. <code>0.000</code> to <code>0.999</code> allowed</td>\n</tr>\n<tr>\n<td>feeCurrency (required)</td>\n<td>The currency in which the brokerage fee is to be collected. This should match either <code>payCurrency</code> or <code>receiveCurrency</code>.</td>\n</tr>\n<tr>\n<td>feeAccountId (optional)</td>\n<td>The account id of the account to which the brokerage fee will be transfered. This can be set to <code>0</code> to receive the fee in the main account. If not included, <code>0</code> is used as the default.</td>\n</tr>\n<tr>\n<td>customerOrderId (optional)</td>\n<td>Custom order id</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Notes</strong></p>\n<ul>\n<li><p>The account on which the trade is performed can be specified using the http header. Please see our Subaccounts section for more information. Not including the header will result in the order being placed against your main account.</p>\n</li>\n<li><p><code>feeAccountId</code>:<br />  This account cannot be the same as the account in which the simple order / simple swap is placed.</p>\n</li>\n<li><p><code>customerOrderId</code>:<br />  Optional field for tracking orders using your internal system. It supports alphanumeric characters with a 50-character limit. Special characters are not allowed.</p>\n</li>\n<li><p><code>feeCurrency</code>:<br />  If the <code>feeCurrency</code> matches the <code>payCurrency</code> then the brokerage fee will be calculated from the <code>payAmount</code> prior the simple order being placed. If the <code>feeCurrency</code> matches the <code>receiveCurrency</code> then the brokerage fee will be calculated after the simple order / swap has completed and will be a percentage of the received amount.</p>\n</li>\n<li><p><code>feeRate</code>:<br />  Fees are specified as a fraction. ie: a 10% brokerage fee can be specified as <code>0.1</code></p>\n</li>\n</ul>\n<p>Example Response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"orderId\": \"de689cf3-f667-4104-905b-2fdb439618bc\"\n}\n\n</code></pre>\n","urlObject":{"path":["v2","brokerage"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"6939f51c-5837-4cb9-bf2b-27c090faccb9","name":"Brokerage instruction using a simple swap","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."},{"key":"X-VALR-SUB-ACCOUNT-ID","value":"902529770612256768","description":"The subaccount for which to execute the brokerage order"}],"body":{"mode":"raw","raw":"{\n    \"payAmount\": \"100\", \n    \"payCurrency\": \"ZAR\",\n    \"receiveCurrency\": \"XRP\",\n    \"feeRate\": \"0.01\",\n    \"feeCurrency\": \"XRP\",\n    \"feeAccountId\": 1315586846625202176,\n    \"customerOrderId\": \"brokerage-order-01\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v2/brokerage"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Fri, 14 Aug 2020 13:58:49 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"2"},{"key":"server","value":"envoy"},{"key":"transfer-encoding","value":"chunked"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"clear"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\":\"de689cf3-f667-4104-905b-2fdb439618bc\"\n}"},{"id":"f95a05be-d389-4eb6-a461-1777a86da158","name":"Brokerage instruction using a simple order","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."},{"key":"X-VALR-SUB-ACCOUNT-ID","value":"902529770612256768","description":"The subaccount for which to execute the brokerage order"}],"body":{"mode":"raw","raw":"{\n    \"payAmount\": \"100\", \n    \"payCurrency\": \"ZAR\",\n    \"receiveCurrency\": \"BTC\",\n    \"feeRate\": \"0.01\",\n    \"feeCurrency\": \"BTC\",\n    \"feeAccountId\": 1315586846625202176,\n    \"customerOrderId\": \"brokerage-order-02\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v2/brokerage"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Fri, 14 Aug 2020 13:58:49 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"2"},{"key":"server","value":"envoy"},{"key":"transfer-encoding","value":"chunked"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"clear"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\":\"de689cf3-f667-4104-905b-2fdb439618bc\"\n}"}],"_postman_id":"a9be496e-2b27-469a-b977-1d3f96b84ecc"},{"name":"Brokerage Instruction History","id":"3e8bb4c0-6f0b-4ef3-9619-dae819b9e0e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"url":"https://api.valr.com/v2/brokerage/history?includeSubAccounts=true&skip=0&limit=100","description":"<p>Get brokerage instruction history.</p>\n<p>To retrieve all instructions across all subaccounts, make this request for your main account and specify <code>includeSubAccounts=true</code> as a query parameter.</p>\n<p>To retrieve all instructions for a particular subaccount, make this request using the <code>X-VALR-SUB-ACCOUNT-ID</code> header. Please see the <code>Account / Subaccounts</code> section for more information.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Query Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>includeSubAccounts (optional)</td>\n<td><code>TRUE</code> or <code>FALSE</code> If true, brokerage instruction history will be returned for the main account and all the subaccounts. Default: <code>FALSE</code></td>\n</tr>\n</tbody>\n</table>\n</div><p>Example Response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"identifier\": \"48657a89-5ff6-483c-a8d4-e8a1d0648fb4\",\n        \"orderId\": \"de689cf3-f667-4104-905b-2fdb439618bc\",\n        \"transferId\": \"377573\",\n        \"accountId\": 0,\n        \"feeAccountId\": 1311349150067826688,\n        \"requestedPayAmount\": \"100\",\n        \"actualPayAmount\": \"99.99857355\",\n        \"payCurrency\": \"ZAR\",\n        \"receiveCurrency\": \"XRP\",\n        \"receiveAmount\": \"75.544\",\n        \"feeRate\": \"0.01\",\n        \"feeCurrency\": \"XRP\",\n        \"feeAmount\": \"0.75544\",\n        \"customerOrderId\": \"brokerage-order-01\",\n        \"createdAt\": 1739378546678,\n        \"status\": \"COMPLETED\",\n        \"leg1TradeFeeAmount\": \"0.0314130\",\n        \"leg1TradeFeeCurrency\": \"USDT\",\n        \"leg2TradeFeeAmount\": \"0.456\",\n        \"leg2TradeFeeCurrency\": \"XRP\"\n    }\n]\n\n</code></pre>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>identifier</td>\n<td>Unique identifier for the brokerage instruction</td>\n</tr>\n<tr>\n<td>orderId</td>\n<td>Order id for the simple swap or the simple order that is placed as part of the brokerage instruction</td>\n</tr>\n<tr>\n<td>transferId</td>\n<td>The id of the internal transfer that was used to sweep the brokerage fee into the <code>feeAccount</code></td>\n</tr>\n<tr>\n<td>accountId</td>\n<td>Account on which the simple order / simple swap took place. <code>0</code> indicates the main account was used.</td>\n</tr>\n<tr>\n<td>feeAccountId</td>\n<td>The account to which the brokerage fee was transfered</td>\n</tr>\n<tr>\n<td>requestedPayAmount</td>\n<td>The total value of the brokerage instruction as specified in request's <code>payAmount</code></td>\n</tr>\n<tr>\n<td>actualPayAmount</td>\n<td>The total amount the simple order or swap was placed for</td>\n</tr>\n<tr>\n<td>payCurrency</td>\n<td>The currency for the amount specified in <code>payAmount</code></td>\n</tr>\n<tr>\n<td>receiveCurrency</td>\n<td>The currency received after the simple order / swap completed</td>\n</tr>\n<tr>\n<td>receiveAmount</td>\n<td>The amount received in <code>receiveCurrency</code> after the simple order / swap completed</td>\n</tr>\n<tr>\n<td>feeRate</td>\n<td>The rate of the brokerage fee levied</td>\n</tr>\n<tr>\n<td>feeCurrency</td>\n<td>The currency in which the brokerage fee was collected. This will match either payCurrency or receiveCurrency.</td>\n</tr>\n<tr>\n<td>feeAmount</td>\n<td>The total amount of the brokerage fee collected. Expressed in the currency defined in <code>feeCurrency</code></td>\n</tr>\n<tr>\n<td>customerOrderId</td>\n<td>The custom order id specified in the request</td>\n</tr>\n<tr>\n<td>leg1TradeFeeAmount</td>\n<td>The trade fees levied by VALR for the simple order or the first of two trades in a simple swap order.</td>\n</tr>\n<tr>\n<td>leg1TradeFeeCurrency</td>\n<td>The currency in which <code>leg1TradeFeeAmount</code> was levied</td>\n</tr>\n<tr>\n<td>leg2TradeFeeAmount</td>\n<td>The trade fees levied by VALR for the second of two trades in a simple swap order. This field will not be included in the result if a simple order is used.</td>\n</tr>\n<tr>\n<td>leg2TradeFeeCurrency</td>\n<td>The currency in which <code>leg2TradeFeeAmount</code> was levied. This field will not be included in the result if a simple order is used.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v2","brokerage","history"],"host":["https://api.valr.com"],"query":[{"key":"includeSubAccounts","value":"true"},{"description":{"content":"<p>Skip this number of results. (Default 0)</p>\n","type":"text/plain"},"key":"skip","value":"0"},{"description":{"content":"<p>Limit the results to this number. (Default and Max 100)</p>\n","type":"text/plain"},"key":"limit","value":"100"}],"variable":[]}},"response":[{"id":"1c8904b0-5fa5-4bd9-9f08-668a8311b474","name":"Brokerage instruction history for all subaccounts","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    \"payAmount\": \"100\", \n    \"payCurrency\": \"ZAR\",\n    \"receiveCurrency\": \"XRP\",\n    \"feeRate\": \"0.01\",\n    \"feeCurrency\": \"XRP\",\n    \"feeAccountId\": 1315586846625202176,\n    \"customerOrderId\": \"brokerage-order-01\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.valr.com/v2/brokerage/history?includeSubAccounts=true","protocol":"https","host":["api","valr","com"],"path":["v2","brokerage","history"],"query":[{"key":"includeSubAccounts","value":"true"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Fri, 14 Aug 2020 13:58:49 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"2"},{"key":"server","value":"envoy"},{"key":"transfer-encoding","value":"chunked"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"clear"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"identifier\": \"48657a89-5ff6-483c-a8d4-e8a1d0648fb4\",\n        \"orderId\": \"de689cf3-f667-4104-905b-2fdb439618bc\",\n        \"transferId\": \"377573\",\n        \"accountId\": 0,\n        \"feeAccountId\": 1311349150067826688,\n        \"requestedPayAmount\": \"100\",\n        \"actualPayAmount\": \"99.99857355\",\n        \"payCurrency\": \"ZAR\",\n        \"receiveCurrency\": \"XRP\",\n        \"receiveAmount\": \"75.544\",\n        \"feeRate\": \"0.01\",\n        \"feeCurrency\": \"XRP\",\n        \"feeAmount\": \"0.75544\",\n        \"customerOrderId\": \"brokerage-order-01\",\n        \"createdAt\": 1739378546678,\n        \"status\": \"COMPLETED\",\n        \"leg1TradeFeeAmount\": \"0.0314130\",\n        \"leg1TradeFeeCurrency\": \"USDT\",\n        \"leg2TradeFeeAmount\": \"0.456\",\n        \"leg2TradeFeeCurrency\": \"XRP\"\n    }\n]"}],"_postman_id":"3e8bb4c0-6f0b-4ef3-9619-dae819b9e0e3"},{"name":"Single Brokerage Instruction using OrderId","id":"d4467411-a0e9-49b3-8b2a-9cabb6ffa7ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"url":"https://api.valr.com/v2/brokerage/history/:orderId","description":"<p>Get a single brokerage instruction record using the <code>orderId</code> of the simple order / simple swap.</p>\n<p>Example Response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">    {\n        \"identifier\": \"48657a89-5ff6-483c-a8d4-e8a1d0648fb4\",\n        \"orderId\": \"de689cf3-f667-4104-905b-2fdb439618bc\",\n        \"transferId\": \"377573\",\n        \"accountId\": 0,\n        \"feeAccountId\": 1311349150067826688,\n        \"requestedPayAmount\": \"100\",\n        \"actualPayAmount\": \"99.99857355\",\n        \"payCurrency\": \"ZAR\",\n        \"receiveCurrency\": \"XRP\",\n        \"receiveAmount\": \"75.544\",\n        \"feeRate\": \"0.01\",\n        \"feeCurrency\": \"XRP\",\n        \"feeAmount\": \"0.75544\",\n        \"customerOrderId\": \"brokerage-order-01\",\n        \"createdAt\": 1739378546678,\n        \"status\": \"COMPLETED\",\n        \"leg1TradeFeeAmount\": \"0.0314130\",\n        \"leg1TradeFeeCurrency\": \"USDT\",\n        \"leg2TradeFeeAmount\": \"0.456\",\n        \"leg2TradeFeeCurrency\": \"XRP\"\n    }\n\n</code></pre>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>identifier</td>\n<td>Unique identifier for the brokerage instruction</td>\n</tr>\n<tr>\n<td>orderId</td>\n<td>Order id for the simple swap or the simple order that is placed as part of the brokerage instruction</td>\n</tr>\n<tr>\n<td>transferId</td>\n<td>The id of the internal transfer that was used to sweep the brokerage fee into the <code>feeAccount</code></td>\n</tr>\n<tr>\n<td>accountId</td>\n<td>Account on which the simple order / simple swap took place. <code>0</code> indicates the main account was used.</td>\n</tr>\n<tr>\n<td>feeAccountId</td>\n<td>The account to which the brokerage fee was transfered</td>\n</tr>\n<tr>\n<td>requestedPayAmount</td>\n<td>The total value of the brokerage instruction as specified in request's <code>payAmount</code></td>\n</tr>\n<tr>\n<td>actualPayAmount</td>\n<td>The total amount the simple order or swap was placed for</td>\n</tr>\n<tr>\n<td>payCurrency</td>\n<td>The currency for the amount specified in <code>payAmount</code></td>\n</tr>\n<tr>\n<td>receiveCurrency</td>\n<td>The currency received after the simple order / swap completed</td>\n</tr>\n<tr>\n<td>receiveAmount</td>\n<td>The amount received in <code>receiveCurrency</code> after the simple order / swap completed</td>\n</tr>\n<tr>\n<td>feeRate</td>\n<td>The rate of the brokerage fee levied</td>\n</tr>\n<tr>\n<td>feeCurrency</td>\n<td>The currency in which the brokerage fee was collected. This will match either payCurrency or receiveCurrency.</td>\n</tr>\n<tr>\n<td>feeAmount</td>\n<td>The total amount of the brokerage fee collected. Specified in the currenct defined in <code>feeCurrency</code></td>\n</tr>\n<tr>\n<td>customerOrderId</td>\n<td>The custom order id specified in the request</td>\n</tr>\n<tr>\n<td>leg1TradeFeeAmount</td>\n<td>The trade fees levied by VALR for the simple order or the first of two trades in a simple swap order</td>\n</tr>\n<tr>\n<td>leg1TradeFeeCurrency</td>\n<td>The currency in which <code>leg1TradeFeeAmount</code> was levied</td>\n</tr>\n<tr>\n<td>leg2TradeFeeAmount</td>\n<td>The trade fees levied by VALR for the second of two trades in a simple swap order. This field will not be included in the result if a simple order is used.</td>\n</tr>\n<tr>\n<td>leg2TradeFeeCurrency</td>\n<td>The currency in which <code>leg2TradeFeeAmount</code> was levied. This field will not be included in the result if a simple order is used.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v2","brokerage","history",":orderId"],"host":["https://api.valr.com"],"query":[],"variable":[{"description":{"content":"<p>The unique id of the simple order or simple swap</p>\n","type":"text/plain"},"type":"any","value":"de689cf3-f667-4104-905b-2fdb439618bc","key":"orderId"}]}},"response":[{"id":"0e171bdf-ccbd-4111-96d2-bfd83dc26b21","name":"Single Brokerage Instruction using OrderId","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    \"payAmount\": \"100\", \n    \"payCurrency\": \"ZAR\",\n    \"receiveCurrency\": \"XRP\",\n    \"feeRate\": \"0.01\",\n    \"feeCurrency\": \"XRP\",\n    \"feeAccountId\": 1315586846625202176,\n    \"customerOrderId\": \"brokerage-order-01\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.valr.com/v2/brokerage/history/:orderId","protocol":"https","host":["api","valr","com"],"path":["v2","brokerage","history",":orderId"],"variable":[{"key":"orderId","value":"de689cf3-f667-4104-905b-2fdb439618bc","description":"The unique id of the simple order or simple swap"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Fri, 14 Aug 2020 13:58:49 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"2"},{"key":"server","value":"envoy"},{"key":"transfer-encoding","value":"chunked"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"clear"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"identifier\": \"48657a89-5ff6-483c-a8d4-e8a1d0648fb4\",\n        \"orderId\": \"de689cf3-f667-4104-905b-2fdb439618bc\",\n        \"transferId\": \"377573\",\n        \"accountId\": 0,\n        \"feeAccountId\": 1311349150067826688,\n        \"requestedPayAmount\": \"100\",\n        \"actualPayAmount\": \"99.99857355\",\n        \"payCurrency\": \"ZAR\",\n        \"receiveCurrency\": \"XRP\",\n        \"receiveAmount\": \"75.544\",\n        \"feeRate\": \"0.01\",\n        \"feeCurrency\": \"XRP\",\n        \"feeAmount\": \"0.75544\",\n        \"customerOrderId\": \"brokerage-order-01\",\n        \"createdAt\": 1739378546678,\n        \"status\": \"COMPLETED\",\n        \"leg1TradeFeeAmount\": \"0.0314130\",\n        \"leg1TradeFeeCurrency\": \"USDT\",\n        \"leg2TradeFeeAmount\": \"0.456\",\n        \"leg2TradeFeeCurrency\": \"XRP\"\n    }\n]"}],"_postman_id":"d4467411-a0e9-49b3-8b2a-9cabb6ffa7ec"}],"id":"5c821b60-c92d-4e9d-ba80-b61990b720a0","description":"<p>Brokerage instructions define a simple order or simple swap. This instruction includes the brokerage fee rate that will be levied against the order and the account identifier to which the fee is swept.</p>\n<p>Brokerage Instructions trigger a 2 part process. The first part places a simple swap or a simple order depending on the pairs available for the trade. Once the trade completes an internal transfer is performed to move the fee from the account where the trade occurred to another account.</p>\n<p>This can be a simple order or a simple swap. Please see our fees for clarity on how simple orders and simple swaps are billed.</p>\n<p>This API is protected and will require authentication. See the section on <code>Authentication</code> to learn how to authenticate your API calls.</p>\n<h4 id=\"api-key-requirements\">API Key Requirements</h4>\n<p>The API key used to get brokerage quotes and place brokerage instructions will require <code>Trade</code> and <code>Internal Transfer</code> permissions. This is due to the brokerage instructions being a two part process with a simple order / simple swap followed by an internal transfer of the brokerage fee into the fee account.</p>\n","_postman_id":"5c821b60-c92d-4e9d-ba80-b61990b720a0"},{"name":"WebSocket API","item":[{"name":"Account","item":[{"name":"Read","item":[],"id":"0d52f154-c40d-46b0-93da-4f56b1d13ebc","description":"<h2 id=\"events-on-account-websocket\">Events (On <code>Account</code> WebSocket)</h2>\n<p>Here is a list of events you can subscribe to on the <code>Account</code> WebSocket connection:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Event</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>MARGIN_INFO</td>\n<td>Receive periodic notifications of the account's current margin information, currently sent every 5 seconds. (Beta)</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"margin_info\">MARGIN_INFO</h3>\n<p>In order to subscribe to the <strong>MARGIN_INFO</strong> event, you must send the following message on the <code>Account</code> WebSocket connection once it is opened:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{ \n  \"type\": \"SUBSCRIBE\", \n  \"subscriptions\": [\n    { \n      \"event\":\"MARGIN_INFO\" \n    }\n  ] \n}\n\n</code></pre>\n<p>On subscription the latest update is sent immediately.</p>\n<p>You can unsubscribe from <code>MARGIN_INFO</code>, <code>BALANCE_UPDATE</code> and <code>OPEN_ORDERS_UPDATE</code> events. To unsubscribe, send an <code>UNSUBSCRIBE</code> message listing the event types to unsubscribe from.</p>\n<p>For example, to unsubscribe from all three supported events, send this message:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"UNSUBSCRIBE\",\n  \"requests\": [\n    {\n      \"event\": \"MARGIN_INFO\"\n    },\n    {\n      \"event\": \"BALANCE_UPDATE\"\n    },\n    {\n      \"event\": \"OPEN_ORDERS_UPDATE\"\n    }\n  ]\n}\n\n</code></pre>\n<h2 id=\"message-feeds-on-account-websocket\">Message Feeds (On <code>Account</code> WebSocket)</h2>\n<p>As soon as the connection is established, the client is automatically subscribed to all events on the <code>Account</code> WebSocket connection. If needed, the client can unsubscribe from any events as described below.</p>\n<p>On connection and authentication to the <code>Account</code> WebSocket we will now send all account balances, open orders and positions associated with the user account. We will send one <strong>BALANCE_UPDATE</strong> message for each asset held and one <strong>OPEN_ORDERS_UPDATE</strong> message containing all open orders by the account, across all order books.<br />Users can also unsubscribe from these by following the example provided above.</p>\n<p>Here is a list of events that occur on the <code>Account</code> WebSocket and the corresponding sample message feed:</p>\n<h3 id=\"new_account_history_record--new-successful-transaction\">NEW_ACCOUNT_HISTORY_RECORD : <em>New successful transaction</em></h3>\n<p>Sample message feed:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\"> {\n    \"type\": \"NEW_ACCOUNT_HISTORY_RECORD\",\n    \"data\": {\n        \"transactionType\": {\n            \"type\": \"MARKET_BUY\",\n            \"description\": \"Market Buy\"\n        },\n        \"debitCurrency\": {\n            \"symbol\": \"R\",\n            \"decimalPlaces\": 2,\n            \"isActive\": true,\n            \"shortName\": \"ZAR\",\n            \"longName\": \"Rand\",\n            \"supportedWithdrawDecimalPlaces\": 2,\n            \"collateral\": true,\n            \"collateralWeight\": \"1\"\n        },\n        \"debitValue\": \"3725371.384\",\n        \"creditCurrency\": {\n            \"symbol\": \"BTC\",\n            \"decimalPlaces\": 8,\n            \"isActive\": true,\n            \"shortName\": \"BTC\",\n            \"longName\": \"Bitcoin\",\n            \"supportedWithdrawDecimalPlaces\": 8,\n            \"collateral\": true,\n            \"collateralWeight\": \"0.975\"\n        },\n        \"creditValue\": \"4.65205751577\",\n        \"feeCurrency\": {\n            \"symbol\": \"BTC\",\n            \"decimalPlaces\": 8,\n            \"isActive\": true,\n            \"shortName\": \"BTC\",\n            \"longName\": \"Bitcoin\",\n            \"supportedWithdrawDecimalPlaces\": 8,\n            \"collateral\": true,\n            \"collateralWeight\": \"0.975\"\n        },\n        \"feeValue\": \"0.00465671423\",\n        \"eventAt\": \"2022-11-14T20:00:58.263Z\",\n        \"additionalInfo\": {\n            \"costPerCoin\": 800000,\n            \"costPerCoinSymbol\": \"R\",\n            \"currencyPairSymbol\": \"BTCZAR\",\n            \"orderId\": \"3904a62e-756c-4b02-aa15-ec9c3d19bd7d\"\n        },\n        \"id\": \"a3c85807-34ed-4515-84a2-6f9b863947ed\"\n    }\n}\n{\n    \"type\": \"NEW_ACCOUNT_HISTORY_RECORD\",\n    \"data\": {\n        \"transactionType\": {\n            \"type\": \"SIMPLE_BUY\",\n            \"description\": \"Simple Buy\"\n        },\n        \"debitCurrency\": {\n            \"symbol\": \"R\",\n            \"decimalPlaces\": 2,\n            \"isActive\": true,\n            \"shortName\": \"ZAR\",\n            \"longName\": \"Rand\",\n            \"supportedWithdrawDecimalPlaces\": 2,\n            \"collateral\": true,\n            \"collateralWeight\": \"1\"\n        },\n        \"debitValue\": \"11.999995\",\n        \"creditCurrency\": {\n            \"symbol\": \"ETH\",\n            \"decimalPlaces\": 18,\n            \"isActive\": true,\n            \"shortName\": \"ETH\",\n            \"longName\": \"Ethereum\",\n            \"supportedWithdrawDecimalPlaces\": 8,\n            \"collateral\": false,\n            \"collateralWeight\": \"0.0\"\n        },\n        \"creditValue\": \"0.003402855725\",\n        \"feeCurrency\": {\n            \"symbol\": \"ETH\",\n            \"decimalPlaces\": 18,\n            \"isActive\": true,\n            \"shortName\": \"ETH\",\n            \"longName\": \"Ethereum\",\n            \"supportedWithdrawDecimalPlaces\": 8,\n            \"collateral\": false,\n            \"collateralWeight\": \"0.0\"\n        },\n        \"feeValue\": \"0.000025714275\",\n        \"eventAt\": \"2022-11-21T13:09:11.339Z\",\n        \"additionalInfo\": {\n            \"costPerCoin\": 3500,\n            \"costPerCoinSymbol\": \"R\",\n            \"currencyPairSymbol\": \"ETHZAR\",\n            \"orderId\": \"4ecbcdf1-1f12-42fa-b8a5-ecc2719abf39\"\n        },\n        \"id\": \"68b103e4-fe07-4794-9015-f77beaa625e5\"\n    }\n}\n\n</code></pre>\n<hr />\n<h3 id=\"balance_update--balance-has-been-updated\">BALANCE_UPDATE : <em>Balance has been updated</em></h3>\n<p>Sample message feed:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"type\": \"BALANCE_UPDATE\",\n    \"data\": {\n        \"currency\": {\n            \"symbol\": \"BTC\",\n            \"decimalPlaces\": 8,\n            \"isActive\": true,\n            \"shortName\": \"BTC\",\n            \"longName\": \"Bitcoin\",\n            \"supportedWithdrawDecimalPlaces\": 8,\n            \"collateral\": true,\n            \"collateralWeight\": \"0.95\"\n        },\n        \"available\": \"0.00002887\",\n        \"reserved\": \"0\",\n        \"total\": \"0.00002887\",\n        \"updatedAt\": \"2023-03-12T03:28:36.600Z\",\n        \"lendReserved\": \"0\",\n        \"borrowCollateralReserved\": \"0\",\n        \"borrowedAmount\": \"0\",\n        \"totalInReference\": \"14.84599332\",\n        \"totalInReferenceWeighted\": \"14.103693654\",\n        \"referenceCurrency\": \"ZAR\"\n    }\n}\n\n</code></pre>\n<hr />\n<h3 id=\"new_account_trade--new-trade-executed-on-your-account\">NEW_ACCOUNT_TRADE : <em>New trade executed on your account</em></h3>\n<p>Sample message feed:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"NEW_ACCOUNT_TRADE\",\n  \"currencyPairSymbol\": \"BTCUSDT\",\n  \"data\": {\n    \"price\": \"114,953\",\n    \"quantity\": \"0.0001\",\n    \"currencyPair\": \"BTCUSDT\",\n    \"tradedAt\": \"2025-10-28T07:13:21.635Z\",\n    \"side\": \"buy\",\n    \"orderId\": \"019a29aa-0cd9-75d6-813c-994bab34c642\",\n    \"id\": \"019a29aa-0ce3-75db-bfc2-dd543aa745db\",\n    \"fee\": \"0.0000001\",\n    \"feeCurrency\": \"BTC\",\n    \"customerOrderId\": \"marketWS\"\n  }\n}\n\n</code></pre>\n<hr />\n<h3 id=\"instant_order_completed-new-simple-buysell-executed\">INSTANT_ORDER_COMPLETED: <em>New Simple Buy/Sell executed</em></h3>\n<p>Sample message feed:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"INSTANT_ORDER_COMPLETED\",\n  \"data\": {\n    \"orderId\": \"247dc157-bb5b-49af-b476-2f613b780697\",\n    \"success\": true,\n    \"paidAmount\": \"10\",\n    \"paidCurrency\": \"R\",\n    \"receivedAmount\": \"0.00104473\",\n    \"receivedCurrency\": \"BTC\",\n    \"feeAmount\": \"0.00000789\",\n    \"feeCurrency\": \"BTC\",\n    \"orderExecutedAt\": \"2019-04-25T20:36:53.445\"\n  }\n}\n\n</code></pre>\n<hr />\n<h3 id=\"open_orders_update--new-order-added-to-open-orders\">OPEN_ORDERS_UPDATE : <em>New order added to open orders</em></h3>\n<p>Sample message feed (all open orders are returned):</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"OPEN_ORDERS_UPDATE\",\n  \"data\": [\n    {\n      \"orderId\": \"01972090-c325-7c8d-beed-203ff3630ba6\",\n      \"side\": \"sell\",\n      \"quantity\": \"0.0001\",\n      \"price\": \"2100000\",\n      \"currencyPair\": \"BTCUSDTPERP\",\n      \"createdAt\": \"2025-05-30T09:40:47.525Z\",\n      \"originalQuantity\": \"0.0001\",\n      \"filledPercentage\": \"0.00\",\n      \"customerOrderId\": \"MyLimit123\",\n      \"type\": \"post-only limit\",\n      \"status\": \"Placed\",\n      \"updatedAt\": \"2025-05-30T09:40:47.526Z\",\n      \"timeInForce\": \"GTC\",\n      \"allowMargin\": false\n    },\n    {\n      \"orderId\": \"01972090-dcc2-7f16-9343-fa3749aa4f9d\",\n      \"side\": \"sell\",\n      \"quantity\": \"0.0001\",\n      \"price\": \"2200000\",\n      \"currencyPair\": \"BTCUSDTPERP\",\n      \"createdAt\": \"2025-05-30T09:40:54.082Z\",\n      \"originalQuantity\": \"0.0001\",\n      \"filledPercentage\": \"0.00\",\n      \"type\": \"post-only limit\",\n      \"status\": \"Placed\",\n      \"updatedAt\": \"2025-05-30T09:40:54.084Z\",\n      \"timeInForce\": \"GTC\",\n      \"allowMargin\": false\n    }\n  ]\n}\n\n</code></pre>\n<hr />\n<h3 id=\"open_orders_update--open-order-modified\">OPEN_ORDERS_UPDATE : <em>Open order modified</em></h3>\n<p>Sample message feed (all open orders are returned) :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"ORDER_STATUS_UPDATE\",\n  \"data\": {\n    \"orderId\": \"019a29d0-4362-7dc9-a51d-3533a4bdcf2d\",\n    \"orderStatusType\": \"Order Modified\",\n    \"currencyPair\": \"BTCUSDT\",\n    \"originalPrice\": \"114920\",\n    \"remainingQuantity\": \"0.0002\",\n    \"originalQuantity\": \"0.0002\",\n    \"orderSide\": \"buy\",\n    \"orderType\": \"post-only limit\",\n    \"failedReason\": \"\",\n    \"orderUpdatedAt\": \"2025-10-28T07:56:21.483Z\",\n    \"orderCreatedAt\": \"2025-10-28T07:55:05.955Z\",\n    \"customerOrderId\": \"testWS\",\n    \"executedPrice\": \"0\",\n    \"executedQuantity\": \"0\",\n    \"executedFee\": \"0\",\n    \"timeInForce\": \"GTC\"\n  }\n}\n\n</code></pre>\n<h3 id=\"open_position_update--open-futures-position-modified\">OPEN_POSITION_UPDATE : <em>Open futures position modified</em></h3>\n<p>Sample message feed:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"OPEN_POSITION_UPDATE\",\n  \"data\": {\n    \"pair\": \"BTCUSDTPERP\",\n    \"side\": \"buy\",\n    \"quantity\": \"0.0003\",\n    \"realisedPnl\": \"0.08067945\",\n    \"totalSessionEntryQuantity\": \"0.0003\",\n    \"totalSessionValue\": \"10.9272\",\n    \"sessionAverageEntryPrice\": \"36424\",\n    \"averageEntryPrice\": \"36137\",\n    \"unrealisedPnl\": \"-0.0567\",\n    \"updatedAt\": \"2023-11-16T18:57:38.013Z\",\n    \"createdAt\": \"2023-11-15T11:34:38.186Z\",\n    \"positionId\": \"08dea401-ba23-ded0-28a9-03d6d59c32a4\"\n    \"leverageTier\": 27\n  }\n}\n\n</code></pre>\n<hr />\n<h3 id=\"reduce_position--reduced-futures-position\">REDUCE_POSITION : <em>Reduced futures position</em></h3>\n<p>The <code>REDUCE_POSITION</code> message is emitted whenever a futures position is reduced — either partially or fully — due to a trade, liquidation, or automatic deleveraging (ADL). It provides detailed information about the amount by which the position was reduced and related metrics such as realized PnL and fees.</p>\n<blockquote>\n<p><strong>Important Behavior:</strong> </p>\n</blockquote>\n<ul>\n<li><p><strong>Partial Close:</strong> You will receive both a <code>REDUCE_POSITION</code> and an <code>OPEN_POSITION_UPDATE</code> message.</p>\n</li>\n<li><p><strong>Full Close:</strong> You will receive a <code>REDUCE_POSITION</code> followed by a <code>POSITION_CLOSED</code> message.</p>\n</li>\n<li><p><strong>Position Flip:</strong> If a trade closes the existing position and opens a new one in the opposite direction, you will receive:</p>\n<ol>\n<li><p><code>REDUCE_POSITION</code></p>\n</li>\n<li><p><code>POSITION_CLOSED</code> (for the original position)</p>\n</li>\n<li><p><code>OPEN_POSITION_UPDATE</code> (for the new position)</p>\n</li>\n</ol>\n</li>\n<li><p><code>quantity</code> represents how much the position was reduced by — not the remaining position.</p>\n</li>\n<li><p>You can expect a separate <code>REDUCE_POSITION</code> message for each match. Each message will include the matched quantity.</p>\n</li>\n<li><p>For each reduction, an <code>OPEN_POSITION_UPDATE</code> is sent to reflect the new state of the position. You should use it to update your in-memory position.</p>\n</li>\n<li><p><code>unrealisedPnl</code> is <strong>not</strong> included in <code>REDUCE_POSITION</code> but can be derived separately:</p>\n</li>\n<li><p><strong>Formula:</strong></p>\n</li>\n</ul>\n<p><code>unrealisedPnl = (currentMarketPrice - sessionAverageEntryPrice) \\\\* positionQuantity</code></p>\n<p>Sample message feed:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"REDUCE_POSITION\",\n  \"data\": {\n    \"currencyPair\": \"USDTZARPERP\",\n    \"orderSide\": \"buy\",\n    \"quantity\": \"140.576\",\n    \"averageEntryPrice\": \"18.0002\",\n    \"closePrice\": \"18\",\n    \"realisedPnl\": \"-3.5706498\",\n    \"closeType\": \"Trade\",\n    \"createdAt\": \"2025-05-30T11:13:08.898Z\",\n    \"fees\": \"3.5425346\",\n    \"positionId\": \"27b1f2f1-a500-8dea-28a9-03190309a944\",\n    \"initialMarginFractionAtClose\": \"0.1\"\n  }\n}\n\n</code></pre>\n<hr />\n<h3 id=\"position_closed--closed-futures-position\">POSITION_CLOSED : <em>Closed futures position</em></h3>\n<p>The <code>POSITION_CLOSED</code> event is triggered only when a position is fully closed. If you manually close a position, you will receive both <code>REDUCE_POSITION</code> and <code>POSITION_CLOSED</code>. If a trade closes an existing position and flips it to the opposite side, you will first receive <code>REDUCE_POSITION</code> and <code>POSITION_CLOSED</code> for the original position, followed by a <code>POSITION_UPDATE</code> for the new position.</p>\n<p>Sample message feed:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"type\": \"POSITION_CLOSED\",\n    \"data\": {\n        \"pair\": \"BTCUSDTPERP\",\n        \"positionId\": \"08dea401-ba23-ded0-28a9-03d6d59c32a4\"\n    }\n}\n\n</code></pre>\n<hr />\n<h3 id=\"add_conditional_order--add-a-conditional-order-for-an-open-position\">ADD_CONDITIONAL_ORDER : <em>Add a conditional order for an open position</em></h3>\n<p>Sample message feed:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"ADD_CONDITIONAL_ORDER\",\n  \"data\": {\n    \"orderId\": \"019a29f4-489e-7f1e-87dc-c5ef7439a755\",\n    \"triggerOrderSide\": \"sell\",\n    \"triggerOrderType\": \"limit-reduce-only\",\n    \"currencyPair\": \"BTCUSDTPERP\",\n    \"createdAt\": \"2025-10-28T08:34:26.590Z\",\n    \"updatedAt\": \"2025-10-28T08:34:26.590Z\",\n    \"triggerType\": \"LAST_TRADED\",\n    \"conditionalType\": \"TAKE_PROFIT\",\n    \"customerOrderId\": \"testWS\",\n    \"positionSide\": \"buy\",\n    \"positionId\": \"008dea13-85f4-69d5-28a9-03714f849984\",\n    \"quantity\": \"0.0003\",\n    \"takeProfitTriggerPrice\": \"117000\",\n    \"takeProfitPlacePrice\": \"113000\",\n    \"allowMargin\": false\n  }\n}\n\n</code></pre>\n<p><code>triggerType</code> can be one of the following valid values: <code>MARK_PRICE</code>, <code>LAST_TRADED</code></p>\n<p><code>conditionalType</code> can be one of the following valid values: <code>TAKE_PROFIT</code>, <code>STOP_LOSS</code></p>\n<h3 id=\"remove_conditional_order--remove-a-conditional-order\">REMOVE_CONDITIONAL_ORDER : <em>Remove a conditional order</em></h3>\n<p>Sample message feed:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"REMOVE_CONDITIONAL_ORDER\",\n  \"data\": {\n    \"orderId\": \"019a29f4-489e-7f1e-87dc-c5ef7439a755\",\n    \"pair\": \"BTCUSDTPERP\",\n    \"reason\": \"CANCELLED_BY_USER\",\n    \"customerOrderId\": \"testWS\"\n  }\n}\n\n</code></pre>\n<hr />\n<h3 id=\"modify_order_outcome--order-modified\">MODIFY_ORDER_OUTCOME : <em>Order modified</em></h3>\n<p>Sample message feed:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"MODIFY_ORDER_OUTCOME\",\n  \"data\": {\n    \"success\": true,\n    \"orderId\": \"019a29d0-4362-7dc9-a51d-3533a4bdcf2d\",\n    \"customerOrderId\": \"testWS\",\n    \"modifyRequestId\": \"019a2a0f-1216-737b-9065-8138dae1e874\"\n  }\n}\n\n</code></pre>\n<hr />\n<h3 id=\"order_processed--order-processed\">ORDER_PROCESSED : <em>Order processed</em></h3>\n<p>Sample message feed:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"ORDER_PROCESSED\",\n  \"data\": {\n    \"orderId\": \"019a2a2c-8c45-7ffa-815a-e7272a8216c9\",\n    \"success\": true,\n    \"failureReason\": \"\",\n    \"customerOrderId\": \"testWS\"\n  }\n}\n\n</code></pre>\n<hr />\n<h3 id=\"order_status_update--order-status-has-been-updated\">ORDER_STATUS_UPDATE : <em>Order status has been updated</em></h3>\n<p>Sample message feed:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"ORDER_STATUS_UPDATE\",\n  \"data\": {\n    \"orderId\": \"019a2a46-5730-7081-bfa2-7c6fc7e2d5db\",\n    \"orderStatusType\": \"Partially Filled\",\n    \"currencyPair\": \"BTCUSDT\",\n    \"originalPrice\": \"114950\",\n    \"remainingQuantity\": \"0.0002\",\n    \"originalQuantity\": \"0.0003\",\n    \"orderSide\": \"sell\",\n    \"orderType\": \"post-only limit\",\n    \"failedReason\": \"\",\n    \"orderUpdatedAt\": \"2025-10-28T10:04:40.566Z\",\n    \"orderCreatedAt\": \"2025-10-28T10:04:04.272Z\",\n    \"customerOrderId\": \"testWS\",\n    \"executedPrice\": \"114950\",\n    \"executedQuantity\": \"0.0001\",\n    \"executedFee\": \"0.009196\",\n    \"timeInForce\": \"GTC\"\n  }\n}\n\n</code></pre>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>orderStatusType</code> can be one of the following values:</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Failed</td>\n</tr>\n<tr>\n<td>Cancelled</td>\n</tr>\n<tr>\n<td>Filled</td>\n</tr>\n<tr>\n<td>Partially Filled</td>\n</tr>\n<tr>\n<td>Instant Order Balance Reserve Failed</td>\n</tr>\n<tr>\n<td>Instant Order Balance Reserved</td>\n</tr>\n<tr>\n<td>Instant Order Completed</td>\n</tr>\n<tr>\n<td>Expired</td>\n</tr>\n<tr>\n<td>Partially Filled and Cancelled Due To Slippage</td>\n</tr>\n<tr>\n<td>Order Modified</td>\n</tr>\n<tr>\n<td>Order price has been modified due to slippage limits</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"failed_cancel_order--unable-to-cancel-order\">FAILED_CANCEL_ORDER : <em>Unable to cancel order</em></h3>\n<p>Sample message feed:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"type\": \"FAILED_CANCEL_ORDER\",\n    \"data\": {\n        \"orderId\": \"247dc157-bb5b-49af-b476-2f613b780697\",\n        \"message\": \"An error occurred while cancelling your order.\"\n    }\n}\n\n</code></pre>\n<hr />\n<h3 id=\"new_pending_receive--new-pending-crypto-deposit\">NEW_PENDING_RECEIVE : <em>New pending crypto deposit</em></h3>\n<p>Sample message feed:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"NEW_PENDING_RECEIVE\",\n  \"data\": {\n    \"currency\": {\n      \"id\": 3,\n      \"symbol\": \"ETH\",\n      \"decimalPlaces\": 8,\n      \"_isActive\": true,\n      \"shortName\": \"ETH\",\n      \"longName\": \"Ethereum\",\n      \"currencyDecimalPlaces\": 18,\n      \"supportedWithdrawDecimalPlaces\": 8,\n      \"_allowBorrow\": true,\n      \"_borrowWeight\": 0.925,\n      \"_borrowWeightOne\": false\n    },\n    \"receiveAddress\": \"0xcfb6fdfc030ec1b51eb1a03689f19735fdebe3b0\",\n    \"transactionHash\": \"0xd97ca2ce13707cce6ce2b211499e14d04ce104250dbeb0b59359563c05a0577d\",\n    \"networkType\": \"Ethereum\",\n    \"amount\": 0.0005,\n    \"createdAt\": \"2025-06-05T08:40:48Z\",\n    \"confirmations\": 1,\n    \"confirmed\": false,\n    \"indexInTx\": 51\n  }\n}\n\n</code></pre>\n<p>This message feed is sent through every time there is an update to the number of confirmations to this pending deposit.</p>\n<hr />\n<h3 id=\"send_status_update--crypto-withdrawal-status-update\">SEND_STATUS_UPDATE : <em>Crypto withdrawal status update</em></h3>\n<p>Sample message feed:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"SEND_STATUS_UPDATE\",\n  \"data\": {\n    \"uniqueId\": \"269bd37b-7328-459a-bd9a-6be4becd6a4f\",\n    \"status\": \"SEND_BROADCASTED\",\n    \"transactionHash\": \"0xc109b766a24276f9dd1237fd25958706dcf526045d021b535118b9d9803bd511\",\n    \"confirmations\": 0\n  }\n}\n\n</code></pre>\n<hr />\n<h3 id=\"margin_info--account-margining-information-update\">MARGIN_INFO : <em>Account margining information update</em></h3>\n<p>Sample message feed:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"MARGIN_INFO\",\n  \"data\": {\n    \"marginFraction\": \"1.90363696\",\n    \"collateralizedMarginFraction\": \"0.09883855\",\n    \"initialMarginFraction\": \"0.098837526\",\n    \"totalLeveragedExposureInReference\": \"478.041761878\",\n    \"collateralizedBalancesInReference\": \"151.809292840675\",\n    \"referenceCurrency\": \"USDC\",\n    \"initialRequiredInReference\": \"151.808803678845\",\n    \"availableInReference\": \"862.76900859039\",\n    \"maintenanceMarginFraction\": \"0.047995245\",\n    \"autoCloseMarginFraction\": \"0.017056799\",\n    \"leverageMultiple\": 0.53,\n    \"totalPositionsAtEntryInReference\": \"373.48142334\",\n    \"totalUnrealisedFuturesPnlInReference\": \"-26.45828977\",\n    \"totalBorrowedInReference\": \"78.102048768\",\n    \"tradeReservedInReference\": \"0\"\n  }\n}\n\n</code></pre>\n<h3 id=\"leverage_updated--leverage-information-update\">LEVERAGE_UPDATED : <em>Leverage information update</em></h3>\n<p>Sample message feed:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"LEVERAGE_UPDATED\",\n  \"data\": {\n    \"pairSymbol\": \"BTCUSDTPERP\",\n    \"leverageMultiple\": 25,\n    \"initialMarginFraction\": 0.04,\n    \"maintenanceMarginFraction\": 0.0125,\n    \"autoCloseMarginFraction\": 0.0083,\n    \"riskLimit\": 250000,\n    \"riskLimitCurrency\": \"USDT\"\n  }\n}\n\n</code></pre>\n<h2 id=\"unsubscribing-from-events\">Unsubscribing from events</h2>\n<p>When you are no longer interested in receiving messages for certain events on the <code>Account</code> WebSocket connection, you can send a synthetic \"unsubscribe\" message. For example, if you want to unsubscribe from <strong>BALANCE_UPDATE</strong> event, you would send a message as follows:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"UNSUBSCRIBE\",\n  \"requests\": [\n    {\n      \"event\": \"BALANCE_UPDATE\"\n    }\n  ]\n}\n\n</code></pre>\n","_postman_id":"0d52f154-c40d-46b0-93da-4f56b1d13ebc"},{"name":"Write","item":[],"id":"c520969d-f588-487c-be5b-1732d4c09d74","description":"<h2 id=\"place-modify-batch-and-cancel-orders-on-the-account-websocket\">Place, Modify, Batch and Cancel Orders on the account WebSocket</h2>\n<p>You can now place, modify and cancel orders on the <code>account</code> WebSocket.</p>\n<p>Valid types are <code>PLACE_LIMIT_ORDER</code>, <code>PLACE_MARKET_ORDER</code>, <code>MODIFY_ORDER</code>, <code>BATCH_ORDERS</code> and <code>CANCEL_LIMIT_ORDER</code>.</p>\n<p>Please note that <code>price</code> and <code>quantity</code> should be provided as strings as shown in the sample requests below.</p>\n<p>The \"payload\" portion of the JSON body supports all the same fields as the HTTP request body for the relevant order type.</p>\n<p>To maintain a clear link between requests and responses, embed a <code>clientMsgId</code> within your request data. This ID will be present in the returned responses that are associated with WebSocket requests as seen below.</p>\n<h3 id=\"place_limit_order\">PLACE_LIMIT_ORDER</h3>\n<p>Sample WS request:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"PLACE_LIMIT_ORDER\",\n  \"clientMsgId\": \"123456789abcd\",\n  \"payload\": {\n    \"side\": \"BUY\",\n    \"quantity\": \"0.0001\",\n    \"price\": \"300000\",\n    \"pair\": \"BTCUSDT\",\n    \"postOnly\": true,\n    \"reduceOnly\": false,\n    \"customerOrderId\": \"WS-JSON-2933586967831375\",\n    \"timeInForce\": \"GTC\",\n    \"allowMargin\": false,\n    \"postOnlyReprice\": false\n  }\n}\n//Sample message feed for a successful response:\n{\n  \"type\": \"PLACE_LIMIT_WS_RESPONSE\",\n  \"data\": {\n    \"orderId\": \"22e5aa28-f52b-46ba-811e-5052fd2c7289\",\n    \"customerOrderId\": \"WS-JSON-2933586967831375\"\n  },\n  \"clientMsgId\": \"123456789abcd\"\n}\n// Sample message feed when request exceeds rate limit\n{\n  \"type\": \"RATE_LIMIT_EXCEEDED\",\n  \"data\": {\n    \"requestType\": \"PLACE_LIMIT_ORDER\"\n  },\n  \"clientMsgId\": \"123456789abcd\"\n}\n\n</code></pre>\n<hr />\n<h3 id=\"place_market_order\">PLACE_MARKET_ORDER</h3>\n<p>Sample WS request:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"PLACE_MARKET_ORDER\",\n  \"clientMsgId\": \"123456789abcd\",\n  \"payload\": {\n    \"side\": \"BUY\",\n    \"baseAmount\": \"0.0001\",\n    \"pair\": \"BTCUSDT\",\n    \"customerOrderId\": \"WS-JSON-2933586967831375\",\n    \"allowMargin\": false\n  }\n}\n//Sample message feed for a successful response:\n{\n  \"type\": \"PLACE_MARKET_WS_RESPONSE\",\n  \"data\": {\n    \"orderId\": \"22e5aa28-f52b-46ba-811e-5052fd2c7289\",\n    \"customerOrderId\": \"WS-JSON-2933586967831375\"\n  }\n  \"clientMsgId\": \"123456789abcd\"\n}\n// Sample message feed when request exceeds rate limit\n{\n  \"type\": \"RATE_LIMIT_EXCEEDED\",\n  \"data\": {\n    \"requestType\": \"PLACE_MARKET_ORDER\"\n  }\n  \"clientMsgId\": \"123456789abcd\"\n}\n\n</code></pre>\n<hr />\n<h3 id=\"batch_orders\">BATCH_ORDERS</h3>\n<p>Please note that when sending a Batch Order the type field may contain the following: <code>PLACE_LIMIT</code>, <code>PLACE_MARKET</code>, <code>MODIFY_ORDER</code>, and <code>CANCEL_ORDER</code>.</p>\n<p>Sample WS request:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"BATCH_ORDERS\",\n  \"clientMsgId\": \"123456789abcd\",\n  \"payload\": {\n    \"requests\": [\n      {\n        \"type\": \"PLACE_LIMIT\",\n        \"data\": {\n          \"pair\": \"BTCUSDC\",\n          \"side\": \"SELL\",\n          \"quantity\": \"0.0021\",\n          \"price\": \"60000\",\n          \"timeInForce\": \"GTC\"\n        }\n      },\n      {\n        \"type\": \"PLACE_MARKET\",\n        \"data\": {\n          \"pair\": \"BTCUSDT\",\n          \"side\": \"SELL\",\n          \"quoteAmount\": \"10\",\n          \"timeInForce\": \"GTC\"\n        }\n      },\n      {\n        \"type\": \"PLACE_MARKET\",\n        \"data\": {\n          \"pair\": \"BTCUSDT\",\n          \"side\": \"SELL\",\n          \"baseAmount\": \"0.0001\",\n          \"timeInForce\": \"GTC\"\n        }\n      },\n      {\n        \"type\": \"MODIFY_ORDER\",\n        \"data\": {\n          \"customerOrderId\": \"WS-JSON-2938586967831375\",\n          \"pair\": \"BTCUSDT\",\n          \"newRemainingQuantity\": \"0.0001\",\n          \"newPrice\": \"1870000\",\n          \"modifyMatchStrategy\": \"RETAIN_ORIGINAL\"\n        }\n      },\n      {\n        \"type\": \"CANCEL_ORDER\",\n        \"data\": {\n          \"customerOrderId\": \"WS-JSON-2938586967831375\",\n          \"pair\": \"BTCUSDT\"\n        }\n      }\n    ]\n  }\n}\n// Sample message feed when request exceeds rate limit\n{\n  \"type\": \"RATE_LIMIT_EXCEEDED\",\n  \"data\": {\n    \"requestType\": \"BATCH_ORDERS\"\n  }\n  \"clientMsgId\": \"123456789abcd\"\n}\n\n</code></pre>\n<hr />\n<h3 id=\"modify_order\">MODIFY_ORDER</h3>\n<p>Sample WS request:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"MODIFY_ORDER\",\n  \"clientMsgId\": \"123456789abcd\",\n  \"payload\": {\n    \"orderId\": \"68b4e939-0f90-41ed-8525-8c9c3509ca63\",\n    \"pair\": \"BTCUSDT\",\n    \"newRemainingQuantity\": \"0.00034\",\n    \"newPrice\": \"550000\",\n    \"modifyMatchStrategy\": \"RETAIN_ORIGINAL\"\n  }\n}\n//Sample message feed for a successful response:\n{\n  \"type\": \"MODIFY_ORDER_WS_RESPONSE\",\n  \"data\": {\n    \"modifyRequestId\": \"d561fc3a-0bb1-11ef-9dcd-5fe8909be0f6\",\n    \"requested\": true,\n    \"orderId\": \"881c43a7-234e-4ce9-80bd-9e6085efa48c\",\n    \"customerOrderId\": \"test-123\"\n  }\n  \"clientMsgId\": \"123456789abcd\"\n}\n// Sample message feed when request exceeds rate limit\n{\n  \"type\": \"RATE_LIMIT_EXCEEDED\",\n  \"data\": {\n    \"requestType\": \"MODIFY_ORDER\"\n  }\n  \"clientMsgId\": \"123456789abcd\"\n}\n\n</code></pre>\n<hr />\n<h3 id=\"cancel_limit_order\">CANCEL_LIMIT_ORDER</h3>\n<p>Sample WS request:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"CANCEL_LIMIT_ORDER\",\n  \"clientMsgId\": \"123456789abcd\",\n  \"payload\": {\n    \"orderId\": \"68b4e939-0f90-41ed-8525-8c9c3509ca63\",\n    \"pair\": \"BTCUSDT\"\n  }\n}\n//Sample message feed for a successful response:\n{\n  \"type\": \"CANCEL_ORDER_WS_RESPONSE\",\n  \"data\": {\n    \"requested\": true,\n    \"orderId\": \"68b4e939-0f90-41ed-8525-8c9c3509ca63\",\n    \"customerOrderId\": \"test-123\"\n  }\n  \"clientMsgId\": \"123456789abcd\"\n}\n// Sample message feed when request exceeds rate limit\n{\n  \"type\": \"RATE_LIMIT_EXCEEDED\",\n  \"data\": {\n    \"requestType\": \"CANCEL_LIMIT_ORDER\"\n  }\n  \"clientMsgId\": \"123456789abcd\"\n}\n\n</code></pre>\n<hr />\n<h3 id=\"cancel_on_disconnect\">CANCEL_ON_DISCONNECT</h3>\n<p>When this is flag is enabled , all open orders for the account will be cancelled when the WebSocket disconnects. This is still experimental and it is the user's responsibility to reconnect after the cancellation. Note that this request must be sent on the <code>/account</code> WebSocket.</p>\n<p>Sample WS request:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"CANCEL_ON_DISCONNECT\",\n  \"payload\": {\n    \"cancelOnDisconnect\": true\n  }\n}\n//Sample message feed for a successful response:\n{\n  \"type\": \"CANCEL_ON_DISCONNECT_UPDATE\",\n  \"data\": {\n    \"cancelOnDisconnect\": \"true\"\n  }\n}\n\n</code></pre>\n<hr />\n","_postman_id":"c520969d-f588-487c-be5b-1732d4c09d74"}],"id":"7bd8fa0a-10ea-40a1-89c0-03425fe221ff","description":"<p>In order to receive streaming updates about Trade data, you would open up a WebSocket connection to: <a href=\"https://wss://api.valr.com/ws/account\">wss://api.valr.com/ws/account</a></p>\n<p>Once you open a connection to <code>Account</code>, you are automatically subscribed to all messages for all events on the <code>Account</code> WebSocket connection, except for the <code>MARGIN_INFO</code> event and messages. You will start receiving message feeds pertaining to your VALR account. For example, you will receive messages when your balance is updated or when a new trade is executed on your account.</p>\n<hr />\n","_postman_id":"7bd8fa0a-10ea-40a1-89c0-03425fe221ff"},{"name":"Trade","item":[],"id":"6ca6b8a7-0c5c-41a5-aaeb-ac9799aa48d8","description":"<p>In order to receive streaming updates about Trade data, you would open up a WebSocket connection to: <a href=\"https://wss://api.valr.com/ws/trade\">wss://api.valr.com/ws/trade</a></p>\n<p>When you open a connection to <code>Trade</code>, in order to receive message feeds about trading data, you must subscribe to events you are interested in on the <code>Trade</code> WebSocket connection.</p>\n<h2 id=\"events-on-trade-websocket\">Events (On <code>Trade</code> WebSocket)</h2>\n<p>Here is a list of events you can subscribe to on the <code>Trade</code> WebSocket connection:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Event</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>AGGREGATED_ORDERBOOK_UPDATE</td>\n<td>When subscribed to this event for a given currency pair, the client receives the top 40 bids and asks from the order book for that currency pair.</td>\n</tr>\n<tr>\n<td>FULL_ORDERBOOK_UPDATE</td>\n<td>When subscribed to this event for a given currency pair, the client receives a snapshot of the order book for that currency pair, followed by updates indicating orders that were added, updated and removed from the order book.</td>\n</tr>\n<tr>\n<td>OB_L1_DIFF (alpha)</td>\n<td>When subscribed to this event for a given currency pair, the client receives a snapshot of the order book aggregated per price level for that currency pair. This is followed by updates indicating any changes in the effective quantity at a price level in the order book. L1 denotes that level 1 data is served. Only the quantity at each price level is included in the stream.</td>\n</tr>\n<tr>\n<td>OB_L1_D1_SNAPSHOT  <br />OB_L1_D5_SNAPSHOT  <br />OB_L1_D10_SNAPSHOT  <br />OB_L1_D20_SNAPSHOT  <br />OB_L1_D40_SNAPSHOT  <br />OB_L1_D80_SNAPSHOT  <br />(alpha)</td>\n<td>When subscribed to this event for a given currency pair, the client receives a snapshot of the order book aggregated per price level for that currency pair. This is followed by new snapshots whenever there are updates to the order book for that currency pair. D1, D5, D10, D20, D40 or D80 denote the number of price levels (depth) per side to included in the stream.</td>\n</tr>\n<tr>\n<td>MARKET_SUMMARY_UPDATE</td>\n<td>When subscribed to this event for a given currency pair, the client receives a message feed with the latest market summary for that currency pair.</td>\n</tr>\n<tr>\n<td>NEW_TRADE_BUCKET</td>\n<td>When subscribed to this event for a given currency pair, the client receives the Open, High, Low, Close data valid for the last 60 seconds.</td>\n</tr>\n<tr>\n<td>NEW_TRADE</td>\n<td>When subscribed to this event for a given currency pair, the client receives message feeds with the latest trades that are executed for that currency pair.</td>\n</tr>\n<tr>\n<td>MARK_PRICE_UPDATE</td>\n<td>When subscribed to this event for a given currency pair, the client receives message feeds with mark price updates for that currency pair, updated every 5 seconds</td>\n</tr>\n<tr>\n<td>PNL_RUN_COMPLETED</td>\n<td>Subscribing to this WebSocket event enables the client to receive real-time updates whenever a PNL run occurs for the specified currency pairs.</td>\n</tr>\n<tr>\n<td>FUNDING_RUN_COMPLETED</td>\n<td>Subscribing to this WebSocket event allows the client to receive real-time updates on funding runs for the specified currency pairs.</td>\n</tr>\n<tr>\n<td>ALLOWED_ORDER_TYPES_UPDATED</td>\n<td>When subscribed to this event for a given currency pair, the client receives updates whenever the allowed order types are updated for that pair.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"aggregated_orderbook_update\">AGGREGATED_ORDERBOOK_UPDATE</h3>\n<p>In order to subscribe to <strong>AGGREGATED_ORDERBOOK_UPDATE</strong> for <strong>ETHUSDT</strong> and <strong>BTCUSDT</strong>, you must send the following message on the <code>Trade</code> WebSocket connection once it is opened:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"SUBSCRIBE\",\n  \"subscriptions\": [\n    {\n      \"event\": \"AGGREGATED_ORDERBOOK_UPDATE\",\n      \"pairs\": [\n        \"ETHUSDT\",\n        \"BTCUSDT\"\n      ]\n    }\n  ]\n}\n\n</code></pre>\n<p>On subscription the latest update is sent immediately.</p>\n<p>To unsubscribe, send the following message:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"SUBSCRIBE\",\n  \"subscriptions\": [\n    {\n      \"event\": \"AGGREGATED_ORDERBOOK_UPDATE\",\n      \"pairs\": []\n    }\n  ]\n}\n\n</code></pre>\n<h3 id=\"full_orderbook_update\">FULL_ORDERBOOK_UPDATE</h3>\n<p>In order to subscribe to <strong>FULL_ORDERBOOK_UPDATE</strong> for <strong>SOLZAR</strong> and <strong>BTCUSDC</strong>, you must send the following message on the <code>Trade</code> WebSocket connection once it is opened:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"SUBSCRIBE\",\n  \"subscriptions\": [\n    {\n      \"event\": \"FULL_ORDERBOOK_UPDATE\",\n      \"pairs\": [\n        \"SOLZAR\",\n        \"BTCUSDC\"\n      ]\n    }\n  ]\n}\n\n</code></pre>\n<p>On subscription the current order book snapshot is sent immediately in a message of type <strong>FULL_ORDERBOOK_SNAPSHOT</strong>. Updates are subsequently sent in <strong>FULL_ORDERBOOK_UPDATE</strong> messages.</p>\n<p>To unsubscribe, send the following message:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"SUBSCRIBE\",\n  \"subscriptions\": [\n    {\n      \"event\": \"FULL_ORDERBOOK_UPDATE\",\n      \"pairs\": []\n    }\n  ]\n}\n\n</code></pre>\n<h3 id=\"ob_l1_diff-alpha\">OB_L1_DIFF (alpha)</h3>\n<p>In order to subscribe to level 1 order book diffs, subscribe to event <strong>OB_L1_DIFF</strong> with the list of pairs to subscribe to. In this instance, to subscribe to <strong>SOLZAR</strong> and <strong>BTCUSDC</strong>, you must send the following message on the <code>Trade</code> WebSocket connection once it is opened:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"SUBSCRIBE\",\n  \"subscriptions\": [\n    {\n      \"event\": \"OB_L1_DIFF\",\n      \"pairs\": [\n        \"SOLZAR\",\n        \"BTCUSDC\"\n      ]\n    }\n  ]\n}\n\n</code></pre>\n<p>On subscription the current order book snapshot is sent immediately in a message of type <strong>OB_L1_SNAPSHOT</strong>. Updates are subsequently sent in <strong>OB_L1_DIFF</strong> messages.</p>\n<p>To unsubscribe, send the following message:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"SUBSCRIBE\",\n  \"subscriptions\": [\n    {\n      \"event\": \"OB_L1_DIFF\",\n      \"pairs\": []\n    }\n  ]\n}\n\n</code></pre>\n<h3 id=\"ob_l1_d1_snapshot-ob_l1_d5_snapshot-etc-alpha\">OB_L1_D1_SNAPSHOT, OB_L1_D5_SNAPSHOT, etc. (alpha)</h3>\n<p>In order to subscribe to <strong>OB_L1_D1_SNAPSHOT</strong> or any of the supported depths (1, 5, 10, 20, 40, 80) for <strong>SOLZAR</strong> and <strong>BTCUSDC</strong>, you must send the following message on the <code>Trade</code> WebSocket connection once it is opened:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"SUBSCRIBE\",\n  \"subscriptions\": [\n    {\n      \"event\": \"OB_L1_D1_SNAPSHOT\",\n      \"pairs\": [\n        \"SOLZAR\",\n        \"BTCUSDC\"\n      ]\n    }\n  ]\n}\n\n</code></pre>\n<p>Replace <strong>D1</strong> with the desired price level depth. Supported: D1, D5, D10, D20, D40, D80.</p>\n<h3 id=\"market_summary_update\">MARKET_SUMMARY_UPDATE</h3>\n<p>In order to subscribe to <strong>MARKET_SUMMARY_UPDATE</strong> for just <strong>BTCUSDT</strong>, you must send the following message on the <code>Trade</code> WebSocket connection once it is opened:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"SUBSCRIBE\",\n  \"subscriptions\": [\n    {\n      \"event\": \"MARKET_SUMMARY_UPDATE\",\n      \"pairs\": [\n        \"BTCUSDT\"\n      ]\n    }\n  ]\n}\n\n</code></pre>\n<p>On subscription the latest update is sent immediately.</p>\n<p>To unsubscribe, send the following message:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"SUBSCRIBE\",\n  \"subscriptions\": [\n    {\n      \"event\": \"MARKET_SUMMARY_UPDATE\",\n      \"pairs\": []\n    }\n  ]\n}\n\n</code></pre>\n<h3 id=\"new_trade_bucket\">NEW_TRADE_BUCKET</h3>\n<p>In order to subscribe to <strong>NEW_TRADE_BUCKET</strong> for <strong>ETHUSDT</strong> as well as <strong>BTCUSDT</strong>, you must send the following message on the <code>Trade</code> WebSocket connection once it is opened:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"SUBSCRIBE\",\n  \"subscriptions\": [\n    {\n      \"event\": \"NEW_TRADE_BUCKET\",\n      \"pairs\": [\n        \"ETHUSDT\",\n        \"BTCUSDT\"\n      ]\n    }\n  ]\n}\n\n</code></pre>\n<p>To unsubscribe, send the following message:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"SUBSCRIBE\",\n  \"subscriptions\": [\n    {\n      \"event\": \"NEW_TRADE_BUCKET\",\n      \"pairs\": []\n    }\n  ]\n}\n\n</code></pre>\n<h3 id=\"new_trade\">NEW_TRADE</h3>\n<p>In order to subscribe to <strong>NEW_TRADE</strong> just for <strong>BTCUSDT</strong>, you must send the following message on the <code>Trade</code> WebSocket connection once it is opened:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"SUBSCRIBE\",\n  \"subscriptions\": [\n    {\n      \"event\": \"NEW_TRADE\",\n      \"pairs\": [\n        \"BTCUSDT\"\n      ]\n    }\n  ]\n}\n\n</code></pre>\n<p>To unsubscribe, send the following message:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"SUBSCRIBE\",\n  \"subscriptions\": [\n    {\n      \"event\": \"NEW_TRADE\",\n      \"pairs\": []\n    }\n  ]\n}\n\n</code></pre>\n<h3 id=\"pnl_run_completed\">PNL_RUN_COMPLETED</h3>\n<p>In order to subscribe to <strong>PNL_RUN_COMPLETED</strong> for <strong>ETHUSDT</strong> and <strong>BTCUSDT</strong>, you must send the following message on the <code>Trade</code> WebSocket connection once it is opened:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"SUBSCRIBE\",\n  \"subscriptions\": [\n    {\n      \"event\": \"PNL_RUN_COMPLETED\",\n      \"pairs\": [\n        \"ETHUSDT\",\n        \"BTCUSDT\"\n      ]\n    }\n  ]\n}\n\n</code></pre>\n<p>Upon subscription, the WebSocket will listen for updates related to PNL runs for the subscribed trading pairs.</p>\n<p>To unsubscribe, send the following message:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"SUBSCRIBE\",\n  \"subscriptions\": [\n    {\n      \"event\": \"PNL_RUN_COMPLETED\",\n      \"pairs\": []\n    }\n  ]\n}\n\n</code></pre>\n<h3 id=\"funding_run_completed\">FUNDING_RUN_COMPLETED</h3>\n<p>In order to subscribe to <strong>FUNDING_RUN_COMPLETED</strong> for <strong>ETHUSDT</strong> and <strong>BTCUSDT</strong>, you must send the following message on the <code>Trade</code> WebSocket connection once it is opened:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"SUBSCRIBE\",\n  \"subscriptions\": [\n    {\n      \"event\": \"FUNDING_RUN_COMPLETED\",\n      \"pairs\": [\n        \"ETHUSDT\",\n        \"BTCUSDT\"\n      ]\n    }\n  ]\n}\n\n</code></pre>\n<p>Upon subscription, the WebSocket will listen for updates related to Funding runs for the subscribed trading pairs.</p>\n<p>To unsubscribe, send the following message:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"SUBSCRIBE\",\n  \"subscriptions\": [\n    {\n      \"event\": \"FUNDING_RUN_COMPLETED\",\n      \"pairs\": []\n    }\n  ]\n}\n\n</code></pre>\n<h2 id=\"message-feeds-on-trade-websocket\">Message Feeds (On <code>Trade</code> WebSocket)</h2>\n<p>As and when events occur, the message feeds come through to the <code>Trade</code> WebSocket connection for the events the client has subscribed to. Below you will find an example message feed for each event specified above.</p>\n<h3 id=\"aggregated_orderbook_update-1\">AGGREGATED_ORDERBOOK_UPDATE</h3>\n<p>Sample message feed:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"AGGREGATED_ORDERBOOK_UPDATE\",\n  \"currencyPairSymbol\": \"BTCUSDT\",\n  \"data\": {\n    \"Asks\": [\n      {\n        \"side\": \"sell\",\n        \"quantity\": \"0.005\",\n        \"price\": \"9500\",\n        \"currencyPair\": \"BTCUSDT\",\n        \"orderCount\": 1\n      },\n      {\n        \"side\": \"sell\",\n        \"quantity\": \"0.01\",\n        \"price\": \"9750\",\n        \"currencyPair\": \"BTCUSDT\",\n        \"orderCount\": 1\n      },\n      {\n        \"side\": \"sell\",\n        \"quantity\": \"0.643689\",\n        \"price\": \"10000\",\n        \"currencyPair\": \"BTCUSDT\",\n        \"orderCount\": 3\n      },\n      {\n        \"side\": \"sell\",\n        \"quantity\": \"0.2\",\n        \"price\": \"11606\",\n        \"currencyPair\": \"BTCUSDT\",\n        \"orderCount\": 2\n      },\n      {\n        \"side\": \"sell\",\n        \"quantity\": \"0.67713484\",\n        \"price\": \"14000\",\n        \"currencyPair\": \"BTCUSDT\",\n        \"orderCount\": 1\n      },\n      {\n        \"side\": \"sell\",\n        \"quantity\": \"1\",\n        \"price\": \"15000\",\n        \"currencyPair\": \"BTCUSDT\",\n        \"orderCount\": 1\n      },\n      {\n        \"side\": \"sell\",\n        \"quantity\": \"1\",\n        \"price\": \"16000\",\n        \"currencyPair\": \"BTCUSDT\",\n        \"orderCount\": 1\n      },\n      {\n        \"side\": \"sell\",\n        \"quantity\": \"1\",\n        \"price\": \"17000\",\n        \"currencyPair\": \"BTCUSDT\",\n        \"orderCount\": 1\n      },\n      {\n        \"side\": \"sell\",\n        \"quantity\": \"1\",\n        \"price\": \"18000\",\n        \"currencyPair\": \"BTCUSDT\",\n        \"orderCount\": 1\n      },\n      {\n        \"side\": \"sell\",\n        \"quantity\": \"1\",\n        \"price\": \"19000\",\n        \"currencyPair\": \"BTCUSDT\",\n        \"orderCount\": 1\n      }\n    ],\n    \"Bids\": [\n      {\n        \"side\": \"buy\",\n        \"quantity\": \"0.038\",\n        \"price\": \"9000\",\n        \"currencyPair\": \"BTCUSDT\",\n        \"orderCount\": 1\n      },\n      {\n        \"side\": \"buy\",\n        \"quantity\": \"0.1\",\n        \"price\": \"8802\",\n        \"currencyPair\": \"BTCUSDT\",\n        \"orderCount\": 1\n      },\n      {\n        \"side\": \"buy\",\n        \"quantity\": \"0.2\",\n        \"price\": \"8801\",\n        \"currencyPair\": \"BTCUSDT\",\n        \"orderCount\": 1\n      },\n      {\n        \"side\": \"buy\",\n        \"quantity\": \"0.1\",\n        \"price\": \"8800\",\n        \"currencyPair\": \"BTCUSDT\",\n        \"orderCount\": 1\n      },\n      {\n        \"side\": \"buy\",\n        \"quantity\": \"0.1\",\n        \"price\": \"8700\",\n        \"currencyPair\": \"BTCUSDT\",\n        \"orderCount\": 1\n      },\n      {\n        \"side\": \"buy\",\n        \"quantity\": \"0.1\",\n        \"price\": \"8600\",\n        \"currencyPair\": \"BTCUSDT\",\n        \"orderCount\": 1\n      },\n      {\n        \"side\": \"buy\",\n        \"quantity\": \"0.1\",\n        \"price\": \"8500\",\n        \"currencyPair\": \"BTCUSDT\",\n        \"orderCount\": 1\n      },\n      {\n        \"side\": \"buy\",\n        \"quantity\": \"0.1\",\n        \"price\": \"8400\",\n        \"currencyPair\": \"BTCUSDT\",\n        \"orderCount\": 1\n      },\n      {\n        \"side\": \"buy\",\n        \"quantity\": \"0.3\",\n        \"price\": \"8200\",\n        \"currencyPair\": \"BTCUSDT\",\n        \"orderCount\": 1\n      },\n      {\n        \"side\": \"buy\",\n        \"quantity\": \"0.1\",\n        \"price\": \"8100\",\n        \"currencyPair\": \"BTCUSDT\",\n        \"orderCount\": 1\n      },\n      {\n        \"side\": \"buy\",\n        \"quantity\": \"0.1\",\n        \"price\": \"8000\",\n        \"currencyPair\": \"BTCUSDT\",\n        \"orderCount\": 1\n      },\n      {\n        \"side\": \"buy\",\n        \"quantity\": \"1.08027437\",\n        \"price\": \"1\",\n        \"currencyPair\": \"BTCUSDT\",\n        \"orderCount\": 3\n      }\n    ],\n    \"LastChange\": \"2020-06-01T11:54:51.634Z\",\n    \"SequenceNumber\": 452998\n  }\n}\n\n</code></pre>\n<hr />\n<h3 id=\"full_orderbook_update-1\">FULL_ORDERBOOK_UPDATE</h3>\n<h5 id=\"full_orderbook_snapshot\">FULL_ORDERBOOK_SNAPSHOT</h5>\n<p>After subscribing to <strong>FULL_ORDERBOOK_UPDATE</strong> for a currency pair, one snapshot of the full order book for the currency pair will be sent.</p>\n<p>Sample message feed:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"FULL_ORDERBOOK_SNAPSHOT\",\n  \"currencyPairSymbol\": \"BTCUSDC\",\n  \"data\": {\n    \"LastChange\": 1644301604645,\n    \"Asks\": [\n      {\n        \"Price\": \"45363\",\n        \"Orders\": [\n          {\n            \"orderId\": \"1d2e7745-5020-4d48-a77e-afc787ad048d\",\n            \"quantity\": \"0.0019\"\n          },\n          {\n            \"orderId\": \"0aa53615-3ea9-42bd-a12a-16c3070b0ad3\",\n            \"quantity\": \"0.00912078\"\n          }\n        ]\n      },\n      {\n        \"Price\": \"45662\",\n        \"Orders\": [\n          {\n            \"orderId\": \"9e413a52-8c03-4ddf-ab45-0943c8c3d16b\",\n            \"quantity\": \"0.0018\"\n          }\n        ]\n      },\n      {\n        \"Price\": \"45891\",\n        \"Orders\": [\n          {\n            \"orderId\": \"94678c01-30da-42ec-914d-e36bfc6fe0ef\",\n            \"quantity\": \"0.0019\"\n          },\n          {\n            \"orderId\": \"2fbbc963-20b9-43be-bbc5-291a3e0203aa\",\n            \"quantity\": \"0.0017\"\n          }\n        ]\n      },\n      {\n        \"Price\": \"46584\",\n        \"Orders\": [\n          {\n            \"orderId\": \"69078cb2-4dc7-4159-a25a-e5f955ef8eef\",\n            \"quantity\": \"0.0018\"\n          }\n        ]\n      },\n      {\n        \"Price\": \"46613\",\n        \"Orders\": [\n          {\n            \"orderId\": \"5afa902c-3964-4d22-9964-6d5e2828f40b\",\n            \"quantity\": \"0.0418\"\n          },\n          {\n            \"orderId\": \"5324263b-0f0b-49d0-be97-4cbe33de2b80\",\n            \"quantity\": \"0.0019\"\n          }\n        ]\n      },\n      {\n        \"Price\": \"47052\",\n        \"Orders\": [\n          {\n            \"orderId\": \"aae82c87-78d8-4662-88f8-6f0868797539\",\n            \"quantity\": \"0.002\"\n          }\n        ]\n      },\n      {\n        \"Price\": \"47288\",\n        \"Orders\": [\n          {\n            \"orderId\": \"658bf816-2dcf-4921-a451-6ab02a45742b\",\n            \"quantity\": \"0.0019\"\n          }\n        ]\n      },\n      {\n        \"Price\": \"49998\",\n        \"Orders\": [\n          {\n            \"orderId\": \"cf08ae47-3bee-4551-a92d-35e74d632f77\",\n            \"quantity\": \"0.0009\"\n          },\n          {\n            \"orderId\": \"2828ec26-e214-4eda-8ddb-b5db8cde86fa\",\n            \"quantity\": \"0.0635\"\n          }\n        ]\n      },\n      {\n        \"Price\": \"54000\",\n        \"Orders\": [\n          {\n            \"orderId\": \"fd2a08af-0d33-4ddf-ba2e-e4cdd13bbd49\",\n            \"quantity\": \"0.0019\"\n          }\n        ]\n      }\n      // Orders omitted for brevity\n    ],\n    \"Bids\": [\n      {\n        \"Price\": \"45147\",\n        \"Orders\": [\n          {\n            \"orderId\": \"763080a8-9154-4c41-98de-ae09a0cf48cd\",\n            \"quantity\": \"0.00014782\"\n          },\n          {\n            \"orderId\": \"33ceace1-d1e8-4d41-af96-9b13b655f0e8\",\n            \"quantity\": \"0.011\"\n          }\n        ]\n      },\n      {\n        \"Price\": \"45121\",\n        \"Orders\": [\n          {\n            \"orderId\": \"05ee59dc-a07a-42d4-ab78-a0678ce9c9f5\",\n            \"quantity\": \"0.00169\"\n          }\n        ]\n      },\n      {\n        \"Price\": \"44809\",\n        \"Orders\": [\n          {\n            \"orderId\": \"da50f29f-972b-4bf2-b68d-aae8d0f3c646\",\n            \"quantity\": \"0.0474\"\n          },\n          {\n            \"orderId\": \"e42777dc-bd9c-4dfa-8573-4eac68e7d89e\",\n            \"quantity\": \"0.011\"\n          },\n          {\n            \"orderId\": \"b30f11cb-694f-46fa-9497-827a415c8ca0\",\n            \"quantity\": \"0.011\"\n          }\n        ]\n      },\n      {\n        \"Price\": \"44756\",\n        \"Orders\": [\n          {\n            \"orderId\": \"3e01baa3-4b30-4c6c-9d86-31ea0f2f09d5\",\n            \"quantity\": \"0.0018\"\n          }\n        ]\n      },\n      {\n        \"Price\": \"44667\",\n        \"Orders\": [\n          {\n            \"orderId\": \"f2aaedf8-30ff-4dce-8e9a-33fc47408696\",\n            \"quantity\": \"0.0506\"\n          }\n        ]\n      },\n      {\n        \"Price\": \"42719\",\n        \"Orders\": [\n          {\n            \"orderId\": \"3b7123fd-653f-43af-8d6e-ea8806e0530c\",\n            \"quantity\": \"0.125\"\n          }\n        ]\n      },\n      {\n        \"Price\": \"42500\",\n        \"Orders\": [\n          {\n            \"orderId\": \"e4b5ba62-b4bc-4c9f-9987-50b13d276e21\",\n            \"quantity\": \"0.0002\"\n          }\n        ]\n      },\n      {\n        \"Price\": \"40552\",\n        \"Orders\": [\n          {\n            \"orderId\": \"f253ed4f-d9d5-48d5-97dc-6d38971cadf7\",\n            \"quantity\": \"0.0043\"\n          },\n          {\n            \"orderId\": \"8aa5c9b6-531f-4330-b36e-038b3648448c\",\n            \"quantity\": \"0.011\"\n          },\n          {\n            \"orderId\": \"250e5f0a-1950-48ac-9f7d-3304ff31c266\",\n            \"quantity\": \"0.011\"\n          }\n        ]\n      }\n      // Orders omitted for brevity\n    ],\n    \"SequenceNumber\": 589628037,\n    \"Checksum\": 1074477335\n  }\n}\n\n</code></pre>\n<h5 id=\"full_orderbook_update-2\">FULL_ORDERBOOK_UPDATE</h5>\n<p>After receiving the <strong>FULL_ORDERBOOK_SNAPSHOT</strong>, updates to the order book will be sent in <strong>FULL_ORDERBOOK_UPDATE</strong> messages.</p>\n<p>Sample message feed:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"FULL_ORDERBOOK_UPDATE\",\n  \"currencyPairSymbol\": \"BTCUSDC\",\n  \"data\": {\n    \"LastChange\": 1644303209930,\n    \"Asks\": [\n      {\n        \"Price\": \"45363\",\n        \"Orders\": [\n          {\n            \"orderId\": \"1d2e7745-5020-4d48-a77e-afc787ad048d\",\n            \"quantity\": \"0\"\n          },\n          {\n            \"orderId\": \"0aa53615-3ea9-42bd-a12a-16c3070b0ad3\",\n            \"quantity\": \"0,00102078\"\n          }\n        ]\n      },\n      {\n        \"Price\": \"46125\",\n        \"Orders\": [\n          {\n            \"orderId\": \"91e730fc-7888-4c24-b977-f5329bf28790\",\n            \"quantity\": \"0.0418\"\n          }\n        ]\n      }\n    ],\n    \"Bids\": [],\n    \"SequenceNumber\": 589628042,\n    \"Checksum\": 453615100\n  }\n}\n\n</code></pre>\n<p>In this update, following a market buy of 0.01 BTC at 45363 USDC, the first order was fully matched, and is removed, and the second order's quantity is reduced by 0.0081 BTC. At the same time a new order was placed at 46125 USDC selling 0.0418 BTC. There was no change to the Bids.</p>\n<h5 id=\"rules-for-updating-the-order-book\">Rules for updating the order book</h5>\n<ol>\n<li><p>Start with the full order book snapshot</p>\n</li>\n<li><p>When an update is received, for each included order:</p>\n</li>\n<li><p>If the order quantity is <code>\"0\"</code>, remove the order with the given <code>\"orderId\"</code> from the order book if it exists</p>\n</li>\n<li><p>Else, update the order quantity if it already exists, or add the new order to the price level indicated by the <code>\"Price\"</code> field</p>\n</li>\n</ol>\n<p><strong>Calculating the Checksum value</strong></p>\n<p>To confirm the integrity of the order book data, an unsigned crc32 checksum is sent in each <strong>FULL_ORDERBOOK_UPDATE</strong> message.</p>\n<p>The <code>Checksum</code> is verified by taking the 25 best bids and the 25 best asks and concatenating a string with the best bid order ID, followed by the quantity, followed by the same for the best ask, then the next best bid, etc. Separate each value by a colon (<code>:</code>) and calculate the unsigned CRC32 hash.</p>\n<p>Here is an example implementation:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-javascript\">const CRC = require(\"crc/crc32\");\nconst calculateCRC32 = (orderBook) =&gt; {\n  const selectBestOrders = (side) =&gt; {\n    const list = [];\n    for (const priceLevel of side) {\n      for (const order of priceLevel.Orders) {\n        if (list.length === 25) return list;\n        list.push(`${order.orderId}:${order.quantity}`);\n      }\n    }\n    return list;\n  };\n  const bids = selectBestOrders(orderBook.Bids);\n  const asks = selectBestOrders(orderBook.Asks);\n  const orders = [];\n  for (let i = 0; i &lt; 25; i++) {\n    if (bids[i]) orders.push(bids[i]);\n    if (asks[i]) orders.push(asks[i]);\n  }\n  return CRC.unsigned(orders.join(\":\"));\n};\n\n</code></pre>\n<p><strong>Calculating the next expected sequence number</strong></p>\n<p>To confirm that no <strong>FULL_ORDERBOOK_UPDATE</strong> message was missed, the next expected sequence number can be calculated by adding the number of orders in an update (including \"0\" quantity updates, which removes orders) to the previous sequence number and comparing it to the number in the current message. Because an order may be partially matched one or more times before being filled or cancelled, the update message may include multiple updates of the same order.</p>\n<hr />\n<h3 id=\"ob_l1_diff\">OB_L1_DIFF</h3>\n<h5 id=\"ob_l1_snapshot\">OB_L1_SNAPSHOT</h5>\n<p>After subscribing to <strong>OB_L1_DIFF</strong> for a currency pair, one snapshot of the order book for the currency pair will be sent.</p>\n<p>Sample message feed:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"OB_L1_SNAPSHOT\",\n  \"ps\": \"BTCUSDC\",         // Currency pair symbol\n  \"d\": {                   // Data\n    \"lc\": 1644301604645,   // Last Change\n    \"a\": [                 // Asks\n      [\n        \"45363\",           // Price\n        \"0.01102078\"       // Total quantity at price level\n      ],\n      [\"45662\",\"0.0018\"],\n      [\"45891\",\"0.0038\"],\n      [\"46584\",\"0.0018\"],\n      [\"46613\",\"0.0437\"],\n      [\"47052\",\"0.002\"],\n      [\"47288\",\"0.0019\"],\n      [\"49998\",\"0.0644\"],\n      [\"54000\",\"0.0019\"],\n      // Orders omitted for brevity\n    ],\n    \"b\": [                 // Bids\n      [\"45147\",\"0.011\"],\n      [\"45121\",\"0.00169\"],\n      [\"44809\",\"0.0694\"],\n      [\"44756\",\"0.0018\"],\n      [\"44667\",\"0.0506\"],\n      [\"42719\",\"0.125\"],\n      [\"42500\",\"0.0002\"],\n      [\"40552\",\"0.0263\"]\n      // Price levels omitted for brevity\n    ],\n    \"sq\": 589628102,       // Sequence number\n    \"cs\": 4146165992       // Checksum\n  }\n}\n\n</code></pre>\n<h5 id=\"ob_l1_diff-1\">OB_L1_DIFF</h5>\n<p>After receiving the <strong>OB_L1_SNAPSHOT</strong>, updates to the order book will be sent in <strong>OB_L1_DIFF</strong> messages.</p>\n<p>Sample message feed:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"OB_L1_DIFF\",\n  \"ps\": \"BTCUSDC\",           // Currency pair symbol\n  \"d\": {                     // Data\n    \"lc\": 1644303209930,     // Last Change\n    \"a\": [                   // Asks\n      [\n        \"45363\",             // Price\n        \"0.00102078\"         // Total current quantity at price level\n      ],\n      [\"46125\",\"0.0418\"],\n      [\"46126\",\"0\"],         // Quantity of 0 indicates price level can be removed\n    ],\n    \"b\": [],                 // Bids\n    \"sq\": 589628111,         // Sequence number\n    \"cs\": 604745093          // Checksum\n  }\n}\n\n</code></pre>\n<p>In this update, the total quantity of orders at price level <code>45363</code> and <code>46125</code> were updated and all orders at price level <code>46126</code> were removed.</p>\n<h5 id=\"rules-for-updating-the-order-book-1\">Rules for updating the order book</h5>\n<ol>\n<li><p>Start with the order book snapshot</p>\n</li>\n<li><p>When an update is received, for each included price level:</p>\n</li>\n<li><p>If the quantity is <code>\"0\"</code>, remove the price level</p>\n</li>\n<li><p>Else, update the price level quantity if it already exists, or add the new price level with the specified quantity</p>\n</li>\n</ol>\n<p><strong>Sequence numbers and message ordering</strong><br />On initial subscription, you will receive a sequence number with the snapshot that indicates the current ordering of the update messages that have been broadcasted. When a diff is received, the sequence number is expected to be exactly 1 higher than the previous message. If messages are received out of order then please resubscribe.</p>\n<p><strong>Calculating the Checksum value</strong></p>\n<p>To confirm the integrity of the order book data, an unsigned crc32 checksum is sent in each <strong>OB_L1_DIFF</strong> message.</p>\n<p>The aggregated <code>Checksum</code> is verified by taking the 25 best price levels per side and concatenating a string with the best bid price level followed by the quantity, followed by the same for the best ask price level, then the next best bid, etc. Separate each value by a colon (<code>:</code>) and calculate the unsigned CRC32 hash.</p>\n<p>Here is an example implementation:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-javascript\">const CRC = require(\"crc/crc32\");\nconst calculateCRC32Checksum = (asks, bids) =&gt; {\n    const orders = []\n    for (let i = 0; i &lt; 25; i++) {\n        if (bids[i]) orders.push(`${bids[i][0]}:${bids[i][1]}`)\n        if (asks[i]) orders.push(`${asks[i][0]}:${asks[i][1]}`)\n    }\n    return CRC.unsigned(orders.join(\":\"))\n}\n\n</code></pre>\n<hr />\n<h3 id=\"ob_l1_d1_snapshot\">OB_L1_D1_SNAPSHOT</h3>\n<p>After subscribing to <strong>OB_L1_D1_SNAPSHOT</strong> for a currency pair, one snapshot of the order book for the currency pair will be sent. Thereafter, new snapshots will only be sent when there are updates to the given order book.</p>\n<p>Replace <strong>D1</strong> with the desired price level depth. Supported: D1, D5, D10, D20, D40, D80.</p>\n<p>Sample message feed:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"OB_L1_D1_SNAPSHOT\",\n  \"ps\": \"BTCUSDC\",         // Currency pair symbol\n  \"d\": {                   // Data\n    \"lc\": 1644301604645,   // Last Change\n    \"a\": [                 // Asks\n      [\n        \"45363\",           // Price\n        \"0.01102078\"       // Total quantity at price level\n      ],\n      // Order book side will be truncated to specified depth\n    ],\n    \"b\": [                 // Bids\n      [\"45147\",\"0.011\"],\n    ],\n  }\n}\n\n</code></pre>\n<hr />\n<h3 id=\"market_summary_update-1\">MARKET_SUMMARY_UPDATE</h3>\n<p>Sample message feed:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"MARKET_SUMMARY_UPDATE\",\n  \"currencyPairSymbol\": \"BTCUSDT\",\n  \"data\": { \n        \"currencyPair\": \"BTCUSDT\",\n        \"askPrice\": \"297357\",\n        \"bidPrice\": \"297205\",\n        \"lastTradedPrice\": \"297161\",\n        \"previousClosePrice\": \"296596\",\n        \"baseVolume\": \"244.33584689486\",\n        \"highPrice\": \"300180\",\n        \"lowPrice\": \"281930\",\n        \"created\": \"2022-11-14T08:30:26.037Z\",\n        \"changeFromPrevious\": \"0.19\",\n        \"markPrice\": \"297205\"\n  }\n}\n\n</code></pre>\n<hr />\n<h3 id=\"new_trade_bucket-1\">NEW_TRADE_BUCKET</h3>\n<p>Sample message feed:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"NEW_TRADE_BUCKET\",\n  \"currencyPairSymbol\": \"BTCUSDT\",\n  \"data\": {\n    \"currencyPairSymbol\": \"BTCUSDT\",\n    \"bucketPeriodInSeconds\": 60,\n    \"startTime\": \"2019-04-25T19:41:00Z\",\n    \"open\": \"9500\",\n    \"high\": \"9500\",\n    \"low\": \"9500\",\n    \"close\": \"9500\",\n    \"volume\": \"0\"\n  }\n}\n\n</code></pre>\n<hr />\n<h3 id=\"new_trade-1\">NEW_TRADE</h3>\n<p>Sample message feed:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"NEW_TRADE\",\n  \"currencyPairSymbol\": \"BTCUSDT\",\n  \"data\": {\n    \"price\": \"9500\",\n    \"quantity\": \"0.001\",\n    \"currencyPair\": \"BTCUSDT\",\n    \"tradedAt\": \"2019-04-25T19:51:55.393Z\",\n    \"takerSide\": \"buy\"\n  }\n}\n\n</code></pre>\n<h3 id=\"mark_price_update\">MARK_PRICE_UPDATE</h3>\n<p>Sample message feed:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"type\": \"MARK_PRICE_UPDATE\",\n    \"currencyPairSymbol\": \"BTCUSDTPERP\",\n    \"data\": {\n        \"price\": \"33000\"\n    }\n}\n\n</code></pre>\n<hr />\n<h3 id=\"pnl_run_completed-1\">PNL_RUN_COMPLETED</h3>\n<p>Sample message feed:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"PNL_RUN_COMPLETED\",\n  \"currencyPairSymbol\": \"BTCUSDTPERP\",\n  \"data\": {\n    \"price\": \"116048\"\n  }\n}\n\n</code></pre>\n<hr />\n<h3 id=\"funding_run_completed-1\">FUNDING_RUN_COMPLETED</h3>\n<p>Sample message feed:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"FUNDING_RUN_COMPLETED\",\n  \"currencyPairSymbol\": \"BTCUSDTPERP\"\n}\n\n</code></pre>\n<hr />\n<h3 id=\"allowed_order_types_updated\">ALLOWED_ORDER_TYPES_UPDATED</h3>\n<p>Sample message feed:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"ALLOWED_ORDER_TYPES_UPDATED\",\n  \"currencyPairSymbol\": \"BTCUSDT\",\n  \"data\": [\n    \"STOP_LOSS_LIMIT\",\n    \"TAKE_PROFIT_LIMIT\",\n    \"LIMIT\",\n    \"LIMIT_POST_ONLY\",\n    \"SIMPLE\",\n    \"MARKET\"\n  ]\n}\n\n</code></pre>\n<hr />\n<h2 id=\"unsubscribing-from-events\">Unsubscribing from events</h2>\n<p>When you are no longer interested in receiving messages for certain events on the <code>Trade</code> WebSocket connection, you can send a synthetic \"unsubscribe\" message. For example, if you want to unsubscribe from <strong>MARKET_SUMMARY_UPDATE</strong> event, you would send a message as follows:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"SUBSCRIBE\",\n  \"subscriptions\": [\n    {\n      \"event\": \"MARKET_SUMMARY_UPDATE\",\n      \"pairs\": []\n    }\n  ]\n}\n\n</code></pre>\n<p>Here, since the <strong>pairs</strong> array is empty, you will be unsubscribed from any existing subscriptions you might have had to any currency pair market updates.</p>\n<hr />\n","_postman_id":"6ca6b8a7-0c5c-41a5-aaeb-ac9799aa48d8"}],"id":"da6a3bc7-51e6-4585-baa6-65502a7c8de7","description":"<h2 id=\"overview\">Overview</h2>\n<p>The WebSocket API is an advanced technology that makes it possible to open a two-way interactive communication session between a client and a server. With this API, you can send messages to a server and receive event-driven responses without having to poll the server for a reply.</p>\n<p>Please note that all unauthenticated WebSocket connections are automatically closed after 15 minutes regardless of activity.</p>\n<p>You can read more about WebSockets <a href=\"https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API\">here</a>.  </p>\n<p>Important: All WebSocket rate limits are applied strictly per IP address. Using different API keys for multiple subaccounts or bots will not increase your throughput if they are connecting from the same IP address.\nMore details here: <a href=\"#https://docs.valr.com/#rate-limiting\">Rate Limiting</a></p>\n<hr />\n<h2 id=\"connection\">Connection</h2>\n<h3 id=\"url\">URL</h3>\n<p>Our WebSocket API is accessible on the following address:</p>\n<p><a href=\"null\">wss://api.valr.com</a></p>\n<ul>\n<li><p><strong>Account WebSocket connection</strong>: In order to receive streaming updates about your VALR account, you would open up a WebSocket connection to</p>\n<p>  <a href=\"null\">wss://api.valr.com/ws/account</a></p>\n</li>\n<li><p><strong>Trade WebSocket connection</strong>: In order to receive streaming updates about Trade data, you would open up a WebSocket connection to</p>\n<p>  <a href=\"null\">wss://api.valr.com/ws/trade</a></p>\n</li>\n</ul>\n<h3 id=\"connecting-using-nodejs\">Connecting using NodeJS</h3>\n<p>There are various WebSocket libraries that one can use to interact with our WebSocket API, depending on your choice of programming language and development framework. In NodeJS, you can use a popular library called <a href=\"https://github.com/websockets/ws\">ws</a> for authentication, establishing a connection and to receive live updates.</p>\n<p>You can use the following command to install the <code>ws</code> package to your NodeJS project:</p>\n<p><code>npm install ws</code></p>\n<p>Once <code>ws</code> is installed, you can authenticate and establish a connection to our API with the following code:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-javascript\">const WebSocket = require('ws')\nvar headers = getAuthHeaders('/ws/account')\n// Authenticate and establish a connection\nconst ws = new WebSocket('wss://api.valr.com/ws/account', { headers })\nws.on('open', () =&gt;  {\n    // you can now start working with the connection\n})\nws.on('message', data =&gt;  {\n    // work with data\n})\nws.on('error', err =&gt; {\n    // handle error\n})\nws.on('close', () =&gt; {\n    // reconnect if needed\n})\n\n</code></pre>\n<p>Once authenticated, and the connection is established, the code above listens to the <code>open</code>, <code>message</code>, <code>error</code> and <code>close</code> events emitted from the server. The relevant payload will be available for each of these events. The one that is most interesting is the <code>data</code> payload on the <code>message</code> event. You will make use of this payload when receiving and working with live message updates.</p>\n<hr />\n<h2 id=\"authentication\">Authentication</h2>\n<p>Our WebSocket API requires authentication. To authenticate, add the following headers to the first call that establishes the WebSocket connection.</p>\n<ul>\n<li><p><strong>X-VALR-API-KEY</strong>: Your API Key</p>\n</li>\n<li><p><strong>X-VALR-SIGNATURE</strong>: Generated signature. The signature is generated using the following parameters:</p>\n<ul>\n<li><p>Api Secret</p>\n</li>\n<li><p>Timestamp of request</p>\n</li>\n<li><p>HTTP verb 'GET'</p>\n</li>\n<li><p>Path (either <code>/ws/account</code> or <code>/ws/trade</code>)</p>\n</li>\n<li><p>Request Body should be empty</p>\n</li>\n</ul>\n</li>\n<li><p><strong>X-VALR-TIMESTAMP</strong>: Timestamp of the request</p>\n</li>\n</ul>\n<p>Like this for <code>Account</code> WebSocket (in NodeJS):</p>\n<p><code>const ws = new WebSocket('wss://api.valr.com/ws/account', { headers })</code></p>\n<p>Or, if you want to connect to the <code>Trade</code> WebSocket, you would use the appropriate path:</p>\n<p><code>const ws = new WebSocket('wss://api.valr.com/ws/trade', { headers })</code></p>\n<p>The headers that are passed to establish the connection are the same 3 headers you pass to any authenticated call to the REST API. Here's how you would populate these headers:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-javascript\">function getAuthHeaders(path) {\n    var headers = new Object()\n    var timestamp = (new Date()).getTime()\n    var signature = signRequest(apiKeySecret, timestamp, 'GET', path, '')\n    headers['X-VALR-API-KEY'] = apiKey\n    headers[\"X-VALR-SIGNATURE\"] = signature\n    headers['X-VALR-TIMESTAMP'] = timestamp\n    return headers\n}\n\n</code></pre>\n<p>The <code>signRequest</code> method is repeated below for your convenience:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-javascript\">const crypto = require(\"crypto\")\nfunction signRequest(apiKeySecret, timestamp, verb, path, body = \"\") {\n  return crypto\n    .createHmac(\"sha512\", apiKeySecret)\n    .update(timestamp.toString())\n    .update(verb.toUpperCase())\n    .update(path)\n    .update(body)\n    .digest(\"hex\")\n}\n\n</code></pre>\n<p>The <code>signRequest</code> method requires the <code>crypto</code> package. You can use the following command to install the <code>crypto</code> package to your NodeJS project:</p>\n<p><code>npm install crypto</code></p>\n<h3 id=\"putting-it-all-together\">Putting it all together</h3>\n<p>In NodeJS, your code to establish an authenticated connection to our WebSocket API and start listening to message feeds would look like this:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-javascript\">const crypto = require(\"crypto\")\nconst WebSocket = require(\"ws\")\nconst apiKey = \"yourapikey\"\nconst apiKeySecret = \"yourapikeysecret\"\nfunction signRequest(apiKeySecret, timestamp, verb, path, body = \"\") {\n  return crypto\n    .createHmac(\"sha512\", apiKeySecret)\n    .update(timestamp.toString())\n    .update(verb.toUpperCase())\n    .update(path)\n    .update(body)\n    .digest(\"hex\")\n}\nfunction getAuthHeaders(path) {\n  var headers = new Object()\n  var timestamp = new Date().getTime()\n  var signature = signRequest(apiKeySecret, timestamp, \"GET\", path, \"\")\n  headers[\"X-VALR-API-KEY\"] = apiKey\n  headers[\"X-VALR-SIGNATURE\"] = signature\n  headers[\"X-VALR-TIMESTAMP\"] = timestamp\n  return headers\n}\n// Account WebSocket connection\nfunction connectToAccount() {\n    var headers = getAuthHeaders('/ws/account')\n    const wsAccount = new WebSocket('wss://api.valr.com/ws/account', { headers })\n    wsAccount.on(\"open\", () =&gt; {\n        // you can now start working with the connection\n        console.log(\"Account WS connected\");\n    })\n    wsAccount.on(\"message\", data =&gt; {\n        // work with data\n    })\n    wsAccount.on(\"error\", err =&gt; {\n        // handle error\n    })\n    wsAccount.on(\"close\", () =&gt; {\n        // reconnect if needed\n    })\n}\n// Trade WebSocket connection\nfunction connectToTrade() {\n    var headers = getAuthHeaders(\"/ws/trade\")\n    const wsTrade = new WebSocket('wss://api.valr.com/ws/trade', { headers })\n    wsTrade.on(\"open\", () =&gt; {\n      // you can now start working with the connection\n      console.log('Trade WS connected')\n    })\n    wsTrade.on(\"message\", data =&gt; {\n      // work with data\n    })\n    wsTrade.on(\"error\", err =&gt; {\n      // handle error\n    })\n    wsTrade.on(\"close\", () =&gt; {\n      // reconnect if needed\n    })\n}\nconnectToAccount()\nconnectToTrade()\n\n</code></pre>\n<hr />\n<h2 id=\"subscribing-to-events\">Subscribing to events</h2>\n<p>Once you open a connection to <code>Account</code>, you are automatically subscribed to all messages for all events on the <code>Account</code> WebSocket connection. You will start receiving message feeds pertaining to your VALR account. For example, you will receive messages when your balance is updated or when a new trade is executed on your account.</p>\n<p>On the other hand, when you open a connection to <code>Trade</code>, in order to receive message feeds about trading data, you must subscribe to events you are interested in on the <code>Trade</code> WebSocket connection. For example, if you want to receive messages when markets fluctuate, you must send a message on the connection with the following payload:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-javascript\">var message = {\n  \"type\": \"SUBSCRIBE\",\n  \"subscriptions\": [\n    {\n      \"event\": \"MARKET_SUMMARY_UPDATE\",\n      \"pairs\": [\n        \"BTCUSDT\"\n      ]\n    }\n  ]\n} \nws.on('open', ()) =&gt;  {\n    // Once the connection is open, you subscribe to an event here\n    ws.send(JSON.stringify(message))\n})\n\n</code></pre>\n<p>Here, the event you are subscribing to is called <strong>MARKET_SUMMARY_UPDATE</strong> and the currency pairs you are subscribing to is an array.</p>\n<hr />\n<h2 id=\"unsubscribing-from-events\">Unsubscribing from events</h2>\n<p>When you are no longer interested in receiving messages for certain events on the <code>Trade</code> WebSocket connection, you can send a synthetic \"unsubscribe\" message. For example, if you want to unsubscribe from <strong>MARKET_SUMMARY_UPDATE</strong> event, you would send a message as follows:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"SUBSCRIBE\",\n  \"subscriptions\": [\n    {\n      \"event\": \"MARKET_SUMMARY_UPDATE\",\n      \"pairs\": []\n    }\n  ]\n}\n\n</code></pre>\n<p>Here, since the <strong>pairs</strong> array is empty, you will be unsubscribed from any existing subscriptions you might have had to any currency pair market updates.</p>\n<hr />\n<h2 id=\"staying-connected-with-ping-pong-messages\">Staying connected with Ping-Pong messages</h2>\n<p>To ensure that you stay connected to either the <code>Account</code> or <code>Trade</code> WebSocket you must send a \"PING\" message every 30 seconds on the WebSocket you wish to monitor. VALR will respond with a <strong>PONG</strong> event. The message must be as follows:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"PING\"\n}\n\n</code></pre>\n<p>On the <code>Trade</code> WebSocket the <strong>PONG</strong> message body will be \"NO_SUBSCRIPTIONS\" if you are not subscribed to any message types.</p>\n<hr />\n","event":[{"listen":"prerequest","script":{"id":"562e1436-7ebf-40a2-8a50-a10d5b8f1b8d","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"569e9387-d38f-41db-8db8-509f3b9de20e","type":"text/javascript","exec":[""]}}],"_postman_id":"da6a3bc7-51e6-4585-baa6-65502a7c8de7"},{"name":"Earn","item":[{"name":"Staking (Steady Returns)","item":[{"name":"Staking (Steady Returns) Rates","id":"3a89611f-722e-4f5c-863e-b653210d965b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"url":"https://api.valr.com/v1/staking/rates?earnType=STAKE","description":"<p>This endpoint returns the APR rates for all available staking currencies.</p>\n","urlObject":{"path":["v1","staking","rates"],"host":["https://api.valr.com"],"query":[{"description":{"content":"<p>Set to “STAKE” to use Staking.</p>\n","type":"text/plain"},"key":"earnType","value":"STAKE"}],"variable":[]}},"response":[{"id":"78e95136-1e99-41bb-a046-618881d5a1d5","name":"Staking (Steady Returns) Rates","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":"https://api.valr.com/v1/staking/rates"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"34"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 23 Oct 2025 09:03:15 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"currencySymbol\": \"AVAX\",\n        \"rate\": \"0.000001106846\",\n        \"apy\": \"0.0096\",\n        \"periodIntervalMinutes\": 60,\n        \"minimumStakeAmount\": \"0\",\n        \"earnType\": \"STAKE\"\n    },\n    {\n        \"currencySymbol\": \"SOL\",\n        \"rate\": \"0.000000728722\",\n        \"apy\": \"0.0063\",\n        \"periodIntervalMinutes\": 60,\n        \"minimumStakeAmount\": \"0\",\n        \"earnType\": \"STAKE\"\n    },\n    {\n        \"currencySymbol\": \"TRX\",\n        \"rate\": \"0.000003424658\",\n        \"apy\": \"0.03\",\n        \"periodIntervalMinutes\": 60,\n        \"minimumStakeAmount\": \"0\",\n        \"earnType\": \"STAKE\"\n    }\n]"}],"_postman_id":"3a89611f-722e-4f5c-863e-b653210d965b"},{"name":"Lock Amount","id":"d0c879cf-3886-4e77-8857-73bb04cb0f36","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"currencySymbol\": \"SOL\",\n    \"amount\": \"0.0001\",\n    \"earnType\": \"STAKE\"\n}"},"url":"https://api.valr.com/v1/staking/stake","description":"<p>Lock the specified currency to start earning yield.\nSubsequent calls to this endpoint for the same currency will increase the total locked amount by the provided value.</p>\n<p>An example is shown below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"currencySymbol\": \"AVAX\",\n    \"amount\": \"1\",\n    \"earnType\": \"STAKE\"\n}\n\n</code></pre>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>currencySymbol (required)</td>\n<td>The symbol of the currency that will be staked.</td>\n</tr>\n<tr>\n<td>amount (required)</td>\n<td>The amount that will be staked.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","staking","stake"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"287219b5-6526-4fd4-a688-631f9892ca21","name":"Lock Amount","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    \"currencySymbol\": \"SOL\",\n    \"amount\": \"0.0001\",\n    \"earnType\": \"STAKE\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/staking/stake"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"45"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 23 Oct 2025 08:12:13 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":null},{"id":"4bba8035-6fd9-4522-9a17-4a7dd7182be8","name":"Unsupported Currency","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    \"currencySymbol\": \"BTC\",\n    \"amount\": \"0.0001\",\n    \"earnType\": \"STAKE\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/staking/stake"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"37"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 23 Oct 2025 08:12:35 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": -1,\n    \"message\": \"Unsupported Currency\"\n}"}],"_postman_id":"d0c879cf-3886-4e77-8857-73bb04cb0f36"},{"name":"Unlock Amount","id":"aaef2375-3496-47c0-b188-47dfd029ae93","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"currencySymbol\": \"SOL\",\n    \"amount\": \"0.00001\",\n    \"earnType\": \"STAKE\"\n}"},"url":"https://api.valr.com/v1/staking/un-stake","description":"<p>Unlock the specified currency.</p>\n<p>An example is shown below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"currencySymbol\": \"USDC\",\n    \"amount\": \"1\",\n    \"earnType\": \"STAKE\"\n}\n\n</code></pre>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>currencySymbol (required)</td>\n<td>The symbol of the currency to unstake.</td>\n</tr>\n<tr>\n<td>amount (required)</td>\n<td>The amount to unstake.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","staking","un-stake"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"347f45e3-bc5b-4d47-b71c-c8e2decceecd","name":"Unlock Amount","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    \"currencySymbol\": \"SOL\",\n    \"amount\": \"0.00001\",\n    \"earnType\": \"STAKE\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/staking/un-stake"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"48"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 23 Oct 2025 08:14:48 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":null},{"id":"aae4e599-f4c9-454a-8873-dab0aeb4b34e","name":"Unsupported Currency","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    \"currencySymbol\": \"BTC\",\n    \"amount\": \"0.00001\",\n    \"earnType\": \"STAKE\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/staking/un-stake"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"12"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 23 Oct 2025 08:15:07 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": -1,\n    \"message\": \"Unsupported Currency\"\n}"}],"_postman_id":"aaef2375-3496-47c0-b188-47dfd029ae93"},{"name":"Staking (Steady Returns) Balances","id":"0f33eb13-1ec9-4326-92cb-b3736f509bed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"url":"https://api.valr.com/v1/staking/balances?earnType=STAKE","description":"<p>This endpoint returns all currencies and their staked balances for the account making the request.</p>\n","urlObject":{"path":["v1","staking","balances"],"host":["https://api.valr.com"],"query":[{"description":{"content":"<p>Set to “STAKE” to use Staking.</p>\n","type":"text/plain"},"key":"earnType","value":"STAKE"}],"variable":[]}},"response":[{"id":"8773ff14-d355-46d0-a1a0-9a43c0405ef7","name":"Staking (Steady Returns) Balances","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":"https://api.valr.com/v1/staking/balances"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"47"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 23 Oct 2025 08:37:13 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"currencySymbol\": \"SOL\",\n        \"amount\": \"0.00071\",\n        \"earnType\": \"Stake\",\n        \"lastUpdated\": \"2025-10-23T08:14:48.618Z\"\n    }\n]"}],"_postman_id":"0f33eb13-1ec9-4326-92cb-b3736f509bed"},{"name":"Staking (Steady Returns) Balances for All Accounts","id":"af49575d-fc4c-4928-9eb7-05aed45be6b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"url":"https://api.valr.com/v1/staking/balances/all?earnType=STAKE","description":"<p>This endpoint returns an array containing all staked amounts for all accounts. If an account has no staked funds, it will return an empty array for that account.</p>\n","urlObject":{"path":["v1","staking","balances","all"],"host":["https://api.valr.com"],"query":[{"description":{"content":"<p>Set to “STAKE” to use Staking.</p>\n","type":"text/plain"},"key":"earnType","value":"STAKE"}],"variable":[]}},"response":[{"id":"ecda7025-4edb-486e-9d96-0a1d43697c32","name":"Staking (Steady Returns) Balances for All Accounts","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":"https://api.valr.com/v1/staking/balances/all"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"11"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 23 Oct 2025 08:58:53 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"accountLabel\": \"Primary\",\n        \"accountPublicId\": \"0\",\n        \"balances\": [\n            {\n                \"currencySymbol\": \"SOL\",\n                \"amount\": \"0\",\n                \"earnType\": \"Stake\",\n                \"lastUpdated\": \"2025-08-14T09:54:59.477Z\"\n            }\n        ]\n    },\n    {\n        \"accountLabel\": \"Account A\",\n        \"accountPublicId\": \"1430172985718059008\",\n        \"balances\": []\n    },\n    {\n        \"accountLabel\": \"Account B\",\n        \"accountPublicId\": \"1422584982617878528\",\n        \"balances\": []\n    },\n    {\n        \"accountLabel\": \"Account C\",\n        \"accountPublicId\": \"1422580726659538944\",\n        \"balances\": []\n    },\n    {\n        \"accountLabel\": \"Account D\",\n        \"accountPublicId\": \"1394598136541048832\",\n        \"balances\": [\n            {\n                \"currencySymbol\": \"SOL\",\n                \"amount\": \"0\",\n                \"earnType\": \"Stake\",\n                \"lastUpdated\": \"2025-08-14T10:30:01.560Z\"\n            }\n        ]\n    },\n    {\n        \"accountLabel\": \"Account E\",\n        \"accountPublicId\": \"1390305666164170752\",\n        \"balances\": []\n    },\n    {\n        \"accountLabel\": \"Account F\",\n        \"accountPublicId\": \"1385226517613019136\",\n        \"balances\": []\n    },\n    {\n        \"accountLabel\": \"Account G\",\n        \"accountPublicId\": \"1375033651151663104\",\n        \"balances\": []\n    },\n    {\n        \"accountLabel\": \"Account H\",\n        \"accountPublicId\": \"1367068060819238912\",\n        \"balances\": []\n    },\n    {\n        \"accountLabel\": \"Account I\",\n        \"accountPublicId\": \"1326908343235948544\",\n        \"balances\": [\n            {\n                \"currencySymbol\": \"AVAX\",\n                \"amount\": \"0\",\n                \"earnType\": \"Stake\",\n                \"lastUpdated\": \"2025-06-12T09:18:12.638Z\"\n            }\n        ]\n    },\n    {\n        \"accountLabel\": \"Account J\",\n        \"accountPublicId\": \"1306231494450782208\",\n        \"balances\": [\n            {\n                \"currencySymbol\": \"SOL\",\n                \"amount\": \"0.00071\",\n                \"earnType\": \"Stake\",\n                \"lastUpdated\": \"2025-10-23T08:14:48.618Z\"\n            }\n        ]\n    }\n]"}],"_postman_id":"af49575d-fc4c-4928-9eb7-05aed45be6b4"},{"name":"Staking (Steady Returns) Rewards","id":"d0e67289-22ea-4c9d-a4ae-6df753e48604","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"url":"https://api.valr.com/v1/staking/rewards?currencySymbol=SOL&skip=0&limit=100&earnType=STAKE","description":"<p>Returns the latest reward items, up to a maximum of 100.</p>\n","urlObject":{"path":["v1","staking","rewards"],"host":["https://api.valr.com"],"query":[{"description":{"content":"<p>Fetch rewards for this currency.</p>\n","type":"text/plain"},"key":"currencySymbol","value":"SOL"},{"description":{"content":"<p>Skip this number of results. (Default 0)</p>\n","type":"text/plain"},"key":"skip","value":"0"},{"description":{"content":"<p>Limit the results to this number. (Default and Max 100)</p>\n","type":"text/plain"},"key":"limit","value":"100"},{"description":{"content":"<p>Set to “STAKE” to use Staking.</p>\n","type":"text/plain"},"key":"earnType","value":"STAKE"}],"variable":[]}},"response":[{"id":"15083150-b231-45d1-93f3-5cea62279607","name":"Staking (Steady Returns) Rewards","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/staking/rewards?currencySymbol=SOL&skip=0&limit=100","host":["https://api.valr.com"],"path":["v1","staking","rewards"],"query":[{"key":"currencySymbol","value":"SOL","description":"Fetch rewards for this currency."},{"key":"skip","value":"0","description":"Skip this number of results. (Default 0)"},{"key":"limit","value":"100","description":"Limit the results to this number. (Default and Max 100)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"18"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 23 Oct 2025 09:23:24 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"period\": \"2025-10-23T09:00:00Z\",\n        \"rewardAmount\": \"0.00000000051739262\",\n        \"rate\": \"0.000000728722\",\n        \"ratePerYear\": \"0.638360648\",\n        \"currencySymbol\": \"SOL\",\n        \"earnType\": \"Stake\"\n    }\n]"}],"_postman_id":"d0e67289-22ea-4c9d-a4ae-6df753e48604"},{"name":"Staking (Steady Returns) History","id":"5463281c-64e1-4a7c-95ac-e1e11430af7c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"url":"https://api.valr.com/v1/staking/history?currencySymbol=SOL&skip=0&limit=100&earnType=STAKE","description":"<p>Returns the latest history events, including locking and unlocking, up to a maximum of 100 entries.</p>\n","urlObject":{"path":["v1","staking","history"],"host":["https://api.valr.com"],"query":[{"description":{"content":"<p>Fetch the history for this currency.</p>\n","type":"text/plain"},"key":"currencySymbol","value":"SOL"},{"description":{"content":"<p>Skip this number of results. (Default 0)</p>\n","type":"text/plain"},"key":"skip","value":"0"},{"description":{"content":"<p>Limit the results to this number. (Default and Max 100)</p>\n","type":"text/plain"},"key":"limit","value":"100"},{"description":{"content":"<p>Set to “STAKE” to use Staking.</p>\n","type":"text/plain"},"key":"earnType","value":"STAKE"}],"variable":[]}},"response":[{"id":"473b03dc-f912-4460-a545-312905f5e7b3","name":"Staking (Steady Returns) History","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/staking/history?currencySymbol=SOL&skip=0&limit=100","host":["https://api.valr.com"],"path":["v1","staking","history"],"query":[{"key":"currencySymbol","value":"SOL","description":"Fetch the history for this currency."},{"key":"skip","value":"0","description":"Skip this number of results. (Default 0)"},{"key":"limit","value":"100","description":"Limit the results to this number. (Default and Max 100)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"43"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 23 Oct 2025 09:31:22 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"type\": \"UNSTAKE\",\n        \"currencySymbol\": \"SOL\",\n        \"amount\": \"0.00001\",\n        \"earnType\": \"Stake\",\n        \"completedAt\": \"2025-10-23T08:14:48.624467Z\"\n    },\n    {\n        \"type\": \"UNSTAKE\",\n        \"currencySymbol\": \"SOL\",\n        \"amount\": \"0.00001\",\n        \"earnType\": \"Stake\",\n        \"completedAt\": \"2025-10-23T08:14:15.031285Z\"\n    },\n    {\n        \"type\": \"UNSTAKE\",\n        \"currencySymbol\": \"SOL\",\n        \"amount\": \"0.00001\",\n        \"earnType\": \"Stake\",\n        \"completedAt\": \"2025-10-23T08:14:07.853665Z\"\n    },\n    {\n        \"type\": \"STAKE\",\n        \"currencySymbol\": \"SOL\",\n        \"amount\": \"0.0001\",\n        \"earnType\": \"Stake\",\n        \"completedAt\": \"2025-10-23T08:12:14.046702Z\"\n    },\n    {\n        \"type\": \"STAKE\",\n        \"currencySymbol\": \"SOL\",\n        \"amount\": \"0.0001\",\n        \"earnType\": \"Stake\",\n        \"completedAt\": \"2025-10-23T08:11:58.744128Z\"\n    },\n    {\n        \"type\": \"STAKE\",\n        \"currencySymbol\": \"SOL\",\n        \"amount\": \"0.0001\",\n        \"earnType\": \"Stake\",\n        \"completedAt\": \"2025-10-23T08:11:07.838307Z\"\n    },\n    {\n        \"type\": \"STAKE\",\n        \"currencySymbol\": \"SOL\",\n        \"amount\": \"0.0001\",\n        \"earnType\": \"Stake\",\n        \"completedAt\": \"2025-10-23T08:11:06.305754Z\"\n    },\n    {\n        \"type\": \"STAKE\",\n        \"currencySymbol\": \"SOL\",\n        \"amount\": \"0.0001\",\n        \"earnType\": \"Stake\",\n        \"completedAt\": \"2025-10-23T08:11:05.014124Z\"\n    },\n    {\n        \"type\": \"STAKE\",\n        \"currencySymbol\": \"SOL\",\n        \"amount\": \"0.0001\",\n        \"earnType\": \"Stake\",\n        \"completedAt\": \"2025-10-23T08:11:04.133787Z\"\n    },\n    {\n        \"type\": \"STAKE\",\n        \"currencySymbol\": \"SOL\",\n        \"amount\": \"0.0001\",\n        \"earnType\": \"Stake\",\n        \"completedAt\": \"2025-10-23T08:11:02.039386Z\"\n    },\n    {\n        \"type\": \"STAKE\",\n        \"currencySymbol\": \"SOL\",\n        \"amount\": \"0.00001\",\n        \"earnType\": \"Stake\",\n        \"completedAt\": \"2025-10-23T08:09:52.627271Z\"\n    },\n    {\n        \"type\": \"STAKE\",\n        \"currencySymbol\": \"SOL\",\n        \"amount\": \"0.00001\",\n        \"earnType\": \"Stake\",\n        \"completedAt\": \"2025-10-23T08:09:49.622349Z\"\n    },\n    {\n        \"type\": \"STAKE\",\n        \"currencySymbol\": \"SOL\",\n        \"amount\": \"0.00001\",\n        \"earnType\": \"Stake\",\n        \"completedAt\": \"2025-10-23T08:09:48.146141Z\"\n    },\n    {\n        \"type\": \"STAKE\",\n        \"currencySymbol\": \"SOL\",\n        \"amount\": \"0.00001\",\n        \"earnType\": \"Stake\",\n        \"completedAt\": \"2025-10-23T08:09:43.167763Z\"\n    }\n]"}],"_postman_id":"5463281c-64e1-4a7c-95ac-e1e11430af7c"}],"id":"dc9154df-16b9-43dd-ab22-54bffcc3ff09","description":"<p>Make use of our Staking API to stake assets and manage your staking operations programmatically.</p>\n<p>These APIs are protected and will require authentication. See the section on Authentication above to learn how to authenticate your API calls. Managing staking activities require the Trade API key permission.</p>\n<h3 id=\"locking\">Locking</h3>\n<p>Using the <code>POST Lock Amount</code> endpoint allows a user to stake a specified amount of currency to earn yield. The locked amount is deducted from the user’s available balance (not reserved) and moved into staking.</p>\n<h3 id=\"unlocking\">Unlocking</h3>\n<p>Using the <code>POST Unlock Amount</code> endpoint allows a user to reclaim previously staked funds, either partially or in full. Once unlocked, the amount is added back to the user’s available balance. Unlocking is typically immediate but may be delayed in rare cases.</p>\n<h3 id=\"balances\">Balances</h3>\n<p>The <code>GET Staking Balances</code> endpoint returns the user’s currently staked balances. This represents the amounts still locked in staking and eligible for unlocking. It does not provide a transaction history.</p>\n<hr />\n<h2 id=\"for-more-information-see-the-support-article\">For more information see the support article:</h2>\n<p><a href=\"https://support.valr.com/hc/en-us/articles/9044087067292-Crypto-Staking-on-VALR\">Crypto Staking on VALR</a></p>\n","_postman_id":"dc9154df-16b9-43dd-ab22-54bffcc3ff09"},{"name":"DeFi-Lending","item":[{"name":"DeFi Rates","id":"57f39080-6f40-46ba-b7c0-35b1e3734b2f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"url":"https://api.valr.com/v1/staking/rates?earnType=LEND","description":"<p>This endpoint returns the rates for all available loan currencies.</p>\n","urlObject":{"path":["v1","staking","rates"],"host":["https://api.valr.com"],"query":[{"description":{"content":"<p>Set to \"LEND\" to use DeFi-Lending.</p>\n","type":"text/plain"},"key":"earnType","value":"LEND"}],"variable":[]}},"response":[{"id":"d75ca8e2-73c9-4078-a024-cecaffdb0f3b","name":"DeFi Rates","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/staking/rates?earnType=LEND","host":["https://api.valr.com"],"path":["v1","staking","rates"],"query":[{"key":"earnType","value":"LEND","description":"Set to \"LEND\" to use DeFi-Lending."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"10"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 23 Oct 2025 09:03:50 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"currencySymbol\": \"ETH\",\n        \"rate\": \"0.000001712329\",\n        \"apy\": \"0.015\",\n        \"periodIntervalMinutes\": 60,\n        \"minimumStakeAmount\": \"0\",\n        \"earnType\": \"LEND\"\n    },\n    {\n        \"currencySymbol\": \"USDT\",\n        \"rate\": \"0.000089893914\",\n        \"apy\": \"0.7874\",\n        \"periodIntervalMinutes\": 60,\n        \"minimumStakeAmount\": \"0\",\n        \"earnType\": \"LEND\"\n    }\n]"}],"_postman_id":"57f39080-6f40-46ba-b7c0-35b1e3734b2f"},{"name":"Lock Amount","id":"b8c4b541-0bc0-407b-a543-40eecace8af2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"currencySymbol\": \"USDT\",\n    \"amount\": \"10\",\n    \"earnType\": \"LEND\"\n}"},"url":"https://api.valr.com/v1/staking/stake","description":"<p>Lock the specified currency to start earning yield.<br />Subsequent calls to this endpoint for the same currency will increase the total locked amount by the provided value.</p>\n<p>An example is shown below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"currencySymbol\": \"AVAX\",\n    \"amount\": \"1\",\n    \"earnType\": \"LEND\"\n}\n\n</code></pre>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>currencySymbol (required)</td>\n<td>Increase the loan for this currency.</td>\n</tr>\n<tr>\n<td>amount (required)</td>\n<td>The amount that will be locked.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","staking","stake"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"290b8d71-5efb-4d6c-8d7d-7cb4fde67809","name":"Lock Amount","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    \"currencySymbol\": \"USDT\",\n    \"amount\": \"10\",\n    \"earnType\": \"LEND\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/staking/stake"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"333"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 23 Oct 2025 08:25:35 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":null},{"id":"26c94e38-f367-499e-80b9-d543191e8214","name":"Unsupported Currency","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    \"currencySymbol\": \"BTC\",\n    \"amount\": \"10\",\n    \"earnType\": \"LEND\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/staking/stake"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"11"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 23 Oct 2025 08:26:04 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": -1,\n    \"message\": \"Unsupported Currency\"\n}"}],"_postman_id":"b8c4b541-0bc0-407b-a543-40eecace8af2"},{"name":"Unlock Amount","id":"f7a94de2-3ad8-417e-b03f-da27c78c5746","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"currencySymbol\": \"USDT\",\n    \"amount\": \"10\",\n    \"earnType\": \"LEND\"\n}"},"url":"https://api.valr.com/v1/staking/un-stake","description":"<p>Unlock the specified currency.</p>\n<p>An example is shown below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"currencySymbol\": \"USDC\",\n    \"amount\": \"1\",\n    \"earnType\": \"LEND\"\n}\n\n</code></pre>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>currencySymbol (required)</td>\n<td>Decrease the loan for this currency.</td>\n</tr>\n<tr>\n<td>amount (required)</td>\n<td>The amount that will be unlocked.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","staking","un-stake"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"662ac05b-a963-4412-88b0-2865f0d78cf4","name":"Unlock Amount","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    \"currencySymbol\": \"USDT\",\n    \"amount\": \"10\",\n    \"earnType\": \"LEND\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/staking/un-stake"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"77"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 23 Oct 2025 08:27:09 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":null},{"id":"bf680ecd-2cca-4b7c-a2d0-697aea6632f1","name":"Unsupported Currency","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    \"currencySymbol\": \"BTC\",\n    \"amount\": \"10\",\n    \"earnType\": \"LEND\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/staking/un-stake"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"11"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 23 Oct 2025 08:27:29 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": -1,\n    \"message\": \"Unsupported Currency\"\n}"}],"_postman_id":"f7a94de2-3ad8-417e-b03f-da27c78c5746"},{"name":"DeFi Balances","id":"063ad4cc-a532-4b30-adbb-13348108cfc8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"url":"https://api.valr.com/v1/staking/balances?earnType=LEND","description":"<p>This endpoint returns all currencies and their loaned amounts for the account making the request.</p>\n","urlObject":{"path":["v1","staking","balances"],"host":["https://api.valr.com"],"query":[{"description":{"content":"<p>Set to \"LEND\" to use DeFi-Lending.</p>\n","type":"text/plain"},"key":"earnType","value":"LEND"}],"variable":[]}},"response":[{"id":"1c8551af-4d34-49ec-97e7-b79e81a2985f","name":"DeFi Balances","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/staking/balances?earnType=LEND","host":["https://api.valr.com"],"path":["v1","staking","balances"],"query":[{"key":"earnType","value":"LEND","description":"Set to \"LEND\" to use DeFi-Lending."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"7"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 23 Oct 2025 08:38:37 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"currencySymbol\": \"USDT\",\n        \"amount\": \"10\",\n        \"earnType\": \"Lend\",\n        \"lastUpdated\": \"2025-10-23T08:27:09.265Z\"\n    }\n]"}],"_postman_id":"063ad4cc-a532-4b30-adbb-13348108cfc8"},{"name":"DeFi Balances for All Accounts","id":"2aa37167-3fe4-41f7-8049-f1bccfaf8454","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"url":"https://api.valr.com/v1/staking/balances/all?earnType=LEND","description":"<p>This endpoint returns an array of all loaned amounts for all accounts. Accounts with no loans will have an empty array.</p>\n","urlObject":{"path":["v1","staking","balances","all"],"host":["https://api.valr.com"],"query":[{"description":{"content":"<p>Set to \"LEND\" to use DeFi-Lending.</p>\n","type":"text/plain"},"key":"earnType","value":"LEND"}],"variable":[]}},"response":[{"id":"16a5244f-4142-4794-b740-f853b11bf0cf","name":"DeFi Balances for All Accounts","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/staking/balances/all?earnType=LEND","host":["https://api.valr.com"],"path":["v1","staking","balances","all"],"query":[{"key":"earnType","value":"LEND","description":"Set to \"LEND\" to use DeFi-Lending."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"32"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 23 Oct 2025 08:58:13 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"accountLabel\": \"Primary\",\n        \"accountPublicId\": \"0\",\n        \"balances\": [\n            {\n                \"currencySymbol\": \"ETH\",\n                \"amount\": \"0\",\n                \"earnType\": \"Lend\",\n                \"lastUpdated\": \"2025-08-14T12:23:57.942Z\"\n            },\n            {\n                \"currencySymbol\": \"USDT\",\n                \"amount\": \"0\",\n                \"earnType\": \"Lend\",\n                \"lastUpdated\": \"2025-08-15T07:12:18.244Z\"\n            }\n        ]\n    },\n    {\n        \"accountLabel\": \"Account A\",\n        \"accountPublicId\": \"1430172985718059008\",\n        \"balances\": []\n    },\n    {\n        \"accountLabel\": \"Account B\",\n        \"accountPublicId\": \"1422584982617878528\",\n        \"balances\": []\n    },\n    {\n        \"accountLabel\": \"Account C\",\n        \"accountPublicId\": \"1422580726659538944\",\n        \"balances\": []\n    },\n    {\n        \"accountLabel\": \"Account D\",\n        \"accountPublicId\": \"1394598136541048832\",\n        \"balances\": [\n            {\n                \"currencySymbol\": \"ETH\",\n                \"amount\": \"3.5\",\n                \"earnType\": \"Lend\",\n                \"lastUpdated\": \"2025-08-14T12:51:01.771Z\"\n            },\n            {\n                \"currencySymbol\": \"USDT\",\n                \"amount\": \"0\",\n                \"earnType\": \"Lend\",\n                \"lastUpdated\": \"2025-08-14T09:59:21.217Z\"\n            }\n        ]\n    },\n    {\n        \"accountLabel\": \"Account E\",\n        \"accountPublicId\": \"1390305666164170752\",\n        \"balances\": []\n    },\n    {\n        \"accountLabel\": \"Account F\",\n        \"accountPublicId\": \"1385226517613019136\",\n        \"balances\": []\n    },\n    {\n        \"accountLabel\": \"Account G\",\n        \"accountPublicId\": \"1375033651151663104\",\n        \"balances\": []\n    },\n    {\n        \"accountLabel\": \"Account H\",\n        \"accountPublicId\": \"1367068060819238912\",\n        \"balances\": []\n    },\n    {\n        \"accountLabel\": \"Account I\",\n        \"accountPublicId\": \"1326908343235948544\",\n        \"balances\": [\n            {\n                \"currencySymbol\": \"USDT\",\n                \"amount\": \"0\",\n                \"earnType\": \"Lend\",\n                \"lastUpdated\": \"2025-06-12T09:18:25.338Z\"\n            }\n        ]\n    },\n    {\n        \"accountLabel\": \"Account J\",\n        \"accountPublicId\": \"1306231494450782208\",\n        \"balances\": [\n            {\n                \"currencySymbol\": \"USDT\",\n                \"amount\": \"10\",\n                \"earnType\": \"Lend\",\n                \"lastUpdated\": \"2025-10-23T08:27:09.265Z\"\n            }\n        ]\n    }\n]"}],"_postman_id":"2aa37167-3fe4-41f7-8049-f1bccfaf8454"},{"name":"DeFi Rewards","id":"f59a544d-e09c-4e15-ab8b-daf50387880f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"url":"https://api.valr.com/v1/staking/rewards?currencySymbol=ETH&earnType=LEND&skip=0&limit=100","description":"<p>Returns the latest reward items, up to a maximum of 100.</p>\n","urlObject":{"path":["v1","staking","rewards"],"host":["https://api.valr.com"],"query":[{"description":{"content":"<p>Fetch the rewards for this currency.</p>\n","type":"text/plain"},"key":"currencySymbol","value":"ETH"},{"description":{"content":"<p>Set to \"LEND\" to use DeFi-Lending.</p>\n","type":"text/plain"},"key":"earnType","value":"LEND"},{"description":{"content":"<p>Skip this number of results. (Default 0)</p>\n","type":"text/plain"},"key":"skip","value":"0"},{"description":{"content":"<p>Limit the results to this number. (Default and Max 100)</p>\n","type":"text/plain"},"key":"limit","value":"100"}],"variable":[]}},"response":[{"id":"247bf13a-4c04-42c6-8b03-a1e16019fe08","name":"DeFi Rewards","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/staking/rewards?currencySymbol=ETH&earnType=LEND&skip=0&limit=100","host":["https://api.valr.com"],"path":["v1","staking","rewards"],"query":[{"key":"currencySymbol","value":"ETH","description":"Fetch the rewards for this currency."},{"key":"earnType","value":"LEND","description":"Set to \"LEND\" to use DeFi-Lending."},{"key":"skip","value":"0","description":"Skip this number of results. (Default 0)"},{"key":"limit","value":"100","description":"Limit the results to this number. (Default and Max 100)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"21"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 23 Oct 2025 09:24:33 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"period\": \"2025-08-14T09:00:00Z\",\n        \"rewardAmount\": \"0.0000119929810831\",\n        \"rate\": \"0.000001712329\",\n        \"ratePerYear\": \"1.5\",\n        \"currencySymbol\": \"ETH\",\n        \"earnType\": \"Lend\"\n    },\n    {\n        \"period\": \"2025-08-14T08:00:00Z\",\n        \"rewardAmount\": \"0.0000119929810831\",\n        \"rate\": \"0.000001712329\",\n        \"ratePerYear\": \"1.5\",\n        \"currencySymbol\": \"ETH\",\n        \"earnType\": \"Lend\"\n    },\n    {\n        \"period\": \"2025-08-14T07:00:00Z\",\n        \"rewardAmount\": \"0.0000119929810831\",\n        \"rate\": \"0.000001712329\",\n        \"ratePerYear\": \"1.5\",\n        \"currencySymbol\": \"ETH\",\n        \"earnType\": \"Lend\"\n    },\n    {\n        \"period\": \"2025-08-14T06:00:00Z\",\n        \"rewardAmount\": \"0.0000119929810831\",\n        \"rate\": \"0.000001712329\",\n        \"ratePerYear\": \"1.5\",\n        \"currencySymbol\": \"ETH\",\n        \"earnType\": \"Lend\"\n    },\n    {\n        \"period\": \"2025-08-14T05:00:00Z\",\n        \"rewardAmount\": \"0.0000119929810831\",\n        \"rate\": \"0.000001712329\",\n        \"ratePerYear\": \"1.5\",\n        \"currencySymbol\": \"ETH\",\n        \"earnType\": \"Lend\"\n    },\n    {\n        \"period\": \"2025-08-14T04:00:00Z\",\n        \"rewardAmount\": \"0.0000119929810831\",\n        \"rate\": \"0.000001712329\",\n        \"ratePerYear\": \"1.5\",\n        \"currencySymbol\": \"ETH\",\n        \"earnType\": \"Lend\"\n    },\n    {\n        \"period\": \"2025-08-14T03:00:00Z\",\n        \"rewardAmount\": \"0.0000119929810831\",\n        \"rate\": \"0.000001712329\",\n        \"ratePerYear\": \"1.5\",\n        \"currencySymbol\": \"ETH\",\n        \"earnType\": \"Lend\"\n    },\n    {\n        \"period\": \"2025-08-14T02:00:00Z\",\n        \"rewardAmount\": \"0.0000119929810831\",\n        \"rate\": \"0.000001712329\",\n        \"ratePerYear\": \"1.5\",\n        \"currencySymbol\": \"ETH\",\n        \"earnType\": \"Lend\"\n    },\n    {\n        \"period\": \"2025-08-14T01:00:00Z\",\n        \"rewardAmount\": \"0.0000119929810831\",\n        \"rate\": \"0.000001712329\",\n        \"ratePerYear\": \"1.5\",\n        \"currencySymbol\": \"ETH\",\n        \"earnType\": \"Lend\"\n    },\n    {\n        \"period\": \"2025-08-14T00:00:00Z\",\n        \"rewardAmount\": \"0.0000119929810831\",\n        \"rate\": \"0.000001712329\",\n        \"ratePerYear\": \"1.5\",\n        \"currencySymbol\": \"ETH\",\n        \"earnType\": \"Lend\"\n    },\n    {\n        \"period\": \"2025-08-13T23:00:00Z\",\n        \"rewardAmount\": \"0.0000119929810831\",\n        \"rate\": \"0.000001712329\",\n        \"ratePerYear\": \"1.5\",\n        \"currencySymbol\": \"ETH\",\n        \"earnType\": \"Lend\"\n    },\n    {\n        \"period\": \"2025-08-13T22:00:00Z\",\n        \"rewardAmount\": \"0.0000119929810831\",\n        \"rate\": \"0.000001712329\",\n        \"ratePerYear\": \"1.5\",\n        \"currencySymbol\": \"ETH\",\n        \"earnType\": \"Lend\"\n    },\n    {\n        \"period\": \"2025-08-13T21:00:00Z\",\n        \"rewardAmount\": \"0.0000119929810831\",\n        \"rate\": \"0.000001712329\",\n        \"ratePerYear\": \"1.5\",\n        \"currencySymbol\": \"ETH\",\n        \"earnType\": \"Lend\"\n    },\n    {\n        \"period\": \"2025-08-13T20:00:00Z\",\n        \"rewardAmount\": \"0.0000119929810831\",\n        \"rate\": \"0.000001712329\",\n        \"ratePerYear\": \"1.5\",\n        \"currencySymbol\": \"ETH\",\n        \"earnType\": \"Lend\"\n    },\n    {\n        \"period\": \"2025-08-13T19:00:00Z\",\n        \"rewardAmount\": \"0.0000119929810831\",\n        \"rate\": \"0.000001712329\",\n        \"ratePerYear\": \"1.5\",\n        \"currencySymbol\": \"ETH\",\n        \"earnType\": \"Lend\"\n    },\n    {\n        \"period\": \"2025-08-13T18:00:00Z\",\n        \"rewardAmount\": \"0.0000119929810831\",\n        \"rate\": \"0.000001712329\",\n        \"ratePerYear\": \"1.5\",\n        \"currencySymbol\": \"ETH\",\n        \"earnType\": \"Lend\"\n    },\n    {\n        \"period\": \"2025-08-13T17:00:00Z\",\n        \"rewardAmount\": \"0.0000119929810831\",\n        \"rate\": \"0.000001712329\",\n        \"ratePerYear\": \"1.5\",\n        \"currencySymbol\": \"ETH\",\n        \"earnType\": \"Lend\"\n    },\n    {\n        \"period\": \"2025-08-13T16:00:00Z\",\n        \"rewardAmount\": \"0.0000119929810831\",\n        \"rate\": \"0.000001712329\",\n        \"ratePerYear\": \"1.5\",\n        \"currencySymbol\": \"ETH\",\n        \"earnType\": \"Lend\"\n    },\n    {\n        \"period\": \"2025-08-13T15:00:00Z\",\n        \"rewardAmount\": \"0.0000119929810831\",\n        \"rate\": \"0.000001712329\",\n        \"ratePerYear\": \"1.5\",\n        \"currencySymbol\": \"ETH\",\n        \"earnType\": \"Lend\"\n    },\n    {\n        \"period\": \"2025-08-13T14:00:00Z\",\n        \"rewardAmount\": \"0.0000119929810831\",\n        \"rate\": \"0.000001712329\",\n        \"ratePerYear\": \"1.5\",\n        \"currencySymbol\": \"ETH\",\n        \"earnType\": \"Lend\"\n    },\n    {\n        \"period\": \"2025-08-13T13:00:00Z\",\n        \"rewardAmount\": \"0.0000119929810831\",\n        \"rate\": \"0.000001712329\",\n        \"ratePerYear\": \"1.5\",\n        \"currencySymbol\": \"ETH\",\n        \"earnType\": \"Lend\"\n    }\n]"}],"_postman_id":"f59a544d-e09c-4e15-ab8b-daf50387880f"},{"name":"DeFi History","id":"f029a648-07e9-4852-8553-4c2e178e0058","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"url":"https://api.valr.com/v1/staking/history?currencySymbol=USDT&earnType=LEND&skip=0&limit=100","description":"<p>Returns the latest history events, including locking and unlocking, up to a maximum of 100 entries.</p>\n","urlObject":{"path":["v1","staking","history"],"host":["https://api.valr.com"],"query":[{"description":{"content":"<p>Fetch the latest history for this currency.</p>\n","type":"text/plain"},"key":"currencySymbol","value":"USDT"},{"description":{"content":"<p>Set to \"LEND\" to use DeFi-Lending.</p>\n","type":"text/plain"},"key":"earnType","value":"LEND"},{"description":{"content":"<p>Skip this number of results. (Default 0)</p>\n","type":"text/plain"},"key":"skip","value":"0"},{"description":{"content":"<p>Limit the results to this number. (Default and Max 100)</p>\n","type":"text/plain"},"key":"limit","value":"100"}],"variable":[]}},"response":[{"id":"f1fe94a2-735e-4f5a-878b-edad64578bc2","name":"DeFi History","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/staking/history?currencySymbol=USDT&earnType=LEND&skip=0&limit=100","host":["https://api.valr.com"],"path":["v1","staking","history"],"query":[{"key":"currencySymbol","value":"USDT","description":"Fetch the latest history for this currency."},{"key":"earnType","value":"LEND","description":"Set to \"LEND\" to use DeFi-Lending."},{"key":"skip","value":"0","description":"Skip this number of results. (Default 0)"},{"key":"limit","value":"100","description":"Limit the results to this number. (Default and Max 100)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"12"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 23 Oct 2025 09:31:56 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"type\": \"UNSTAKE\",\n        \"currencySymbol\": \"USDT\",\n        \"amount\": \"10\",\n        \"earnType\": \"Lend\",\n        \"completedAt\": \"2025-10-23T08:27:09.272242Z\"\n    },\n    {\n        \"type\": \"STAKE\",\n        \"currencySymbol\": \"USDT\",\n        \"amount\": \"10\",\n        \"earnType\": \"Lend\",\n        \"completedAt\": \"2025-10-23T08:25:35.740674Z\"\n    },\n    {\n        \"type\": \"STAKE\",\n        \"currencySymbol\": \"USDT\",\n        \"amount\": \"10\",\n        \"earnType\": \"Lend\",\n        \"completedAt\": \"2025-08-13T11:21:14.893037Z\"\n    },\n    {\n        \"type\": \"UNSTAKE\",\n        \"currencySymbol\": \"USDT\",\n        \"amount\": \"11\",\n        \"earnType\": \"Lend\",\n        \"completedAt\": \"2025-08-13T11:21:08.027604Z\"\n    },\n    {\n        \"type\": \"STAKE\",\n        \"currencySymbol\": \"USDT\",\n        \"amount\": \"11\",\n        \"earnType\": \"Lend\",\n        \"completedAt\": \"2025-08-13T11:18:10.199343Z\"\n    }\n]"}],"_postman_id":"f029a648-07e9-4852-8553-4c2e178e0058"}],"id":"2b8c7fa6-8502-4fcb-b906-2db7f8023f84","description":"<p>Make use of our DeFi-Lending API to supply liquidity, borrow assets, and manage your decentralized lending positions programmatically.</p>\n<p>These APIs are protected and will require authentication. See the section on Authentication above to learn how to authenticate your API calls. Managing DeFi lending activities require the Trade API key permission.</p>\n<h3 id=\"locking\">Locking</h3>\n<p>Using the <code>POST Lock Amount</code> endpoint allows a user to lend a specified amount of currency to earn yield. The locked amount is deducted from the user’s available balance (not reserved) and moved into the DeFi-Lending section.</p>\n<h3 id=\"unlocking\">Unlocking</h3>\n<p>Using the <code>POST Unlock Amount</code> endpoint allows a user to reclaim previously loaned funds, either partially or in full. Once unlocked, the amount is added back to the user’s available balance. Unlocking is typically immediate but may be delayed in rare cases.</p>\n<h3 id=\"balances\">Balances</h3>\n<p>The <code>GET DeFi Balances</code> endpoint returns the user’s currently lent out balances. This represents the amounts still locked in lending and eligible for unlocking. It does not provide a transaction history.</p>\n<hr />\n<h2 id=\"for-more-information-see-the-support-article\">For more information see the support article:</h2>\n<p><a href=\"https://support.valr.com/hc/en-us/articles/17522559838236-DeFi-Lending-on-VALR\">DeFi Lending on VALR</a></p>\n","_postman_id":"2b8c7fa6-8502-4fcb-b906-2db7f8023f84"},{"name":"Lending","item":[{"name":"Lending Rates","id":"f32d3008-f7cb-463a-a16c-2a8d8973fed1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"url":"https://api.valr.com/v1/loans/rates","description":"<p>Returns the history of interest entries:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>currency</td>\n<td>Fetch the loan rate information for the currency.</td>\n</tr>\n<tr>\n<td>previousFundingRate</td>\n<td>Interest rate applied during the most recent interest auction.</td>\n</tr>\n<tr>\n<td>estimatedNextRate</td>\n<td>Estimated interest rate for the next funding period.</td>\n</tr>\n<tr>\n<td>estimatedNextBorrowRate</td>\n<td>Estimated interest rate that will be charged to borrowers in the next funding round.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Interest Auction</strong></p>\n<p>At the start of every hour, our interest engine calculates the total borrow demand for each coin across all users. It then runs an auction by sorting lending offers by minimum rate and selecting the marginal rate that satisfies the total borrowing demand. All lenders receive the same lending rate, which is the highest rate among the loan offers utilised to meet the full borrow demand.</p>\n","urlObject":{"path":["v1","loans","rates"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"f80b6eb8-6899-478e-adcf-583c191c80e6","name":"Previous and Next Rates","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":"https://api.valr.com/v1/loans/rates"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Fri, 08 Mar 2024 06:47:24 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"96"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"n/a"},{"key":"Via","value":"1.1 google"},{"key":"Cache-Control","value":"max-age=60,public"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"currency\": \"ZAR\",\n        \"previousFundingRate\": 0.00001256,\n        \"estimatedNextRate\": 0.00001427,\n        \"estimatedNextBorrowRate\": \"0.000017124\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"previousFundingRate\": 0.00000571,\n        \"estimatedNextRate\": 0.00000685,\n        \"estimatedNextBorrowRate\": \"0.00000822\"\n    },\n    {\n        \"currency\": \"ETH\",\n        \"previousFundingRate\": 0.00000761,\n        \"estimatedNextRate\": 0.00000761,\n        \"estimatedNextBorrowRate\": \"0.000009132\"\n    },\n    {\n        \"currency\": \"USDT\",\n        \"previousFundingRate\": 0.00001027,\n        \"estimatedNextRate\": 0.00001027,\n        \"estimatedNextBorrowRate\": \"0.000012324\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"previousFundingRate\": 0.00000571,\n        \"estimatedNextRate\": 0.00000571,\n        \"estimatedNextBorrowRate\": \"0.000006852\"\n    }\n]"}],"_postman_id":"f32d3008-f7cb-463a-a16c-2a8d8973fed1"},{"name":"Lending Rates History","id":"052442bb-21ca-4b44-a40e-1aa4ef36cee9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"url":"https://api.valr.com/v1/loans/rates/history?currencySymbol=ZAR","description":"<p>Returns rate history and loan book utilisation from previous auctions:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>currencySymbol</td>\n<td>Fetch the loan history for the currency.</td>\n</tr>\n<tr>\n<td>lendingRate</td>\n<td>Hourly rate earned by lenders.</td>\n</tr>\n<tr>\n<td>createdAt</td>\n<td>Date and time the hourly rate data was logged (UTC).</td>\n</tr>\n<tr>\n<td>utilisation</td>\n<td>Percentage of loan book capacity that is utilised by borrowers.</td>\n</tr>\n<tr>\n<td>borrowerRate</td>\n<td>Hourly rate charged to borrowers.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","loans","rates","history"],"host":["https://api.valr.com"],"query":[{"description":{"content":"<p>Fetch the loan history for the currency.</p>\n","type":"text/plain"},"key":"currencySymbol","value":"ZAR"},{"disabled":true,"description":{"content":"<p>(Optional) - Include only transactions after this ISO 8601 start time. Date range should not exceed 31 days. Defaults to 31 days.</p>\n","type":"text/plain"},"key":"startTime","value":"2025-05-01T01:02:23.000Z"},{"disabled":true,"description":{"content":"<p>(Optional) - Include only transactions before this ISO 8601 end time. Date range should not exceed 31 days. Defaults to 31 days.</p>\n","type":"text/plain"},"key":"endTime","value":"2025-05-06T21:59:59.999Z"},{"disabled":true,"description":{"content":"<p>Skip this number of results. (Default 0)</p>\n","type":"text/plain"},"key":"skip","value":"0"},{"disabled":true,"description":{"content":"<p>Limit the results to this number. (Default and Max 100)</p>\n","type":"text/plain"},"key":"limit","value":"10"}],"variable":[]}},"response":[{"id":"9d05f80b-3000-431a-8604-0a34aeacd237","name":"Lending Rates History","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/loans/rates/history?currencySymbol=ZAR","host":["https://api.valr.com"],"path":["v1","loans","rates","history"],"query":[{"key":"currencySymbol","value":"ZAR","description":"Fetch the loan history for the currency."},{"key":"startTime","value":"2025-05-01T01:02:23.000Z","description":"(Optional) - Include only transactions after this ISO 8601 start time. Date range should not exceed 31 days. Defaults to 31 days.","disabled":true},{"key":"endTime","value":"2025-05-06T21:59:59.999Z","description":"(Optional) - Include only transactions before this ISO 8601 end time. Date range should not exceed 31 days. Defaults to 31 days.","disabled":true},{"key":"skip","value":"0","description":"Skip this number of results. (Default 0)","disabled":true},{"key":"limit","value":"10","description":"Limit the results to this number. (Default and Max 100)","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Fri, 09 May 2025 10:51:56 GMT"},{"key":"cache-control","value":"max-age=60,public"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"4"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"currency\": \"ZAR\",\n        \"lendingRate\": \"0.0000114\",\n        \"createdAt\": 1746784800002,\n        \"utilization\": \"6.7\",\n        \"borrowerRate\": \"0.00001368\"\n    },\n    {\n        \"currency\": \"ZAR\",\n        \"lendingRate\": \"0.0000114\",\n        \"createdAt\": 1746781200001,\n        \"utilization\": \"6.7\",\n        \"borrowerRate\": \"0.00001368\"\n    },\n    {\n        \"currency\": \"ZAR\",\n        \"lendingRate\": \"0.0000114\",\n        \"createdAt\": 1746777600001,\n        \"utilization\": \"6.9\",\n        \"borrowerRate\": \"0.00001368\"\n    },\n    {\n        \"currency\": \"ZAR\",\n        \"lendingRate\": \"0.0000114\",\n        \"createdAt\": 1746774000001,\n        \"utilization\": \"6.9\",\n        \"borrowerRate\": \"0.00001368\"\n    },\n    {\n        \"currency\": \"ZAR\",\n        \"lendingRate\": \"0.0000114\",\n        \"createdAt\": 1746770400001,\n        \"utilization\": \"6.9\",\n        \"borrowerRate\": \"0.00001368\"\n    }\n]"},{"id":"fcb25d7b-869f-4cce-80e7-86c61f5785ff","name":"currencySymbol not specified","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/loans/rates/history","host":["https://api.valr.com"],"path":["v1","loans","rates","history"],"query":[{"key":"currencySymbol","value":"ZAR","description":"The symbol of the currency whose loan history you want to view.","disabled":true},{"key":"startTime","value":"2025-05-01T01:02:23.000Z","description":"(Optional) - Include only transactions after this ISO 8601 start time. Date range should not exceed 31 days. Defaults to 31 days.","disabled":true},{"key":"endTime","value":"2025-05-06T21:59:59.999Z","description":"(Optional) - Include only transactions before this ISO 8601 end time. Date range should not exceed 31 days. Defaults to 31 days.","disabled":true},{"key":"skip","value":"0","description":"Skip this number of results. (Default 0)","disabled":true},{"key":"limit","value":"10","description":"Limit the results to this number. (Default and Max 100)","disabled":true}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Fri, 09 May 2025 10:52:23 GMT"},{"key":"cache-control","value":"no-cache"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"1"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": -11,\n    \"message\": \"Invalid Request, please check your request and try again\",\n    \"validationErrors\": {\n        \"errors\": [\n            {\n                \"field\": \"currencySymbol\",\n                \"message\": \"currencySymbol must be specified\"\n            }\n        ]\n    }\n}"}],"_postman_id":"052442bb-21ca-4b44-a40e-1aa4ef36cee9"},{"name":"New Loan","id":"100e3d1e-9990-4933-83d8-84c085bcb956","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"currencySymbol\": \"USDC\",\n    \"hourlyRate\": \"0.00001255\",\n    \"amount\": \"100\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/loans","description":"<p>Create a new loan offer for an account:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>currencySymbol</td>\n<td>Provide the symbol of the currency to be loaned.</td>\n</tr>\n<tr>\n<td>hourlyRate</td>\n<td>This rate is a percentage (e.g., 0.00004%). Minimum and maximum values may change and can vary between currencies.</td>\n</tr>\n<tr>\n<td>amount</td>\n<td>The amount to be loaned.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Loan offers are prioritised from the lowest to highest interest rate, with FIFO applied for offers at the same rate.</p>\n<p>If your loan offer is utilised, you will earn the prevailing hourly rate, which is the higher of your specified hourlyRate and the marginal highest hourlyRate determined by the loan auction each hour.</p>\n","urlObject":{"path":["v1","loans"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"c786b4b0-7c25-4107-8794-2af13c902a69","name":"New Loan","originalRequest":{"method":"POST","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    \"currencySymbol\": \"USDC\",\n    \"hourlyRate\": \"0.00001255\",\n    \"amount\": \"100\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/loans"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Fri, 27 Sep 2024 02:47:34 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"20"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"1289055810346737664\"\n}"}],"_postman_id":"100e3d1e-9990-4933-83d8-84c085bcb956"},{"name":"Adjust Loan Amount","id":"9f52aa95-955a-4d80-954d-60476b46109b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"currencySymbol\": \"USDC\",\n    \"increaseLoanAmountBy\": \"20\",\n    \"loanId\": \"1289055810346737664\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/loans/increase","description":"<p>Amends a specific loan offer by increasing the amount:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>currencySymbol</td>\n<td>Provide the symbol of the currency to be loaned.</td>\n</tr>\n<tr>\n<td>increaseLoanAmountBy</td>\n<td>Amount to increase the loan offer by.</td>\n</tr>\n<tr>\n<td>loanId</td>\n<td>Unique ID of the loan.</td>\n</tr>\n</tbody>\n</table>\n</div><p>This endpoint requires specifying the additional amount to be offered. Note that the <code>increaseLoanAmountBy</code> field does not represent the total amount to which a user wishes to increase the loan.</p>\n<p>The decimal places in <code>increaseLoanAmountBy</code> are limited to the <code>withdrawalDecimalPlaces</code> of the offered currency, up to a maximum of four.</p>\n","urlObject":{"path":["v1","loans","increase"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"7e77c4e5-a67b-4d4d-b74b-a5a791635be2","name":"Increase Loan Amount","originalRequest":{"method":"PUT","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    \"currencySymbol\": \"USDC\",\n    \"increaseLoanAmountBy\": \"20\",\n    \"loanId\": \"1289055810346737664\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/loans/increase"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Fri, 27 Sep 2024 02:49:39 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"14"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"9f52aa95-955a-4d80-954d-60476b46109b"},{"name":"Edit Loan Rate","id":"27a1a97c-29f1-48d0-92d5-462c8aba6005","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"currencySymbol\": \"USDC\",\n    \"hourlyRate\": \"0.0000126\",\n    \"loanId\": \"1289055810346737664\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/loans/rate","description":"<p>Updates a loan by modifying its minimum interest rate:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>currencySymbol</td>\n<td>Required currency symbol for updating the loan rate.</td>\n</tr>\n<tr>\n<td>hourlyRate</td>\n<td>This rate is a percentage (e.g., 0.00004%). Minimum and maximum values may change and can vary between currencies.</td>\n</tr>\n<tr>\n<td>loanId</td>\n<td>Unique ID of the loan.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","loans","rate"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"659ce116-2d7a-4105-b47e-768779b1a31f","name":"Edit Loan Rate","originalRequest":{"method":"PUT","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    \"currencySymbol\": \"USDC\",\n    \"hourlyRate\": \"0.0000126\",\n    \"loanId\": \"1289055810346737664\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/loans/rate"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Fri, 27 Sep 2024 02:51:01 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"12"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"27a1a97c-29f1-48d0-92d5-462c8aba6005"},{"name":"Request Loan Unlock","id":"41bdd85c-7463-437b-a68b-f278f950cc33","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"currencySymbol\": \"USDC\",\n    \"unlockAmount\": \"50\",\n    \"loanId\": \"1289055810346737664\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/loans/unlock","description":"<p>Removes a loan offer or reduces its amount: </p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>currencySymbol</td>\n<td>Provide the symbol of the currency to be unlocked.</td>\n</tr>\n<tr>\n<td>unlockAmount</td>\n<td>The amount to be unlocked.</td>\n</tr>\n<tr>\n<td>loanId</td>\n<td>Unique ID of the loan.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Loan offer unlocking may take at least one hour, depending on current fund usage and availability to replace the requested offer.</p>\n","urlObject":{"path":["v1","loans","unlock"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"fc833e5c-39b7-4c39-b716-bfd83de222e6","name":"Request Loan Unlock","originalRequest":{"method":"PUT","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    \"currencySymbol\": \"USDC\",\n    \"unlockAmount\": \"50\",\n    \"loanId\": \"1289055810346737664\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/loans/unlock"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Fri, 27 Sep 2024 02:51:49 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"28"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"41bdd85c-7463-437b-a68b-f278f950cc33"},{"name":"Remove Unlock Request","id":"05c319b4-72b1-44e4-90dd-fa0adfa38637","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"currencySymbol\": \"USDC\",\n    \"loanId\": \"1289055810346737664\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/loans/unlock","description":"<p>Cancels a pending unlock request for a loan:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>currencySymbol</td>\n<td>Currency symbol of the unlock request to cancel.</td>\n</tr>\n<tr>\n<td>loanId</td>\n<td>Unique ID of the loan.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","loans","unlock"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"a701e0eb-8100-40f7-aaf0-99b896c6d3ac","name":"Remove Unlock Request (Bad Request)","originalRequest":{"method":"DELETE","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    \"currencySymbol\": \"USDC\",\n    \"loanId\": \"1289055810346737664\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/loans/unlock"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Fri, 27 Sep 2024 02:52:17 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"8"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": -19236,\n    \"message\": \"Cancel Loan unlock request not processed, no existing unlock requested\"\n}"}],"_postman_id":"05c319b4-72b1-44e4-90dd-fa0adfa38637"},{"name":"Open Loans","id":"a017a93e-ebab-485b-861b-9a0254b4cc78","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"url":"https://api.valr.com/v1/loans/open","description":"<p>Retrieves all loans offered by the account:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>loanId</td>\n<td>Unique ID of the loan.</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>Fetch the open loans for the currency.</td>\n</tr>\n<tr>\n<td>totalAmount</td>\n<td>Total amount currently placed as loans.</td>\n</tr>\n<tr>\n<td>usedAmount</td>\n<td>Funds in use by borrowers, accruing interest hourly.</td>\n</tr>\n<tr>\n<td>hourlyRate</td>\n<td>Hourly rate set at loan creation or last modification, expressed as a percentage.</td>\n</tr>\n<tr>\n<td>createdAt</td>\n<td>Date and time the hourly rate data was logged (UTC).</td>\n</tr>\n<tr>\n<td>updatedAt</td>\n<td>Date and time of the loan offer’s latest update (UTC).</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","loans","open"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"89baf8e2-d61d-4c18-878c-0bf94e273da5","name":"Open Loans","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":"https://api.valr.com/v1/loans/open"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Fri, 27 Sep 2024 02:48:48 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"11"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"loanId\": \"1289055810346737664\",\n        \"currency\": \"USDC\",\n        \"totalAmount\": \"100\",\n        \"usedAmount\": \"0\",\n        \"hourlyRate\": \"0.00001255\",\n        \"createdAt\": \"2024-09-27T02:47:34.671Z\",\n        \"updatedAt\": \"2024-09-27T02:47:34.671Z\"\n    }\n]"}],"_postman_id":"a017a93e-ebab-485b-861b-9a0254b4cc78"},{"name":"Interest Earned","id":"f4078c47-50e2-4ea2-bf07-9e91c4fec9db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"url":"https://api.valr.com/v1/loans/credit-history?currencySymbol=USDC","description":"<p>Returns history of interest entries:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>currency</td>\n<td>Fetch interest entries for the currency.</td>\n</tr>\n<tr>\n<td>interestAmount</td>\n<td>Interest credited from the interest auction.</td>\n</tr>\n<tr>\n<td>quantity</td>\n<td>Amount of the loan offer utilised.</td>\n</tr>\n<tr>\n<td>createdAt</td>\n<td>Date and time of interest auction (in UTC).</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","loans","credit-history"],"host":["https://api.valr.com"],"query":[{"description":{"content":"<p>Fetch interest entries for the currency.</p>\n","type":"text/plain"},"key":"currencySymbol","value":"USDC"},{"disabled":true,"description":{"content":"<p>Skip this number of results. (Default 0)</p>\n","type":"text/plain"},"key":"skip","value":"0"},{"disabled":true,"description":{"content":"<p>Limit the results to this number. (Default and Max 100)</p>\n","type":"text/plain"},"key":"limit","value":"100"},{"disabled":true,"description":{"content":"<p>(Optional) - Include only transactions after this ISO 8601 start time. Date range should not exceed 31 days. Defaults to 31 days.</p>\n","type":"text/plain"},"key":"startTime","value":"2024-09-20T01:02:23.000Z"},{"disabled":true,"description":{"content":"<p>(Optional) - Include only transactions before this ISO 8601 end time. Date range should not exceed 31 days. Defaults to 31 days.</p>\n","type":"text/plain"},"key":"endTime","value":"2024-10-01T21:59:59.999Z"}],"variable":[]}},"response":[{"id":"399ef634-354e-413b-81e6-f1ec55b6faf3","name":"Interest Earned","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/loans/credit-history?currencySymbol=USDC","host":["https://api.valr.com"],"path":["v1","loans","credit-history"],"query":[{"key":"currencySymbol","value":"USDC","description":"Fetch interest entries for the currency."},{"key":"skip","value":"0","description":"Skip this number of results. (Default 0)","disabled":true},{"key":"limit","value":"100","description":"Limit the results to this number. (Default and Max 100)","disabled":true},{"key":"startTime","value":"2024-09-20T01:02:23.000Z","description":"Include only transactions after this ISO 8601 start time","disabled":true},{"key":"endTime","value":"2024-10-01T21:59:59.999Z","description":"Include only transactions before this ISO 8601 end time","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Wed, 16 Oct 2024 11:55:56 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"21"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00004567\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-14T14:00:00.322193Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-09T13:00:00.322054Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-09T12:00:00.324052Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-09T11:00:00.322889Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-09T10:00:00.321991Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-09T09:00:00.321771Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-09T08:00:00.322223Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-09T07:00:00.321873Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-09T06:00:00.321909Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-09T05:00:00.321887Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-09T04:00:00.321789Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-09T03:00:00.321734Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-09T02:00:00.322063Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-09T01:00:00.321779Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-09T00:00:00.321956Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-08T23:00:00.321784Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-08T22:00:00.322585Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-08T21:00:00.321824Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-08T20:00:00.322027Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-08T19:00:00.321799Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-08T18:00:00.321844Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-08T17:00:00.321762Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-08T16:00:00.322220Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-08T15:00:00.322051Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-08T14:00:00.322015Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-08T13:00:00.321854Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-08T12:00:00.322105Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-08T11:00:00.322048Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-08T10:00:00.321876Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-08T09:00:00.322071Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-08T08:00:00.323504Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-08T07:00:00.321900Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-08T06:00:00.322685Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-08T05:00:00.323035Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-08T04:00:00.321759Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-08T03:00:00.321788Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-08T02:00:00.321824Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-08T01:00:00.321683Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-08T00:00:00.321780Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-07T23:00:00.321713Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-07T22:00:00.321785Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-07T21:00:00.321636Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-07T20:00:00.322045Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-07T19:00:00.322037Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-07T18:00:00.321951Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-07T17:00:00.322135Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-07T16:00:00.321760Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-07T15:00:00.324037Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-07T14:00:00.322061Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-07T13:00:00.321757Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-07T12:00:00.325485Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-07T11:00:00.321835Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-07T10:00:00.321771Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-07T09:00:00.321839Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-07T08:00:00.321778Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-07T07:00:00.321737Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-07T06:00:00.327626Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-07T05:00:00.321837Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-07T04:00:00.322253Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-07T03:00:00.323806Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-07T02:00:00.321904Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-07T01:00:00.321668Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-07T00:00:00.322547Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-06T23:00:00.321745Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-06T22:00:00.321687Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-06T21:00:00.322453Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-06T20:00:00.322046Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-06T19:00:00.321709Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-06T18:00:00.321775Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-06T17:00:00.321756Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-06T16:00:00.322897Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-06T15:00:00.322228Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-06T14:00:00.321858Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-06T13:00:00.321779Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-06T12:00:00.322266Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-06T11:00:00.321889Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-06T10:00:00.322309Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-06T09:00:00.321778Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-06T08:00:00.321693Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-06T07:00:00.321674Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-06T06:00:00.321729Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-06T05:00:00.321696Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-06T04:00:00.321924Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-06T03:00:00.321688Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-06T02:00:00.321800Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-06T01:00:00.322003Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-06T00:00:00.321990Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-05T23:00:00.321697Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-05T22:00:00.322234Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-05T21:00:00.322910Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-05T20:00:00.321714Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-05T19:00:00.321961Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-05T18:00:00.322049Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-05T17:00:00.322112Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-05T16:00:00.321793Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-05T15:00:00.321764Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-05T14:00:00.321940Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-05T13:00:00.321674Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-05T12:00:00.321721Z\"\n    },\n    {\n        \"currency\": \"USDC\",\n        \"interestAmount\": \"0.00001142\",\n        \"quantity\": \"10\",\n        \"createdAt\": \"2024-10-05T11:00:00.321803Z\"\n    }\n]"}],"_postman_id":"f4078c47-50e2-4ea2-bf07-9e91c4fec9db"},{"name":"Loan Update History","id":"70f2ca80-660c-47fd-9be5-35022da2d495","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"url":"https://api.valr.com/v1/loans/update-history?currencySymbol=USDC","description":"<p>Returns historical updates to loan offers, including creations and changes to rates or amounts.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>currency</td>\n<td>Fetch the historical updates for the currency.</td>\n</tr>\n<tr>\n<td>interestAmount</td>\n<td>Interest debited from the interest auction.</td>\n</tr>\n<tr>\n<td>quantity</td>\n<td>Amount borrowed.</td>\n</tr>\n<tr>\n<td>createdAt</td>\n<td>Date and time of interest auction (in UTC).</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","loans","update-history"],"host":["https://api.valr.com"],"query":[{"description":{"content":"<p>Fetch the historical updates for the currency.</p>\n","type":"text/plain"},"key":"currencySymbol","value":"USDC"},{"disabled":true,"description":{"content":"<p>Skip this number of results. (Default 0)</p>\n","type":"text/plain"},"key":"skip","value":"0"},{"disabled":true,"description":{"content":"<p>Limit the results to this number. (Default and Max 100)</p>\n","type":"text/plain"},"key":"limit","value":"100"},{"disabled":true,"description":{"content":"<p>(Optional) - Include only transactions after this ISO 8601 start time. Date range should not exceed 31 days. Defaults to 31 days.</p>\n","type":"text/plain"},"key":"startTime","value":"2024-09-27T01:02:23.000Z"},{"disabled":true,"description":{"content":"<p>(Optional) - Include only transactions before this ISO 8601 end time. Date range should not exceed 31 days. Defaults to 31 days.</p>\n","type":"text/plain"},"key":"endTime","value":"2024-10-08T00:00:00.000Z"}],"variable":[]}},"response":[{"id":"dbb0b40e-84f2-4b85-b1dd-a9e08803e224","name":"Loan Update History","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/loans/update-history?currencySymbol=USDC","host":["https://api.valr.com"],"path":["v1","loans","update-history"],"query":[{"key":"currencySymbol","value":"USDC","description":"Fetch the historical updates for the currency."},{"key":"skip","value":"0","description":"Skip this number of results. (Default 0)","disabled":true},{"key":"limit","value":"100","description":"Limit the results to this number. (Default and Max 100)","disabled":true},{"key":"startTime","value":"2024-09-20T01:02:23.000Z","description":"Include only transactions after this ISO 8601 start time","disabled":true},{"key":"endTime","value":"2024-10-01T21:59:59.999Z","description":"Include only transactions before this ISO 8601 end time","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Mon, 30 Sep 2024 07:40:34 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"150"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"loanId\": \"1289055810346737664\",\n        \"currency\": \"USDC\",\n        \"totalAmount\": \"70\",\n        \"availableAmount\": \"70\",\n        \"usedAmount\": \"0\",\n        \"hourlyRate\": \"0.0000126\",\n        \"createdAt\": 1727405254671,\n        \"updatedAt\": 1727405509168,\n        \"loanHistoryUpdateType\": \"REDUCE\"\n    },\n    {\n        \"loanId\": \"1289055810346737664\",\n        \"currency\": \"USDC\",\n        \"totalAmount\": \"120\",\n        \"availableAmount\": \"120\",\n        \"usedAmount\": \"0\",\n        \"hourlyRate\": \"0.0000126\",\n        \"createdAt\": 1727405254671,\n        \"updatedAt\": 1727405379325,\n        \"loanHistoryUpdateType\": \"RATE_CHANGE\"\n    },\n    {\n        \"loanId\": \"1289055810346737664\",\n        \"currency\": \"USDC\",\n        \"totalAmount\": \"120\",\n        \"availableAmount\": \"120\",\n        \"usedAmount\": \"0\",\n        \"hourlyRate\": \"0.00001255\",\n        \"createdAt\": 1727405254671,\n        \"updatedAt\": 1727405379325,\n        \"loanHistoryUpdateType\": \"INCREASE\"\n    },\n    {\n        \"loanId\": \"1289055810346737664\",\n        \"currency\": \"USDC\",\n        \"totalAmount\": \"100\",\n        \"availableAmount\": \"100\",\n        \"usedAmount\": \"0\",\n        \"hourlyRate\": \"0.00001255\",\n        \"createdAt\": 1727405254671,\n        \"updatedAt\": 1727405254671,\n        \"loanHistoryUpdateType\": \"NEW\"\n    }\n]"}],"_postman_id":"70f2ca80-660c-47fd-9be5-35022da2d495"}],"id":"8795b188-acb7-4fec-95a4-089a3f4acf89","description":"<p>Make use of our Lending API to lend and manage your loans programmatically.</p>\n<p>These APIs are protected and will require authentication. See the section on Authentication above to learn how to authenticate your API calls. Managing your loans require the Trade API key permission.</p>\n<h3 id=\"locking-new-loan\">Locking (New Loan)</h3>\n<p>Using the <code>POST New Loan</code> endpoint allows a user to lend a specified amount of currency to earn yield. Available balances remain unchanged upon placement of a lending offer. Funds are deducted from the available balance and classified as reserved only when they are borrowed by another user.</p>\n<h3 id=\"unlocking\">Unlocking</h3>\n<p>Using the <code>PUT Request Loan Unlock</code> endpoint allows a user to reclaim previously loaned funds, either partially or in full. Once unlocked, the amount is moved back to the available balance section.<br />Unlocking is immediate only if the loaned amount has not been utilised by another user. If the loaned amount is in use, the unlock request will be processed at the next hourly auction cycle.</p>\n<h3 id=\"open-loans\">Open Loans</h3>\n<p>The <code>GET Open Loans</code> endpoint returns the user’s currently lent-out balances. This represents the amounts still locked in lending and eligible for unlocking. It does not provide a transaction history.</p>\n<hr />\n<h2 id=\"for-more-information-see-the-support-article\">For more information see the support article:</h2>\n<p><a href=\"https://support.valr.com/hc/en-us/articles/16069123811356-Introduction-to-Lending\">Introduction to Lending - VALR Support</a></p>\n","_postman_id":"8795b188-acb7-4fec-95a4-089a3f4acf89"}],"id":"5f3143b5-3a30-4a74-bf11-be3a2347579a","description":"<h3 id=\"earn-api\">Earn API</h3>\n<p>Make use of our <strong>Earn APIs</strong> to earn yield on VALR.</p>\n<p>VALR offers three ways to earn crypto/fiat: <strong>Staking</strong>, <strong>DeFi Lending</strong>, and <strong>Lending</strong>.</p>\n<p>Rewards are distributed hourly, and balances can be locked or unlocked at any time, provided there is sufficient liquidity to allow unlocking.</p>\n<p>These APIs are protected and will require authentication. See the section on <strong>Authentication</strong> above to learn how to authenticate your API calls. Managing Earn activities require the <strong>Trade API key permission</strong>.</p>\n","_postman_id":"5f3143b5-3a30-4a74-bf11-be3a2347579a"},{"name":"Margin","item":[{"name":"Account Margin Information V1","id":"6d3c8fcd-7e7f-42b0-bb49-3aca91e77f76","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"url":"https://api.valr.com/v1/margin/status","description":"<p>Returns the following margining information for an account:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>marginFraction</code></td>\n<td>The current margin fraction of the account. Account equity in reference (weighted) divided by account debt in reference.</td>\n</tr>\n<tr>\n<td><code>collateralisedMarginFraction</code></td>\n<td>The current margin fraction of the account excluding available assets and therefore taking into consideration collateralised assets only.</td>\n</tr>\n<tr>\n<td><code>initialMarginFraction</code></td>\n<td>The initial margin fraction required to place an order.</td>\n</tr>\n<tr>\n<td><code>collateralisedBalancesInReference</code></td>\n<td>The total value of assets reserved as collateral, converted to reference currency and weighted based on collateral weighting.</td>\n</tr>\n<tr>\n<td><code>referenceCurrency</code></td>\n<td>The currency into which all balances are converted.</td>\n</tr>\n<tr>\n<td><code>initialRequiredInReference</code></td>\n<td>The value of initial margin required in reference based on the total borrowed in reference.</td>\n</tr>\n<tr>\n<td><code>availableInReference</code></td>\n<td>The value of free collateral in reference weighted.</td>\n</tr>\n<tr>\n<td><code>maintenanceMarginFraction</code></td>\n<td>The maintenance margin fraction below which stage 1 liquidation is triggered.</td>\n</tr>\n<tr>\n<td><code>autoCloseMarginFraction</code></td>\n<td>The account margin fraction below which an account’s debt and assets are transferred to the insurance fund, leaving the account with no further assets, debt or equity.</td>\n</tr>\n<tr>\n<td><code>leverageMultiple</code></td>\n<td>The debt-to-equity ratio, which is also the inverse of margin fraction.</td>\n</tr>\n<tr>\n<td><code>totalPositionsAtEntryInReference</code></td>\n<td>The sum of total position value, which is position quantity times mark price, across all positions, converted to reference currency.</td>\n</tr>\n<tr>\n<td><code>totalUnrealisedFuturesPnlInReference</code></td>\n<td>The sum of unrealised profit or loss across all futures positions, converted to reference currency.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","margin","status"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"d1b9ad9b-4126-455c-aa90-fe6101db61d7","name":"Account Margin Information (No Leveraged Positions)","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":"https://api.valr.com/v1/margin/status"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Mon, 13 Nov 2023 11:05:09 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"7"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"initialMarginFraction\": \"0.2\",\n    \"totalBorrowedInReference\": \"0\",\n    \"collateralisedBalancesInReference\": \"0\",\n    \"referenceCurrency\": \"USDC\",\n    \"initialRequiredInReference\": \"0\",\n    \"availableInReference\": \"0\",\n    \"maintenanceMarginFraction\": \"0.1\",\n    \"autoCloseMarginFraction\": \"0.033333333\",\n    \"totalPositionsAtEntryInReference\": \"0\",\n    \"totalUnrealisedFuturesPnlInReference\": \"0\"\n}"},{"id":"b56cbeea-0231-49ee-9916-9a36a057d3a0","name":"Account Margin Information (With Leveraged Positions)","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":"https://api.valr.com/v1/margin/status"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Wed, 08 May 2024 11:31:54 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"4"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"marginFraction\": \"0.10710575\",\n    \"collateralisedMarginFraction\": \"0.10398192\",\n    \"initialMarginFraction\": \"0.10032321\",\n    \"totalBorrowedInReference\": \"20065.42292\",\n    \"collateralisedBalancesInReference\": \"2013.1832234925416\",\n    \"referenceCurrency\": \"USDC\",\n    \"initialRequiredInReference\": \"2013.027732\",\n    \"availableInReference\": \"62.6810773874584\",\n    \"maintenanceMarginFraction\": \"0.050161607\",\n    \"autoCloseMarginFraction\": \"0.010075417\",\n    \"leverageMultiple\": 9.34,\n    \"totalPositionsAtEntryInReference\": \"20065.42292\",\n    \"totalUnrealisedFuturesPnlInReference\": \"73.2578\",\n    \"defaultInitialMarginFraction\": \"0.2\",\n    \"defaultMaintenanceMarginFraction\": \"0.1\",\n    \"defaultAutoCloseMarginFraction\": \"0.033333333\"\n}"}],"_postman_id":"6d3c8fcd-7e7f-42b0-bb49-3aca91e77f76"},{"name":"Account Margin Information V2","id":"42a124a5-8846-4d78-bd81-ebf0095602b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"url":"https://api.valr.com/v2/margin/status","description":"<p>Returns the following margining information for an account:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>marginFraction</code></td>\n<td>The current margin fraction of the account. Account equity in reference (weighted) divided by account debt in reference.</td>\n</tr>\n<tr>\n<td><code>collateralisedMarginFraction</code></td>\n<td>The current margin fraction of the account excluding available assets and therefore taking into consideration collateralised assets only.</td>\n</tr>\n<tr>\n<td><code>initialMarginFraction</code></td>\n<td>The initial margin fraction required to place an order.</td>\n</tr>\n<tr>\n<td><code>totalLeveragedExposureInReference</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>collateralisedBalancesInReference</code></td>\n<td>The total value of assets reserved as collateral, converted to reference currency and weighted based on collateral weighting.</td>\n</tr>\n<tr>\n<td><code>referenceCurrency</code></td>\n<td>The currency into which all balances are converted.</td>\n</tr>\n<tr>\n<td><code>initialRequiredInReference</code></td>\n<td>The value of initial margin required in reference based on the total borrowed in reference.</td>\n</tr>\n<tr>\n<td><code>availableInReference</code></td>\n<td>The value of free collateral in reference weighted.</td>\n</tr>\n<tr>\n<td><code>maintenanceMarginFraction</code></td>\n<td>The maintenance margin fraction below which stage 1 liquidation is triggered.</td>\n</tr>\n<tr>\n<td><code>autoCloseMarginFraction</code></td>\n<td>Account margin fraction below which an account’s debt and assets are transferred to the insurance fund, leaving the account with no further assets, debt or equity.</td>\n</tr>\n<tr>\n<td><code>leverageMultiple</code></td>\n<td>The debt-to-equity ratio, which is also the inverse of margin fraction.</td>\n</tr>\n<tr>\n<td><code>totalPositionsAtEntryInReference</code></td>\n<td>The sum of total position value, which is position quantity times mark price, across all positions, converted to reference currency.</td>\n</tr>\n<tr>\n<td><code>totalUnrealisedFuturesPnlInReference</code></td>\n<td>The sum of unrealised profit or loss across all futures positions, converted to reference currency.</td>\n</tr>\n<tr>\n<td><code>totalBorrowedInReference</code></td>\n<td>The total value of funds borrowed for spot margin converted to reference currency.</td>\n</tr>\n<tr>\n<td><code>tradeReservedInReference</code></td>\n<td>The value of funds reserved for open orders, converted to reference currency and weighted based on collateral weighting.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v2","margin","status"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"fcccbf1a-d74f-4e5f-87c5-3c1a03db1583","name":"Account Margin Information for account with no margin trades","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":"https://api.valr.com/v2/margin/status"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Wed, 08 Nov 2023 13:19:24 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"1"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"initialMarginFraction\": \"0.2\",\n    \"totalLeveragedExposureInReference\": \"0\",\n    \"collateralizedBalancesInReference\": \"0\",\n    \"referenceCurrency\": \"USDC\",\n    \"initialRequiredInReference\": \"0\",\n    \"availableInReference\": \"0\",\n    \"maintenanceMarginFraction\": \"0.1\",\n    \"autoCloseMarginFraction\": \"0.033333333\",\n    \"totalPositionsAtEntryInReference\": \"0\",\n    \"totalUnrealisedFuturesPnlInReference\": \"0\",\n    \"totalBorrowedInReference\": \"0\",\n    \"tradeReservedInReference\": \"4.1838351786\"\n}"},{"id":"07a0e3ff-7d28-4010-a700-a2198ea53b84","name":"Account Margin Information for account with futures positions","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":"https://api.valr.com/v2/margin/status"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"9"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"date","value":"Mon, 04 Dec 2023 14:57:54 GMT"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"marginFraction\": \"60.20150659\",\n    \"collateralizedMarginFraction\": \"0.3958049\",\n    \"initialMarginFraction\": \"0.2\",\n    \"totalLeveragedExposureInReference\": \"40.87818421\",\n    \"collateralizedBalancesInReference\": \"0\",\n    \"referenceCurrency\": \"USDC\",\n    \"initialRequiredInReference\": \"8.175636842\",\n    \"availableInReference\": \"2444.74849043828165\",\n    \"maintenanceMarginFraction\": \"0.1\",\n    \"autoCloseMarginFraction\": \"0.033333333\",\n    \"leverageMultiple\": 0.02,\n    \"totalPositionsAtEntryInReference\": \"40.87818421\",\n    \"totalUnrealisedFuturesPnlInReference\": \"0\",\n    \"totalBorrowedInReference\": \"0\",\n    \"tradeReservedInReference\": \"16.1797854537\"\n}"}],"_postman_id":"42a124a5-8846-4d78-bd81-ebf0095602b6"},{"name":"Account Margin Status","id":"e874f37e-02d4-4ccd-a5f4-3751f06bf6b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"url":"https://api.valr.com/v1/margin/account/status","description":"<p>Returns whether the account has margin trading enabled or not; and if it's currently in <code>Liquidation</code> state.</p>\n<p><strong>Liquidation</strong><br />When an account falls below its maintenance margin, the value of its equity has dropped far enough that the risk that assets in the account won’t cover all of the debt is beyond acceptable limits.</p>\n<p>VALR aims to liquidate accounts well before there is a risk of permanent loss. We achieve this by gradually selling off assets when the account falls below maintenance margin.</p>\n<p>The Liquidation process is set up in distinct stages that aim to keep an account above maintenance margin for as long as possible, reducing the impact of liquidation orders on order books and allowing customers the opportunity to take action to repay debt.</p>\n<p>All liquidation orders placed during the first stage (i.e. below maintenance but above auto-close, and whether matcher or not) will be visible as orders of the type \"liquidation limit order\" on the particular account in question.</p>\n<p>Similarly, for auto-close, the transfer of debt and assets out of the account will be visible on transaction history records as \"liquidation takeover debt transfer\" and \"liquidation takeover asset transfer\" respectively.</p>\n","urlObject":{"path":["v1","margin","account","status"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"2bf44cc4-3c56-478a-ba69-55de20ec0873","name":"Account Margin Status","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":"https://api.valr.com/v1/margin/account/status"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Wed, 08 Nov 2023 13:19:24 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"1"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"marginEnabled\": true,\n    \"inLiquidation\": false,\n    \"futuresEnabled\": true\n}"}],"_postman_id":"e874f37e-02d4-4ccd-a5f4-3751f06bf6b1"},{"name":"Leverage Information","id":"34cc9bed-473c-4f99-8fbd-f2833e6fe01a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"url":"https://api.valr.com/v1/margin/leverage/:currencypair","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>pairSymbol</code></td>\n<td>The symbol of the pair being queried.</td>\n</tr>\n<tr>\n<td><code>riskLimit</code></td>\n<td>The maximum position size in the chosen leverage tier in <code>riskLimitCurrency</code>.</td>\n</tr>\n<tr>\n<td><code>riskLimitCurrency</code></td>\n<td>The currency symbol that the risk limit is specified in.</td>\n</tr>\n<tr>\n<td><code>initialMarginFraction</code></td>\n<td>The initial margin fraction required to place an order.</td>\n</tr>\n<tr>\n<td><code>maintenanceMarginFraction</code></td>\n<td>The maintenance margin fraction below which stage 1 liquidation is triggered.</td>\n</tr>\n<tr>\n<td><code>autoCloseMarginFraction</code></td>\n<td>The account margin fraction below which an account’s debt and assets are transferred to the insurance fund, leaving the account with no further assets, debt or equity.</td>\n</tr>\n<tr>\n<td><code>leverageMultiple</code></td>\n<td>The debt-to-equity ratio, which is also the inverse of margin fraction.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","margin","leverage",":currencypair"],"host":["https://api.valr.com"],"query":[],"variable":[{"description":{"content":"<p>Specify the currency pair for which you would like to query the leverage information for a subaccount.\nExamples: BTCZARPERP, ETHUSDTPERP</p>\n","type":"text/plain"},"type":"any","value":"","key":"currencypair"}]}},"response":[{"id":"bd13e439-7cf0-42b7-8ded-8d908388fae9","name":"Leverage Information (Valid Currency Pair)","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/margin/leverage/:currencypair","host":["https://api.valr.com"],"path":["v1","margin","leverage",":currencypair"],"variable":[{"key":"currencypair","value":"ETHUSDTPERP","description":"Specify the currency pair for which you would like to query the leverage information.\nExamples: BTCZARPERP, ETHUSDTPERP"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Wed, 26 Mar 2025 13:49:01 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"2"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"pairSymbol\": \"ETHUSDTPERP\",\n    \"leverageMultiple\": 10,\n    \"initialMarginFraction\": 0.1,\n    \"maintenanceMarginFraction\": 0.05,\n    \"autoCloseMarginFraction\": 0.03,\n    \"riskLimit\": 400000,\n    \"riskLimitCurrency\": \"USDT\"\n}"},{"id":"3c630633-fe72-4d6d-afa4-0cfde1d20b00","name":"Leverage Information (Invalid Currency Pair)","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/margin/leverage/:currencypair","host":["https://api.valr.com"],"path":["v1","margin","leverage",":currencypair"],"variable":[{"key":"currencypair","value":"BTCZAR","description":"Specify the currency pair for which you would like to query the leverage information.\nExamples: BTCZARPERP, ETHUSDTPERP"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Wed, 26 Mar 2025 13:52:11 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"3"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": -21,\n    \"message\": \"Unsupported Currency Pair\"\n}"},{"id":"f36fee55-7001-4a57-a3af-1de21944ab6b","name":"Leverage Information (Leverage unset)","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/margin/leverage/:currencypair","host":["https://api.valr.com"],"path":["v1","margin","leverage",":currencypair"],"variable":[{"key":"currencypair","value":"","description":"Specify the currency pair for which you would like to query the leverage information.\nExamples: BTCZARPERP, ETHUSDTPERP"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Wed, 26 Mar 2025 13:52:11 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"3"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"34cc9bed-473c-4f99-8fbd-f2833e6fe01a"},{"name":"Enable Margin Trading For Account","id":"0a404733-10c8-4622-b60a-5404f6421cdc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"body":{"mode":"raw","raw":"{\n    accountStatusFieldName: \"MARGIN_ENABLED\", \n    enabled: true\n}"},"url":"https://api.valr.com/v1/margin/account/status","description":"<p>Enable an account to trade with margin.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>accountStatusFieldName (required)</td>\n<td><code>MARGIN_ENABLED</code></td>\n</tr>\n<tr>\n<td>enabled (required)</td>\n<td><code>true</code> or <code>false</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","margin","account","status"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"4b183348-17f3-4a39-999e-139990813ef9","name":"Enable Margin Trading For Account","originalRequest":{"method":"PUT","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    accountStatusFieldName: \"MARGIN_ENABLED\", \n    enabled: true\n}"},"url":"https://api.valr.com/v1/margin/account/status"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Wed, 08 Nov 2023 13:20:45 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"12"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"0a404733-10c8-4622-b60a-5404f6421cdc"},{"name":"Update Leverage","id":"5c5c795b-9a9c-48ca-8e62-ecbaf1a44f8e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"leverageMultiple\": 10\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/margin/leverage/:currencypair","description":"<p>Allows the user to update their Leverage for a specified <code>currencyPair</code>, to one of the available leverage options.</p>\n","urlObject":{"path":["v1","margin","leverage",":currencypair"],"host":["https://api.valr.com"],"query":[],"variable":[{"description":{"content":"<p>Specify the currency pair for which you would like to update maximum leverage for a subaccount.\nExamples: BTCZARPERP, ETHUSDTPERP</p>\n","type":"text/plain"},"type":"any","value":"","key":"currencypair"}]}},"response":[{"id":"a1f7ce1d-d472-4512-b7ec-ad6985c2fd52","name":"Update Leverage (Valid Currency Pair)","originalRequest":{"method":"PUT","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    \"leverageMultiple\": 10\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.valr.com/v1/margin/leverage/:currencypair","protocol":"https","host":["api","valr","com"],"path":["v1","margin","leverage",":currencypair"],"variable":[{"key":"currencypair","value":"BTCZARPERP","description":"Specify the currency pair for which you would like to update the leverage.\nExamples: BTCZARPERP, ETHUSDTPERP"}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Wed, 26 Mar 2025 14:06:28 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"416"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":null},{"id":"d7149452-916f-4dc5-aa2f-2df44e4fd267","name":"Update Leverage (Invalid Currency Pair)","originalRequest":{"method":"PUT","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    \"leverageMultiple\": 10\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.valr.com/v1/margin/leverage/:currencypair","host":["https://api.valr.com"],"path":["v1","margin","leverage",":currencypair"],"variable":[{"key":"currencypair","value":"BTCZAR","description":"Specify the currency pair for which you would like to update the leverage.\nExamples: BTCZARPERP, ETHUSDTPERP"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Wed, 26 Mar 2025 14:09:39 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"2"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": -21,\n    \"message\": \"Unsupported Currency Pair\"\n}"}],"_postman_id":"5c5c795b-9a9c-48ca-8e62-ecbaf1a44f8e"}],"id":"a4be39ec-cd28-4836-8729-e11e3737cb88","description":"<p>Make use of our Margin API to view vital information for accounts with leverage positions.</p>\n<p>These APIs are protected and will require authentication. See the section on <code>Authentication</code> to learn how to authenticate your API calls.</p>\n","_postman_id":"a4be39ec-cd28-4836-8729-e11e3737cb88"},{"name":"Futures","item":[{"name":"Available Leverage Options","id":"4b435f25-71a1-48f1-84b6-e0ad48f39f5c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.valr.com/v1/public/risklimit/:currencypair","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>pairSymbol</code></td>\n<td>The symbol of the pair being queried.</td>\n</tr>\n<tr>\n<td><code>riskLimitValue</code></td>\n<td>The maximum position size in the chosen leverage tier in riskLimitCurrency.</td>\n</tr>\n<tr>\n<td><code>riskLimitCurrency</code></td>\n<td>The currency symbol that the risk limit is specified in.</td>\n</tr>\n<tr>\n<td><code>initialMarginFraction</code></td>\n<td>The initial margin fraction required to place an order.</td>\n</tr>\n<tr>\n<td><code>maintenanceMarginFraction</code></td>\n<td>The maintenance margin fraction below which stage 1 liquidation is triggered.</td>\n</tr>\n<tr>\n<td><code>autoCloseMarginFraction</code></td>\n<td>The account margin fraction below which an account’s debt and assets are transferred to the insurance fund, leaving the account with no further assets, debt or equity.</td>\n</tr>\n<tr>\n<td><code>leverageMultiple</code></td>\n<td>The debt-to-equity ratio, which is also the inverse of margin fraction.</td>\n</tr>\n<tr>\n<td><code>isDefault</code></td>\n<td>When <code>true</code> this indicates that this leverage tier is the VALR default for this pair.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","public","risklimit",":currencypair"],"host":["https://api.valr.com"],"query":[],"variable":[{"description":{"content":"<p>Specify the currency pair for which you would like to view the available leverage options.\nExample: ETHUSDTPERP</p>\n","type":"text/plain"},"type":"any","value":"","key":"currencypair"}]}},"response":[{"id":"d4cf7fab-1c6c-424a-aec8-9cba5e07311b","name":"Available Leverage Options (Valid Currency Pair)","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.valr.com/v1/public/risklimit/:currencypair","host":["https://api.valr.com"],"path":["v1","public","risklimit",":currencypair"],"variable":[{"key":"currencypair","value":"BTCUSDTPERP","description":"Specify the currency pair for which you would like to view the available leverage options.\nExample: ETHUSDTPERP"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"cache-control","value":"max-age=120,public"},{"key":"x-valr-upstream-service-time","value":"4"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Mon, 21 Jul 2025 07:23:52 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 1,\n        \"initialMarginFraction\": 1,\n        \"maintenanceMarginFraction\": 0.25,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 1500000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 2,\n        \"initialMarginFraction\": 0.5,\n        \"maintenanceMarginFraction\": 0.25,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 1500000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 3,\n        \"initialMarginFraction\": 0.3333,\n        \"maintenanceMarginFraction\": 0.1,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 1000000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 4,\n        \"initialMarginFraction\": 0.25,\n        \"maintenanceMarginFraction\": 0.1,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 1000000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 5,\n        \"initialMarginFraction\": 0.2,\n        \"maintenanceMarginFraction\": 0.1,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 1000000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 6,\n        \"initialMarginFraction\": 0.1666,\n        \"maintenanceMarginFraction\": 0.05,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 750000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 7,\n        \"initialMarginFraction\": 0.1428,\n        \"maintenanceMarginFraction\": 0.05,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 750000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 8,\n        \"initialMarginFraction\": 0.125,\n        \"maintenanceMarginFraction\": 0.05,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 750000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 9,\n        \"initialMarginFraction\": 0.1111,\n        \"maintenanceMarginFraction\": 0.05,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 750000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 10,\n        \"initialMarginFraction\": 0.1,\n        \"maintenanceMarginFraction\": 0.05,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 750000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": true\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 11,\n        \"initialMarginFraction\": 0.0909,\n        \"maintenanceMarginFraction\": 0.025,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 400000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 12,\n        \"initialMarginFraction\": 0.0833,\n        \"maintenanceMarginFraction\": 0.025,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 400000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 13,\n        \"initialMarginFraction\": 0.0769,\n        \"maintenanceMarginFraction\": 0.025,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 400000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 14,\n        \"initialMarginFraction\": 0.0714,\n        \"maintenanceMarginFraction\": 0.025,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 400000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 15,\n        \"initialMarginFraction\": 0.0666,\n        \"maintenanceMarginFraction\": 0.025,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 400000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 16,\n        \"initialMarginFraction\": 0.0625,\n        \"maintenanceMarginFraction\": 0.025,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 400000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 17,\n        \"initialMarginFraction\": 0.0588,\n        \"maintenanceMarginFraction\": 0.025,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 400000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 18,\n        \"initialMarginFraction\": 0.0555,\n        \"maintenanceMarginFraction\": 0.025,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 400000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 19,\n        \"initialMarginFraction\": 0.0526,\n        \"maintenanceMarginFraction\": 0.025,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 400000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 20,\n        \"initialMarginFraction\": 0.05,\n        \"maintenanceMarginFraction\": 0.025,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 400000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 21,\n        \"initialMarginFraction\": 0.0476,\n        \"maintenanceMarginFraction\": 0.0125,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 250000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 22,\n        \"initialMarginFraction\": 0.0454,\n        \"maintenanceMarginFraction\": 0.0125,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 250000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 23,\n        \"initialMarginFraction\": 0.0434,\n        \"maintenanceMarginFraction\": 0.0125,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 250000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 24,\n        \"initialMarginFraction\": 0.0416,\n        \"maintenanceMarginFraction\": 0.0125,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 250000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 25,\n        \"initialMarginFraction\": 0.04,\n        \"maintenanceMarginFraction\": 0.0125,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 250000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 26,\n        \"initialMarginFraction\": 0.0384,\n        \"maintenanceMarginFraction\": 0.0125,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 250000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 27,\n        \"initialMarginFraction\": 0.037,\n        \"maintenanceMarginFraction\": 0.0125,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 250000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 28,\n        \"initialMarginFraction\": 0.0357,\n        \"maintenanceMarginFraction\": 0.0125,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 250000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 29,\n        \"initialMarginFraction\": 0.0344,\n        \"maintenanceMarginFraction\": 0.0125,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 250000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 30,\n        \"initialMarginFraction\": 0.0333,\n        \"maintenanceMarginFraction\": 0.0125,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 250000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 31,\n        \"initialMarginFraction\": 0.0322,\n        \"maintenanceMarginFraction\": 0.0125,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 250000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 32,\n        \"initialMarginFraction\": 0.0312,\n        \"maintenanceMarginFraction\": 0.0125,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 250000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 33,\n        \"initialMarginFraction\": 0.0303,\n        \"maintenanceMarginFraction\": 0.0125,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 250000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 34,\n        \"initialMarginFraction\": 0.0294,\n        \"maintenanceMarginFraction\": 0.0125,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 250000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 35,\n        \"initialMarginFraction\": 0.0285,\n        \"maintenanceMarginFraction\": 0.0125,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 250000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 36,\n        \"initialMarginFraction\": 0.0277,\n        \"maintenanceMarginFraction\": 0.0125,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 250000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 37,\n        \"initialMarginFraction\": 0.027,\n        \"maintenanceMarginFraction\": 0.0125,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 250000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 38,\n        \"initialMarginFraction\": 0.0263,\n        \"maintenanceMarginFraction\": 0.0125,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 250000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 39,\n        \"initialMarginFraction\": 0.0256,\n        \"maintenanceMarginFraction\": 0.0125,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 250000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 40,\n        \"initialMarginFraction\": 0.025,\n        \"maintenanceMarginFraction\": 0.0125,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 250000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 41,\n        \"initialMarginFraction\": 0.0243,\n        \"maintenanceMarginFraction\": 0.0083,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 200000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 42,\n        \"initialMarginFraction\": 0.0238,\n        \"maintenanceMarginFraction\": 0.0083,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 200000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 43,\n        \"initialMarginFraction\": 0.0232,\n        \"maintenanceMarginFraction\": 0.0083,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 200000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 44,\n        \"initialMarginFraction\": 0.0227,\n        \"maintenanceMarginFraction\": 0.0083,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 200000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 45,\n        \"initialMarginFraction\": 0.0222,\n        \"maintenanceMarginFraction\": 0.0083,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 200000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 46,\n        \"initialMarginFraction\": 0.0217,\n        \"maintenanceMarginFraction\": 0.0083,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 200000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 47,\n        \"initialMarginFraction\": 0.0212,\n        \"maintenanceMarginFraction\": 0.0083,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 200000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 48,\n        \"initialMarginFraction\": 0.0208,\n        \"maintenanceMarginFraction\": 0.0083,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 200000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 49,\n        \"initialMarginFraction\": 0.0204,\n        \"maintenanceMarginFraction\": 0.0083,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 200000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 50,\n        \"initialMarginFraction\": 0.02,\n        \"maintenanceMarginFraction\": 0.0083,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 200000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 51,\n        \"initialMarginFraction\": 0.0196,\n        \"maintenanceMarginFraction\": 0.0083,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 200000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 52,\n        \"initialMarginFraction\": 0.0192,\n        \"maintenanceMarginFraction\": 0.0083,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 200000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 53,\n        \"initialMarginFraction\": 0.0188,\n        \"maintenanceMarginFraction\": 0.0083,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 200000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 54,\n        \"initialMarginFraction\": 0.0185,\n        \"maintenanceMarginFraction\": 0.0083,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 200000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 55,\n        \"initialMarginFraction\": 0.0181,\n        \"maintenanceMarginFraction\": 0.0083,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 200000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 56,\n        \"initialMarginFraction\": 0.0178,\n        \"maintenanceMarginFraction\": 0.0083,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 200000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 57,\n        \"initialMarginFraction\": 0.0175,\n        \"maintenanceMarginFraction\": 0.0083,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 200000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 58,\n        \"initialMarginFraction\": 0.0172,\n        \"maintenanceMarginFraction\": 0.0083,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 200000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 59,\n        \"initialMarginFraction\": 0.0169,\n        \"maintenanceMarginFraction\": 0.0083,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 200000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    },\n    {\n        \"pairSymbol\": \"BTCUSDTPERP\",\n        \"leverageMultiple\": 60,\n        \"initialMarginFraction\": 0.0166,\n        \"maintenanceMarginFraction\": 0.0083,\n        \"autoCloseMarginFraction\": 0.0083,\n        \"riskLimitValue\": 200000,\n        \"riskLimitCurrency\": \"USDT\",\n        \"isDefault\": false\n    }\n]"},{"id":"3c40dce7-ac95-48d7-b125-59c5660c2134","name":"Available Leverage Options (Invalid Currency Pair)","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.valr.com/v1/public/risklimit/:currencypair","host":["https://api.valr.com"],"path":["v1","public","risklimit",":currencypair"],"variable":[{"key":"currencypair","value":"BTCETHPERP","description":"Specify the currency pair for which you would like to view the available leverage options.\nExample: ETHUSDTPERP"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Wed, 26 Mar 2025 15:07:03 GMT"},{"key":"cache-control","value":"max-age=120,public"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"1"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": -21,\n    \"message\": \"Unsupported Currency Pair\"\n}"}],"_postman_id":"4b435f25-71a1-48f1-84b6-e0ad48f39f5c"},{"name":"Futures Contracts Information","id":"d96d0f40-e294-4758-832a-381bd97dc613","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"url":"https://api.valr.com/v1/public/futures/info","description":"<p>Returns the futures contracts information which includes the following fields:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>currencyPair</td>\n<td>The name of the perpetual futures contract expressed as base, quote, PERPe.g. <code>BTCUSDTPERP</code>.</td>\n</tr>\n<tr>\n<td>estimatedFundingRate</td>\n<td>The anticipated funding rate for the funding run (see below on explanation of funding rates).</td>\n</tr>\n<tr>\n<td>nextFundingRun</td>\n<td>The next scheduled run for funding, scheduled to run at the start of every hour.</td>\n</tr>\n<tr>\n<td>nextPnlRun</td>\n<td>The next scheduled run where unrealised pnl as calculated based on changes in mark pice is realised. Profits are added to (and losses deducted from) the account's balances every PnL run in quote currency. Currently PnL runs are scheduled for 4 hourly intervals starting from midnight GMT.</td>\n</tr>\n<tr>\n<td>openInterest</td>\n<td>The sum of all long and short positions for a pair, expressed as quantity in base currency.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Funding Rate</strong></p>\n<p>Every hour, each perpetual contract has a funding payment where longs pay shorts if the contract is trading at a premium to the index, and shorts pay longs if the contract is trading at a discount to the index.</p>\n<p>Funding payments are made in the quote currency of perpetual pairs and are added to/deducted from the account's balance each hour.</p>\n<p>Positive funding rates denote cases where longs are expected to pay shorts, while negative funding rates denote cases where shorts are expected to pay longs.</p>\n","urlObject":{"path":["v1","public","futures","info"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"9bbec46b-7f16-47cb-80a6-e0ff155d4eb6","name":"Futures Information","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":"https://api.valr.com/v1/public/futures/info"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Tue, 14 Nov 2023 19:25:52 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"138"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"n/a"},{"key":"Via","value":"1.1 google"},{"key":"Cache-Control","value":"max-age=60,public"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"currencyPair\": \"BTCUSDTPERP\",\n    \"estimatedFundingRate\": \"-0.00088\",\n    \"openInterest\": \"0.0002\",\n    \"nextFundingRun\": 1699992000000,\n    \"nextPnlRun\": 1699992000000\n  },\n  {\n    \"currencyPair\": \"USDTZARPERP\",\n    \"estimatedFundingRate\": \"-0.000563\",\n    \"openInterest\": \"15\",\n    \"nextFundingRun\": 1699992000000,\n    \"nextPnlRun\": 1699992000000\n  }\n]"}],"_postman_id":"d96d0f40-e294-4758-832a-381bd97dc613"},{"name":"Futures Information For Account","id":"e40e476c-1f86-47d0-97f4-d5442c2cc049","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"url":"https://api.valr.com/v1/margin/status","description":"<p>Returns the following futures information for an account:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>marginFraction</code></td>\n<td>The current margin fraction of the account. Account equity in reference (weighted) divided by account positions at their open value in reference.</td>\n</tr>\n<tr>\n<td><code>collateralisedMarginFraction</code></td>\n<td>The current margin fraction of the account excluding available assets and therefore taking into consideration collateralised assets only.</td>\n</tr>\n<tr>\n<td><code>initialMarginFraction</code></td>\n<td>The initial margin fraction required to place an order.</td>\n</tr>\n<tr>\n<td><code>totalBorrowedInReference</code></td>\n<td>The total value of funds borrowed, including spot margin positions and perpetual contract exposure, converted to the reference currency.</td>\n</tr>\n<tr>\n<td><code>collateralisedBalancesInReference</code></td>\n<td>The total value of assets reserved as collateral, converted to reference currency and weighted based on collateral weighting.</td>\n</tr>\n<tr>\n<td><code>referenceCurrency</code></td>\n<td>The currency into which all balances are converted.</td>\n</tr>\n<tr>\n<td><code>initialRequiredInReference</code></td>\n<td>The value of initial margin required in reference based on the total positions at their open value.</td>\n</tr>\n<tr>\n<td><code>availableInReference</code></td>\n<td>The value of free collateral in reference weighted.</td>\n</tr>\n<tr>\n<td><code>maintenanceMarginFraction</code></td>\n<td>The maintenance margin fraction below which stage 1 liquidation is triggered.</td>\n</tr>\n<tr>\n<td><code>autoCloseMarginFraction</code></td>\n<td>The account margin fraction below which an account’s positions are automatically closed and assets are transferred to the insurance fund, leaving the account with no further assets, debt or equity.</td>\n</tr>\n<tr>\n<td><code>leverageMultiple</code></td>\n<td>The debt-to-equity ratio, which is also the inverse of margin fraction.</td>\n</tr>\n<tr>\n<td><code>totalPositionsAtEntryInReference</code></td>\n<td>The sum of total position value, which is position quantity times mark price, across all positions, converted to reference currency.</td>\n</tr>\n<tr>\n<td><code>totalUnrealisedFuturesPnlInReference</code></td>\n<td>The sum of unrealised profit or loss across all futures positions, converted to reference currency.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","margin","status"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"046821ca-bb5b-4445-b908-db1553df2b2b","name":"Futures Information For Account (With Futures Positions)","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":"https://api.valr.com/v1/margin/status"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Fri, 03 May 2024 10:37:06 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"4"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"marginFraction\": \"55693.27431339\",\n    \"collateralisedMarginFraction\": \"2.2974809\",\n    \"initialMarginFraction\": \"0.13417938\",\n    \"totalBorrowedInReference\": \"8.991339448\",\n    \"collateralisedBalancesInReference\": \"0\",\n    \"referenceCurrency\": \"USDC\",\n    \"initialRequiredInReference\": \"1.2194531628\",\n    \"availableInReference\": \"500736.476891650739\",\n    \"maintenanceMarginFraction\": \"0.067089692\",\n    \"autoCloseMarginFraction\": \"0.017975189\",\n    \"leverageMultiple\": 0.01,\n    \"totalPositionsAtEntryInReference\": \"8.978338668\",\n    \"totalUnrealisedFuturesPnlInReference\": \"-0.01300078\",\n    \"defaultInitialMarginFraction\": \"0.2\",\n    \"defaultMaintenanceMarginFraction\": \"0.1\",\n    \"defaultAutoCloseMarginFraction\": \"0.033333333\"\n}"},{"id":"9dd116c5-c53f-4825-a85b-628682ac7c88","name":"Futures Information For Account (With No Futures Positions)","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":"https://api.valr.com/v1/margin/status"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Tue, 14 Nov 2023 22:09:22 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"1"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"n/a"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"initialMarginFraction\": \"0.2\",\n    \"totalBorrowedInReference\": \"0\",\n    \"collateralisedBalancesInReference\": \"0\",\n    \"referenceCurrency\": \"USDC\",\n    \"initialRequiredInReference\": \"0\",\n    \"availableInReference\": \"0\",\n    \"maintenanceMarginFraction\": \"0.1\",\n    \"autoCloseMarginFraction\": \"0.033333333\"\n}"}],"_postman_id":"e40e476c-1f86-47d0-97f4-d5442c2cc049"},{"name":"Open Futures Positions","id":"abd358c0-3a84-40ce-a372-a5c2dcaf6a39","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"url":"https://api.valr.com/v1/positions/open","description":"<p>Returns the open futures positions for an account, including the following information:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>pair</code></td>\n<td>The name of the perpetual futures contract expressed as base, quote, PERPe.g. BTCUSDTPERP.</td>\n</tr>\n<tr>\n<td><code>side</code></td>\n<td><code>Buy</code> (Long) or <code>Sell</code> (Short).</td>\n</tr>\n<tr>\n<td><code>quantity</code></td>\n<td>The total value in base for positions that are held by the account.</td>\n</tr>\n<tr>\n<td><code>realisedPnl</code></td>\n<td>The total value of profit or loss that has been realised as changes in account balance for the position that is currently held based on historical PnL runs and reduced by trading fees.</td>\n</tr>\n<tr>\n<td><code>totalSessionEntryQuantity</code></td>\n<td>The quantity of the position held for each contract at the start of the most recent PnL period starting from midnight GMT.</td>\n</tr>\n<tr>\n<td><code>totalSessionValue</code></td>\n<td>The value of the position at the start of the most recent PnL period, calculated as sessionAverageEntryPrice multiplied by totalSessionEntryQuantity.</td>\n</tr>\n<tr>\n<td><code>sessionAverageEntryPrice</code></td>\n<td>The mark price at the start of the most recent PnL period, or the averageEntryPrice if a PnL run has not yet occurred for the position in question.</td>\n</tr>\n<tr>\n<td><code>collateralisedBalancesInReference</code></td>\n<td>The total value of assets reserved as collateral, converted to reference currency and weighted based on collateral weighting.</td>\n</tr>\n<tr>\n<td><code>averageEntryPrice</code></td>\n<td>The average price at which the position was entered into.</td>\n</tr>\n<tr>\n<td><code>unrealisedPnl</code></td>\n<td>The estimated profit or loss on each open position, based on changes in mark price.</td>\n</tr>\n<tr>\n<td><code>positionId</code></td>\n<td>VALR assigns a unique identifier to track the entire lifecycle of a futures position, from creation and adjustment to the final closure.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Notes on PnL</strong></p>\n<p>PnL runs are based on changes in mark price, and additional collateral may be locked for unrealised loss also based on changes in mark price.</p>\n<p>The final PnL for a position is related to the actual price at which a position is closed, which is a price on the VALR order book and might differ from the mark price.</p>\n","urlObject":{"path":["v1","positions","open"],"host":["https://api.valr.com"],"query":[{"disabled":true,"description":{"content":"<p>The name of the perpetual futures contract expressed as base, quote, PERP e.g. BTCUSDTPERP</p>\n","type":"text/plain"},"key":"currencyPair","value":"BTCUSDTPERP"},{"disabled":true,"description":{"content":"<p>Skip this number of results. (Default 0)</p>\n","type":"text/plain"},"key":"skip","value":"0"},{"disabled":true,"description":{"content":"<p>Limit the results to this number. (Default and Max 100)</p>\n","type":"text/plain"},"key":"limit","value":"10"}],"variable":[]}},"response":[{"id":"ad0e339e-df92-46c3-989a-faf74f672c0d","name":"Open Futures Positions","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/positions/open","host":["https://api.valr.com"],"path":["v1","positions","open"],"query":[{"key":"currencyPair","value":"BTCUSDTPERP","description":"The name of the perpetual futures contract expressed as base, quote, PERP e.g. BTCUSDTPERP","disabled":true},{"key":"skip","value":"0","description":"Skip this number of results. (Default 0)","disabled":true},{"key":"limit","value":"10","description":"Limit the results to this number. (Default and Max 100)","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"12"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 24 Jul 2025 08:41:15 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"pair\": \"DOGEUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"10\",\n        \"realisedPnl\": \"0.58111\",\n        \"totalSessionEntryQuantity\": \"10\",\n        \"totalSessionValue\": \"2.2823\",\n        \"sessionAverageEntryPrice\": \"0.22823\",\n        \"averageEntryPrice\": \"0.17\",\n        \"unrealisedPnl\": \"0.0283\",\n        \"updatedAt\": \"2025-07-24T08:00:00.021Z\",\n        \"createdAt\": \"2025-07-23T13:55:24.308Z\",\n        \"positionId\": \"a86fb764-cda4-0237-28a9-0361bc8a2334\",\n        \"leverageTier\": 13\n    },\n    {\n        \"pair\": \"AVAXUSDTPERP\",\n        \"side\": \"sell\",\n        \"quantity\": \"14.61\",\n        \"realisedPnl\": \"-80.6776855\",\n        \"totalSessionEntryQuantity\": \"14.61\",\n        \"totalSessionValue\": \"350.87376\",\n        \"sessionAverageEntryPrice\": \"24.016\",\n        \"averageEntryPrice\": \"18.5\",\n        \"unrealisedPnl\": \"0.1168\",\n        \"updatedAt\": \"2025-07-24T08:00:00.028Z\",\n        \"createdAt\": \"2025-06-20T13:55:09.359Z\",\n        \"positionId\": \"bd44a0a5-52b1-a011-28a9-031c6cf96eec\",\n        \"leverageTier\": 3\n    },\n    {\n        \"pair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0003\",\n        \"realisedPnl\": \"0.45927159\",\n        \"totalSessionEntryQuantity\": \"0.0003\",\n        \"totalSessionValue\": \"34.8096\",\n        \"sessionAverageEntryPrice\": \"116032\",\n        \"averageEntryPrice\": \"114421\",\n        \"unrealisedPnl\": \"0.0909\",\n        \"updatedAt\": \"2025-07-24T08:00:00.008Z\",\n        \"createdAt\": \"2025-07-23T12:15:56.679Z\",\n        \"positionId\": \"11bd437d-301e-1820-28a9-0361b9b1abac\",\n        \"leverageTier\": 27\n    }\n]"}],"_postman_id":"abd358c0-3a84-40ce-a372-a5c2dcaf6a39"},{"name":"Closed Futures Positions Summary","id":"d6114ce9-c886-42a0-81b3-9572424c6a92","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"url":"https://api.valr.com/v1/positions/closed/summary","description":"<p>Returns a summary of the Closed Futures Positions for an account.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>side</code></td>\n<td><code>Buy</code> (Long) or <code>Sell</code> (Short).</td>\n</tr>\n<tr>\n<td><code>quantity</code></td>\n<td>The total amount in base for positions that were held by the account.</td>\n</tr>\n<tr>\n<td><code>realisedPnl</code></td>\n<td>The total value of profit or loss for the position including PnL runs and fees. This is the amount realised to account balances.</td>\n</tr>\n<tr>\n<td><code>averageEntryPrice</code></td>\n<td>The average price at which the position was entered into.</td>\n</tr>\n<tr>\n<td><code>positionId</code></td>\n<td>VALR assigns a unique identifier to track the entire lifecycle of a futures position, from creation and adjustment to the final closure.</td>\n</tr>\n<tr>\n<td><code>currencyPair </code></td>\n<td>The trading pair to query for leverage options. Example: <code>ETHUSDTPERP</code></td>\n</tr>\n<tr>\n<td><code>averageClosePrice</code></td>\n<td>The average price at which the position was closed.</td>\n</tr>\n<tr>\n<td><code>fees</code></td>\n<td>Total fees incurred for the position.</td>\n</tr>\n<tr>\n<td><code>positionCreatedAt</code></td>\n<td>Timestamp when the position was opened. Example: <code>2025-11-14T19:49:09.317Z</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","positions","closed","summary"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"0933c5f9-1b6e-4cb6-9e83-6200531ddf10","name":"Closed Futures Positions Summary","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":"https://api.valr.com/v1/positions/closed/summary"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Tue, 05 Dec 2023 14:20:08 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"44"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"currencyPair\": \"USDTZARPERP\",\n    \"side\": \"buy\",\n    \"quantity\": \"44\",\n    \"averageEntryPrice\": \"19.01\",\n    \"averageClosePrice\": \"19\",\n    \"realisedPnl\": \"-1.27622\",\n    \"fees\": \"0.83622\",\n    \"positionCreatedAt\": \"2023-11-14T19:49:09.317Z\",\n    \"positionId\": \"046f52a0-758c-6ec8-28a9-03fe7b0b51bc\"\n  },\n  {\n    \"currencyPair\": \"USDTZARPERP\",\n    \"side\": \"sell\",\n    \"quantity\": \"400\",\n    \"averageEntryPrice\": \"19\",\n    \"averageClosePrice\": \"19.01\",\n    \"realisedPnl\": \"-11.602\",\n    \"fees\": \"7.602\",\n    \"positionCreatedAt\": \"2023-11-14T19:43:46.081Z\",\n    \"positionId\": \"8046f52a-0724-e524-28a9-03fe7ae3de9c\"\n  },\n  {\n    \"currencyPair\": \"USDTZARPERP\",\n    \"side\": \"sell\",\n    \"quantity\": \"26.315\",\n    \"averageEntryPrice\": \"19\",\n    \"averageClosePrice\": \"19.01\",\n    \"realisedPnl\": \"-0.763266575\",\n    \"fees\": \"0.500116575\",\n    \"positionCreatedAt\": \"2023-11-14T19:38:15.962Z\",\n    \"positionId\": \"540e67ec-a500-8dea-28a9-03fe7abb9344\"\n  },\n  {\n    \"currencyPair\": \"BTCUSDTPERP\",\n    \"side\": \"buy\",\n    \"quantity\": \"0.0003\",\n    \"averageEntryPrice\": \"30001\",\n    \"averageClosePrice\": \"30000\",\n    \"realisedPnl\": \"-0.00930015\",\n    \"fees\": \"0.00900015\",\n    \"positionCreatedAt\": \"2023-11-14T19:35:59.457Z\",\n    \"positionId\": \"8046f52a-077e-a3ac-28a9-03fe7aaac49c\"\n  }\n]"}],"_postman_id":"d6114ce9-c886-42a0-81b3-9572424c6a92"},{"name":"Closed Futures Positions Full (currencyPair)","id":"60ce31a1-2be1-4790-b3b0-dbcdd390f67d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"url":"https://api.valr.com/v1/positions/closed?currencyPair=BTCUSDTPERP","description":"<p>Returns a detailed view of the Closed Futures Positions for an account.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>pair</code></td>\n<td>The name of the perpetual futures contract expressed as base, quote, PERP e.g. BTCUSDTPERP.</td>\n</tr>\n<tr>\n<td><code>side</code></td>\n<td><code>Buy</code> (Long) or <code>Sell</code> (Short).</td>\n</tr>\n<tr>\n<td><code>quantity</code></td>\n<td>The total amount in base for positions that were held by the account.</td>\n</tr>\n<tr>\n<td><code>realisedPnl</code></td>\n<td>The total value of profit or loss that has been realised as changes in account balance for the position that is currently held based on historical PnL runs and reduced by trading fees.</td>\n</tr>\n<tr>\n<td><code>closeType </code></td>\n<td>Specifies the method by which a position was closed. Examples :<code>Trade</code>, <code>Liquidation</code> and <code>Adl</code></td>\n</tr>\n<tr>\n<td><code>closePrice </code></td>\n<td>The price at which the position was closed.</td>\n</tr>\n<tr>\n<td><code>sessionAverageEntryPrice</code></td>\n<td>The mark price at the start of the most recent PnL period, or the averageEntryPrice if a PnL run has not yet occurred for the position in question.</td>\n</tr>\n<tr>\n<td><code>createdAt</code></td>\n<td>Timestamp when the position was opened. Example: 2025-11-14T19:49:09.317Z</td>\n</tr>\n<tr>\n<td><code>fees</code></td>\n<td>Total fees incurred for the position.</td>\n</tr>\n<tr>\n<td><code>positionId</code></td>\n<td>VALR assigns a unique identifier to track the entire lifecycle of a futures position, from creation and adjustment to the final closure.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","positions","closed"],"host":["https://api.valr.com"],"query":[{"disabled":true,"description":{"content":"<p>Skip this number of results. (Default 0)</p>\n","type":"text/plain"},"key":"skip ","value":"0"},{"disabled":true,"description":{"content":"<p>Limit the results to this number. (Default and Max 100)</p>\n","type":"text/plain"},"key":"limit","value":"100"},{"description":{"content":"<p>The name of the perpetual futures contract expressed as base, quote, PERP e.g. BTCUSDTPERP|</p>\n","type":"text/plain"},"key":"currencyPair","value":"BTCUSDTPERP"}],"variable":[]}},"response":[{"id":"9d9624af-c9f6-42d8-8d31-fbc560e8be23","name":"Closed Futures Positions Full (currencyPair)","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/positions/closed?currencyPair=USDTZARPERP","host":["https://api.valr.com"],"path":["v1","positions","closed"],"query":[{"key":"currencyPair","value":"USDTZARPERP","description":"The name of the perpetual futures contract expressed as base, quote, PERPe.g. `BTCUSDTPERP`|"},{"key":"skip ","value":"0","description":"Skip this number of results. (Default 0)","disabled":true},{"key":"limit","value":"100","description":"Limit the results to this number. (Default and Max 100)","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Tue, 05 Dec 2023 14:21:26 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"11"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"currencyPair\": \"USDTZARPERP\",\n        \"orderSide\": \"buy\",\n        \"quantity\": \"40\",\n        \"averageEntryPrice\": \"19.01\",\n        \"closePrice\": \"19\",\n        \"realisedPnl\": \"-1.160201\",\n        \"closeType\": \"Trade\",\n        \"createdAt\": \"2023-11-14T19:51:49.988Z\",\n        \"fees\": \"0.760201\",\n        \"positionId\": \"046f52a0-758c-6ec8-28a9-03fe7b0b51bc\"\n    },\n    {\n        \"currencyPair\": \"USDTZARPERP\",\n        \"orderSide\": \"buy\",\n        \"quantity\": \"4\",\n        \"averageEntryPrice\": \"19.01\",\n        \"closePrice\": \"19\",\n        \"realisedPnl\": \"-0.116019\",\n        \"closeType\": \"Trade\",\n        \"createdAt\": \"2023-11-14T19:50:49.556Z\",\n        \"fees\": \"0.076019\",\n        \"positionId\": \"046f52a0-758c-6ec8-28a9-03fe7b0b51bc\"\n    },\n    {\n        \"currencyPair\": \"USDTZARPERP\",\n        \"orderSide\": \"sell\",\n        \"quantity\": \"400\",\n        \"averageEntryPrice\": \"19\",\n        \"closePrice\": \"19.01\",\n        \"realisedPnl\": \"-11.602\",\n        \"closeType\": \"Trade\",\n        \"createdAt\": \"2023-11-14T19:48:48.265Z\",\n        \"fees\": \"7.602\",\n        \"positionId\": \"8046f52a-0724-e524-28a9-03fe7ae3de9c\"\n    },\n    {\n        \"currencyPair\": \"USDTZARPERP\",\n        \"orderSide\": \"sell\",\n        \"quantity\": \"26.315\",\n        \"averageEntryPrice\": \"19\",\n        \"closePrice\": \"19.01\",\n        \"realisedPnl\": \"-0.763266575\",\n        \"closeType\": \"Trade\",\n        \"createdAt\": \"2023-11-14T19:40:23.691Z\",\n        \"fees\": \"0.500116575\",\n        \"positionId\": \"540e67ec-a500-8dea-28a9-03fe7abb9344\"\n    }\n]"}],"_postman_id":"60ce31a1-2be1-4790-b3b0-dbcdd390f67d"},{"name":"Futures Positions History","id":"a18a174d-4b3a-4734-9982-d5c5074978c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"url":"https://api.valr.com/v1/positions/history?currencyPair=BTCUSDTPERP","description":"<p>Returns a history of futures positions for an account.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>updateType</code></td>\n<td>Type of position update: <code>New</code>, <code>Increase</code>, <code>Reduce</code>, <code>Adl Reduce</code>, <code>Remove</code>, <code>Pnl</code>.</td>\n</tr>\n<tr>\n<td><code>side</code></td>\n<td><code>Buy</code> (Long) or <code>Sell</code> (Short).</td>\n</tr>\n<tr>\n<td><code>quantity</code></td>\n<td>The total amount in base for positions that were held by the account.</td>\n</tr>\n<tr>\n<td><code>realisedPnl</code></td>\n<td>The total value of profit or loss for the position including PnL runs and fees. This is the amount realised to account balances.</td>\n</tr>\n<tr>\n<td><code>sessionAverageEntryPrice</code></td>\n<td>The mark price at the start of the most recent PnL period, or the <code>averageEntryPrice</code> if a PnL run has not yet occurred for the position in question.</td>\n</tr>\n<tr>\n<td><code>positionId</code></td>\n<td>VALR assigns a unique identifier to track the entire lifecycle of a futures position, from creation and adjustment to the final closure.</td>\n</tr>\n<tr>\n<td><code>currencyPair</code></td>\n<td>The name of the perpetual futures contract expressed as base, quote, PERP e.g. <code>BTCUSDTPERP</code>.</td>\n</tr>\n<tr>\n<td><code>updatedAt</code></td>\n<td>Timestamp when the position was updated. Example: <code>2025-11-14T19:49:09.317Z</code>.</td>\n</tr>\n<tr>\n<td><code>totalSessionEntryQuantity</code></td>\n<td>The quantity of the position held for each contract at the start of the most recent PnL period starting from midnight GMT.</td>\n</tr>\n<tr>\n<td><code>totalSessionValue</code></td>\n<td>The value of the position at the start of the most recent PnL period, calculated as sessionAverageEntryPrice multiplied by totalSessionEntryQuantity.</td>\n</tr>\n<tr>\n<td><code>averageEntryPrice</code></td>\n<td>The average price at which the position was entered into.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","positions","history"],"host":["https://api.valr.com"],"query":[{"description":{"content":"<p>The name of the perpetual futures contract expressed as base, quote, PERP e.g. BTCUSDCPERP|</p>\n","type":"text/plain"},"key":"currencyPair","value":"BTCUSDTPERP"}],"variable":[]}},"response":[{"id":"3d9bc3f5-a9c5-4ea4-a672-49dadfd7b3f1","name":"Futures Positions History","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/positions/history?currencyPair=BTCUSDTPERP","host":["https://api.valr.com"],"path":["v1","positions","history"],"query":[{"key":"currencyPair","value":"BTCUSDTPERP"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Tue, 05 Dec 2023 14:22:18 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"15"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"15.22299935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"54.2438\",\n        \"sessionAverageEntryPrice\": \"41726\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-12-05T12:00:00.317Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"14.94999935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"53.9708\",\n        \"sessionAverageEntryPrice\": \"41516\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-12-05T08:00:00.055Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"-39.02080065\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"0\",\n        \"sessionAverageEntryPrice\": \"0\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-12-05T04:00:00.026Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"-39.02080065\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"0\",\n        \"sessionAverageEntryPrice\": \"0\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-12-05T00:00:00.029Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"-39.02080065\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"0\",\n        \"sessionAverageEntryPrice\": \"0\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-12-04T20:00:00.026Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"-39.02080065\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"0\",\n        \"sessionAverageEntryPrice\": \"0\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-12-04T16:00:00.028Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"-39.02080065\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"0\",\n        \"sessionAverageEntryPrice\": \"0\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-12-04T12:00:00.039Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"14.82389935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"53.8447\",\n        \"sessionAverageEntryPrice\": \"41419\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-12-04T08:00:00.032Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"13.91909935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"52.9399\",\n        \"sessionAverageEntryPrice\": \"40723\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-12-04T04:00:00.034Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"12.94279935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"51.9636\",\n        \"sessionAverageEntryPrice\": \"39972\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-12-04T00:00:00.027Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"12.38769935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"51.4085\",\n        \"sessionAverageEntryPrice\": \"39545\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-12-03T20:00:00.026Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"12.66589935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"51.6867\",\n        \"sessionAverageEntryPrice\": \"39759\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-12-03T16:00:00.029Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"12.29929935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"51.3201\",\n        \"sessionAverageEntryPrice\": \"39477\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-12-03T12:00:00.026Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"12.30189935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"51.3227\",\n        \"sessionAverageEntryPrice\": \"39479\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-12-03T08:00:00.030Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"12.16539935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"51.1862\",\n        \"sessionAverageEntryPrice\": \"39374\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-12-03T04:00:00.030Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"12.27199935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"51.2928\",\n        \"sessionAverageEntryPrice\": \"39456\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-12-03T00:00:00.026Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"12.18749935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"51.2083\",\n        \"sessionAverageEntryPrice\": \"39391\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-12-02T20:00:00.031Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"11.43609935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"50.4569\",\n        \"sessionAverageEntryPrice\": \"38813\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-12-02T16:00:00.031Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"11.35289935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"50.3737\",\n        \"sessionAverageEntryPrice\": \"38749\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-12-02T12:00:00.031Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"11.30219935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"50.323\",\n        \"sessionAverageEntryPrice\": \"38710\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-12-02T08:00:00.030Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"11.38799935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"50.4088\",\n        \"sessionAverageEntryPrice\": \"38776\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-12-02T04:00:00.026Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"11.26579935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"50.2866\",\n        \"sessionAverageEntryPrice\": \"38682\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-12-02T00:00:00.029Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"11.38279935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"50.4036\",\n        \"sessionAverageEntryPrice\": \"38772\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-12-01T20:00:00.030Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"10.91869935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"49.9395\",\n        \"sessionAverageEntryPrice\": \"38415\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-12-01T16:00:00.031Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"11.13709935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"50.1579\",\n        \"sessionAverageEntryPrice\": \"38583\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-12-01T12:00:00.029Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"10.71719935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"49.738\",\n        \"sessionAverageEntryPrice\": \"38260\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-12-01T08:00:00.030Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"10.43769935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"49.4585\",\n        \"sessionAverageEntryPrice\": \"38045\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-12-01T04:00:00.029Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"9.99829935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"49.0191\",\n        \"sessionAverageEntryPrice\": \"37707\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-12-01T00:00:00.027Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"10.05809935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"49.0789\",\n        \"sessionAverageEntryPrice\": \"37753\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-30T20:00:00.029Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"9.84749935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"48.8683\",\n        \"sessionAverageEntryPrice\": \"37591\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-30T16:00:00.028Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"10.23619935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"49.257\",\n        \"sessionAverageEntryPrice\": \"37890\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-30T12:00:00.030Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"10.09839935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"49.1192\",\n        \"sessionAverageEntryPrice\": \"37784\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-30T08:00:00.026Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"10.42989935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"49.4507\",\n        \"sessionAverageEntryPrice\": \"38039\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-30T04:00:00.029Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"10.18679935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"49.2076\",\n        \"sessionAverageEntryPrice\": \"37852\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-30T00:00:00.031Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"10.22059935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"49.2414\",\n        \"sessionAverageEntryPrice\": \"37878\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-29T20:00:00.026Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"10.15429935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"49.1751\",\n        \"sessionAverageEntryPrice\": \"37827\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-29T16:00:00.034Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"10.51959935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"49.5404\",\n        \"sessionAverageEntryPrice\": \"38108\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-29T12:00:00.031Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"10.50139935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"49.5222\",\n        \"sessionAverageEntryPrice\": \"38094\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-29T08:00:00.029Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"10.29599935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"49.3168\",\n        \"sessionAverageEntryPrice\": \"37936\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-29T04:00:00.036Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"10.14129935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"49.1621\",\n        \"sessionAverageEntryPrice\": \"37817\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-29T00:00:00.034Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"10.59109935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"49.6119\",\n        \"sessionAverageEntryPrice\": \"38163\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-28T20:00:00.028Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"9.75259935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"48.7734\",\n        \"sessionAverageEntryPrice\": \"37518\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-28T16:00:00.031Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"9.40419935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"48.425\",\n        \"sessionAverageEntryPrice\": \"37250\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-28T12:00:00.029Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"9.23129935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"48.2521\",\n        \"sessionAverageEntryPrice\": \"37117\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-28T08:00:00.035Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"9.24689935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"48.2677\",\n        \"sessionAverageEntryPrice\": \"37129\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-28T04:00:00.030Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"9.40549935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"48.4263\",\n        \"sessionAverageEntryPrice\": \"37251\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-28T00:00:00.028Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"8.92579935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"47.9466\",\n        \"sessionAverageEntryPrice\": \"36882\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-27T20:00:00.033Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"8.79579935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"47.8166\",\n        \"sessionAverageEntryPrice\": \"36782\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-27T16:00:00.034Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"9.15589935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"48.1767\",\n        \"sessionAverageEntryPrice\": \"37059\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-27T12:00:00.031Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"9.45879935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"48.4796\",\n        \"sessionAverageEntryPrice\": \"37292\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-27T08:00:00.032Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"9.47439935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"48.4952\",\n        \"sessionAverageEntryPrice\": \"37304\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-27T04:00:00.029Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"9.68629935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"48.7071\",\n        \"sessionAverageEntryPrice\": \"37467\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-27T00:00:00.028Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"9.56799935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"48.5888\",\n        \"sessionAverageEntryPrice\": \"37376\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-26T20:00:00.028Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"9.66809935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"48.6889\",\n        \"sessionAverageEntryPrice\": \"37453\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-26T16:00:00.028Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"9.96449935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"48.9853\",\n        \"sessionAverageEntryPrice\": \"37681\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-26T12:00:00.032Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"10.11009935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"49.1309\",\n        \"sessionAverageEntryPrice\": \"37793\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-26T08:00:00.029Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"10.03339935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"49.0542\",\n        \"sessionAverageEntryPrice\": \"37734\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-26T04:00:00.030Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"10.09449935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"49.1153\",\n        \"sessionAverageEntryPrice\": \"37781\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-26T00:00:00.033Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"10.14519935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"49.166\",\n        \"sessionAverageEntryPrice\": \"37820\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-25T20:00:00.030Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"9.99699935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"49.0178\",\n        \"sessionAverageEntryPrice\": \"37706\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-25T16:00:00.029Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"9.91509935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"48.9359\",\n        \"sessionAverageEntryPrice\": \"37643\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-25T12:00:00.032Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"10.12179935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"49.1426\",\n        \"sessionAverageEntryPrice\": \"37802\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-25T08:00:00.030Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"10.10749935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"49.1283\",\n        \"sessionAverageEntryPrice\": \"37791\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-25T04:00:00.031Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"9.99829935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"49.0191\",\n        \"sessionAverageEntryPrice\": \"37707\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-25T00:00:00.039Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"10.07759935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"49.0984\",\n        \"sessionAverageEntryPrice\": \"37768\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-24T20:00:00.030Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"10.65739935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"49.6782\",\n        \"sessionAverageEntryPrice\": \"38214\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-24T16:00:00.031Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"10.05939935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"49.0802\",\n        \"sessionAverageEntryPrice\": \"37754\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-24T12:00:00.215Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"9.54069935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"48.5615\",\n        \"sessionAverageEntryPrice\": \"37355\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-23T08:00:00.022Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"9.47309935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"48.4939\",\n        \"sessionAverageEntryPrice\": \"37303\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-23T04:00:00.025Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"9.62909935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"48.6499\",\n        \"sessionAverageEntryPrice\": \"37423\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-23T00:00:00.025Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"9.44319935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"48.464\",\n        \"sessionAverageEntryPrice\": \"37280\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-22T20:00:00.026Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"8.38759935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"47.4084\",\n        \"sessionAverageEntryPrice\": \"36468\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-22T16:00:00.026Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"8.37589935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"47.3967\",\n        \"sessionAverageEntryPrice\": \"36459\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-22T12:00:00.165Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"8.37069935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"47.3915\",\n        \"sessionAverageEntryPrice\": \"36455\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-22T08:00:00.026Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"8.27709935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"47.2979\",\n        \"sessionAverageEntryPrice\": \"36383\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-22T04:00:00.026Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"7.52569935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"46.5465\",\n        \"sessionAverageEntryPrice\": \"35805\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-22T00:00:00.022Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"9.04669935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"48.0675\",\n        \"sessionAverageEntryPrice\": \"36975\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-21T20:00:00.027Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"9.04279935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"48.0636\",\n        \"sessionAverageEntryPrice\": \"36972\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-21T16:00:00.036Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"9.30279935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"48.3236\",\n        \"sessionAverageEntryPrice\": \"37172\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-21T12:00:00.024Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"9.41719935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"48.438\",\n        \"sessionAverageEntryPrice\": \"37260\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-21T08:00:00.034Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"9.68369935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"48.7045\",\n        \"sessionAverageEntryPrice\": \"37465\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-21T04:00:00.022Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"9.66679935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"48.6876\",\n        \"sessionAverageEntryPrice\": \"37452\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-21T00:00:00.021Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"9.83709935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"48.8579\",\n        \"sessionAverageEntryPrice\": \"37583\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-20T20:00:00.020Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"9.67199935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"48.6928\",\n        \"sessionAverageEntryPrice\": \"37456\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-20T16:00:00.025Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"9.27549935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"48.2963\",\n        \"sessionAverageEntryPrice\": \"37151\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-20T12:00:00.034Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"9.39509935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"48.4159\",\n        \"sessionAverageEntryPrice\": \"37243\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-20T08:00:00.026Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"9.21829935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"48.2391\",\n        \"sessionAverageEntryPrice\": \"37107\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-20T04:00:00.020Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"9.55629935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"48.5771\",\n        \"sessionAverageEntryPrice\": \"37367\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-20T00:00:00.022Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"9.02979935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"48.0506\",\n        \"sessionAverageEntryPrice\": \"36962\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-19T20:00:00.022Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"8.49809935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"47.5189\",\n        \"sessionAverageEntryPrice\": \"36553\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-19T16:00:00.025Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"8.36289935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"47.3837\",\n        \"sessionAverageEntryPrice\": \"36449\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-19T12:00:00.024Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"8.56569935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"47.5865\",\n        \"sessionAverageEntryPrice\": \"36605\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-19T08:00:00.022Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"8.45389935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"47.4747\",\n        \"sessionAverageEntryPrice\": \"36519\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-19T04:00:00.021Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"8.51369935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"47.5345\",\n        \"sessionAverageEntryPrice\": \"36565\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-19T00:00:00.022Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"8.66189935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"47.6827\",\n        \"sessionAverageEntryPrice\": \"36679\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-18T20:00:00.025Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"8.65539935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"47.6762\",\n        \"sessionAverageEntryPrice\": \"36674\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-18T16:00:00.024Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"8.30699935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"47.3278\",\n        \"sessionAverageEntryPrice\": \"36406\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-18T12:00:00.025Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"8.30959935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"47.3304\",\n        \"sessionAverageEntryPrice\": \"36408\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-18T08:00:00.029Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"8.25889935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"47.2797\",\n        \"sessionAverageEntryPrice\": \"36369\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-18T04:00:00.024Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    },\n    {\n        \"updateType\": \"Pnl\",\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"quantity\": \"0.0013\",\n        \"realisedPnl\": \"8.53709935\",\n        \"totalSessionEntryQuantity\": \"0.0013\",\n        \"totalSessionValue\": \"47.5579\",\n        \"sessionAverageEntryPrice\": \"36583\",\n        \"averageEntryPrice\": \"30001\",\n        \"updatedAt\": \"2023-11-18T00:00:00.025Z\",\n        \"positionId\": \"237a9503-b32b-5f40-28a9-03fe7ad510d4\"\n    }\n]"}],"_postman_id":"a18a174d-4b3a-4734-9982-d5c5074978c5"},{"name":"Funding History","id":"9875c3b6-c97b-411b-9310-3fe551942255","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"url":"https://api.valr.com/v1/positions/funding/history?currencyPair=BTCUSDTPERP&skip=0&limit=100","description":"<p>Returns a history of the funding details for an account's positions, which includes the following:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>fundingRate</td>\n<td>The funding rate that was used for the reported funding period. If the rate is positive, longs paid shorts and visa versa if the rate is negative, i.e. Shorts paid Longs.</td>\n</tr>\n<tr>\n<td>fundingAmount</td>\n<td>The amount actually paid or received at the last funding period, calculated as funding rate multiplied by the position total.</td>\n</tr>\n<tr>\n<td>positionTotal</td>\n<td>The value of a position at the time of the previous funding run, calculated as position quantity times mark price.</td>\n</tr>\n<tr>\n<td>positionId</td>\n<td>VALR assigns a unique identifier to track the entire lifecycle of a futures position, from creation and adjustment to the final closure.</td>\n</tr>\n</tbody>\n</table>\n</div><p>The results of this request may be filtered by <code>currencyPair</code> and <code>datetime</code>. The <code>skip</code> and <code>limit</code> parameters may be applied to paginate the filtered results.</p>\n<h2 id=\"filtering-by-currencypair\">Filtering by <code>currencyPair</code></h2>\n<p>The <code>currencyPair</code> parameter may be used to filter the returned items by name of the perpetual futures contract expressed as base, quote, PERPe.g. BTCUSDTPERP|</p>\n<h2 id=\"filtering-by-starttime-or-endtime\">Filtering by <code>startTime</code> or <code>endTime</code></h2>\n<p>The <code>startTime</code> or <code>endTime</code> parameters may be used to filter the returned items by the transaction date. The parameters will be interpreted as being in the UTC time zone and must be supplied in the ISO 8601 format (<code>2023-11-14T22:00:00.000Z</code>). These two parameters may be used together or separately. When <code>startTime</code> is used, transactions that have occurred since <code>startTime</code> are returned. When <code>endTime</code> is used, transactions that have occurred up to and including <code>endTime</code> are returned.<br />When not specified, 30 days worth of transactions are returned by default.</p>\n","urlObject":{"path":["v1","positions","funding","history"],"host":["https://api.valr.com"],"query":[{"description":{"content":"<p>The name of the perpetual futures contract expressed as base, quote, PERP e.g. <code>BTCUSDTPERP</code>|</p>\n","type":"text/plain"},"key":"currencyPair","value":"BTCUSDTPERP"},{"description":{"content":"<p>Skip this number of results. (Default 0)</p>\n","type":"text/plain"},"key":"skip","value":"0"},{"description":{"content":"<p>Limit the results to this number. (Default and Max 100)</p>\n","type":"text/plain"},"key":"limit","value":"100"}],"variable":[]}},"response":[{"id":"f889def4-7b29-438e-9891-1ee6dfc87902","name":"Funding History (Long)","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/positions/funding/history?currencyPair=BTCUSDTPERP&skip=0&limit=100","host":["https://api.valr.com"],"path":["v1","positions","funding","history"],"query":[{"key":"currencyPair","value":"BTCUSDTPERP","description":"The name of the perpetual futures contract expressed as base, quote, PERPe.g. `BTCUSDTPERP`|"},{"key":"skip","value":"0","description":"Skip this number of results. (Default 0)"},{"key":"limit","value":"100","description":"Limit the results to this number. (Default and Max 100)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"43"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Mon, 21 Jul 2025 07:35:13 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"createdAt\": \"2025-06-21T12:00:00.491Z\",\n        \"fundingRate\": \"-0.001885\",\n        \"fundingAmount\": \"0.2545\",\n        \"positionTotal\": \"135.0414\",\n        \"positionId\": \"237a89ed-b431-df40-28a9-031900d5c4d4\"\n    },\n    {\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"createdAt\": \"2025-06-21T11:00:00.290Z\",\n        \"fundingRate\": \"-0.002006\",\n        \"fundingAmount\": \"0.2707\",\n        \"positionTotal\": \"134.9504\",\n        \"positionId\": \"237a89ed-b431-df40-28a9-031900d5c4d4\"\n    },\n    {\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"createdAt\": \"2025-06-21T10:00:00.490Z\",\n        \"fundingRate\": \"-0.00204\",\n        \"fundingAmount\": \"0.2754\",\n        \"positionTotal\": \"135.0024\",\n        \"positionId\": \"237a89ed-b431-df40-28a9-031900d5c4d4\"\n    },\n    {\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"createdAt\": \"2025-06-21T09:00:00.445Z\",\n        \"fundingRate\": \"-0.002075\",\n        \"fundingAmount\": \"0.28\",\n        \"positionTotal\": \"134.9452\",\n        \"positionId\": \"237a89ed-b431-df40-28a9-031900d5c4d4\"\n    },\n    {\n        \"currencyPair\": \"BTCUSDTPERP\",\n        \"side\": \"buy\",\n        \"createdAt\": \"2025-06-21T08:00:00.877Z\",\n        \"fundingRate\": \"-0.002117\",\n        \"fundingAmount\": \"0.2846\",\n        \"positionTotal\": \"134.4733\",\n        \"positionId\": \"237a89ed-b431-df40-28a9-031900d5c4d4\"\n    }\n]"},{"id":"a7a0a4b7-0b07-42a5-84d8-2f38aee7b08f","name":"Funding History (Short)","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/positions/funding/history?currencyPair=USDTZARPERP&skip=0&limit=100","host":["https://api.valr.com"],"path":["v1","positions","funding","history"],"query":[{"key":"currencyPair","value":"USDTZARPERP","description":"The name of the perpetual futures contract expressed as base, quote, PERPe.g. `BTCUSDTPERP`|"},{"key":"skip","value":"0","description":"Skip this number of results. (Default 0)"},{"key":"limit","value":"100","description":"Limit the results to this number. (Default and Max 100)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Tue, 05 Dec 2023 14:29:19 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"9"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"currencyPair\": \"USDTZARPERP\",\n        \"side\": \"sell\",\n        \"createdAt\": \"2023-11-15T19:00:02.274Z\",\n        \"fundingRate\": \"0.000301\",\n        \"fundingAmount\": \"2.2538\",\n        \"positionTotal\": \"7488\"\n    },\n    {\n        \"currencyPair\": \"USDTZARPERP\",\n        \"side\": \"sell\",\n        \"createdAt\": \"2023-11-15T18:00:02.327Z\",\n        \"fundingRate\": \"0.000255\",\n        \"fundingAmount\": \"1.9084\",\n        \"positionTotal\": \"7484\"\n    },\n    {\n        \"currencyPair\": \"USDTZARPERP\",\n        \"side\": \"sell\",\n        \"createdAt\": \"2023-11-15T17:00:02.311Z\",\n        \"fundingRate\": \"0.000208\",\n        \"fundingAmount\": \"1.5583\",\n        \"positionTotal\": \"7492\"\n    },\n    {\n        \"currencyPair\": \"USDTZARPERP\",\n        \"side\": \"sell\",\n        \"createdAt\": \"2023-11-15T16:00:02.233Z\",\n        \"fundingRate\": \"0.00016\",\n        \"fundingAmount\": \"1.1955\",\n        \"positionTotal\": \"7472\"\n    },\n    {\n        \"currencyPair\": \"USDTZARPERP\",\n        \"side\": \"sell\",\n        \"createdAt\": \"2023-11-15T15:00:02.305Z\",\n        \"fundingRate\": \"0.000113\",\n        \"fundingAmount\": \"0.8456\",\n        \"positionTotal\": \"7484\"\n    },\n    {\n        \"currencyPair\": \"USDTZARPERP\",\n        \"side\": \"sell\",\n        \"createdAt\": \"2023-11-15T14:00:02.274Z\",\n        \"fundingRate\": \"0.000065\",\n        \"fundingAmount\": \"0.4859\",\n        \"positionTotal\": \"7476\"\n    },\n    {\n        \"currencyPair\": \"USDTZARPERP\",\n        \"side\": \"sell\",\n        \"createdAt\": \"2023-11-15T13:00:02.321Z\",\n        \"fundingRate\": \"0.000016\",\n        \"fundingAmount\": \"0.1193\",\n        \"positionTotal\": \"7460\"\n    },\n    {\n        \"currencyPair\": \"USDTZARPERP\",\n        \"side\": \"sell\",\n        \"createdAt\": \"2023-11-15T12:00:02.319Z\",\n        \"fundingRate\": \"-0.000037\",\n        \"fundingAmount\": \"-0.2759\",\n        \"positionTotal\": \"7456\"\n    },\n    {\n        \"currencyPair\": \"USDTZARPERP\",\n        \"side\": \"sell\",\n        \"createdAt\": \"2023-11-15T11:00:02.303Z\",\n        \"fundingRate\": \"-0.00009\",\n        \"fundingAmount\": \"-0.6722\",\n        \"positionTotal\": \"7468\"\n    },\n    {\n        \"currencyPair\": \"USDTZARPERP\",\n        \"side\": \"sell\",\n        \"createdAt\": \"2023-11-15T10:00:02.315Z\",\n        \"fundingRate\": \"-0.000139\",\n        \"fundingAmount\": \"-1.0392\",\n        \"positionTotal\": \"7476\"\n    },\n    {\n        \"currencyPair\": \"USDTZARPERP\",\n        \"side\": \"sell\",\n        \"createdAt\": \"2023-11-15T09:00:02.356Z\",\n        \"fundingRate\": \"-0.000147\",\n        \"fundingAmount\": \"-1.1178\",\n        \"positionTotal\": \"7604\"\n    },\n    {\n        \"currencyPair\": \"USDTZARPERP\",\n        \"side\": \"sell\",\n        \"createdAt\": \"2023-11-15T08:00:02.362Z\",\n        \"fundingRate\": \"-0.000152\",\n        \"fundingAmount\": \"-1.1552\",\n        \"positionTotal\": \"7600\"\n    },\n    {\n        \"currencyPair\": \"USDTZARPERP\",\n        \"side\": \"sell\",\n        \"createdAt\": \"2023-11-15T07:00:02.332Z\",\n        \"fundingRate\": \"-0.000168\",\n        \"fundingAmount\": \"-1.2768\",\n        \"positionTotal\": \"7600\"\n    },\n    {\n        \"currencyPair\": \"USDTZARPERP\",\n        \"side\": \"sell\",\n        \"createdAt\": \"2023-11-15T06:00:02.354Z\",\n        \"fundingRate\": \"-0.00018\",\n        \"fundingAmount\": \"-1.368\",\n        \"positionTotal\": \"7600\"\n    },\n    {\n        \"currencyPair\": \"USDTZARPERP\",\n        \"side\": \"sell\",\n        \"createdAt\": \"2023-11-15T05:00:02.250Z\",\n        \"fundingRate\": \"-0.000192\",\n        \"fundingAmount\": \"-1.4592\",\n        \"positionTotal\": \"7600\"\n    },\n    {\n        \"currencyPair\": \"USDTZARPERP\",\n        \"side\": \"sell\",\n        \"createdAt\": \"2023-11-15T04:00:02.351Z\",\n        \"fundingRate\": \"-0.000202\",\n        \"fundingAmount\": \"-1.5352\",\n        \"positionTotal\": \"7600\"\n    },\n    {\n        \"currencyPair\": \"USDTZARPERP\",\n        \"side\": \"sell\",\n        \"createdAt\": \"2023-11-15T03:00:02.449Z\",\n        \"fundingRate\": \"-0.000211\",\n        \"fundingAmount\": \"-1.6036\",\n        \"positionTotal\": \"7600\"\n    },\n    {\n        \"currencyPair\": \"USDTZARPERP\",\n        \"side\": \"sell\",\n        \"createdAt\": \"2023-11-15T02:00:02.326Z\",\n        \"fundingRate\": \"-0.000221\",\n        \"fundingAmount\": \"-1.6796\",\n        \"positionTotal\": \"7600\"\n    },\n    {\n        \"currencyPair\": \"USDTZARPERP\",\n        \"side\": \"sell\",\n        \"createdAt\": \"2023-11-15T01:00:02.321Z\",\n        \"fundingRate\": \"-0.000232\",\n        \"fundingAmount\": \"-1.7632\",\n        \"positionTotal\": \"7600\"\n    },\n    {\n        \"currencyPair\": \"USDTZARPERP\",\n        \"side\": \"sell\",\n        \"createdAt\": \"2023-11-15T00:00:02.627Z\",\n        \"fundingRate\": \"-0.000242\",\n        \"fundingAmount\": \"-1.8392\",\n        \"positionTotal\": \"7600\"\n    },\n    {\n        \"currencyPair\": \"USDTZARPERP\",\n        \"side\": \"sell\",\n        \"createdAt\": \"2023-11-14T23:00:02.334Z\",\n        \"fundingRate\": \"-0.000251\",\n        \"fundingAmount\": \"-1.9076\",\n        \"positionTotal\": \"7600\"\n    },\n    {\n        \"currencyPair\": \"USDTZARPERP\",\n        \"side\": \"sell\",\n        \"createdAt\": \"2023-11-14T22:00:02.363Z\",\n        \"fundingRate\": \"-0.000261\",\n        \"fundingAmount\": \"-1.9836\",\n        \"positionTotal\": \"7600\"\n    },\n    {\n        \"currencyPair\": \"USDTZARPERP\",\n        \"side\": \"sell\",\n        \"createdAt\": \"2023-11-14T21:00:02.230Z\",\n        \"fundingRate\": \"-0.000269\",\n        \"fundingAmount\": \"-2.0444\",\n        \"positionTotal\": \"7600\"\n    },\n    {\n        \"currencyPair\": \"USDTZARPERP\",\n        \"side\": \"sell\",\n        \"createdAt\": \"2023-11-14T20:00:02.401Z\",\n        \"fundingRate\": \"-0.000275\",\n        \"fundingAmount\": \"-2.09\",\n        \"positionTotal\": \"7600\"\n    }\n]"}],"_postman_id":"9875c3b6-c97b-411b-9310-3fe551942255"},{"name":"Leverage Information","id":"51571013-1ea9-42cb-9573-b69c41f58a8e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"url":"https://api.valr.com/v1/margin/leverage/:currencypair","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>pairSymbol</code></td>\n<td>The symbol of the pair being queried.</td>\n</tr>\n<tr>\n<td><code>riskLimit</code></td>\n<td>The maximum position size in the chosen leverage tier in <code>riskLimitCurrency</code>.</td>\n</tr>\n<tr>\n<td><code>riskLimitCurrency</code></td>\n<td>The currency symbol that the risk limit is specified in.</td>\n</tr>\n<tr>\n<td><code>initialMarginFraction</code></td>\n<td>The initial margin fraction required to place an order.</td>\n</tr>\n<tr>\n<td><code>maintenanceMarginFraction</code></td>\n<td>The maintenance margin fraction below which stage 1 liquidation is triggered.</td>\n</tr>\n<tr>\n<td><code>autoCloseMarginFraction</code></td>\n<td>The account margin fraction below which an account’s debt and assets are transferred to the insurance fund, leaving the account with no further assets, debt or equity.</td>\n</tr>\n<tr>\n<td><code>leverageMultiple</code></td>\n<td>The debt-to-equity ratio, which is also the inverse of margin fraction.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","margin","leverage",":currencypair"],"host":["https://api.valr.com"],"query":[],"variable":[{"description":{"content":"<p>Specify the currency pair for which you would like to query the leverage information for a subaccount.\nExample: ETHUSDTPERP</p>\n","type":"text/plain"},"type":"any","value":"","key":"currencypair"}]}},"response":[{"id":"0d90d27c-f94e-405a-a7fd-313cc02728a6","name":"Leverage Information (Valid Currency Pair)","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/margin/leverage/:currencypair","host":["https://api.valr.com"],"path":["v1","margin","leverage",":currencypair"],"variable":[{"key":"currencypair","value":"ETHUSDTPERP","description":"Specify the currency pair for which you would like to query the leverage information.\nExample: ETHUSDTPERP"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Wed, 26 Mar 2025 13:49:01 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"2"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"pairSymbol\": \"ETHUSDTPERP\",\n    \"leverageMultiple\": 10,\n    \"initialMarginFraction\": 0.1,\n    \"maintenanceMarginFraction\": 0.05,\n    \"autoCloseMarginFraction\": 0.03,\n    \"riskLimit\": 400000,\n    \"riskLimitCurrency\": \"USDT\"\n}"},{"id":"32048041-58da-4433-9d31-bd4c90bc4352","name":"Leverage Information (Invalid Currency Pair)","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/margin/leverage/:currencypair","host":["https://api.valr.com"],"path":["v1","margin","leverage",":currencypair"],"variable":[{"key":"currencypair","value":"BTCUSDT","description":"Specify the currency pair for which you would like to query the leverage information.\nExample: ETHUSDTPERP"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Wed, 26 Mar 2025 13:52:11 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"3"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": -21,\n    \"message\": \"Unsupported Currency Pair\"\n}"},{"id":"fb127729-78fd-44f4-9e89-8bc51f38126d","name":"Leverage Information (Leverage unset)","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/margin/leverage/:currencypair","host":["https://api.valr.com"],"path":["v1","margin","leverage",":currencypair"],"variable":[{"key":"currencypair","value":"","description":"Specify the currency pair for which you would like to query the leverage information.\nExample: ETHUSDTPERP"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Wed, 26 Mar 2025 13:52:11 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"3"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"51571013-1ea9-42cb-9573-b69c41f58a8e"},{"name":"Enable Futures Trading For Account","id":"4a61cb88-cd27-49cb-b293-f480ea96e86a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"body":{"mode":"raw","raw":"{\n    accountStatusFieldName: \"FUTURES_ENABLED\", \n    enabled: true\n}"},"url":"https://api.valr.com/v1/margin/account/status","description":"<p>Enable a subaccount for Futures trading.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>accountStatusFieldName (required)</td>\n<td><code>FUTURES_ENABLED</code></td>\n</tr>\n<tr>\n<td>enabled (required)</td>\n<td><code>true</code> or <code>false</code></td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Note</strong></p>\n<p>To trade futures on VALR, it is necessary to complete address verification as laid out in the guide <a href=\"https://support.valr.com/hc/en-us/articles/11224098420892-How-to-enable-Futures-trading-on-VALR-\">How to enable Futures trading on VALR</a></p>\n","urlObject":{"path":["v1","margin","account","status"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"48347036-e9f8-4330-8f8f-6b534d3c3172","name":"Enable Futures Trading For Account - Success","originalRequest":{"method":"PUT","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    accountStatusFieldName: \"FUTURES_ENABLED\", \n    enabled: true\n}"},"url":"https://api.valr.com/v1/margin/account/status"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Tue, 14 Nov 2023 19:09:59 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"17"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":null},{"id":"990743b2-a0a4-47e8-b91a-cac8e3c7aad4","name":"Enable Futures Trading For Account - Failed","originalRequest":{"method":"PUT","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    accountStatusFieldName: \"FUTURES_ENABLED\", \n    enabled: true\n}"},"url":"https://api.valr.com/v1/margin/account/status"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Tue, 14 Nov 2023 19:11:26 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"4"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"n/a"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": -11418,\n    \"message\": \"Proof of address is required to access this feature. Please log in and visit one of our futures pairs to complete registration.\"\n}"}],"_postman_id":"4a61cb88-cd27-49cb-b293-f480ea96e86a"},{"name":"Update Leverage","id":"d82d3b8e-fa6e-4043-8405-c04fac7e80e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"leverageMultiple\": 11\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/margin/leverage/:currencypair","description":"<p>Allows the user to update their Leverage for a specified <code>currencyPair</code>, to one of the available leverage options.</p>\n","urlObject":{"path":["v1","margin","leverage",":currencypair"],"host":["https://api.valr.com"],"query":[],"variable":[{"description":{"content":"<p>Specify the currency pair for which you would like to update maximum leverage for a subaccount.\nExample: ETHUSDTPERP</p>\n","type":"text/plain"},"type":"any","value":"","key":"currencypair"}]}},"response":[{"id":"a5e91916-77b2-4f25-ace8-6640da72c9d7","name":"Update Leverage (Valid Currency Pair)","originalRequest":{"method":"PUT","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    \"leverageMultiple\": 10\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.valr.com/v1/margin/leverage/:currencypair","protocol":"https","host":["api","valr","com"],"path":["v1","margin","leverage",":currencypair"],"variable":[{"key":"currencypair","value":"BTCUSDTPERP","description":"Specify the currency pair for which you would like to update the leverage.\nExample: ETHUSDTPERP"}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Wed, 26 Mar 2025 14:06:28 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"416"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":null},{"id":"a745ba78-20ea-4b9b-b216-12e9462ede5a","name":"Update Leverage (Invalid Currency Pair)","originalRequest":{"method":"PUT","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n    \"leverageMultiple\": 10\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.valr.com/v1/margin/leverage/:currencypair","host":["https://api.valr.com"],"path":["v1","margin","leverage",":currencypair"],"variable":[{"key":"currencypair","value":"BTCUSDT","description":"Specify the currency pair for which you would like to update the leverage.\nExample: ETHUSDTPERP"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Wed, 26 Mar 2025 14:09:39 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"2"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": -21,\n    \"message\": \"Unsupported Currency Pair\"\n}"}],"_postman_id":"d82d3b8e-fa6e-4043-8405-c04fac7e80e7"}],"id":"805292c8-ed9f-455f-ac2f-0084f85e381c","description":"<p>Make use of our Margin API to view in real time vital information for accounts with leverage positions.</p>\n<p>These APIs are protected and will require authentication. See the section on <code>Authentication</code> to learn how to authenticate your API calls.</p>\n<p><strong>Futures Overview</strong></p>\n<p>Futures trading is available to qualifying customers by jurisdiction.</p>\n<p>A specific subaccount with futures trading enabled is cross-collateralised (cross margin), meaning that all assets within that subaccount that qualify as collateral (i.e. have a collateral weighting greater than zero) count towards account equity and can be used to collateralise futures positions. These assets will be called upon to settle position PnL in the event of liquidation.</p>\n<p>Futures positions are currently one directional on VALR, meaning that a single account cannot hold both a long and short position for the same contract simultaneously. If you wish to hold positions in both directions, please split positions into different subaccounts.</p>\n<p>Any number of subaccounts can be created and enabled for futures trading.\nAdditional Futures information: <a href=\"https://support.valr.com/hc/en-us/articles/11078306427420-Perpetual-Futures-Trading-Guide\">https://support.valr.com/hc/en-us/articles/11078306427420-Perpetual-Futures-Trading-Guide</a></p>\n<p>Additional Margin requirement information: <a href=\"https://support.valr.com/hc/en-us/articles/7531495382940-Margin-Trading-Guide\">https://support.valr.com/hc/en-us/articles/7531495382940-Margin-Trading-Guide</a></p>\n<p>Should an account fall below maintenance margin, liquidation is triggered. VALR's liquidation engine is designed to bring an account below maintenance margin back to a healthy state, measured as recovering to above maintenance margin. The liquidation engine aims to carefully close down positions in the market, while minimising market impact and keeping markets orderly.</p>\n<p>When an account's margin falls below maintenance margin, Stage 1 liquidation automatically triggers. Futures positions are closed piecemeal until the account is back above maintenance margin.</p>\n<p>Stage 2 liquidation is triggered if an account falls below auto-close margin. In stage 2, account positions are fully closed through auto-deleveraging (ADL). The consequence is that the trader loses their entire equity collateral for that account if that account falls below auto-close.</p>\n<p>VALR holds an insurance fund as a final backstop for positions that are bankrupt.</p>\n","_postman_id":"805292c8-ed9f-455f-ac2f-0084f85e381c"},{"name":"Borrows","item":[{"name":"Borrows History","id":"3a2eb837-e3a2-4f69-8f8c-cdaacf70e50b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"url":"https://api.valr.com/v1/borrows/:currencySymbol/history","description":"<p>Returns a history of interest entries as calculated during the margin interest auction runs with the following detail:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>currency</td>\n<td>As specified in the <code>currencySymbol</code> query variable</td>\n</tr>\n<tr>\n<td>interestAmount</td>\n<td>Debit interest accrued at the interest auction run</td>\n</tr>\n<tr>\n<td>quantity</td>\n<td>Amount borrowed in <code>currencySymbol</code></td>\n</tr>\n<tr>\n<td>createdAt</td>\n<td>Date and time of interest auction (in UTC)</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Interest Auction</strong></p>\n<p>At the beginning of every hour, our interest engine calculates the total borrow demand for each coin among all users.</p>\n<p>An auction is run by sorting the lending offers by minimum rate and taking the cheapest set that satisfies the borrowing demand.<br />The borrowing rate is set to the minimum of the required marginal (most expensive) loan.</p>\n","urlObject":{"path":["v1","borrows",":currencySymbol","history"],"host":["https://api.valr.com"],"query":[],"variable":[{"description":{"content":"<p>Include only transactions in this currency</p>\n","type":"text/plain"},"type":"any","value":"BTC","key":"currencySymbol"}]}},"response":[{"id":"91e3ed50-32a4-449f-b0c6-9d413fc8634a","name":"Borrows History","originalRequest":{"method":"GET","header":[{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"url":{"raw":"https://api.valr.com/v1/borrows/:currencySymbol/history","host":["https://api.valr.com"],"path":["v1","borrows",":currencySymbol","history"],"variable":[{"key":"currencySymbol","value":"BTC"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"date","value":"Sun, 23 Apr 2023 10:38:50 GMT"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"content-type","value":"application/json"},{"key":"x-valr-upstream-service-time","value":"10"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"server","value":"envoy"},{"key":"Via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.0010096\",\n        \"createdAt\": \"2023-04-23T10:00:00.098808Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100958\",\n        \"createdAt\": \"2023-04-23T09:00:00.098889Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100956\",\n        \"createdAt\": \"2023-04-23T08:00:00.098829Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100954\",\n        \"createdAt\": \"2023-04-23T07:00:00.098894Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100952\",\n        \"createdAt\": \"2023-04-23T06:00:00.098904Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.0010095\",\n        \"createdAt\": \"2023-04-23T05:00:00.098927Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100948\",\n        \"createdAt\": \"2023-04-23T04:00:00.098901Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100946\",\n        \"createdAt\": \"2023-04-23T03:00:00.099385Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100944\",\n        \"createdAt\": \"2023-04-23T02:00:00.099025Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100942\",\n        \"createdAt\": \"2023-04-23T01:00:00.099076Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.0010094\",\n        \"createdAt\": \"2023-04-23T00:00:00.098897Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100938\",\n        \"createdAt\": \"2023-04-22T23:00:00.098988Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100936\",\n        \"createdAt\": \"2023-04-22T22:00:00.098938Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100934\",\n        \"createdAt\": \"2023-04-22T21:00:00.098905Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100932\",\n        \"createdAt\": \"2023-04-22T20:00:00.098906Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.0010093\",\n        \"createdAt\": \"2023-04-22T19:00:00.098987Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100928\",\n        \"createdAt\": \"2023-04-22T18:00:00.098906Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100926\",\n        \"createdAt\": \"2023-04-22T17:00:00.100467Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100924\",\n        \"createdAt\": \"2023-04-22T16:00:00.099111Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100922\",\n        \"createdAt\": \"2023-04-22T15:00:00.098939Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.0010092\",\n        \"createdAt\": \"2023-04-22T14:00:00.098920Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100918\",\n        \"createdAt\": \"2023-04-22T13:00:00.099039Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100916\",\n        \"createdAt\": \"2023-04-22T12:00:00.098925Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100914\",\n        \"createdAt\": \"2023-04-22T11:00:00.098903Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100912\",\n        \"createdAt\": \"2023-04-22T10:00:00.098913Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.0010091\",\n        \"createdAt\": \"2023-04-22T09:00:00.098897Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100908\",\n        \"createdAt\": \"2023-04-22T08:00:00.098894Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100906\",\n        \"createdAt\": \"2023-04-22T07:00:00.099143Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100904\",\n        \"createdAt\": \"2023-04-22T06:00:00.098835Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100902\",\n        \"createdAt\": \"2023-04-22T05:00:00.099033Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.001009\",\n        \"createdAt\": \"2023-04-22T04:00:00.098982Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100898\",\n        \"createdAt\": \"2023-04-22T03:00:00.099015Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100896\",\n        \"createdAt\": \"2023-04-22T02:00:00.099020Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100894\",\n        \"createdAt\": \"2023-04-22T01:00:00.098909Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100892\",\n        \"createdAt\": \"2023-04-22T00:00:00.098995Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.0010089\",\n        \"createdAt\": \"2023-04-21T23:00:00.099164Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100888\",\n        \"createdAt\": \"2023-04-21T22:00:00.099061Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100886\",\n        \"createdAt\": \"2023-04-21T21:00:00.099168Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100884\",\n        \"createdAt\": \"2023-04-21T20:00:00.101106Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100882\",\n        \"createdAt\": \"2023-04-21T19:00:00.099267Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.0010088\",\n        \"createdAt\": \"2023-04-21T18:00:00.099007Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100878\",\n        \"createdAt\": \"2023-04-21T17:00:00.099151Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100876\",\n        \"createdAt\": \"2023-04-21T16:00:00.099246Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100874\",\n        \"createdAt\": \"2023-04-21T15:00:00.099079Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100872\",\n        \"createdAt\": \"2023-04-21T14:00:00.099059Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.0010087\",\n        \"createdAt\": \"2023-04-21T13:00:00.098938Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100868\",\n        \"createdAt\": \"2023-04-21T12:00:00.100289Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100866\",\n        \"createdAt\": \"2023-04-21T11:00:00.099134Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100864\",\n        \"createdAt\": \"2023-04-21T10:00:00.099143Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100862\",\n        \"createdAt\": \"2023-04-21T09:00:00.100007Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.0010086\",\n        \"createdAt\": \"2023-04-21T08:00:00.098912Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100858\",\n        \"createdAt\": \"2023-04-21T07:00:00.099009Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100856\",\n        \"createdAt\": \"2023-04-21T06:00:00.098955Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100854\",\n        \"createdAt\": \"2023-04-21T05:00:00.099002Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100852\",\n        \"createdAt\": \"2023-04-21T04:00:00.098928Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.0010085\",\n        \"createdAt\": \"2023-04-21T03:00:00.098903Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100848\",\n        \"createdAt\": \"2023-04-21T02:00:00.099133Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100846\",\n        \"createdAt\": \"2023-04-21T01:00:00.099052Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100844\",\n        \"createdAt\": \"2023-04-21T00:00:00.099115Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100842\",\n        \"createdAt\": \"2023-04-20T23:00:00.099175Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.0010084\",\n        \"createdAt\": \"2023-04-20T22:00:00.099113Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100838\",\n        \"createdAt\": \"2023-04-20T21:00:00.099083Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100836\",\n        \"createdAt\": \"2023-04-20T20:00:00.099231Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100834\",\n        \"createdAt\": \"2023-04-20T19:00:00.099013Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100832\",\n        \"createdAt\": \"2023-04-20T18:00:00.125740Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.0010083\",\n        \"createdAt\": \"2023-04-20T17:00:00.699477Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100828\",\n        \"createdAt\": \"2023-04-20T16:00:00.173860Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100826\",\n        \"createdAt\": \"2023-04-20T15:00:00.174173Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100824\",\n        \"createdAt\": \"2023-04-20T14:00:00.173732Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100822\",\n        \"createdAt\": \"2023-04-20T13:00:00.173888Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.0010082\",\n        \"createdAt\": \"2023-04-20T12:00:00.173709Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100818\",\n        \"createdAt\": \"2023-04-20T11:00:00.173704Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100816\",\n        \"createdAt\": \"2023-04-20T10:00:00.173800Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100814\",\n        \"createdAt\": \"2023-04-20T09:00:00.173773Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100812\",\n        \"createdAt\": \"2023-04-20T08:00:00.173785Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.0010081\",\n        \"createdAt\": \"2023-04-20T07:00:00.173815Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100808\",\n        \"createdAt\": \"2023-04-20T06:00:00.173966Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100806\",\n        \"createdAt\": \"2023-04-20T05:00:00.173934Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100804\",\n        \"createdAt\": \"2023-04-20T04:00:00.173909Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100802\",\n        \"createdAt\": \"2023-04-20T03:00:00.173960Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.001008\",\n        \"createdAt\": \"2023-04-20T02:00:00.173931Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100798\",\n        \"createdAt\": \"2023-04-20T01:00:00.173906Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100796\",\n        \"createdAt\": \"2023-04-20T00:00:00.173916Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100794\",\n        \"createdAt\": \"2023-04-19T23:00:00.173826Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100792\",\n        \"createdAt\": \"2023-04-19T22:00:00.177492Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.0010079\",\n        \"createdAt\": \"2023-04-19T21:00:00.173907Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100788\",\n        \"createdAt\": \"2023-04-19T20:00:00.285253Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100786\",\n        \"createdAt\": \"2023-04-19T19:00:00.070541Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100784\",\n        \"createdAt\": \"2023-04-19T18:00:00.266900Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100782\",\n        \"createdAt\": \"2023-04-19T17:00:00.266986Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.0010078\",\n        \"createdAt\": \"2023-04-19T16:00:00.068031Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100778\",\n        \"createdAt\": \"2023-04-19T15:00:00.266802Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100776\",\n        \"createdAt\": \"2023-04-19T14:00:00.266931Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100774\",\n        \"createdAt\": \"2023-04-19T13:00:00.266983Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100772\",\n        \"createdAt\": \"2023-04-19T12:00:00.266931Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.0010077\",\n        \"createdAt\": \"2023-04-19T11:00:00.268639Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100768\",\n        \"createdAt\": \"2023-04-19T10:00:00.068028Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100766\",\n        \"createdAt\": \"2023-04-19T09:00:00.267201Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100764\",\n        \"createdAt\": \"2023-04-19T08:00:00.287165Z\"\n    },\n    {\n        \"currency\": \"BTC\",\n        \"interestAmount\": \"0.00000002\",\n        \"quantity\": \"0.00100762\",\n        \"createdAt\": \"2023-04-19T07:00:00.140096Z\"\n    }\n]"}],"_postman_id":"3a2eb837-e3a2-4f69-8f8c-cdaacf70e50b"}],"id":"f3e7aed4-972f-48c0-97ca-33e7235a3d92","description":"<p>Make use of our Borrowings API to view your borrowing history</p>\n<p>These APIs are protected and will require authentication. See the section on <code>Authentication</code> above to learn how to authenticate your API calls.</p>\n","_postman_id":"f3e7aed4-972f-48c0-97ca-33e7235a3d92"},{"name":"Bundles","item":[{"name":"Buy","id":"dbdb07ea-1e62-453a-87e9-bbc952d445d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"body":{"mode":"raw","raw":"{\n  \"amount\": \"3\",\n  \"payCurrency\": \"USDT\",\n  \"bundleSymbol\": \"VALR3\"\n}"},"url":"https://api.valr.com/v1/bundles/buy","urlObject":{"path":["v1","bundles","buy"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"07b53930-12c2-4d86-84be-7337fc3a2540","name":"Buy Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n  \"amount\": \"3\",\n  \"payCurrency\": \"USDT\",\n  \"bundleSymbol\": \"VALR3\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/bundles/buy"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"821"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Mon, 20 Oct 2025 04:35:39 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"id\": \"0199ffe6-c82f-70f2-88f0-65ef198a41f3\",\n    \"payAmount\": \"3\",\n    \"payCurrency\": \"USDT\",\n    \"receiveAmount\": \"0.03082065\",\n    \"receiveCurrency\": \"VALR3\"\n}"},{"id":"193a12bd-1cd0-4860-b817-9b4421e62fc4","name":"Buy - Invalid fund","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n  \"amount\": \"3\",\n  \"payCurrency\": \"USDT\",\n  \"bundleSymbol\": \"VALR4\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/bundles/buy"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"64"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Mon, 20 Oct 2025 04:37:10 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Invalid fund\"\n}"}],"_postman_id":"dbdb07ea-1e62-453a-87e9-bbc952d445d9"},{"name":"Sell","id":"320f3a83-9b6f-4432-814a-3bdf3dc569c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"body":{"mode":"raw","raw":"{\n  \"amount\": \"1\",\n  \"receiveCurrency\": \"USDT\",\n  \"bundleSymbol\": \"VALR3\"\n}"},"url":"https://api.valr.com/v1/bundles/sell","urlObject":{"path":["v1","bundles","sell"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"fe83df9a-f5a5-48ee-899b-5ca53ea5e13a","name":"Sell Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n  \"amount\": \"0.01\",\n  \"receiveCurrency\": \"USDT\",\n  \"bundleSymbol\": \"VALR3\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/bundles/sell"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"231"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Mon, 20 Oct 2025 04:37:53 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"id\": \"0199ffe8-d978-7d6a-a116-6eb1cce0920b\",\n    \"payAmount\": \"0.01\",\n    \"payCurrency\": \"VALR3\",\n    \"receiveAmount\": \"0.97015723\",\n    \"receiveCurrency\": \"USDT\"\n}"},{"id":"b00e3966-8efb-489b-a2e8-29e083e91723","name":"Sell - Invalid fund","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":"{\n  \"amount\": \"0.01\",\n  \"receiveCurrency\": \"USDT\",\n  \"bundleSymbol\": \"VALR4\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.valr.com/v1/bundles/sell"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"14"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Mon, 20 Oct 2025 04:38:35 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Invalid fund\"\n}"}],"_postman_id":"320f3a83-9b6f-4432-814a-3bdf3dc569c6"},{"name":"All Available Bundles","id":"feef7323-5eda-40a0-94e0-29feee7503d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"body":{"mode":"raw","raw":""},"url":"https://api.valr.com/v1/bundles/all","urlObject":{"path":["v1","bundles","all"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[{"id":"19edbfb0-d997-4910-aded-fba86e404dba","name":"All Available Bundles","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":""},"url":"https://api.valr.com/v1/bundles/all"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"41"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Mon, 20 Oct 2025 04:39:12 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"symbol\": \"VALR3\",\n        \"referenceCurrency\": \"USDT\",\n        \"supportedFlowCurrencies\": [\n            \"USDT\"\n        ],\n        \"hourlyFeeFraction\": \"0.00000228\",\n        \"minInReference\": \"0.2\",\n        \"maxInReference\": \"10001\",\n        \"allocations\": [\n            {\n                \"currency\": \"USDT\",\n                \"weight\": \"0.0025\"\n            },\n            {\n                \"currency\": \"ZAR\",\n                \"weight\": \"0.1126\"\n            },\n            {\n                \"currency\": \"BTC\",\n                \"weight\": \"0.5084\"\n            },\n            {\n                \"currency\": \"ETH\",\n                \"weight\": \"0.3762\"\n            }\n        ],\n        \"previousRebalancedDate\": 1761844860000,\n        \"nextRebalanceDate\": 1764523260000,\n        \"rebalancePeriod\": \"1M\"\n    },\n    {\n        \"symbol\": \"VALR10\",\n        \"referenceCurrency\": \"USDT\",\n        \"supportedFlowCurrencies\": [\n            \"USDT\"\n        ],\n        \"hourlyFeeFraction\": \"0.00000228\",\n        \"minInReference\": \"0.5\",\n        \"maxInReference\": \"50000\",\n        \"allocations\": [\n            {\n                \"currency\": \"USDT\",\n                \"weight\": \"0.0043\"\n            },\n            {\n                \"currency\": \"SOL\",\n                \"weight\": \"0.0473\"\n            },\n            {\n                \"currency\": \"DOGE\",\n                \"weight\": \"0.0272\"\n            },\n            {\n                \"currency\": \"TRX\",\n                \"weight\": \"0.0186\"\n            },\n            {\n                \"currency\": \"LINK\",\n                \"weight\": \"0.0089\"\n            },\n            {\n                \"currency\": \"XLM\",\n                \"weight\": \"0.0098\"\n            },\n            {\n                \"currency\": \"AVAX\",\n                \"weight\": \"0.0099\"\n            },\n            {\n                \"currency\": \"BTC\",\n                \"weight\": \"0.4059\"\n            },\n            {\n                \"currency\": \"ETH\",\n                \"weight\": \"0.2773\"\n            },\n            {\n                \"currency\": \"XRP\",\n                \"weight\": \"0.0979\"\n            },\n            {\n                \"currency\": \"BNB\",\n                \"weight\": \"0.0924\"\n            }\n        ],\n        \"previousRebalancedDate\": 1761991200000,\n        \"nextRebalanceDate\": 1764583260000,\n        \"rebalancePeriod\": \"1M\"\n    }\n]"}],"_postman_id":"feef7323-5eda-40a0-94e0-29feee7503d5"},{"name":"Bundle Transaction History","id":"5225c39d-fcd9-4fcb-beae-ced499a6bf8d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"<p>Your API Key</p>\n"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"<p>Request Signature generated for this request. See section about <strong>Authentication</strong> above to learn how to generate this request signature.</p>\n"},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"<p>The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). </p>\n<p>Example: If the current date and time is <code>December 28, 2019 00:00:00 UTC</code>. then the Unix epoch time would be <code>1577491200000</code>. Note that this timestamp is in milliseconds.</p>\n"}],"body":{"mode":"raw","raw":""},"url":"https://api.valr.com/v1/bundles/transactions?bundleSymbol=VALR3&skip=0&limit=2","urlObject":{"path":["v1","bundles","transactions"],"host":["https://api.valr.com"],"query":[{"description":{"content":"<p>(required) Unique identifier for the bundle to retrieve.</p>\n","type":"text/plain"},"key":"bundleSymbol","value":"VALR3"},{"description":{"content":"<p>Skip this number of results. (Default 0)</p>\n","type":"text/plain"},"key":"skip","value":"0"},{"description":{"content":"<p>Limit the results to this number. (Default and Max 100)</p>\n","type":"text/plain"},"key":"limit","value":"2"}],"variable":[]}},"response":[{"id":"3d06f7e7-c7a7-45ad-93bb-f02544b4a962","name":"Bundle Transaction History","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://api.valr.com/v1/bundles/transactions?bundleSymbol=VALR3&skip=0&limit=2","host":["https://api.valr.com"],"path":["v1","bundles","transactions"],"query":[{"key":"bundleSymbol","value":"VALR3","description":"(required) Unique identifier for the bundle to retrieve."},{"key":"skip","value":"0","description":"Skip this number of results. (Default 0)"},{"key":"limit","value":"2","description":"Limit the results to this number. (Default and Max 100)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"41"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Mon, 20 Oct 2025 04:39:12 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"019a4e2b-5dfa-799d-aa13-609d033693de\",\n        \"symbol\": \"VALR10\",\n        \"transactionType\": \"BUY\",\n        \"payAmount\": 5.00000000,\n        \"payCurrency\": \"USDT\",\n        \"receiveAmount\": \"0.05431821\",\n        \"receiveCurrency\": \"VALR10\",\n        \"status\": \"complete\",\n        \"createdAt\": 1762248056314,\n        \"updatedAt\": 1762248057125\n    },\n    {\n        \"id\": \"019a4e2a-c36a-76a4-85bc-8b536ab393ed\",\n        \"symbol\": \"VALR10\",\n        \"transactionType\": \"SELL\",\n        \"payAmount\": 0.06000000,\n        \"payCurrency\": \"VALR10\",\n        \"receiveCurrency\": \"USDT\",\n        \"status\": \"failed\",\n        \"errorCode\": \"ORDER_PLACEMENT_FAILED\",\n        \"createdAt\": 1762248016746,\n        \"updatedAt\": 1762248026842\n    }\n]"},{"id":"5a60282d-00b3-4b60-a23e-dd4f77a458ec","name":"Bundle Transaction History - Invalid fund","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-VALR-API-KEY","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","description":"Your API Key"},{"key":"X-VALR-SIGNATURE","value":"{{requestSignature}}","description":"Request Signature generated for this request. See section about **Authentication** above to learn how to generate this request signature."},{"key":"X-VALR-TIMESTAMP","value":"{{requestTimestamp}}","description":"The same timestamp used to generate the request signature (in Unix epoch time format, in milliseconds). \n\nExample: If the current date and time is `December 28, 2019 00:00:00 UTC`. then the Unix epoch time would be `1577491200000`. Note that this timestamp is in milliseconds."}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://api.valr.com/v1/bundles/transactions?bundleSymbol=VALR4&skip=0&limit=2","host":["https://api.valr.com"],"path":["v1","bundles","transactions"],"query":[{"key":"bundleSymbol","value":"VALR4","description":"(required) Unique identifier for the bundle to retrieve."},{"key":"skip","value":"0","description":"Skip this number of results. (Default 0)"},{"key":"limit","value":"2","description":"Limit the results to this number. (Default and Max 100)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-frame-options","value":"Deny"},{"key":"content-security-policy","value":"default-src 'none'"},{"key":"x-valr-upstream-service-time","value":"10"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains; preload"},{"key":"vary","value":"Origin, Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Mon, 20 Oct 2025 04:39:31 GMT"},{"key":"server","value":"envoy"},{"key":"via","value":"1.1 google"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[]"}],"_postman_id":"5225c39d-fcd9-4fcb-beae-ced499a6bf8d"}],"id":"74d82f5e-a7d6-4ff8-82cc-5fb3ecd225c3","description":"<p>Make use of our Bundles API to buy, sell, and manage your asset bundles programmatically on the primary market.</p>\n<p>These APIs are protected and will require authentication. See the section on Authentication above to learn how to authenticate your API calls.</p>\n<p><strong>Note:</strong> All primary market bundles transactions are settled exclusively in the bundle's <strong>referenceCurrency</strong>.</p>\n<ul>\n<li>When <strong>buying</strong> on the primary market, the bundle's <em>referenceCurrency will be used</em> as the payment currency.</li>\n<li>When <strong>selling</strong> on the primary market, <em>payouts will be made in the bundle's referenceCurrency only</em>.</li>\n</ul>\n","_postman_id":"74d82f5e-a7d6-4ff8-82cc-5fb3ecd225c3"},{"name":"Changelog","item":[],"id":"d74b5aeb-695a-4576-a11b-80e4244d8757","description":"<p>NOTE: To get notified about updates to the changelog, please click on the \"Follow\" button on this Help Center section: <a href=\"https://support.valr.com/hc/en-us/articles/360014153500-Changelog-for-VALR-API\">API Changelog<br /></a></p>\n<p><strong>04 May 2026</strong></p>\n<ul>\n<li><p>Updated <code>Current API Key Info</code> description to include <code>Link Bank Account</code> permission</p>\n</li>\n<li><p>Removed Beta warning message for LIMIT Post Only Reprice</p>\n<ul>\n<li>/v1/orders/limit</li>\n</ul>\n</li>\n<li><p>Added ONE-TIME TOKEN (OTT) FOR THIRD-PARTY INTEGRATIONS to generate a One-Time Token (OTT) from your VALR account and provide it to a third-party service. The third party uses this token to request an API key by calling <code>POST /v1/partner/exchange</code> with the body <code>{ \"ottToken\": \"your-token-here\" }</code>. In response, they receive an API key and secret. The OTT is single-use and becomes invalid immediately after it is exchanged.</p>\n<ul>\n<li><code>/v1/partner/exchange</code></li>\n</ul>\n</li>\n<li><p>Addition of TWAP Feature<br />  TWAP order — splits a large order into smaller sub-orders executed at regular intervals over a set duration.</p>\n</li>\n</ul>\n<p>New TWAP feature API Endpoints</p>\n<ul>\n<li><p><strong>POST</strong> <code>/v1/twap</code> – Place a TWAP order.</p>\n</li>\n<li><p><strong>GET</strong> /v1/twap/active – This API returns all active and pending trigger TWAP orders.</p>\n</li>\n<li><p><strong>GET</strong> <code>/v1/twap/historic</code> – This API returns all completed and cancelled TWAP orders.</p>\n</li>\n<li><p><strong>GET</strong> <code>/v1/twap/suborder/:currencyPair/:orderId/history</code> – Returns the execution history of individual sub-orders for a specific TWAP order. Supports pagination and time filtering.</p>\n</li>\n<li><p><strong>GET</strong> <code>/v1/twap/:currencyPair/:orderId</code> – Cancels the remaining suborders of an active/untriggered TWAP order.</p>\n</li>\n</ul>\n<p><strong>19 Mar 2026</strong></p>\n<ul>\n<li>Whitelisted withdrawal address book now supports universal address book entries.</li>\n</ul>\n<p><strong>06 Mar 2026</strong></p>\n<ul>\n<li>Market Orders now support 'FOK' and 'IOC' Time In Force options.</li>\n</ul>\n<p><strong>19 Feb 2026</strong></p>\n<p>Update support for withdrawal decimal places to reflect the actual decimal places that will be used for the on-chain transaction. Updates the following routes:</p>\n<ul>\n<li><p>/v1/public/currencies</p>\n</li>\n<li><p>/v1/wallet/crypto/:currencyCode/withdraw</p>\n</li>\n</ul>\n<p><em>Previous behaviour</em>: Withdrawals with arbitrarily scaled values were always truncated to 2 decimal places for stablecoins.</p>\n<p><em>New behaviour</em>: values that are specified during withdrawals will be used for the on-chain transaction. Values with a larger scale than <code>withdrawDecimalPlaces</code> will be rounded down to <code>withdrawDecimalPlaces</code> for the appropriate network configuration.</p>\n<p><strong>12 Feb 2026</strong></p>\n<p>Release Type: Feature Enhancement</p>\n<p>Spot trading now supports conditional orders using the following endpoints:</p>\n<p>/v1/orders/conditionals<br />/v1/orders/conditionals/conditional/:currencyPair/orderid/:orderId<br />/v1/orders/conditionals/:currencyPair/history<br />/v1/orders/conditionals/modify<br />/v1/orders/conditionals/:currencyPair<br />/v1/orders/conditionals/conditional</p>\n<p>These endpoints support OCO (One-Cancels-the-Other) and OTOCO (One-Triggers-One-Cancels-the-Other) order types. Users can submit take profit or stop loss conditions independently, with no requirement to include both in a single conditional order.<br />The existing Stop Limit routes will be deprecated in a future release in favour of these Conditional Order routes.</p>\n<p>Required Fields:<br />\"allowMargin\"<br />\"side\"<br />\"quantity\"<br />\"triggerType\"<br />\"pair\"<br />\"stopLossTriggerPrice\"<br />\"stopLossOrderPrice\"<br />\"takeProfitTriggerPrice\"<br />\"takeProfitOrderPrice\"<br />\"customerOrderId\"</p>\n<p>Features:<br />Create, modify, query, and retrieve the history of Spot conditional orders.<br />Fully backward-compatible with existing Spot trading operations.</p>\n<p><strong>17 Nov 2025</strong></p>\n<p>Addition of Bundles Feature</p>\n<p><strong>Bundles</strong> is a cryptocurrency investment feature that allows users to invest in pre-configured portfolios of multiple cryptocurrencies, providing a passive, index-style investment approach with diversified exposure. Bundles are <strong>pre-configured</strong> and <strong>rebalanced automatically</strong> based on parameters set by the fund manager (e.g., monthly).</p>\n<p>New API Endpoints</p>\n<ul>\n<li><p><strong>POST</strong> <code>/v1/bundles/buy</code> – Purchase a bundle on the primary market</p>\n</li>\n<li><p><strong>POST</strong> <code>/v1/bundles/sell</code> – Sell a bundle on the primary market</p>\n</li>\n<li><p><strong>GET</strong> <code>/v1/bundles/transactions?bundleSymbol=</code> – List primary market transactions for a specific bundle</p>\n</li>\n<li><p><strong>GET</strong> <code>/v1/bundles/all</code> – Retrieve all bundles and their current market details</p>\n</li>\n</ul>\n<p><strong>30 October 2025</strong></p>\n<ul>\n<li><p>Users are now able to unsubscribe from these Account WebSocket events:</p>\n<ul>\n<li><p><code>BALANCE_UPDATE</code></p>\n</li>\n<li><p><code>OPEN_ORDERS_UPDATE</code></p>\n</li>\n<li><p><code>MARGIN_INFO</code></p>\n</li>\n</ul>\n</li>\n</ul>\n<p><strong>12 August 2025</strong></p>\n<ul>\n<li>Added suggestions for alternate methods on the public API description</li>\n</ul>\n<p><strong>24 July 2025</strong></p>\n<p>REST API Changes</p>\n<ul>\n<li>Update to GET route <code>GET /v1/positions/open</code>, will now contain a new field <code>leverageTier</code> which indicates the leverage tier for each open position.</li>\n</ul>\n<p>WebSocket Messages</p>\n<ul>\n<li><p>Update to the existing WS <code>OPEN_POSITION_UPDATE</code>, will now contain a new field <code>leverageTier</code> which indicates the leverage tier for each open position.</p>\n</li>\n<li><p>New WS <code>PNL_RUN_COMPLETED</code>, sent when a PNL (Profit and Loss) run is completed for subscribed currency pairs.</p>\n</li>\n<li><p>New WS <code>FUNDING_RUN_COMPLETED</code>, sent when a funding run is completed for subscribed currency pairs.</p>\n</li>\n<li><p>New WS <code>LEVERAGE_UPDATED</code>, while subscribed to this, the user will receive real time updates when the leverage is changed for a currency pair.</p>\n</li>\n</ul>\n<p><strong>8 July 2025</strong></p>\n<ul>\n<li><p>Added a new GET Price Buckets for a currency pair endpoint (<code>https://api.valr.com/v1/public/:currencyPair/buckets</code>). This API provides historical market data aggregated into time-based \"buckets\" (candles) for a specified currency pair and bucket period.</p>\n</li>\n<li><p>Each bucket returned includes <code>open</code>, <code>high</code>, <code>low</code>, <code>close</code>, <code>volume</code>, and <code>quoteVolume</code> for the defined time interval.</p>\n</li>\n<li><p>The <code>periodSeconds</code> query parameter supports values of 60 (default), 300, 900, 1800, 3600, 21600, and 86400 (maximum).</p>\n</li>\n<li><p>Introduced an optional <code>includeEmpty</code> query parameter (defaulting to <code>false</code>) to include buckets where no trading activity occurred. For such buckets, <code>open</code>, <code>high</code>, <code>low</code>, and <code>close</code> prices will be identical (reflecting the last traded price), and <code>volume</code> and <code>quoteVolume</code> will be zero.</p>\n</li>\n</ul>\n<p><strong>3 July 2025</strong></p>\n<ul>\n<li>Added detail about the automatic pruning of unauthenticated WebSocket connections.</li>\n</ul>\n<p><strong>29 May 2025</strong></p>\n<ul>\n<li><p>Updated the documentation for the GET route <code>/v1/account/transactionhistory?skip=0&amp;limit=100&amp;transactionTypes=SIMPLE_BUY,LIMIT_BUY,MARKET_BUY¤cy=ZAR&amp;startTime=2020-02-29T22:00:00.000Z&amp;endTime=2021-04-30T21:59:59.999Z</code> to include the following transaction types:</p>\n<ul>\n<li><p><code>FUND</code></p>\n</li>\n<li><p><code>FIAT_WITHDRAWAL_FEE_REVERSAL</code></p>\n</li>\n<li><p><code>CREDIT_CARD_DEPOSIT</code></p>\n</li>\n<li><p><code>SPOT_BORROW_INTEREST_CHARGE</code></p>\n</li>\n<li><p><code>SPOT_LEND_INTEREST_PAYMENT</code></p>\n</li>\n<li><p><code>LIQUIDATION_LIMIT_BUY</code></p>\n</li>\n<li><p><code>LIQUIDATION_LIMIT_SELL</code></p>\n</li>\n<li><p><code>LIQUIDATION_TAKEOVER_ASSET_TRANSFER</code></p>\n</li>\n<li><p><code>LIQUIDATION_TAKEOVER_DEBT_TRANSFER</code></p>\n</li>\n<li><p><code>FUTURES_FUNDING_EARNED</code></p>\n</li>\n<li><p><code>FUTURES_FUNDING_PAID</code></p>\n</li>\n<li><p><code>FUTURES_PNL_PROFIT</code></p>\n</li>\n<li><p><code>FUTURES_PNL_LOSS</code></p>\n</li>\n<li><p><code>FUTURES_TRADE_FEE</code></p>\n</li>\n<li><p><code>COLLATERAL_CONVERSION_LIMIT_BUY</code></p>\n</li>\n<li><p><code>COLLATERAL_CONVERSION_LIMIT_SELL</code></p>\n</li>\n</ul>\n</li>\n<li><p>Added a GET and PUT route <code>/v1/margin/leverage/:currencypair</code> to the <code>Futures</code> folder. This route already exist in <code>Margin</code> folder and has been duplicated to the <code>Futures</code> folder for convenience.</p>\n</li>\n</ul>\n<p><strong>28 May 2025</strong></p>\n<ul>\n<li>Renamed Staking section to Earn and added corresponding <code>earnType</code> documentation to expose DeFi lending functionality.</li>\n</ul>\n<p><strong>20 May 2025</strong></p>\n<ul>\n<li>Modified the following routes to include <code>allowBorrow</code>:<br />  <code>/v1/account/subaccounts/transfer</code><br />  <code>/v1/wallet/crypto/:currencyCode/withdraw</code><br />  <code>/v1/wallet/fiat/:currencyCode/withdraw</code></li>\n</ul>\n<p><strong>09 May 2025</strong></p>\n<ul>\n<li>Added a new GET route <code>/v1/loans/rates/history?currencySymbol=</code> which returns the rate history and loan book utilisation from previous auctions.</li>\n</ul>\n<p><strong>10 April 2025</strong></p>\n<ul>\n<li>Added a new route PUT <code>/v1/pay/transactionid/:transactionId/partial-reverse</code> which allows a payment recipient to partially reverse a VALR Pay transaction.</li>\n</ul>\n<p><strong>31 March 2025</strong></p>\n<ul>\n<li><p>Added a new route GET <code>/v1/wallet/crypto/service-providers</code> which returns a list of all the supported service providers for use when performing a crypto withdrawal.</p>\n</li>\n<li><p>Updated <code>New Withdrawal</code> documentation describing how to use Beneficiary information when performing a new crypto withdrawal. Beneficiary information will be mandatory after 30 April 2025.</p>\n</li>\n</ul>\n<p><strong>27 March 2025</strong></p>\n<ul>\n<li><p>Added a GET public route <code>/v1/public/risklimit/:currencypair</code> which provides the available leverage options for a requested currency pair.</p>\n</li>\n<li><p>Added a GET to Margin route <code>/v1/margin/leverage/:currencypair</code> which returns the leverage information for a requested subaccount.</p>\n</li>\n<li><p>Added a PUT to the route <code>/v1/margin/leverage/:currencypair</code> which allows the user to update the maximum leverage for a subaccount.</p>\n</li>\n</ul>\n<p><strong>05 March 2025</strong></p>\n<ul>\n<li><p>Added a new public route <code>/v1/public/loans/info</code> returning loan info per currency supporting lending</p>\n</li>\n<li><p>Added support for <code>clientMsgId</code> parameter to Account Web Sockets to correlate requests and responses</p>\n</li>\n</ul>\n<p><strong>13 February 2025</strong></p>\n<ul>\n<li><p>Added the <code>V2 API / Brokerage Instructions</code> API</p>\n</li>\n<li><p>Added a new MARGIN_INFO event (beta) on the <code>ACCOUNT</code> websocket</p>\n</li>\n</ul>\n<p><strong>5 February 2025</strong></p>\n<ul>\n<li><p>Added a new route <code>/v1/wallet/crypto/withdraw/history</code> to retrieve an account's withdrawal history with <code>currency</code> as an optional query parameter. <code>startTime</code> and <code>endTime</code> (ISO 8601) can be used for additional time-based filtering. The existing route <code>/v1/wallet/crypto/:currencyCode/withdraw/history</code> remains functional but is now deprecated.</p>\n</li>\n<li><p>Added a new route <code>/v1/wallet/crypto/deposit/history</code> to retrieve an account's deposit history with <code>currency</code> as an optional query parameter. <code>startTime</code> and <code>endTime</code> (ISO 8601) can be used for additional time-based filtering. The existing route <code>/v1/wallet/crypto/:currencyCode/deposit/history</code> remains functional but is now deprecated.</p>\n</li>\n</ul>\n<p><strong>27 January 2025</strong></p>\n<ul>\n<li>PUT <code>/v1/orders/modify</code> Modify REPRICE has been added.</li>\n</ul>\n<p><strong>21 January 2025</strong></p>\n<ul>\n<li><p>GET <code>/v1/orders/history</code> now returns <code>totalExecutedQuantity</code></p>\n</li>\n<li><p>GET <code>/v1/orders/history/summary/orderid/:orderId</code> now returns <code>totalExecutedQuantity</code></p>\n</li>\n<li><p>GET <code>/v1/orders/history/summary/customerorderid/:customerOrderId</code> now returns <code>totalExecutedQuantity</code></p>\n</li>\n</ul>\n<p><strong>6 January 2025</strong></p>\n<ul>\n<li>Add a new route <code>/v1/account/tradehistory</code> to get an account's trading history without specifying a currency pair.</li>\n</ul>\n<p><strong>9 December 2024</strong></p>\n<ul>\n<li><p>POST <code>/v1/account/subaccounts/transfer</code> now returns the transfer ID</p>\n</li>\n<li><p>Transaction history items of type <code>INTERNAL_TRANSFER</code> now includes a <code>transferId</code> field</p>\n</li>\n</ul>\n<p><strong>25 October 2024</strong></p>\n<ul>\n<li><p>Add a new route <code>/v1/loans</code> to create a new loan.</p>\n</li>\n<li><p>Add a new route <code>/v1/loans/open</code> to view your open loans.</p>\n</li>\n<li><p>Add a new route <code>/v1/loans/credit-history?currencySymbol=symbol</code> to view previous loans.</p>\n</li>\n<li><p>Add a new route <code>/v1/loans/increase</code> to increase loan amount.</p>\n</li>\n<li><p>Add a new route <code>/v1/loans/rate</code> to update your loan's rate.</p>\n</li>\n<li><p>Add a new route <code>/v1/loans/update-history?currencySymbol=symbol</code> to view the history of your loan updates.</p>\n</li>\n<li><p>Add a new route <code>/v1/loans/unlock</code> to request an unlock and to cancel a request to unlock a loaned amount.</p>\n</li>\n<li><p>Futures limit and market orders now support <code>conditionalOrderData</code> which can be used to add Stop Loss and/or Take Profit orders.</p>\n</li>\n<li><p>Add a new route <code>/v1/orders/conditionals/:currencyPair/history</code> to fetch conditional orders by pair.</p>\n</li>\n<li><p>Add a new route <code>/v1/orders/conditionals/conditional/:currencyPair/orderid/:orderId</code> to fetch conditional orders by pair and an order ID.</p>\n</li>\n<li><p>Add a new route <code>/v1/orders/conditionals/modify</code> to modify conditional orders.</p>\n</li>\n<li><p>Add deposit and withdraw fields in supported networks to <code>/v1/public/currencies</code></p>\n</li>\n</ul>\n<p><strong>23 October 2024</strong></p>\n<ul>\n<li>Added Performance Guidelines</li>\n</ul>\n<p><strong>18 September 2024</strong></p>\n<ul>\n<li>Add <code>reduceOnly</code> flag information to limit and market orders.</li>\n</ul>\n<p><strong>30 August 2024</strong></p>\n<ul>\n<li><p>Order Types route <code>/v1/public/ordertypes</code> now supports the <code>includeInactivePairs</code> query parameter to allow excluding inactive pairs from the result</p>\n</li>\n<li><p>Add rate-limited sample messages to websockets</p>\n</li>\n</ul>\n<p><strong>16 August 2024</strong></p>\n<ul>\n<li><p>Order history route <code>/v1/orders/history</code> now includes <code>statuses</code> filter.</p>\n</li>\n<li><p>Trade history route <code>/v1/account/:currencyPair/tradehistory</code> now includes <code>skip</code> param.</p>\n</li>\n<li><p>Increased rate limits for websocket write requests to match current http rate limits.</p>\n</li>\n</ul>\n<p><strong>07 August 2024</strong></p>\n<ul>\n<li>Add new websocket order type <code>BATCH_ORDERS</code></li>\n</ul>\n<p><strong>22 July 2024</strong></p>\n<ul>\n<li>Split Account websocket section into <code>Read</code> and <code>Write</code>.</li>\n</ul>\n<p><strong>18 July 2024</strong></p>\n<ul>\n<li>Add a new route <code>/v1/account/subaccount</code> to rename subaccount labels.</li>\n</ul>\n<p><strong>15 July 2024</strong></p>\n<ul>\n<li>Increased rate limits for Post, Batch and Delete orders.</li>\n</ul>\n<p><strong>02 July 2024</strong></p>\n<ul>\n<li><p>Added a new route <code>/v1/account/transactionhistory/subaccounts</code> to expose subaccount transaction history.</p>\n</li>\n<li><p>Add a new route <code>/v1/account/subaccount</code> to DELETE subaccounts</p>\n</li>\n</ul>\n<p><strong>26 June 2024</strong></p>\n<ul>\n<li>Remove wire withdrawals. These are currently not supported.</li>\n</ul>\n<p><strong>14 June 2024</strong></p>\n<ul>\n<li><p>Added the following new events (alpha) on the <code>TRADE</code> websocket:</p>\n<ul>\n<li><p><code>OB_L1_DIFF</code></p>\n</li>\n<li><p><code>OB_L1_D1_SNAPSHOT</code></p>\n</li>\n<li><p><code>OB_L1_D5_SNAPSHOT</code></p>\n</li>\n<li><p><code>OB_L1_D10_SNAPSHOT</code></p>\n</li>\n<li><p><code>OB_L1_D20_SNAPSHOT</code></p>\n</li>\n<li><p><code>OB_L1_D40_SNAPSHOT</code></p>\n</li>\n<li><p><code>OB_L1_D80_SNAPSHOT</code></p>\n</li>\n</ul>\n</li>\n<li><p>Added <code>UNSUBSCRIBE</code> event on the <code>ACCOUNT</code> websocket.</p>\n</li>\n<li><p>Split Websocket section into <code>Trade</code> and <code>Account</code></p>\n</li>\n</ul>\n<p><strong>04 June 2024</strong></p>\n<ul>\n<li><p>Added the <code>/v1/conditionals</code> route to enable <code>GET</code> , <code>POST</code> and <code>DELETE</code> take profit and stop loss (conditional) orders for futures positions.</p>\n</li>\n<li><p>Added the following new events on the <code>ACCOUNT</code> websocket for futures trades: <code>ADD_CONDITIONAL_ORDER</code>, <code>REMOVE_CONDITIONAL_ORDER</code>, <code>OPEN_POSITION_UPDATE</code>, <code>REDUCE_POSITION</code> and <code>POSITION_CLOSED</code></p>\n</li>\n<li><p>Added the ability to place, modify and cancel orders on the <code>ACCOUNT</code> websocket.</p>\n</li>\n<li><p>Added the <code>CANCEL_ON_DISCONNECT</code> event on the <code>ACCOUNTS</code> websocket.</p>\n</li>\n<li><p>Open Orders call now includes <code>allowMargin</code> flag to easily identify open margin orders.</p>\n</li>\n<li><p>Added the currency pair by type public endpoint <code>/v1/public/pairs/:type</code> - to list currency pairs by either <code>Futures</code> or <code>Spot</code>.</p>\n</li>\n<li><p>Exposed the wallet send costs and minimum withdraw amounts for currencies on the public route <code>/v1/public/currencies</code></p>\n</li>\n<li><p>Refined the descriptions and examples for Limit Only Reprice, Margin Information.</p>\n</li>\n<li><p>Refined the authentication Requirements in Getting Started section.</p>\n</li>\n</ul>\n<p><strong>12 February 2024</strong></p>\n<ul>\n<li>Added stricter input validation of <code>side</code> and <code>TimeInForce</code> for Limit Orders and Stop Limit Orders.</li>\n</ul>\n<p><strong>06 December 2023</strong></p>\n<ul>\n<li>Added a new public route <code>/v1/public/futures/funding/history</code> to expose the Futures funding rate history.</li>\n</ul>\n<p><strong>05 December 2023</strong></p>\n<ul>\n<li><p>Updated per second rate limits to reflect new limits.</p>\n</li>\n<li><p>Added the <code>positionId</code> field for Futures positions</p>\n</li>\n<li><p>Added V2 API requests</p>\n<ul>\n<li><p>Modify Limit Order (Beta) - <code>/v2/orders/modify</code></p>\n</li>\n<li><p>Account Margin Information - <code>/v2/margin/status</code></p>\n</li>\n</ul>\n</li>\n<li><p>Updated V1 Order History API - <code>v1/orders/history</code></p>\n<ul>\n<li>Optional <code>startTime</code> and <code>endTime</code> date filters can now be used.</li>\n</ul>\n</li>\n</ul>\n<p><strong>27 November 2023</strong></p>\n<ul>\n<li><p><code>/v1/public/currencies</code> responses now include the supported and default blockchain network types for deposits and withdrawals, per currency. The network type can also be supplied when creating an address book address.</p>\n</li>\n<li><p><strong>NOTE</strong>: Due to the sensitive nature of withdrawals and deposits, providing the network type will become <strong>mandatory</strong> for all currencies that support more than one network for withdrawals and deposits from <strong>1 April 2024</strong>.</p>\n</li>\n<li><p>Updated API's</p>\n<ul>\n<li><p><code>/v1/public/currencies</code></p>\n</li>\n<li><p><code>/v1/wallet/crypto/:currencyCode/deposit/address</code></p>\n</li>\n<li><p><code>/v1/wallet/crypto/:currencyCode/deposit/history</code></p>\n</li>\n<li><p><code>/v1/wallet/crypto/address-book</code></p>\n</li>\n<li><p><code>/v1/wallet/crypto/address-book/:currencyCode</code></p>\n</li>\n<li><p><code>/v1/wallet/crypto/:currencyCode/withdraw</code></p>\n</li>\n<li><p><code>/v1/wallet/crypto/:currencyCode/withdraw/:withdrawId</code></p>\n</li>\n<li><p><code>/v1/wallet/crypto/:currencyCode/withdraw/history</code></p>\n</li>\n</ul>\n</li>\n</ul>\n<p><strong>15 November 2023</strong></p>\n<p>Added the following updates to enable Futures Trading via the API :</p>\n<ul>\n<li><p><code>/v1/public/futures/info</code> - which returns contract details of perpetual Futures contracts</p>\n</li>\n<li><p><code>/v1/positions/open</code> - which returns open Futures contracts for an account</p>\n</li>\n<li><p><code>/v1/positions/closed/summary</code> - which returns a summary of closed Futures contracts</p>\n</li>\n<li><p><code>/v1/positions/closed?currencyPair</code> - which returns a detailed view of closed Futures contracts per Futures pair</p>\n</li>\n<li><p><code>/v1/positions/history?currencyPair</code> - which returns a history of Futures contracts held by an account</p>\n</li>\n<li><p><code>/v1/positions/funding/history?currencyPair</code> - a history of funding</p>\n</li>\n<li><p><code>/v1/margin/account/status</code> - to enable an account for Futures trading using the endpoint</p>\n</li>\n<li><p>Added an example of the <code>MARK_PRICE_UPDATE</code> event on the <code>TRADE</code> websocket</p>\n</li>\n</ul>\n<p><strong>09 November 2023</strong></p>\n<ul>\n<li><p>Added the <code>/v1/orders/modify</code> to modify open and partially filled Limit Orders</p>\n</li>\n<li><p>Added <code>MODIFY_ORDER_OUTCOME</code> event to the Account Websocket</p>\n</li>\n<li><p>Updated the <code>OPEN_ORDERS_UPDATE</code> Websocket event to include the Order Modified status</p>\n</li>\n<li><p>Added Margin trading to the <code>/v1/orders/limit</code> and <code>/v1/orders/market</code></p>\n</li>\n<li><p>Added <code>/v1/public/:currencyPair/markprice/buckets</code> which returns Mark Price buckets for a given currency pair</p>\n</li>\n<li><p>Added Limit Order Reprice to <code>/v1/orders/limit</code></p>\n</li>\n<li><p>Updated Trade History <code>/v1/account/:currencyPair/tradehistory?limit=10</code> to include fees and rewards</p>\n</li>\n</ul>\n<p><strong>30 October 2023</strong></p>\n<ul>\n<li>Added the <code>/v1/account/fees/trade</code> request to list all trade fees per currency pair</li>\n</ul>\n<p><strong>10 October 2023</strong></p>\n<ul>\n<li>Added per-second rate-limit to <code>/v1/account/subaccounts/transfer</code></li>\n</ul>\n<p><strong>18 September 2023</strong></p>\n<ul>\n<li>Added sequence number calculation to <code>FULL_ORDERBOOK_UPDATE</code> web socket documentation.</li>\n</ul>\n<p><strong>18 August 2023</strong></p>\n<ul>\n<li>Added V2 Exchange Buy/Sell API in Alpha.</li>\n</ul>\n<p><strong>28 July 2023</strong></p>\n<ul>\n<li>Updated per second rate limits to reflect new limits.</li>\n</ul>\n<p><strong>14 July 2023</strong></p>\n<ul>\n<li>Added Staking API</li>\n</ul>\n<p><strong>15 May 2023</strong></p>\n<ul>\n<li><p>Documented new websocket connections rate limit</p>\n</li>\n<li><p>Updated the <code>/v1/balances</code> request with query parameter<code>excludeZeroBalances</code> to return non zero balances only</p>\n</li>\n<li><p>Updated the<code>BALANCE_UPDATE</code> Websocket event to include the following fields: <code>totalInReference</code> , <code>totalInReferenceWeighted</code> and<code>referenceCurrency</code></p>\n</li>\n<li><p>Updated pre-request script and documentation to support the <code>yourSubAccountId</code> environment variable. This allows impersonating an account with every request.</p>\n</li>\n</ul>\n<p><strong>06 March 2023</strong></p>\n<ul>\n<li><p>Added a request to link a new fiat bank account</p>\n</li>\n<li><p>Added a request for linked fiat bank account details</p>\n</li>\n<li><p>Added a request to delete a linked fiat bank account</p>\n</li>\n<li><p>Added a request to list all banks supported for fiat withdrawals per currency</p>\n</li>\n<li><p>Added a request to get an auto-buy reference for buying a currency with a fiat deposit</p>\n</li>\n<li><p>Added a request to list all currencies supported for auto-buy per fiat currency</p>\n</li>\n</ul>\n<p><strong>03 March 2023</strong></p>\n<ul>\n<li>Removed Deposit Instructions for Wire Transfers</li>\n</ul>\n<p><strong>25 November 2022</strong></p>\n<ul>\n<li>Updated rate limits for <code>/v1/batch/orders</code> and <code>/v1/orders.</code></li>\n</ul>\n<p><strong>17 November 2022</strong></p>\n<ul>\n<li><p>Added the Caching section.</p>\n</li>\n<li><p>Added the <code>collateral</code> and <code>collateralWeight</code> fields to - <code>v1/public/currencies</code> which are reserved for future use.</p>\n</li>\n<li><p>Added <code>marginTradingAllowed</code> to the <code>/v1/public/pairs</code> endpoint, reserved for future use.</p>\n</li>\n<li><p>Added the <code>MARK_PRICE_UPDATE</code> event to the <code>Trade</code> Websocket</p>\n</li>\n<li><p>Updated the <code>BALANCE_UPDATE</code> Websocket event to include the following fields that are reserved for future use: <code>collateral</code>, <code>collateralWeight</code>, <code>lendReserved</code>, <code>borrowCollateralReserved</code>, <code>borrowedAmount</code></p>\n</li>\n<li><p>Updated the <code>NEW_ACCOUNT_HISTORY_RECORD</code> Websocket event to include the following fields that are reserved for future use: <code>collateral</code>, <code>collateralWeight</code></p>\n</li>\n</ul>\n<p><strong>19 August 2022</strong></p>\n<ul>\n<li><p>Clarify that per minute and per second rate limits do not interact.</p>\n</li>\n<li><p>Add examples for stop orders to the Exchange Buy/Sell API.</p>\n</li>\n<li><p>Increase subaccount limit to 2000 per main account.</p>\n</li>\n</ul>\n<p><strong>18 August 2022</strong></p>\n<ul>\n<li><p>Added <code>/v1/orders</code> request to cancel all open orders.</p>\n</li>\n<li><p>Added <code>/v1/orders/:currencyPair</code> to cancel all open orders for the given currency pair.</p>\n</li>\n</ul>\n<p><strong>04 August 2022</strong></p>\n<ul>\n<li>Increased per second rate limits for <code>/v1/batch/orders</code> and <code>/v1/orders</code></li>\n</ul>\n<p><strong>20 July 2022</strong></p>\n<ul>\n<li>Updated VALR Pay documentation to reflect new ability to send and receive cryptocurrencies in addition to fiat.</li>\n</ul>\n<p><strong>11 July 2022</strong></p>\n<ul>\n<li>Updated per second rate limits to reflect new limits.</li>\n</ul>\n<p><strong>27 June 2022</strong></p>\n<ul>\n<li>Added per second rate limits to <code>/v1/batch/orders</code> and <code>/v1/orders</code>.</li>\n</ul>\n<p><strong>12 June 2022</strong></p>\n<ul>\n<li><p>The Market Summary APIs <code>/v1/public/marketsummary</code> and <code>/v1/public/:currencyPair/marketsummary</code> now return a <code>markPrice</code> field, which is reserved for future use.</p>\n</li>\n<li><p>The Balances API <code>/v1/account/balances</code> now returns the following additional fields, which are reserved for future use.</p>\n<ul>\n<li><p><code>lendReserved</code></p>\n</li>\n<li><p><code>borrowReserved</code></p>\n</li>\n<li><p><code>borrowedAmount</code></p>\n</li>\n</ul>\n</li>\n<li><p>The Simple Buy/Sell Quote API <code>v1/simple/:currencyPair/quote</code> now returns an array of <code>ordersToMatch,</code> which includes <code>price</code> and <code>quantity</code>; if they exist.</p>\n</li>\n</ul>\n<p><strong>9 May 2022</strong></p>\n<ul>\n<li>The <strong>FULL_ORDERBOOK_UPDATE</strong> Trade WebSocket stream now returns a <code>Checksum</code> field.</li>\n</ul>\n<p><strong>8 February 2022</strong></p>\n<ul>\n<li><p>Added the <strong>FULL_ORDERBOOK_UPDATE</strong> Trade WebSocket stream. Please note that this is an <em>alpha</em> feature and may change in ways that are not backwards-compatible. We value any feedback! Please send your feedback to <a href=\"https://mailto:support@valr.com\">support@valr.com</a></p>\n</li>\n<li><p>The following APIs now include a <code>\"SequenceNumber\"</code> field on the returned order book:</p>\n<ul>\n<li><p><code>/public/:currencyPair/orderbook</code></p>\n</li>\n<li><p><code>/public/:currencyPair/orderbook/full</code></p>\n</li>\n<li><p><code>/marketdata/:currencyPair/orderbook</code></p>\n</li>\n<li><p><code>/marketdata/:currencyPair/orderbook/full</code></p>\n</li>\n</ul>\n</li>\n</ul>\n<p><strong>14 December 2021</strong></p>\n<ul>\n<li><p>Added the Wire Transfers API to facilitate USD wire bank accounts deposits and withdrawals. (<code>/v1/wire</code>)</p>\n</li>\n<li><p>Added the VALR Pay API (<code>/v1/pay</code>) for initiating payments, getting payment details and history.</p>\n</li>\n<li><p>Added the Deposit Reference API to enable retrieval of Deposit reference by subaccounts.(<code>/v1/fiat/:currencyCode/deposit/reference</code>)</p>\n</li>\n</ul>\n<p><strong>31 October 2021</strong></p>\n<ul>\n<li><p>Added the following APIs for interaction with subaccounts:</p>\n<ul>\n<li><p>(<code>account/balances/all</code>) - returns all non zero balances for the portfolio.</p>\n</li>\n<li><p>(<code>account/subaccounts</code>) - returns all subaccounts that belong to a primary account.</p>\n</li>\n<li><p>(<code>account/subaccount</code>) - register a new subaccount.</p>\n</li>\n<li><p>(<code>account/subaccounts/transfer</code>) - transfer between subaccounts.</p>\n</li>\n</ul>\n</li>\n<li><p>Updated the <code>Authentication</code> section to include the <code>X-VALR-SUB-ACCOUNT-ID</code> header for subaccount impersonation.</p>\n</li>\n<li><p>Updated the rate limit for authenticated API calls.</p>\n</li>\n</ul>\n<p><strong>15 September 2021</strong></p>\n<ul>\n<li>Added the Current API Key Information API (<code>/account/api-keys/current</code>) which returns the currently authorised API key's information and permissions.</li>\n</ul>\n<p><strong>23 August 2021</strong></p>\n<ul>\n<li>Batch Orders API <em>(Alpha)</em> is now available to batch multiple exchange orders.</li>\n</ul>\n<p><strong>20 June 2021</strong></p>\n<ul>\n<li>New transaction types were added for filtering of Account Transaction History.</li>\n</ul>\n<p><strong>08 February 2021</strong></p>\n<ul>\n<li><p>A Stop Limits API (<code>/orders/stop/limit</code>) is now available to place <code>STOP_LOSS_LIMIT</code> and <code>TAKE_PROFIT_LIMIT</code> orders.</p>\n</li>\n<li><p>Limit Orders (<code>/orders/limit</code>) <code>POST</code> request now accepts <code>timeInForce</code> as an optional parameter. (<code>GTC</code>, <code>FOK</code>, <code>IOC</code>)</p>\n</li>\n<li><p>Time in Force (<code>GTC</code>, <code>FOK</code>, <code>IOC</code>) field is now included in <code>GET</code> responses of the following APIs:</p>\n<ul>\n<li><p>Open Order (<code>/orders/open</code>)</p>\n</li>\n<li><p>Order History (<code>/orders/history</code>)</p>\n</li>\n<li><p>Order Status (<code>/orders/history/detail/</code>)</p>\n</li>\n</ul>\n</li>\n<li><p>New order types of: <code>STOP_LOSS_LIMIT</code> and <code>TAKE_PROFIT_LIMIT</code> added to applicable Currency Pairs for the following Public APIs:</p>\n<ul>\n<li><p>Public Order Types (<code>/public/ordertypes</code>)</p>\n</li>\n<li><p>Public Currency Pairs (<code>/public/:currencyPair/ordertypes</code>)</p>\n</li>\n</ul>\n</li>\n<li><p>Updated example for Public Currency pairs (<code>/publiirs</code>) API with fields <code>tickSize</code> and <code>baseDecimalPlaces</code> for each traded currency pair.</p>\n</li>\n<li><p>Updated example for for all TransactionId API requests (<code>/account/transactionhistory</code>) with the <code>id</code> field in the response.</p>\n</li>\n<li><p>Updated documentation for Trade History API. (`/account/:currencyPair</p>\n</li>\n</ul>\n<p><strong>02 February 2021</strong></p>\n<ul>\n<li><p>The Order API (<code>/orders/open</code>) now includes the following fields in <code>GET</code> responses:<br />  <code>updatedAt</code>, <code>status</code>, <code>type</code></p>\n</li>\n<li><p>Updated the Order History APIs (<code>/orders/history</code>) to include the <code>feeCurrency</code> field.</p>\n</li>\n<li><p>Examples for Order History Detail APIs (<code>/orders/history/detail/</code>) updated to include the fields:</p>\n<ul>\n<li><p><code>executedFee</code></p>\n</li>\n<li><p><code>executedQuantity</code></p>\n</li>\n<li><p><code>executedPrice</code></p>\n</li>\n</ul>\n</li>\n</ul>\n<p><strong>29 November 2020</strong></p>\n<ul>\n<li><p>Crypto withdrawals created (<code>/wallet/crypto/:currencyCode/withdraw</code>) with more decimals than the number of decimals supported by the currency will be truncated.</p>\n</li>\n<li><p>The Currencies list (<code>/public/currencies</code>) now includes the following new fields:</p>\n<ul>\n<li><p><code>decimalPlaces</code></p>\n</li>\n<li><p><code>withdrawalDecimalPlaces</code></p>\n</li>\n</ul>\n</li>\n<li><p>Withdrawal Info (<code>/wallet/crypto/:currencyCode/withdraw</code>) now includes the following new field:</p>\n<ul>\n<li><code>withdrawalDecimalPlaces</code></li>\n</ul>\n</li>\n<li><p>A Public Trade History for a currency pair API (<code>/public/:currencyPair/trades</code>) is now available and can be filtered by the <code>skip</code>, <code>limit</code>, <code>startTime</code>, <code>endTime</code> and <code>beforeId</code> parameters. This is similar to Transaction History filtering.</p>\n</li>\n<li><p>A Public Non-aggregated Order Book API (<code>public/:currencyPair/orderbook/full</code>) is now available.</p>\n</li>\n<li><p>A Whitelisted Withdrawal Address Book API (<code>/wallet/crypto/address-book</code> and <code>/wallet/crypto/address-book/:currencyCode</code>) returning whitelisted addresses is now available.</p>\n</li>\n</ul>\n<p><strong>06 September 2020</strong></p>\n<ul>\n<li><p>Asks and Bids on exchange order books: The number of Asks and Bids sent via our Order Book APIs has been increased from 20 each to 40 each.</p>\n</li>\n<li><p>Order History Detail APIs (<code>/orders/history/detail/</code>) now include the following new fields:</p>\n<ul>\n<li><p><code>executedFee</code></p>\n</li>\n<li><p><code>executedQuantity</code></p>\n</li>\n<li><p><code>executedPrice</code></p>\n</li>\n</ul>\n</li>\n</ul>\n<p><strong>12 July 2020</strong></p>\n<ul>\n<li>Rate limiting: Rate limit has been updated to 120 calls per 1 minute window. When rate limited, a response code of 429 and a response header of <code>x-valr-ratelimited: true</code> will be returned.<ul>\n<li>Example 1: You are allowed to do 120 calls from 10:10:00 to 10:10:59. When the time changes to 10:11:00, the counter will be reset and will start over.<br />  - Example 2: If the first request comes in at 10:10:30, the counter will be reset at 10:11:00.</li>\n</ul>\n</li>\n</ul>\n<p><strong>31 May 2020</strong></p>\n<ul>\n<li><p>Separated the API and Website web socket sessions. WebSockets which were connected via the API will no longer be closed when the user logs out of the VALR website.</p>\n</li>\n<li><p>When a <code>PING</code> message is received on the Trade WebSocket, a response with <code>NO_SUBSCRIPTIONS</code> in the <code>PONG</code> will be sent, if the user has not subscribed to any message types.</p>\n</li>\n<li><p>When a user connects and authenticates to the Account WebSocket, all account balances and open orders associated with the user account will be sent in the response. One <code>BALANCE_UPDATE</code> message for each asset held and one <code>OPEN_ORDERS_UPDATE</code> message containing all open orders on the account, across all order books will be sent.</p>\n</li>\n<li><p>The <code>BALANCE_UPDATE</code> web socket message now includes an <code>updatedAt</code> field.</p>\n</li>\n<li><p>The REST GET Balances response (<code>https://api.valr.com/v1/account/balances</code>) now includes an <code>updatedAt</code> field for each asset held.</p>\n</li>\n<li><p>Added the REST GET VALR Status (<code>https://api.valr.com/v1/public/status</code>) request which will indicate whether the API is \"online\" or in \"read-only\" mode. In \"read-only\" mode, only GET and OPTIONS requests are accepted. The \"read-only\" mode is sometimes necessary during maintenance.</p>\n</li>\n<li><p>The <code>filledPercentage</code> field on open orders is now accurate to two decimal places.</p>\n</li>\n<li><p>The REST GET Order Book. (<code>https://api.valr.com/v1/marketdata/:currencyPair/orderbook</code>) response and the REST GET Order Book. (Non aggregated) (<code>https://api.valr.com/v1/marketdata/:currencyPair/orderbook/full</code>) response now include a <code>LastChange</code> field, indicating the timestamp of the last update to the order book.</p>\n</li>\n<li><p>The <code>AGGREGATED_ORDERBOOK_UPDATE</code> message on the Trade web socket now includes a <code>LastChange</code> field, indicating the timestamp of the last update to the order book.</p>\n</li>\n</ul>\n","_postman_id":"d74b5aeb-695a-4576-a11b-80e4244d8757"},{"name":"Health","id":"e32cf742-1ea8-4784-aab7-133197696f06","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://api.valr.com/v2/healthz","description":"<p>Get the current status of V2 API.</p>\n<p>A 200 response indicates that the V2 API is available.  </p>\n<p>When VALR status is \"read-only\" all POST and DELETE requests on the V2 API will return a 503 response. Please see <code>Public/VALR Status</code> for more information.</p>\n","urlObject":{"path":["v2","healthz"],"host":["https://api.valr.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"e32cf742-1ea8-4784-aab7-133197696f06"}],"event":[{"listen":"prerequest","script":{"id":"60299770-61fb-4e18-b4fd-238d26de18ff","type":"text/javascript","exec":["/* Pre-requisite","==================","1) Create a new Environment in Postman.","2) Add two variables: \"yourApiKey\" and \"yourApiSecret\" to the Environment. Provide appropriate initial values for these variables. That is, the Api Key and Api Secret for your account.","3) Enable this environment for your requests.","4) For each request, this script generates the following two new environment variables:","","* requestSignature","* requestTimestamp","","5) Ensure that the following three headers are sent with every request:","","X-VALR-API-KEY: b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","X-VALR-SIGNATURE: {{requestSignature}}","X-VALR-TIMESTAMP: {{requestTimestamp}}","","Subaccounts","==================","To perform a request impersonating a specific subaccount, the subaccount ID must be provided. The ID can be determined by using `Account/Subaccounts/Retrieve Subaccounts`. Once the ID is determined, it can be added to the request by either adding the `X-VALR-SUB-ACCOUNT-ID` header, with the ID as value, to the request directly, or by adding the variable {{yourSubAccountId}} to the Postman Environment. If both are provided, the header has precedence. If the variable is provided it will be added to every request.","","Please note: Requests that may only be performed on the Primary account will fail with a \"401: Unauthorized\" response if the subaccount ID is included.","","*/","","var YOUR_API_KEY = postman.getEnvironmentVariable('yourApiKey');","var YOUR_API_SECRET = postman.getEnvironmentVariable('yourApiSecret');","","var subAccountHeader = pm.request.headers.find((header) => header.key === 'X-VALR-SUB-ACCOUNT-ID' && !header.disabled)","var YOUR_SUB_ACCOUNT_ID = subAccountHeader ? subAccountHeader.value ","        : postman.getEnvironmentVariable('yourSubAccountId');","","var requestTimestamp = (new Date()).getTime();","","function getPath(url) {","    var pathRegex = /(?:.+?\\:\\/\\/.+?)?(\\/.+)/;","    var result = url.match(pathRegex);","    return result && result.length > 1 ? result[1] : ''; ","}",""," ","function getHmacDigest(httpMethod, requestUrl, requestBody) {","    var requestPath = getPath(requestUrl.toString());","    if (httpMethod == 'GET' || !requestBody) {","        requestBody = ''; ","    } ","","    var requestData = [requestTimestamp, httpMethod.toUpperCase(), requestPath, requestBody, YOUR_SUB_ACCOUNT_ID].join(\"\");","    var hmacDigest = CryptoJS.enc.Hex.stringify(CryptoJS.HmacSHA512(requestData, YOUR_API_SECRET));","    return hmacDigest;","}"," ","postman.setEnvironmentVariable('requestSignature', getHmacDigest(pm.request.method, pm.request.url, pm.request.body));","postman.setEnvironmentVariable('requestTimestamp', requestTimestamp);","","if (YOUR_SUB_ACCOUNT_ID && YOUR_SUB_ACCOUNT_ID > 0 && !subAccountHeader) {","    pm.request.headers.add({ key: 'X-VALR-SUB-ACCOUNT-ID', value: `${YOUR_SUB_ACCOUNT_ID}` });","}",""]}},{"listen":"test","script":{"id":"7653ac23-f78f-434a-add7-dac5798823da","type":"text/javascript","exec":[""]}}],"variable":[{"key":"apiBaseUrl","value":"https://api.valr.com"},{"key":"yourApiKey","value":"b9fb68df5485639d03c3171cf6e49b89e52fd78d5c313819b9c592b59c689f33","type":"string"},{"key":"yourApiSecret","value":"4961b74efac86b25cce8fbe4c9811c4c7a787b7a5996660afcc2e287ad864363","type":"string"}]}