Discuss Scratch
- Discussion Forums
- » Open Source Projects
- » Raw Data From Statistics Page
- t8thegr8st
-
7 posts
Raw Data From Statistics Page
So, I've been bored lately, and I've been looking at the statistics page, and I noticed some interesting trends, and wanted to look more into it. So I wondered. Is there any way to get the raw data from the statistics page? I think that if I could extract the data and get it's derivative, I should be able to find out how much activity is lost during the summer lulls, or anything else interesting. If anyone has an answer, please help me. Either way though, thank you for spending your time to read my questions.
- scratcher2286
-
79 posts
Raw Data From Statistics Page
I saw a method in Scratch Wiki.
You may need the Scratch API for that.
See the Scratch API docs on the Scratch Wiki
You may need the Scratch API for that.
See the Scratch API docs on the Scratch Wiki
Last edited by scratcher2286 (Nov. 30, 2022 09:21:05)
- t8thegr8st
-
7 posts
Raw Data From Statistics Page
Thanks so much I saw a method in Scratch Wiki.
You may need the Scratch API for that.
See the Scratch API docs on the Scratch Wiki

Last edited by t8thegr8st (Nov. 30, 2022 19:46:02)
- ajskateboarder
-
1000+ posts
Raw Data From Statistics Page
Just to clarify for people stumbling on this topic (and the OP), I don't believe there is an API for fetching Scratch's statistics
You will have to use a browser scripting framework to extract graph values with JavaScript. This is possible with Selenium
You will have to use a browser scripting framework to extract graph values with JavaScript. This is possible with Selenium
- t8thegr8st
-
7 posts
Raw Data From Statistics Page
Just to clarify for people stumbling on this topic (and the OP), I don't believe there is an API for fetching Scratch's statistics
You will have to use a browser scripting framework to extract graph values with JavaScript. This is possible with Selenium
Ah, ok thanks. I had been thinking that for a while now. Nice to have some clarification on this
- t8thegr8st
-
7 posts
Raw Data From Statistics Page
Oooooh thanks dude that's really cool! actually, these are the apis:
- https://scratch-mit-edu.ezproxyberklee.flo.org/statistics/data/daily/
- https://scratch-mit-edu.ezproxyberklee.flo.org/statistics/data/monthly-ga/
- https://scratch-mit-edu.ezproxyberklee.flo.org/statistics/data/monthly/
- ajskateboarder
-
1000+ posts
Raw Data From Statistics Page
Huh, the more you know actually, these are the apis:
- https://scratch-mit-edu.ezproxyberklee.flo.org/statistics/data/daily/
- https://scratch-mit-edu.ezproxyberklee.flo.org/statistics/data/monthly-ga/
- https://scratch-mit-edu.ezproxyberklee.flo.org/statistics/data/monthly/

But for other things, like the age distribution of Scratchers, you'll have to extract it manually
Never mind, that data is included in the above API links

Last edited by ajskateboarder (May 1, 2023 16:35:43)
- dynamicsofscratch
-
1000+ posts
Raw Data From Statistics Page
(#9)eh, most probably 12 is to commodity right now (actually) and 11/13Huh, the more you know actually, these are the apis:
- https://scratch-mit-edu.ezproxyberklee.flo.org/statistics/data/daily/
- https://scratch-mit-edu.ezproxyberklee.flo.org/statistics/data/monthly-ga/
- https://scratch-mit-edu.ezproxyberklee.flo.org/statistics/data/monthly/
But for other things, like the age distribution of Scratchers, you'll have to extract it manually
most probably what you could do is just make a fetch this page and what data it handles and yeah. (I don't know how to make that so yeah i'll leave that to other people)
- Discussion Forums
- » Open Source Projects
-
» Raw Data From Statistics Page