At this point, you might be wondering how I knew about the API... Well, I didn't. When searching the source-code on GitHub, I found the API controller for tags: github.com/thepracticaldev/dev.to/...
With a bit of effort, I figured the rest out from there. 😄
As always, one has to be careful what one askes for... At the time of this writing "all" means 44676 tags.1
The tags can be found at dev.to/api/tags.
By default this will only return the top 10 most popular tags.
This number can be increased to 1000 by using the
per_pageparameter.Subsequent pages can be retrieved by using the
pageparameter.Just keep increasing the page number until the JSON response is an empty array
[].2To give an idea how this could be done, I created this Gist: gist.github.com/Potherca/da6e1cfec...
It can be seen in action here: gist.pother.ca/da6e1cfece99c571394...
Right now the last page is https://dev.to/api/tags?per_page=1000&page=45. No doubt it will soon be page 46.
At this point, you might be wondering how I knew about the API... Well, I didn't. When searching the source-code on GitHub, I found the API controller for tags: github.com/thepracticaldev/dev.to/...
With a bit of effort, I figured the rest out from there. 😄
1 Visit gist.pother.ca/da6e1cfece99c571394... if you want a real-time count.
2 An empty array means there are no more tags to be retrieved.