Extract
2 min
📝 description returns a paginated list of orders (history) that can be filtered (for example, by pair, side, status, or date range) use this endpoint to reconcile trading activity and generate reports { "name" "/api/trade/v1/extract", "method" "get", "url" "https //cloudbreak cambyopro com/api/trade/v1/extract", "description" "order extract", "tab" "examples", "examples" { "languages" \[ { "id" "pdcnr6h5 gbrqiapbsrz9", "language" "curl", "code" "curl request get \\\\\n url 'https //cloudbreak cambyopro com/api/trade/v1/extract?startdate=string\&enddate=string' \\\\\n header 'accept application/json' \\\\\n header 'authorization string'", "customlabel" "" }, { "id" "l2fxkedtiujhfkltg0by0", "language" "nodejs", "code" "var request = require('request');\nvar options = {\n 'method' 'get',\n 'url' 'https //cloudbreak cambyopro com/api/trade/v1/extract?startdate=string\&enddate=string',\n 'headers' {\n 'accept' 'application/json',\n 'content type' 'application/json',\n 'authorization' 'string'\n }\n};\nrequest(options, function (error, response) {\n if (error) throw new error(error);\n console log(response body);\n});\n", "customlabel" "" }, { "id" "voigd4h0mzebyaubrlyji", "language" "javascript", "code" "var myheaders = new headers();\nmyheaders append(\\"accept\\", \\"application/json\\");\nmyheaders append(\\"content type\\", \\"application/json\\");\nmyheaders append(\\"authorization\\", \\"string\\");\n\nvar requestoptions = {\n method 'get',\n headers myheaders,\n redirect 'follow'\n};\n\nfetch(\\"https //cloudbreak cambyopro com/api/trade/v1/extract?startdate=string\&enddate=string\\", requestoptions)\n then(response => response text())\n then(result => console log(result))\n catch(error => console log('error', error));", "customlabel" "" }, { "id" "e3iwi8iwrdsvp19h4usac", "language" "python", "code" "import requests\nimport json\n\nurl = \\"https //cloudbreak cambyopro com/api/trade/v1/extract?startdate=string\&enddate=string\\"\n\npayload = {}\nheaders = {\n 'accept' 'application/json',\n 'content type' 'application/json',\n 'authorization' 'string'\n}\n\nresponse = requests request(\\"get\\", url, headers=headers, data=payload)\n\nprint(response text)\n", "customlabel" "" }, { "id" "zsgkb1eeq0rwthqr4vdwe", "language" "ruby", "code" "require \\"uri\\"\nrequire \\"json\\"\nrequire \\"net/http\"\n\nurl = uri(\\"https //cloudbreak cambyopro com/api/trade/v1/extract?startdate=string\&enddate=string\\")\n\nhttps = net http new(url host, url port)\nhttps use ssl = true\n\nrequest = net http get new(url)\nrequest\[\\"accept\\"] = \\"application/json\\"\nrequest\[\\"content type\\"] = \\"application/json\\"\nrequest\[\\"authorization\\"] = \\"string\\"\n\nresponse = https request(request)\nputs response read body\n", "customlabel" "" } ], "selectedlanguageid" "pdcnr6h5 gbrqiapbsrz9" }, "results" { "languages" \[ { "id" "8awq k4b2jwsr3cwel30t", "language" "200", "code" "{\n \\"success\\" true,\n \\"startdate\\" \\"2025 01 01t00 00 00z\\",\n \\"enddate\\" \\"2025 01 31t23 59 59z\\",\n \\"count\\" 1,\n \\"page\\" 1,\n \\"qtypages\\" 1,\n \\"items\\" \[\n {\n \\"crypto amount\\" 100,\n \\"brl amount\\" 572 8,\n \\"product price\\" 5 728,\n \\"currency amount\\" \\"usdt\\",\n \\"updatedat\\" \\"2025 01 01t12 00 00z\\",\n \\"quoteid\\" \\"8654307\\",\n \\"status\\" \\"paid\\",\n \\"side\\" \\"buy\\",\n \\"createdat\\" \\"2025 01 01t12 00 00z\\"\n }\n ]\n}", "customlabel" "" } ], "selectedlanguageid" "8awq k4b2jwsr3cwel30t" }, "request" { "pathparameters" \[], "queryparameters" \[ { "name" "startdate", "kind" "required", "type" "string", "description" "start date of the filter in iso format (e g , 2025 07 01) \nused to retrieve transactions from this date onward ", "" "start date of the filter in iso format (e g , 2025 07 01) \nused to retrieve transactions from this date onward " }, { "name" "enddate", "kind" "required", "type" "string", "description" "end date of the filter in iso format (e g , 2025 07 31) \nlimits the retrieval of transactions up to this date ", "" "end date of the filter in iso format (e g , 2025 07 31) \nlimits the retrieval of transactions up to this date " }, { "name" "page", "kind" "optional", "type" "string", "description" "current page number\ndefault value 1", "" "current page number\ndefault value 1" }, { "name" "perpage", "kind" "optional", "type" "string", "description" "total transactions per page\ndefault value 100", "" "total transactions per page\ndefault value 100" } ], "headerparameters" \[ { "name" "authorization", "kind" "required", "type" "string", "description" "bearer {{accesstoken}}", "" "bearer {{accesstoken}}" } ], "bodydataparameters" \[], "formdataparameters" \[] }, "currentnewparameter" { "label" "query parameter", "value" "queryparameters" }, "hastryitout" true, "autogeneratedanchorslug" "apitradev1extract", "legacyhash" "tzdd4qlrs9dchxqtsdjnv" }