Social and ad operations
Calculate a seven-day TikTok gain from the intended endpoints
Do not mistake a last-run change for a weekly gain when midweek readings exist.
Example result
This example is fictional; it is not a live collection result.
Fictional example: Counts are 800 on the 3rd, 920 on the 6th and 1,100 on the 10th. The seven-day gain is 300, not the last-step gain of 180.
How to do it
Store repeat observations for the same public URL.
Keep scrapedAt and the prior observation timestamp.
Calculate the requested interval from its explicitly selected endpoint counts.
Try it on your own data
Example and input reference · Apify features and pricing
Running on Apify requires an account and may incur usage charges.