How do I get the json for the each raw from topics in the category?

This might help: GitHub - pfaffman/discourse-downloader: Download a Discourse topic for offline analysis · GitHub (or it might not work at all–for example, it might not properly put the API key in the header rather than the URL)