Download the signed-in user's whole account as one archive.
POST
/api/account-data/export
const url = 'https://api.tradr.cloud/api/account-data/export';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.tradr.cloud/api/account-data/exportAuthed. Streams a .zip of every category the user owns from one consistent snapshot; secrets, billing and other users’ data never travel. POST (not GET) so a cross-site navigation cannot start one. No password. Rate limited to 5 requests per hour per user (tightening to 3 while the shared rate-limit store is unavailable). Scripts sign in for a session cookie and, on split-origin deployments, send an allowed Origin header.
Responses
Section titled “ Responses ”The archive, chunked. Content-Disposition names the file tradr-export-YYYY-MM-DD.zip (UTC date).
Media typeapplication/zip
string format: binary
No valid session.
Rate limit exceeded (5 / hour per user).
OBJECT_UNREACHABLE — object storage was unreachable before the download began.