
I Scraped My Own Dev.to Analytics — Here Is What 500 Articles Taught Me
I have published over 500 articles on Dev.to in the past two weeks. Yes, that sounds insane. Here is what the data actually shows. The Experiment I wanted to understand what makes technical content perform. So I treated my own Dev.to account as a dataset. Using the Dev.to API, I pulled analytics for all 500+ articles and analyzed the patterns. import requests import json headers = { " api-key " : " YOUR_DEVTO_API_KEY " } all_articles = [] for page in range ( 1 , 7 ): response = requests . get ( f " https://dev.to/api/articles/me?per_page=100&page= { page } " , headers = headers ) all_articles . extend ( response . json ()) print ( f " Total articles: { len ( all_articles ) } " ) total_views = sum ( a [ " page_views_count " ] for a in all_articles ) print ( f " Total views: { total_views } " ) Result: 508 articles, 3,815 total views. Finding #1: Only 20% of Articles Get Any Views Out of 508 articles, only ~100 have views above zero. The other 400+ sit at exactly 0. Articles with 0 views
Continue reading on Dev.to
Opens in a new tab




