The task is to create a simple server with an API that scrapes basic data from TikTok and Instagram.

<aside> 💡

This is a proof of concept project. It has a spec and a schema, but some fields might turn out to be not possible to return - please document your findings on what’s missing and what you tried to get the data.

</aside>

Tech stack

Resources

Libraries to try

I don’t know what approach is best for scraping the data. I researched some packages that could be worth trying:

https://github.com/ahmedrangel/instagram-media-scraper

npm: scraper-instagram

npm: instagram-scraping

tiktok-scraper-ts

npm: tiktok-scraper

npm: @xct007/tiktok-scraper

https://github.com/ranbot-ai/tiktok-scraper

Response models

Profile