Menu

Exporting App Store reviews from every country in Node.js: 6 things the RSS feed doesn't tell you
📰

Exporting App Store reviews from every country in Node.js: 6 things the RSS feed doesn't tell you

DEV Community: ios·Makerio·about 3 hours ago
#ruMbdWWw
#devtoios#devto#dev#reviews#const
Reading 0:00
15s threshold

Apple has a public JSON feed with the written reviews of any app, no key needed. It looks like one URL and a loop. Then you notice that the US store returns 500 reviews and stops, that every country has different reviews, and that page 11 doesn't return JSON at all.

Here is what came up while exporting about 3,000 Duolingo reviews from three countries, with a script you can run as is (Node.js 18+, no dependencies). If you only need the file, Reviewlist does the same in the browser and gives you CSV, JSON or Excel.

The URL

https://itunes.apple.com/{country}/rss/customerreviews/page={page}/id={appId}/sortby={sort}/json

Enter fullscreen mode

Exit fullscreen mode

appId is the number after id in the App Store link (Duolingo is 570060128 ), country is a two-letter store code, sort is mostrecent or mosthelpful . One page holds 50 reviews.

1. Ten pages, then nothing

Pages 1 to 10 return 50 reviews each. Page 11 does not return an empty list: it answers with a body that is not JSON at all.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.