How can i Get all downloaded for month or uploaded?

Is there somewhere dashboard api description at all?

You do not need Docker to use the calculator…
Read it more closely. I originally thought the same. That was a why I made a post simplifying it for Windows users. You will need to install python though, and a Ubuntu subsystem ( you can enable a subsystem in windows programs and features)

Message me If I should add something.

Step 1
Run this command in powershell and restart your computer. By running it you add a feature in windows that will allow you to run linux commands inside windows.
Command: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

Step 2
Install python and save this script as

Python download here

Step 3
Run the command in the Ubuntu shell which you should have if you followed step 1.

command: sudo apt install sqlite3

Step 4


Step 5

Run the script from the data folder (it’s better to copy it to a different place and run this script from there to avoid the database corruption with a parallel access)


  • either specify the path to the data folder as an argument:

python /path/to/data

  • or specify the path to the data folder and month:

python /path/to/storj/data 2019-05

Step 6

Restart your node.

Then again, there may be a better way to view a total uploaded amount of GB…

you have a three options:


I found the way to calculate it.
Dashboard api give all neded information.
if you go to http://NodeIP:14002/api/satellite/SatelliteID you will get all needed information in json just need to consolidate it and will get needed data.
During process i found BUG in dashboard it show wrong information about used bandwidth.
when it transfer bytes to Gigabytes it use deviding to 1000000000
But it should use 1073741824 which is 1024(B)*1024(KB)*1024(MB)
I got Difference during the half of the month about 40GB in trafic
My software is .Net application

Sounds great! When I use the link I get this line, did you run into this? Thanks!

{"data":null,"error":"storagenode console web error: node ID error: invalid format: version and/or checksum bytes missing"}

you should put NodeIP is your node IP
and SateliteID put Satelite ID from satelite list List there are 4 satelites

1 Like

like this

1 Like

Ok. Thanks. It works!

is there place where i can uplode my project and share it, there is source code and compiled EXE
All can use it to check data is a good place :slight_smile:

1 Like

I uploaded my project to Github.
It is for windows users.
You can get audit count of Satelites.
Can monitore how much upload ot download you have at all during the month, from this information can prognose some income.

1 Like

Thanks, Very helpful!

This is feature, not a bug. All measurement units are in the decimal units.
For binary units they would be Gibibytes

I got responce from Suport that Storj use all mesurements in Gigabyte(decimal) not Gigabyte(binary).
Also made changes in github code.
If someone have idea what to add, can add some features.

There have been some overly complicated instructions for using the earnings calculator floating around in this topic. Some may stem from earlier version, others just from misconceptions about it only working for docker installs. The earnings calculator does not care how your node is installed, it only needs access to (a copy of) the bandwidth.db, storage_usage.db and piece_spaced_used.db files. Since it is a python script, you need python installed on your system, which is available for any common OS.

Some misconceptions:

  • You need docker (As mentioned by @Vadim) : Not true, the calculator works just fine on windows nodes, just point to a folder with a recent copy of your bandwidth.db, storage_usage.db and piece_spaced_used.db files.
  • You need windows subsystem for linux (As mentioned by @Enzo) : I see no reason to use this roundabout way. Python is available for windows and when it’s installed these commands work just fine from Command Prompt or PowerShell.
  • You need to install SQLite3 (As mentioned by @Alexey) : Older versions used the SQLite3 binary, but since version 5.2.0 this script uses the Python SQLite3 package that has been included with Python since Python v2.5.

This is all you actually need to do:

  • Install python for your OS
  • Stop your node
  • Copy bandwidth.db, storage_usage.db and piece_spaced_used.db to the same folder as where you placed the python script
  • Start your node again
  • Run the command: python

I try to make things as easy to use as possible, if any of this doesn’t work for you, please report back on the earnings calculator topic here.

1 Like

As StorJ api gives all needed information,may be it is time to make it on web base not geting information from database? as api also give information about data alocated every day.
Next step put it information to Dashboaed

As far as I’m aware the api does not provide historic information. That’s one of the important features for the earnings calculator as it provides you with a way to compare actual payouts to that months stats. Since payouts happen during the next month, the official web dashboard and API don’t help there.
I agree that this information should ideally be provided on the official storagenode web dashboard though.


does db contain all node history?

For most data, yes.
Though storage history was not collected by the node prior to September 2019, so for months before that you’ll get a warning in the calculator that clarifies why that data is missing.

I can’t guarantee Storj won’t add a cleanup of old data at some point though, but for now it’s there in the db files.