{"info":{"_postman_id":"f5ca18e2-57db-49f0-884f-a168ccb74c2b","name":"PitaiaTrade","description":"Documentação da API de métodos da PitaiaTrade para integração com outras plataformas.\n\n# Informações Gerais\n\n* A base do endpoint é https://api.pitaiatrade.com\n\n\n* Todos endpoints returnam ou um objeto ou array no formato JSON. Segue um exemplo de payload de \n```json\n{\n  \"status\": \"ok\",\n  \"data\": {\n  \t\"orders\": {\n  \t   ...\n  \t}\n  }\n}\n```\n\n* Qualquer endpoint pode retornar um ERROR; segue um exemplo do payload erro:\n```json\n{\n  \"status\": \"error\",\n  \"reason\": \"id_is_not_valid\",\n  \"message\": \"The id value is not valid.\"\n}\n```\n\n# Rate limit\n```\nMáximo 1 Requisição/segundo por IP (no caso reincidência, o IP poderá ser bloqueado ou conta temporariamente suspensa)\n```\n\n# Error Codes\n\n* Todas requisições da API possuem 2 tipos retornos HTTP:\n\n| Key | Value |\n| ------ | ------ |\n| OK | HTTP/1.1 200 OK |\n| Server Error | HTTP/1.1 500 Error |\n\n\n# Autorização (Signed HMAC-512)\n\n* Toda requisição utilizando as `private api` o payload dever ser assinado com algoritmo HMAC-512.\n\n* É possível solicitar sua Chave de API gratuitamente acessando: https:/broker.pitaiatrade.com > Menu Superior Conta > Menu Lateral Chaves de API > Nova Chave de API. \n\n* Na solicitação de uma Nova Chave de API, você pode solicitar as permissões de acesso descritas abaixo:\n\n| Permissão | Endpoint |\n| ------ | ------ |\n| Visualizar Saldo do Usuário | `/v1/user/balance` `/v1/user/info` |\n| Habilitar Compra/Venda | `/v1/order/open` `/v1/order/buy/BTC/BRL` `/v1/order/sell/BTC/BRL` `/v1/order/trades` `/v1/order/cancel` |\n| Habilitar Saque (somente em BTC) |  `/v1/withdrawal` |\n\nExemplo de Chaves de API gerada (secreApi irá aparecer somente uma única vez):\n\n| Key | Value |\n| ------ | ------ |\n| apiKey | xn85HjlscQd26Ym9Wu40bqr3CfaiAtkT |\n| secretKey | 3dwLE7qr2fFHTI8bU0h5B1ecmsMGNizJKajnVXvWx6AglQtyDYRpS9ku4oOPCZ |\n\n* Todas as Endpoints possuem os seguintes Headers HTTP. Segue um exemplo real:\n\n| Header | Value |\n| ------ | ------ |\n| Content-Type | application/json |\n| X-ApiKey | xn85HjlscQd26Ym9Wu40bqr3CfaiAtkT |\n| X-Nounce | 1553566719 |\n| X-Signature | dea8fa04936f9b14b665767fe115e80c10caab596f7a58ec2ad9692adaf414f39d0efd5eefb2c114d82d175abbb724676b28c0557b7787b27226b74427de0371 |\n\n\n# Exemplo de Request/Payloads\n\n* Sintaxe de PAYLOAD (sem JsonData)\n* `{apiKey}+{nounce}+'POST+'{url}`\n\n* Sintaxe de PAYLOAD (com JsonData)\n* `{apiKey}+{nounce}+'POST+'{url}+{postDataJsonString}`\n\n## Exemplo de Payload (Signed HMAC-512) em Linguagem PHP:\n\n```php\n\n<?php \n\n$apiKey = 'xn85HjlscQd26Ym9Wu40bqr3CfaiAtkT';\n$apiSecret = '3dwLE7qr2fFHTI8bU0h5B1ecmsMGNizJKajnVXvWx6AglQtyDYRpS9ku4oOPCZ';\n\n$url = 'https://api.pitaiatrade.com/v1/order/buy/BTC/BRL'\n$nounce = intval(microtime(true)); // 1553574800 \n\n$postDataArr = array({\n\t\"subtype\" => \"limit\",\n\t\"amount\" => 0.001,\n\t\"price\" => 10000\n})\n\n$postDataJson = json_encode($postDataArr, JSON_UNESCAPED_UNICODE); // {\"subtype\":\"limit\",\"amount\":0.001,\"price\":10000}\n\n// $payload = $apiKey . '+' . $nounce . '+' . 'POST. '+' . $uri;\n$payload = $apiKey . '+' . $nounce . '+' . 'POST. '+' . $uri . '+' . $postDataJson;\n\n$signature = hash_hmac('sha512', $payload, $apiSecret); // a725a620bdf433dab107f205bbd482630107a654b1ccfc5b97d71619f3f02c44b74e07e7191966f3ddce1b9bbb17c68828516a78d6ebefaab954b3df53726cbf\n\n$requestHeaders = array();\n$requestHeaders[] = 'Content-Type: application/json';\n$requestHeaders[] = 'Content-length: ' . strlen($postDataJson);\n$requestHeaders[] = 'X-ApiKey: ' . $apiKey;\n$requestHeaders[] = 'X-Nounce: ' . $nounce;\n$requestHeaders[] = 'X-Signature: ' . $signature;\n\n\n$ch = curl_init($url);\ncurl_setopt_array($ch, array(\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => $postDataJson,\n  CURLOPT_HTTPHEADER => $requestHeaders,\n  CURLOPT_USERAGENT => \"Broker Client/1.0\",\n  CURLOPT_RETURNTRANSFER => true,\n  // CURLOPT_SSL_VERIFYPEER => false,\n  // CURLOPT_SSL_VERIFYHOST => true,\n));\n\n$responseBody = curl_exec($ch);\n$responseStatus = curl_getinfo($ch, CURLINFO_HTTP_CODE);\ncurl_close($ch);\n\n$responseData = json_decode($responseBody, true);\n// {\n//     \"status\": \"ok\",\n//     \"data\": {\n//         \"status\": null,\n//         \"amount\": 0.001,\n//         \"remaining\": null,\n//         \"asset\": \"BTC\",\n//         \"price\": 10000,\n//         \"currency\": \"BRL\"\n//     }\n// }\n\n```\n\n## Exemplo de Payload (Signed HMAC-512) em Linguagem Python 2.x e 3.x:\n\n\n```python\nimport hmac\nimport hashlib\nimport requests\nimport time\nimport sys\n\ndef get_bytes_utf8(text):\n  if (sys.version_info > (3, 0)): # Python 3.x\n    return bytes(text, 'utf-8')\n  else:  # Python 2.x   \n    return bytes(text).encode('utf-8')\n\napi_key = 'xn85HjlscQd26Ym9Wu40bqr3CfaiAtkT'\napi_secret = '3dwLE7qr2fFHTI8bU0h5B1ecmsMGNizJKajnVXvWx6AglQtyDYRpS9ku4oOPCZ'\n\nurl_method = 'POST'\nurl = 'https://api.pitaiatrade.com/v1/user/info'\nnounce = str(int(time.time()))\n\n# payload = '{}+{}+{}+{}+{}'.format(api_key, nounce, url_method, url, postJsonString)\npayload = '{}+{}+{}+{}'.format(api_key, nounce, url_method, url)\n# print(payload)\n\nsignature = hmac.new(get_bytes_utf8(api_secret), get_bytes_utf8(payload), hashlib.sha512).hexdigest()\n\nheaders = {\n  'Content-Type': 'application/json',\n  'X-ApiKey': api_key,\n  'X-Nounce': nounce,\n  'X-Signature': signature\n}\n\nresponse = requests.request(url_method, url, headers = headers, allow_redirects=False)\n\nprint(response.text)\n\n```\n\n# Lista de Endpoints","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json"},"item":[{"name":"[public] Ticker","id":"e745b2b8-44b6-4dac-87da-6b3446d2392c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.pitaiatrade.com/v1/ticker","description":"`public api` Resumo de todas operações executadas nas últimas 24h.\n\n# RESPONSE\n\n ## Propriedade `ticker`\n | Parâmetro | Tipo | Descrição |\n | ------ | ------ | ------ |\n | high | float | Maior Preço nas últimas 24h. |\n | low | float | Menor Preço nas últimas 24h. |\n | volume | float | Volume negociado nas últimas 24h. |\n | trades | integer | Número de trades realizadas nas últimas 24h. |\n | buy | float | Maior Preço de oferta de compra nas últimas 24h. | \n | sell | float | Maior Preço de oferta de venda nas últimas 24h. |\n | date | uint64 | Data/Hora no formato UNIX. |"},"response":[{"id":"07a56de9-acd4-400c-a6c6-9cde08e98db1","name":"Ticker","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"https://api.pitaiatrade.com/v1/ticker"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 31 Oct 2018 17:07:47 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"162"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"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":"4727b84e98eeb8c5-MIA"}],"cookie":[],"responseTime":null,"body":"{\n    \"exchange\": \"pitaiatrade\",\n    \"asset\": \"BTC\",\n    \"currency\": \"BRL\",\n    \"ticker\": {\n        \"high\": 23520.17,\n        \"low\": 23407.32,\n        \"volume\": 0.02518151,\n        \"trades\": 2,\n        \"buy\": 23428.98,\n        \"sell\": 23498.43,\n        \"date\": 1541005667\n    }\n}"},{"id":"1df5b00a-555f-483a-b9d5-bf8076f74784","name":"Ticker","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"https://api.pitaiatrade.com/v1/ticker"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"CF-RAY","value":"464324a9a9f84bb1-GRU","name":"CF-RAY","description":"Custom header"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Length","value":"142","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 03 Oct 2018 23:21:07 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"","name":"Expect-CT","description":"Custom header"},{"key":"Server","value":"cloudflare","name":"Server","description":"A name for the server"},{"key":"Vary","value":"Accept-Encoding","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."}],"cookie":[{"expires":"Thu Oct 03 2019 23:20:22 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"pitaiatrade.com","path":"/","secure":true,"value":"dffd26d70820b416a92c41c751b7510861538608822","key":"__cfduid"}],"responseTime":null,"body":"{\"exchange\":\"pitaiatrade\",\"asset\":\"BTC\",\"currency\":\"BRL\",\"ticker\":{\"high\":26067.11,\"low\":25980.25,\"buy\":26029.29,\"sell\":25981.19,\"date\":1538608867}}"}],"_postman_id":"e745b2b8-44b6-4dac-87da-6b3446d2392c"},{"name":"[public] OrderBook","id":"c6363f59-6fce-4e2c-b077-c12e102f9780","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.pitaiatrade.com/v1/orderbook","description":"`public api` Lista das ordens abertas para compra (asks) e para venda (bids) presente no livro de negociação.\n\n# RESPONSE\n\n ## Propriedade `bids`\n Lista de ofertas de compras, ordenadas pelo maior preço.\n \n | Parâmetro | Tipo | Descrição |\n | ------ | ------ | ------ |\n | `[0]` | float | Preço da oferta de compra. |\n | `[1]` | float | Quantidade da oferta de compra. |\n \n ## Propriedade `asks`\n Lista de ofertas de vendas, ordenadas pelo menor preço.\n \n | Parâmetro | Tipo | Descrição |\n | ------ | ------ | ------ |\n | `[0]` | float | Preço da oferta de venda. |\n | `[1]` | float | Quantidade da oferta de venda. |\n \n "},"response":[{"id":"72cbd904-86ee-43c9-be75-ca9b002ddaac","name":"OrderBook","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"https://api.pitaiatrade.com/v1/orderbook"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"CF-RAY","value":"46432391caaa4bb1-GRU","name":"CF-RAY","description":"Custom header"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Length","value":"524","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 03 Oct 2018 23:20:22 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"","name":"Expect-CT","description":"Custom header"},{"key":"Server","value":"cloudflare","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"__cfduid=dffd26d70820b416a92c41c751b7510861538608822; expires=Thu, 03-Oct-19 23:20:22 GMT; path=/; domain=.pitaiatrade.com; HttpOnly; Secure","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Vary","value":"Accept-Encoding","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."}],"cookie":[{"expires":"Thu Oct 03 2019 23:20:22 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"pitaiatrade.com","path":"/","secure":true,"value":"dffd26d70820b416a92c41c751b7510861538608822","key":"__cfduid"}],"responseTime":null,"body":"{\"exchange\":\"pitaiatrade\",\"asset\":\"BTC\",\"currency\":\"BRL\",\"bids\":[[0.00273022,26005.23],[0.00413085,25873.61],[0.01332745,25569.04],[0.00621484,24599.18],[0.01396985,24471.99],[0.01426608,24385.11],[0.0019777,24265.55],[0.00342368,24111.5],[0.00957513,23985.06],[0.00096327,23877.06],[0.00167601,23752.8],[0.01956345,23308.77],[0.01008399,22907.61],[0.00829713,22742.8],[0.00673724,22501.8],[0.00491056,22197.06],[0.01559641,21864],[0.01837813,21765],[0.00502356,20901.5],[0.01708131,20490.23],[0.00103335,20322.23],[0.00203023,20194.72]],\"asks\":[[0.00051105,26005.23],[0.00337259,26279.48],[0.01295134,26350.16],[0.01001177,26439.89],[0.00534526,26522.55],[0.01415501,26608.25],[0.0079637,26751.39],[0.01000405,26866.12],[0.00462281,26938.18],[0.00114294,27122.96],[0.01096554,27223.29],[0.01170725,27495.79],[0.01859205,27502.62],[0.04281433,27650],[0.00116929,27751],[0.00116929,27752],[0.00233854,27753],[0.00216113,27754],[0.00134521,27755],[0.00196922,27756],[0.00116517,27757],[0.00186582,27758],[0.00196922,27759],[0.00216113,27760],[0.00134516,27761],[0.00196922,27762],[0.00303106,27763],[0.00196851,27774],[0.00216113,27775],[0.00134468,27786],[0.00196922,27787]]}"}],"_postman_id":"c6363f59-6fce-4e2c-b077-c12e102f9780"},{"name":"[public] Trades","id":"8dbc0001-1036-4025-b0b9-60a9ef8bf555","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":{"raw":"https://api.pitaiatrade.com/v1/trades?from_datetime=2018-10-01T23:59:59-03:00&page=1&page_size=100","protocol":"https","host":["api","pitaiatrade","com"],"path":["v1","trades"],"query":[{"key":"from_datetime","value":"2018-10-01T23:59:59-03:00"},{"key":"page","value":"1"},{"key":"page_size","value":"100"}]},"description":"`public api` Histórico de negociações de compra/vendas executadas.\n\n# REQUEST\n\n ## PARAMS\n | Parâmetro | Tipo | Descrição |\n | ------ | ------ | ------ |\n | `from_datetime` | DateTime ISO-8601 | Data/Hora inicial para pesquisa no formato ISO-8601 (opcional). |\n | `page` | int | Pagina atual, default: 1 (opcional). |\n | `page_size` | int | Quantidade de registros por página, default: 100 (opcional). |\n\n\n# RESPONSE\n\n ## Propriedade `data` (array)\n | Parâmetro | Tipo | Descrição |\n | ------ | ------ | ------ |\n | `date` | uint | Data/hora da negociação no formato UNIX. |\n | `price` | float | Preço unitário negociado. |\n | `amount` | float | Quantidade negociada. |\n | `type` | enum('buy','sell') | Tipo da ordem executora da negociação |\n  | `tid` | uint | Id único da negociação |\n"},"response":[{"id":"bf192616-cba2-435d-bdc8-eee4f688c042","name":"Trades","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"https://api.pitaiatrade.com/v1/trades?from_datetime=2018-10-01T23:59:59-03:00&page=1&page_size=10","protocol":"https","host":["api","pitaiatrade","com"],"path":["v1","trades"],"query":[{"key":"from_datetime","value":"2018-10-01T23:59:59-03:00"},{"key":"page","value":"1"},{"key":"page_size","value":"10"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"CF-RAY","value":"46432b40a98c4bb1-GRU","name":"CF-RAY","description":"Custom header"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Length","value":"301","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 03 Oct 2018 23:25:37 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"","name":"Expect-CT","description":"Custom header"},{"key":"Server","value":"cloudflare","name":"Server","description":"A name for the server"},{"key":"Vary","value":"Accept-Encoding","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."}],"cookie":[{"expires":"Thu Oct 03 2019 23:20:22 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"pitaiatrade.com","path":"/","secure":true,"value":"dffd26d70820b416a92c41c751b7510861538608822","key":"__cfduid"}],"responseTime":null,"body":"{\"exchange\":\"pitaiatrade\",\"asset\":\"BTC\",\"currency\":\"BRL\",\"data\":[{\"date\":\"1538595911\",\"amount\":\"0.00346084\",\"price\":\"26005.23\",\"type\":\"sell\",\"tid\":\"69\"},{\"date\":\"1538593312\",\"amount\":\"0.00019227\",\"price\":\"26005.23\",\"type\":\"buy\",\"tid\":\"68\"},{\"date\":\"1538571360\",\"amount\":\"0.00274439\",\"price\":\"25980.25\",\"type\":\"buy\",\"tid\":\"67\"},{\"date\":\"1538571360\",\"amount\":\"0.00180304\",\"price\":\"26067.11\",\"type\":\"buy\",\"tid\":\"66\"},{\"date\":\"1538522351\",\"amount\":\"0.00084590\",\"price\":\"26456.92\",\"type\":\"buy\",\"tid\":\"65\"},{\"date\":\"1538521404\",\"amount\":\"0.00037797\",\"price\":\"26456.92\",\"type\":\"buy\",\"tid\":\"64\"},{\"date\":\"1538521007\",\"amount\":\"0.00107654\",\"price\":\"26938.18\",\"type\":\"sell\",\"tid\":\"63\"},{\"date\":\"1538517916\",\"amount\":\"0.00067802\",\"price\":\"26547.99\",\"type\":\"buy\",\"tid\":\"62\"},{\"date\":\"1538517680\",\"amount\":\"0.00193061\",\"price\":\"26639.61\",\"type\":\"buy\",\"tid\":\"61\"},{\"date\":\"1538517680\",\"amount\":\"0.00001010\",\"price\":\"26671.20\",\"type\":\"buy\",\"tid\":\"60\"}]}"}],"_postman_id":"8dbc0001-1036-4025-b0b9-60a9ef8bf555"},{"name":"[private] User Info","event":[{"listen":"prerequest","script":{"id":"3d692e69-439e-428f-88ab-b5e9b16f157f","exec":[""],"type":"text/javascript"}}],"id":"9080f729-248c-46fb-b4c2-d4dd99dca9b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-ApiKey","value":"xn85HjlscQd26Ym9Wu40bqr3CfaiAtkT","type":"text"},{"key":"X-Nounce","value":"1553565380","type":"text"},{"key":"X-Signature","value":"b3c2b9e4bc2c702484d50f765d56cd9a3324d2a0fd2c0bb4cd65204664f37ccd87b7c13a1442e9cd39766ea1a5299bf6f66ec65298082684a8556ac3ff468cf2","type":"text"}],"url":"https://api.pitaiatrade.com/v1/user/info"},"response":[{"id":"5f32619b-2aa9-4547-81cb-8ee0fcd7d8c9","name":"[private] User Info","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-ApiKey","value":"xn85HjlscQd26Ym9Wu40bqr3CfaiAtkT","type":"text"},{"key":"X-Nounce","value":"1553565380","type":"text"},{"key":"X-Signature","value":"b3c2b9e4bc2c702484d50f765d56cd9a3324d2a0fd2c0bb4cd65204664f37ccd87b7c13a1442e9cd39766ea1a5299bf6f66ec65298082684a8556ac3ff468cf2","type":"text"}],"url":"https://api.pitaiatrade.com/v1/user/info"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 26 Mar 2019 03:23:47 GMT"},{"key":"Server","value":"Apache/2.4.35 (Win64) OpenSSL/1.1.0i PHP/7.2.10"},{"key":"X-Powered-By","value":"PHP/7.2.10"},{"key":"Content-Length","value":"304"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"ok\",\n    \"data\": [\n        {\n            \"info\": {\n                \"type\": \"personal\",\n                \"name\": \"JOAO DA SILVA\",\n                \"email\": \"joao.d******@gmail.com\",\n                \"is_verified\": true\n            },\n            \"balance\": {\n                \"available\": {\n                    \"BTC\": 1.53181955,\n                    \"BRL\": 27118.76\n                },\n                \"onHold\": {\n                    \"BTC\": {\n                        \"orders\": 0.30632654\n                    },\n                    \"BRL\": {\n                        \"orders\": 1015\n                    }\n                }\n            },\n            \"wallets\": {\n                \"BTC\": [\n                    \"385cR5DM96n1HvBDMzLHPYcw89fZAXULJP\"\n                ]\n            }\n        }\n    ]\n}"},{"id":"85f76bd4-98ae-4a4e-b085-8d3ba158ef0b","name":"[private] User Info","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-ApiKey","value":"xn85HjlscQd26Ym9Wu40bqr3CfaiAtkT","type":"text"},{"key":"X-Nounce","value":"1553565380","type":"text"},{"key":"X-Signature","value":"b3c2b9e4bc2c702484d50f765d56cd9a3324d2a0fd2c0bb4cd65204664f37ccd87b7c13a1442e9cd39766ea1a5299bf6f66ec65298082684a8556ac3ff468cf2","type":"text"}],"url":"https://api.pitaiatrade.com/v1/user/info"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 26 Mar 2019 03:24:27 GMT"},{"key":"Server","value":"Apache/2.4.35 (Win64) OpenSSL/1.1.0i PHP/7.2.10"},{"key":"X-Powered-By","value":"PHP/7.2.10"},{"key":"Content-Length","value":"304"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"ok\",\n    \"data\": [\n        {\n            \"info\": {\n                \"type\": \"personal\",\n                \"name\": \"JOAO DA SILVA\",\n                \"email\": \"joao.d******@gmail.com\",\n                \"is_verified\": true\n            },\n            \"balance\": {\n                \"available\": {\n                    \"BTC\": 1.53181955,\n                    \"BRL\": 27118.76\n                },\n                \"onHold\": {\n                    \"BTC\": {\n                        \"orders\": 0.30632654\n                    },\n                    \"BRL\": {\n                        \"orders\": 1015\n                    }\n                }\n            },\n            \"wallets\": {\n                \"BTC\": [\n                    \"385cR5DM96n1HvBDMzLHPYcw89fZAXULJP\"\n                ]\n            }\n        }\n    ]\n}"}],"_postman_id":"9080f729-248c-46fb-b4c2-d4dd99dca9b2"},{"name":"[private] User Balance","id":"7965b4d9-51c1-4867-88d4-b43aa03fcd45","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-ApiKey","value":"xn85HjlscQd26Ym9Wu40bqr3CfaiAtkT","type":"text"},{"key":"X-Nounce","value":"1553566719","type":"text"},{"key":"X-Signature","value":"dea8fa04936f9b14b665767fe115e80c10caab596f7a58ec2ad9692adaf414f39d0efd5eefb2c114d82d175abbb724676b28c0557b7787b27226b74427de0371","type":"text"}],"url":"https://api.pitaiatrade.com/v1/user/balance"},"response":[{"id":"62970df0-7f4a-4a1d-9ccf-84e20d7110f7","name":"[private] User Balance","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-ApiKey","value":"xn85HjlscQd26Ym9Wu40bqr3CfaiAtkT","type":"text"},{"key":"X-Nounce","value":"1553566719","type":"text"},{"key":"X-Signature","value":"dea8fa04936f9b14b665767fe115e80c10caab596f7a58ec2ad9692adaf414f39d0efd5eefb2c114d82d175abbb724676b28c0557b7787b27226b74427de0371","type":"text"}],"url":"https://api.pitaiatrade.com/v1/user/balance"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 26 Mar 2019 03:25:35 GMT"},{"key":"Server","value":"Apache/2.4.35 (Win64) OpenSSL/1.1.0i PHP/7.2.10"},{"key":"X-Powered-By","value":"PHP/7.2.10"},{"key":"Content-Length","value":"143"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"ok\",\n    \"data\": {\n        \"balance\": {\n            \"available\": {\n                \"BTC\": 1.53181955,\n                \"BRL\": 27118.76\n            },\n            \"onHold\": {\n                \"BTC\": {\n                    \"orders\": 0.30632654\n                },\n                \"BRL\": {\n                    \"orders\": 1015\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"7965b4d9-51c1-4867-88d4-b43aa03fcd45"},{"name":"[private] User Withdrawl","id":"ad328454-98e2-4a8b-b1e2-7a55b9842e3b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"X-ApiKey","type":"text","value":"xn85HjlscQd26Ym9Wu40bqr3CfaiAtkT"},{"key":"X-Nounce","type":"text","value":"1553567965"},{"key":"X-Signature","type":"text","value":"cb7070b1ce1eed8f150b5cb722a7dea988e7337c36e5d09cecbfae79ea8ad374893b5cbd9b8a53cb545329b8b01471713e16738dac876459893c93f0bbcb2888"}],"body":{"mode":"raw","raw":"{\"to\":{\"address\":\"15GakrcvbayDrcVyFr6pfYYsXvjF8izVZo\"},\"amount\":0.56,\"currency\":\"BTC\",\"comments\":\"Exemplo de Saque em BTC via API\"}"},"url":"https://api.pitaiatrade.com/v1/withdrawal"},"response":[{"id":"86716954-01ab-4590-a348-0d0e2b003eac","name":"[private] User Withdraw","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-ApiKey","value":"xn85HjlscQd26Ym9Wu40bqr3CfaiAtkT","type":"text"},{"key":"X-Nounce","value":"1553567965","type":"text"},{"key":"X-Signature","value":"cb7070b1ce1eed8f150b5cb722a7dea988e7337c36e5d09cecbfae79ea8ad374893b5cbd9b8a53cb545329b8b01471713e16738dac876459893c93f0bbcb2888","type":"text"}],"body":{"mode":"raw","raw":"{\"to\":{\"address\":\"15GakrcvbayDrcVyFr6pfYYsXvjF8izVZo\"},\"amount\":0.56,\"currency\":\"BTC\",\"comments\":\"Exemplo de Saque em BTC via API\"}"},"url":"https://api.pitaiatrade.com/v1/withdrawal"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 26 Mar 2019 03:25:54 GMT"},{"key":"Server","value":"Apache/2.4.35 (Win64) OpenSSL/1.1.0i PHP/7.2.10"},{"key":"X-Powered-By","value":"PHP/7.2.10"},{"key":"Content-Length","value":"177"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"ok\",\n    \"data\": {\n        \"request_id\": 852,\n        \"amount\": 0.56,\n        \"currency\": \"BTC\",\n        \"to\": {\n            \"address\": \"15GakrcvbayDrcVyFr6pfYYsXvjF8izVZo\",\n            \"is_internal\": false\n        },\n        \"fees\": {\n            \"network\": [\n                {\n                    \"BTC\": 0\n                }\n            ]\n        }\n    }\n}"}],"_postman_id":"ad328454-98e2-4a8b-b1e2-7a55b9842e3b"},{"name":"[private] User Open Orders","id":"8cdb9171-71e3-4d3e-a11a-fdecf3f6ac65","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-ApiKey","value":"xn85HjlscQd26Ym9Wu40bqr3CfaiAtkT","type":"text"},{"key":"X-Nounce","value":"1553568275","type":"text"},{"key":"X-Signature","value":"1378d78087eb8ebf63aa5490d1e037c19e61cd26acdf0be3779d64f9f149edd47ba536e9a0bb8845f230aa53c8a8e65a2b1d5d36eca502b303cdf0b917b99895","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.pitaiatrade.com/v1/order/open"},"response":[{"id":"53c66f4f-e782-4ab7-8652-1003947a6b85","name":"[private] User Open Orders","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-ApiKey","value":"xn85HjlscQd26Ym9Wu40bqr3CfaiAtkT","type":"text"},{"key":"X-Nounce","value":"1553568275","type":"text"},{"key":"X-Signature","value":"1378d78087eb8ebf63aa5490d1e037c19e61cd26acdf0be3779d64f9f149edd47ba536e9a0bb8845f230aa53c8a8e65a2b1d5d36eca502b303cdf0b917b99895","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.pitaiatrade.com/v1/order/open"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 26 Mar 2019 03:26:35 GMT"},{"key":"Server","value":"Apache/2.4.35 (Win64) OpenSSL/1.1.0i PHP/7.2.10"},{"key":"X-Powered-By","value":"PHP/7.2.10"},{"key":"Content-Length","value":"1072"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"ok\",\n    \"data\": {\n        \"orders\": {\n            \"buy\": [\n                {\n                    \"id\": 1651,\n                    \"date\": \"2019-02-01T11:33:44-02:00\",\n                    \"type\": \"buy\",\n                    \"subtype\": \"limit\",\n                    \"amount\": 0.0796327,\n                    \"asset\": \"BTC\",\n                    \"currency\": \"BRL\",\n                    \"price\": 12252.71,\n                    \"volume\": 975.72\n                },\n                {\n                    \"id\": 1704,\n                    \"date\": \"2019-03-25T23:56:43-03:00\",\n                    \"type\": \"buy\",\n                    \"subtype\": \"stop_limit\",\n                    \"amount\": 0.001,\n                    \"asset\": \"BTC\",\n                    \"currency\": \"BRL\",\n                    \"price\": 12250,\n                    \"volume\": 12.25,\n                    \"stop_limit\": 16000\n                },\n                {\n                    \"id\": 1705,\n                    \"date\": \"2019-03-25T23:57:41-03:00\",\n                    \"type\": \"buy\",\n                    \"subtype\": \"stop_limit\",\n                    \"amount\": 0.001,\n                    \"asset\": \"BTC\",\n                    \"currency\": \"BRL\",\n                    \"price\": 12250,\n                    \"volume\": 12.25,\n                    \"stop_limit\": 16000\n                },\n                {\n                    \"id\": 1706,\n                    \"date\": \"2019-03-26T00:02:48-03:00\",\n                    \"type\": \"buy\",\n                    \"subtype\": \"stop_limit\",\n                    \"amount\": 0.001,\n                    \"asset\": \"BTC\",\n                    \"currency\": \"BRL\",\n                    \"price\": 12250,\n                    \"volume\": 12.25,\n                    \"stop_limit\": 16000\n                }\n            ],\n            \"sell\": [\n                {\n                    \"id\": 1701,\n                    \"date\": \"2019-02-01T11:33:44-02:00\",\n                    \"type\": \"sell\",\n                    \"subtype\": \"limit\",\n                    \"amount\": 0.16816327,\n                    \"asset\": \"BTC\",\n                    \"currency\": \"BRL\",\n                    \"price\": 12352.48,\n                    \"volume\": 2077.23\n                },\n                {\n                    \"id\": 1703,\n                    \"date\": \"2019-02-01T11:33:44-02:00\",\n                    \"type\": \"sell\",\n                    \"subtype\": \"limit\",\n                    \"amount\": 0.13816327,\n                    \"asset\": \"BTC\",\n                    \"currency\": \"BRL\",\n                    \"price\": 12250.33,\n                    \"volume\": 1692.55\n                }\n            ]\n        }\n    }\n}"}],"_postman_id":"8cdb9171-71e3-4d3e-a11a-fdecf3f6ac65"},{"name":"[private] User Order Buy Market","id":"c0d2239e-7cd3-4114-a2b8-76d8fc380c56","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"X-ApiKey","type":"text","value":"xn85HjlscQd26Ym9Wu40bqr3CfaiAtkT"},{"key":"X-Nounce","type":"text","value":"1553569430"},{"key":"X-Signature","type":"text","value":"e837dadc07fe10789976c0fb841c00832d8f40c40002e0235935858cd886db2446af0773b42b17954e50d40bf0ee83770d77044ca07b234e8809cff62baf1cbb"}],"body":{"mode":"raw","raw":"{\"subtype\":\"market\",\"amount\":0.001}"},"url":"https://api.pitaiatrade.com/v1/order/buy/BTC/BRL"},"response":[],"_postman_id":"c0d2239e-7cd3-4114-a2b8-76d8fc380c56"},{"name":"[private] User Order Buy Limit","id":"e12e9a58-1685-4539-92ac-c83cf67eba85","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"X-ApiKey","type":"text","value":"xn85HjlscQd26Ym9Wu40bqr3CfaiAtkT"},{"key":"X-Nounce","type":"text","value":"1553569430"},{"key":"X-Signature","type":"text","value":"e837dadc07fe10789976c0fb841c00832d8f40c40002e0235935858cd886db2446af0773b42b17954e50d40bf0ee83770d77044ca07b234e8809cff62baf1cbb"}],"body":{"mode":"raw","raw":"{\"subtype\":\"limit\",\"amount\":0.001,\"price\":12250}"},"url":"https://api.pitaiatrade.com/v1/order/buy/BTC/BRL"},"response":[],"_postman_id":"e12e9a58-1685-4539-92ac-c83cf67eba85"},{"name":"[private] User Order Buy StopLimit","id":"52f07691-7e4d-4878-9e50-8ff64440f944","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"X-ApiKey","type":"text","value":"xn85HjlscQd26Ym9Wu40bqr3CfaiAtkT"},{"key":"X-Nounce","type":"text","value":"1553569430"},{"key":"X-Signature","type":"text","value":"e837dadc07fe10789976c0fb841c00832d8f40c40002e0235935858cd886db2446af0773b42b17954e50d40bf0ee83770d77044ca07b234e8809cff62baf1cbb"}],"body":{"mode":"raw","raw":"{\"subtype\":\"stop_limit\",\"amount\":0.001,\"price\":12250,\"stop_price\":16000}"},"url":"https://api.pitaiatrade.com/v1/order/buy/BTC/BRL"},"response":[],"_postman_id":"52f07691-7e4d-4878-9e50-8ff64440f944"},{"name":"[private] User Order Sell Market","id":"1d338df5-c98d-49ab-97a7-f98197336dac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-ApiKey","value":"xn85HjlscQd26Ym9Wu40bqr3CfaiAtkT","type":"text"},{"key":"X-Nounce","value":"1553569581","type":"text"},{"key":"X-Signature","value":"4470607f7ef45de786a0517c779f1ad67d21cb7148991d593d935198d916d2de8eeab2a83d0314cd1ae521d94fc8801de8158f22462bbe81335a2e583913db92","type":"text"}],"body":{"mode":"raw","raw":"{\"subtype\":\"market\",\"amount\":3000}"},"url":"https://api.pitaiatrade.com/v1/order/sell/BTC/BRL"},"response":[],"_postman_id":"1d338df5-c98d-49ab-97a7-f98197336dac"},{"name":"[private] User Order Sell StopLimit","id":"791f1e5a-b88b-4527-abc8-b33ff22c45dd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-ApiKey","value":"xn85HjlscQd26Ym9Wu40bqr3CfaiAtkT","type":"text"},{"key":"X-Nounce","value":"1553569581","type":"text"},{"key":"X-Signature","value":"4470607f7ef45de786a0517c779f1ad67d21cb7148991d593d935198d916d2de8eeab2a83d0314cd1ae521d94fc8801de8158f22462bbe81335a2e583913db92","type":"text"}],"body":{"mode":"raw","raw":"{\"subtype\":\"stop_limit\",\"amount\":0.001,\"price\":12250,\"stop_price\":10000}"},"url":"https://api.pitaiatrade.com/v1/order/sell/BTC/BRL"},"response":[],"_postman_id":"791f1e5a-b88b-4527-abc8-b33ff22c45dd"},{"name":"[private] User Order Sell Limit","id":"65fe260b-1a89-43c2-ae84-e775cfb84124","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-ApiKey","value":"xn85HjlscQd26Ym9Wu40bqr3CfaiAtkT","type":"text"},{"key":"X-Nounce","value":"1553569581","type":"text"},{"key":"X-Signature","value":"4470607f7ef45de786a0517c779f1ad67d21cb7148991d593d935198d916d2de8eeab2a83d0314cd1ae521d94fc8801de8158f22462bbe81335a2e583913db92","type":"text"}],"body":{"mode":"raw","raw":"{\"subtype\":\"limit\",\"amount\":0.001,\"price\":12250}"},"url":"https://api.pitaiatrade.com/v1/order/sell/BTC/BRL"},"response":[],"_postman_id":"65fe260b-1a89-43c2-ae84-e775cfb84124"},{"name":"[private] User Order Cancel","id":"cb28bd5f-8b81-4fa6-a380-6599da9938d3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-ApiKey","value":"xn85HjlscQd26Ym9Wu40bqr3CfaiAtkT","type":"text"},{"key":"X-Nounce","value":"1553569690","type":"text"},{"key":"X-Signature","value":"92ad0006f658889f21889bd1b290e4365c73a5c7e326a7833c2c275da1b861ce43a279dcfadae13c2db0d074cefa0820a908dd91ec6294af2fd718f7d48770e6","type":"text"}],"body":{"mode":"raw","raw":"{\"id\":1653}"},"url":"https://api.pitaiatrade.com/v1/order/cancel"},"response":[{"id":"fa7dd361-560c-4556-a854-a99d15272a50","name":"[private] User Order Cancel","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-ApiKey","value":"xn85HjlscQd26Ym9Wu40bqr3CfaiAtkT","type":"text"},{"key":"X-Nounce","value":"1553569690","type":"text"},{"key":"X-Signature","value":"92ad0006f658889f21889bd1b290e4365c73a5c7e326a7833c2c275da1b861ce43a279dcfadae13c2db0d074cefa0820a908dd91ec6294af2fd718f7d48770e6","type":"text"}],"body":{"mode":"raw","raw":"{\"id\":1653}"},"url":"https://api.pitaiatrade.com/v1/order/cancel"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 26 Mar 2019 03:31:55 GMT"},{"key":"Server","value":"Apache/2.4.35 (Win64) OpenSSL/1.1.0i PHP/7.2.10"},{"key":"X-Powered-By","value":"PHP/7.2.10"},{"key":"Content-Length","value":"186"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"ok\",\n    \"data\": {\n        \"order\": {\n            \"id\": 1653,\n            \"date\": \"2019-02-01 11:33:44\",\n            \"type\": \"sell\",\n            \"subtype\": \"limit\",\n            \"amount\": 0.816327,\n            \"asset\": \"BTC\",\n            \"currency\": \"BRL\",\n            \"price\": 12250,\n            \"volume\": 10000.01\n        }\n    }\n}"}],"_postman_id":"cb28bd5f-8b81-4fa6-a380-6599da9938d3"},{"name":"[private]  User OrderTrades","id":"f4e142b2-9d55-4326-b441-592f4cbbea35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-ApiKey","value":"xn85HjlscQd26Ym9Wu40bqr3CfaiAtkT","type":"text"},{"key":"X-Nounce","value":"1553569817","type":"text"},{"key":"X-Signature","value":"b09169dec3a74bb60a1e587ef2bd12fa58eb71f066601dc8f759c482c2fcc6879dff85da38f034b2f40efa07a5a53723fc37e31d5a4b7b01d23b848ef6906992","type":"text"}],"body":{"mode":"raw","raw":"{\"page\":1,\"page_size\":100,\"from_datetime\":\"2019-01-01T00:00:00\"}"},"url":"https://api.pitaiatrade.com/v1/order/trades"},"response":[{"id":"dcc77e68-70af-4415-8257-b484d8381d42","name":"[private]  User OrderTrades","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-ApiKey","value":"xn85HjlscQd26Ym9Wu40bqr3CfaiAtkT","type":"text"},{"key":"X-Nounce","value":"1553569817","type":"text"},{"key":"X-Signature","value":"b09169dec3a74bb60a1e587ef2bd12fa58eb71f066601dc8f759c482c2fcc6879dff85da38f034b2f40efa07a5a53723fc37e31d5a4b7b01d23b848ef6906992","type":"text"}],"body":{"mode":"raw","raw":"{\"page\":1,\"page_size\":100,\"from_datetime\":\"2019-01-01T00:00:00\"}"},"url":"https://api.pitaiatrade.com/v1/order/trades"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 26 Mar 2019 03:32:26 GMT"},{"key":"Server","value":"Apache/2.4.35 (Win64) OpenSSL/1.1.0i PHP/7.2.10"},{"key":"X-Powered-By","value":"PHP/7.2.10"},{"key":"Content-Length","value":"7649"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"ok\",\n    \"data\": [\n        {\n            \"date\": \"2019-03-26 00:07:19\",\n            \"amount\": 0.001,\n            \"asset\": \"BTC\",\n            \"price\": 12252.71,\n            \"currency\": \"BRL\",\n            \"type\": \"sell\",\n            \"tid\": 976\n        },\n        {\n            \"date\": \"2019-03-26 00:06:21\",\n            \"amount\": 0.001,\n            \"asset\": \"BTC\",\n            \"price\": 12252.71,\n            \"currency\": \"BRL\",\n            \"type\": \"sell\",\n            \"tid\": 975\n        },\n        {\n            \"date\": \"2019-03-25 23:56:00\",\n            \"amount\": 0.001,\n            \"asset\": \"BTC\",\n            \"price\": 13047.99,\n            \"currency\": \"BRL\",\n            \"type\": \"buy\",\n            \"tid\": 974\n        },\n        {\n            \"date\": \"2019-03-25 23:47:10\",\n            \"amount\": 0.001,\n            \"asset\": \"BTC\",\n            \"price\": 13047.99,\n            \"currency\": \"BRL\",\n            \"type\": \"buy\",\n            \"tid\": 973\n        },\n        {\n            \"date\": \"2019-03-25 21:14:27\",\n            \"amount\": 0.00003229,\n            \"asset\": \"BTC\",\n            \"price\": 13047.99,\n            \"currency\": \"BRL\",\n            \"type\": \"buy\",\n            \"tid\": 972\n        },\n        {\n            \"date\": \"2019-03-25 21:14:26\",\n            \"amount\": 0.00096771,\n            \"asset\": \"BTC\",\n            \"price\": 12789,\n            \"currency\": \"BRL\",\n            \"type\": \"buy\",\n            \"tid\": 971\n        },\n        {\n            \"date\": \"2019-03-25 21:14:06\",\n            \"amount\": 0.001,\n            \"asset\": \"BTC\",\n            \"price\": 12789,\n            \"currency\": \"BRL\",\n            \"type\": \"buy\",\n            \"tid\": 970\n        },\n        {\n            \"date\": \"2019-03-25 21:13:23\",\n            \"amount\": 0.001,\n            \"asset\": \"BTC\",\n            \"price\": 12789,\n            \"currency\": \"BRL\",\n            \"type\": \"buy\",\n            \"tid\": 969\n        },\n        {\n            \"date\": \"2019-03-25 21:09:26\",\n            \"amount\": 0.001,\n            \"asset\": \"BTC\",\n            \"price\": 12789,\n            \"currency\": \"BRL\",\n            \"type\": \"buy\",\n            \"tid\": 968\n        },\n        {\n            \"date\": \"2019-03-25 21:08:37\",\n            \"amount\": 0.001,\n            \"asset\": \"BTC\",\n            \"price\": 12789,\n            \"currency\": \"BRL\",\n            \"type\": \"buy\",\n            \"tid\": 967\n        },\n        {\n            \"date\": \"2019-03-25 21:06:35\",\n            \"amount\": 0.001,\n            \"asset\": \"BTC\",\n            \"price\": 12789,\n            \"currency\": \"BRL\",\n            \"type\": \"buy\",\n            \"tid\": 966\n        },\n        {\n            \"date\": \"2019-03-25 21:05:42\",\n            \"amount\": 0.001,\n            \"asset\": \"BTC\",\n            \"price\": 12789,\n            \"currency\": \"BRL\",\n            \"type\": \"buy\",\n            \"tid\": 965\n        },\n        {\n            \"date\": \"2019-03-25 21:04:42\",\n            \"amount\": 0.001,\n            \"asset\": \"BTC\",\n            \"price\": 12789,\n            \"currency\": \"BRL\",\n            \"type\": \"buy\",\n            \"tid\": 964\n        },\n        {\n            \"date\": \"2019-03-25 21:02:43\",\n            \"amount\": 0.001,\n            \"asset\": \"BTC\",\n            \"price\": 12789,\n            \"currency\": \"BRL\",\n            \"type\": \"buy\",\n            \"tid\": 963\n        },\n        {\n            \"date\": \"2019-03-25 21:02:30\",\n            \"amount\": 0.001,\n            \"asset\": \"BTC\",\n            \"price\": 12789,\n            \"currency\": \"BRL\",\n            \"type\": \"buy\",\n            \"tid\": 962\n        },\n        {\n            \"date\": \"2019-03-25 21:02:07\",\n            \"amount\": 0.001,\n            \"asset\": \"BTC\",\n            \"price\": 12789,\n            \"currency\": \"BRL\",\n            \"type\": \"buy\",\n            \"tid\": 961\n        },\n        {\n            \"date\": \"2019-03-25 21:01:34\",\n            \"amount\": 0.001,\n            \"asset\": \"BTC\",\n            \"price\": 12789,\n            \"currency\": \"BRL\",\n            \"type\": \"buy\",\n            \"tid\": 960\n        },\n        {\n            \"date\": \"2019-03-25 20:48:38\",\n            \"amount\": 0.001,\n            \"asset\": \"BTC\",\n            \"price\": 12789,\n            \"currency\": \"BRL\",\n            \"type\": \"buy\",\n            \"tid\": 959\n        },\n        {\n            \"date\": \"2019-03-25 20:43:10\",\n            \"amount\": 0.001,\n            \"asset\": \"BTC\",\n            \"price\": 12789,\n            \"currency\": \"BRL\",\n            \"type\": \"buy\",\n            \"tid\": 958\n        },\n        {\n            \"date\": \"2019-03-25 20:31:21\",\n            \"amount\": 0.001,\n            \"asset\": \"BTC\",\n            \"price\": 12789,\n            \"currency\": \"BRL\",\n            \"type\": \"buy\",\n            \"tid\": 957\n        },\n        {\n            \"date\": \"2019-03-25 20:05:01\",\n            \"amount\": 0.001,\n            \"asset\": \"BTC\",\n            \"price\": 12789,\n            \"currency\": \"BRL\",\n            \"type\": \"buy\",\n            \"tid\": 956\n        },\n        {\n            \"date\": \"2019-03-25 19:57:24\",\n            \"amount\": 0.001,\n            \"asset\": \"BTC\",\n            \"price\": 12789,\n            \"currency\": \"BRL\",\n            \"type\": \"buy\",\n            \"tid\": 955\n        },\n        {\n            \"date\": \"2019-03-25 19:56:42\",\n            \"amount\": 0.0042579,\n            \"asset\": \"BTC\",\n            \"price\": 9200,\n            \"currency\": \"BRL\",\n            \"type\": \"sell\",\n            \"tid\": 954\n        },\n        {\n            \"date\": \"2019-03-25 19:56:40\",\n            \"amount\": 0.00944789,\n            \"asset\": \"BTC\",\n            \"price\": 9420.09,\n            \"currency\": \"BRL\",\n            \"type\": \"sell\",\n            \"tid\": 953\n        },\n        {\n            \"date\": \"2019-03-25 19:56:38\",\n            \"amount\": 0.02187984,\n            \"asset\": \"BTC\",\n            \"price\": 9506.47,\n            \"currency\": \"BRL\",\n            \"type\": \"sell\",\n            \"tid\": 952\n        },\n        {\n            \"date\": \"2019-03-25 19:56:37\",\n            \"amount\": 0.00592577,\n            \"asset\": \"BTC\",\n            \"price\": 9619,\n            \"currency\": \"BRL\",\n            \"type\": \"sell\",\n            \"tid\": 951\n        },\n        {\n            \"date\": \"2019-03-25 19:56:35\",\n            \"amount\": 0.01877368,\n            \"asset\": \"BTC\",\n            \"price\": 9747.69,\n            \"currency\": \"BRL\",\n            \"type\": \"sell\",\n            \"tid\": 950\n        },\n        {\n            \"date\": \"2019-03-25 19:56:33\",\n            \"amount\": 0.00791799,\n            \"asset\": \"BTC\",\n            \"price\": 9850.99,\n            \"currency\": \"BRL\",\n            \"type\": \"sell\",\n            \"tid\": 949\n        },\n        {\n            \"date\": \"2019-03-25 19:56:31\",\n            \"amount\": 0.02502324,\n            \"asset\": \"BTC\",\n            \"price\": 9950.75,\n            \"currency\": \"BRL\",\n            \"type\": \"sell\",\n            \"tid\": 948\n        },\n        {\n            \"date\": \"2019-03-25 19:56:30\",\n            \"amount\": 0.02761103,\n            \"asset\": \"BTC\",\n            \"price\": 10068.44,\n            \"currency\": \"BRL\",\n            \"type\": \"sell\",\n            \"tid\": 947\n        },\n        {\n            \"date\": \"2019-03-25 19:56:28\",\n            \"amount\": 0.02746858,\n            \"asset\": \"BTC\",\n            \"price\": 10157.06,\n            \"currency\": \"BRL\",\n            \"type\": \"sell\",\n            \"tid\": 946\n        },\n        {\n            \"date\": \"2019-03-25 19:56:26\",\n            \"amount\": 0.03703051,\n            \"asset\": \"BTC\",\n            \"price\": 10207.8,\n            \"currency\": \"BRL\",\n            \"type\": \"sell\",\n            \"tid\": 945\n        },\n        {\n            \"date\": \"2019-03-25 19:56:24\",\n            \"amount\": 0.01927785,\n            \"asset\": \"BTC\",\n            \"price\": 10322.73,\n            \"currency\": \"BRL\",\n            \"type\": \"sell\",\n            \"tid\": 944\n        },\n        {\n            \"date\": \"2019-03-25 19:56:23\",\n            \"amount\": 0.00618809,\n            \"asset\": \"BTC\",\n            \"price\": 10470.11,\n            \"currency\": \"BRL\",\n            \"type\": \"sell\",\n            \"tid\": 943\n        },\n        {\n            \"date\": \"2019-03-25 19:56:21\",\n            \"amount\": 0.03558689,\n            \"asset\": \"BTC\",\n            \"price\": 10593.79,\n            \"currency\": \"BRL\",\n            \"type\": \"sell\",\n            \"tid\": 942\n        },\n        {\n            \"date\": \"2019-03-25 19:56:19\",\n            \"amount\": 0.04974614,\n            \"asset\": \"BTC\",\n            \"price\": 10633.99,\n            \"currency\": \"BRL\",\n            \"type\": \"sell\",\n            \"tid\": 941\n        },\n        {\n            \"date\": \"2019-03-25 19:56:17\",\n            \"amount\": 0.02595164,\n            \"asset\": \"BTC\",\n            \"price\": 10789.3,\n            \"currency\": \"BRL\",\n            \"type\": \"sell\",\n            \"tid\": 940\n        },\n        {\n            \"date\": \"2019-03-25 19:56:15\",\n            \"amount\": 0.01735795,\n            \"asset\": \"BTC\",\n            \"price\": 10830.77,\n            \"currency\": \"BRL\",\n            \"type\": \"sell\",\n            \"tid\": 939\n        },\n        {\n            \"date\": \"2019-03-25 19:56:14\",\n            \"amount\": 0.01441106,\n            \"asset\": \"BTC\",\n            \"price\": 10963.8,\n            \"currency\": \"BRL\",\n            \"type\": \"sell\",\n            \"tid\": 938\n        },\n        {\n            \"date\": \"2019-03-25 19:56:12\",\n            \"amount\": 0.03699259,\n            \"asset\": \"BTC\",\n            \"price\": 11083.3,\n            \"currency\": \"BRL\",\n            \"type\": \"sell\",\n            \"tid\": 937\n        },\n        {\n            \"date\": \"2019-03-25 19:56:10\",\n            \"amount\": 0.0352674,\n            \"asset\": \"BTC\",\n            \"price\": 11115.08,\n            \"currency\": \"BRL\",\n            \"type\": \"sell\",\n            \"tid\": 936\n        },\n        {\n            \"date\": \"2019-03-25 19:56:08\",\n            \"amount\": 0.02774888,\n            \"asset\": \"BTC\",\n            \"price\": 11207.66,\n            \"currency\": \"BRL\",\n            \"type\": \"sell\",\n            \"tid\": 935\n        },\n        {\n            \"date\": \"2019-03-25 19:56:07\",\n            \"amount\": 0.01901238,\n            \"asset\": \"BTC\",\n            \"price\": 11361.02,\n            \"currency\": \"BRL\",\n            \"type\": \"sell\",\n            \"tid\": 934\n        },\n        {\n            \"date\": \"2019-03-25 19:56:05\",\n            \"amount\": 0.0539318,\n            \"asset\": \"BTC\",\n            \"price\": 11496,\n            \"currency\": \"BRL\",\n            \"type\": \"sell\",\n            \"tid\": 933\n        },\n        {\n            \"date\": \"2019-03-25 19:56:03\",\n            \"amount\": 0.07259669,\n            \"asset\": \"BTC\",\n            \"price\": 11557,\n            \"currency\": \"BRL\",\n            \"type\": \"sell\",\n            \"tid\": 932\n        },\n        {\n            \"date\": \"2019-03-25 19:56:01\",\n            \"amount\": 0.06322183,\n            \"asset\": \"BTC\",\n            \"price\": 11689,\n            \"currency\": \"BRL\",\n            \"type\": \"sell\",\n            \"tid\": 931\n        },\n        {\n            \"date\": \"2019-03-25 19:55:59\",\n            \"amount\": 0.06125587,\n            \"asset\": \"BTC\",\n            \"price\": 11705,\n            \"currency\": \"BRL\",\n            \"type\": \"sell\",\n            \"tid\": 930\n        },\n        {\n            \"date\": \"2019-03-25 19:55:58\",\n            \"amount\": 0.04245763,\n            \"asset\": \"BTC\",\n            \"price\": 11800,\n            \"currency\": \"BRL\",\n            \"type\": \"sell\",\n            \"tid\": 929\n        },\n        {\n            \"date\": \"2019-03-25 19:55:56\",\n            \"amount\": 0.12598095,\n            \"asset\": \"BTC\",\n            \"price\": 11843.06,\n            \"currency\": \"BRL\",\n            \"type\": \"sell\",\n            \"tid\": 928\n        },\n        {\n            \"date\": \"2019-03-25 19:55:54\",\n            \"amount\": 0.03572621,\n            \"asset\": \"BTC\",\n            \"price\": 11980,\n            \"currency\": \"BRL\",\n            \"type\": \"sell\",\n            \"tid\": 927\n        },\n        {\n            \"date\": \"2019-03-25 19:55:52\",\n            \"amount\": 0.42793873,\n            \"asset\": \"BTC\",\n            \"price\": 12109.21,\n            \"currency\": \"BRL\",\n            \"type\": \"sell\",\n            \"tid\": 926\n        },\n        {\n            \"date\": \"2019-03-25 19:55:50\",\n            \"amount\": 0.40816327,\n            \"asset\": \"BTC\",\n            \"price\": 12250,\n            \"currency\": \"BRL\",\n            \"type\": \"sell\",\n            \"tid\": 925\n        },\n        {\n            \"date\": \"2019-03-25 19:55:47\",\n            \"amount\": 0.02226901,\n            \"asset\": \"BTC\",\n            \"price\": 12304.1,\n            \"currency\": \"BRL\",\n            \"type\": \"sell\",\n            \"tid\": 924\n        },\n        {\n            \"date\": \"2019-03-25 19:55:45\",\n            \"amount\": 0.09770115,\n            \"asset\": \"BTC\",\n            \"price\": 12528,\n            \"currency\": \"BRL\",\n            \"type\": \"sell\",\n            \"tid\": 923\n        },\n        {\n            \"date\": \"2019-03-25 19:55:43\",\n            \"amount\": 0.03816558,\n            \"asset\": \"BTC\",\n            \"price\": 12602.98,\n            \"currency\": \"BRL\",\n            \"type\": \"sell\",\n            \"tid\": 922\n        },\n        {\n            \"date\": \"2019-03-25 19:55:40\",\n            \"amount\": 0.07771398,\n            \"asset\": \"BTC\",\n            \"price\": 12777.27,\n            \"currency\": \"BRL\",\n            \"type\": \"sell\",\n            \"tid\": 921\n        },\n        {\n            \"date\": \"2019-01-30 17:19:35\",\n            \"amount\": 0.12935737,\n            \"asset\": \"BTC\",\n            \"price\": 13250,\n            \"currency\": \"BRL\",\n            \"type\": \"sell\",\n            \"tid\": 914\n        },\n        {\n            \"date\": \"2019-01-30 17:19:35\",\n            \"amount\": 0.25,\n            \"asset\": \"BTC\",\n            \"price\": 13200,\n            \"currency\": \"BRL\",\n            \"type\": \"sell\",\n            \"tid\": 913\n        },\n        {\n            \"date\": \"2019-01-29 19:49:55\",\n            \"amount\": 0.00061604,\n            \"asset\": \"BTC\",\n            \"price\": 12986.13,\n            \"currency\": \"BRL\",\n            \"type\": \"sell\",\n            \"tid\": 909\n        },\n        {\n            \"date\": \"2019-01-29 19:18:34\",\n            \"amount\": 0.00153965,\n            \"asset\": \"BTC\",\n            \"price\": 12990,\n            \"currency\": \"BRL\",\n            \"type\": \"buy\",\n            \"tid\": 908\n        },\n        {\n            \"date\": \"2018-11-19 16:49:29\",\n            \"amount\": 0.91204018,\n            \"asset\": \"BTC\",\n            \"price\": 19500.17,\n            \"currency\": \"BRL\",\n            \"type\": \"sell\",\n            \"tid\": 268\n        },\n        {\n            \"date\": \"2018-11-19 16:04:34\",\n            \"amount\": 0.00515421,\n            \"asset\": \"BTC\",\n            \"price\": 19304.61,\n            \"currency\": \"BRL\",\n            \"type\": \"buy\",\n            \"tid\": 266\n        },\n        {\n            \"date\": \"2018-11-19 15:58:16\",\n            \"amount\": 0.0103458,\n            \"asset\": \"BTC\",\n            \"price\": 19331.52,\n            \"currency\": \"BRL\",\n            \"type\": \"sell\",\n            \"tid\": 265\n        },\n        {\n            \"date\": \"2018-09-21 20:59:47\",\n            \"amount\": 2.17,\n            \"asset\": \"BTC\",\n            \"price\": 27650,\n            \"currency\": \"BRL\",\n            \"type\": \"sell\",\n            \"tid\": 1\n        }\n    ]\n}"}],"_postman_id":"f4e142b2-9d55-4326-b441-592f4cbbea35"}],"event":[{"listen":"prerequest","script":{"id":"e4a7754e-e62d-4249-a162-7b148924c2cb","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"ef7ef6ef-534d-4e08-8235-c56871654f1a","type":"text/javascript","exec":[""]}}]}