Tapaswai Ashok ChoudharyT
Apify & Crawleeโ€ข4w agoโ€ข
14 replies
Tapaswai Ashok Choudhary

Apify user ran/used my actor multiple times and still listed as `Free User` why?

๐Ÿ’ธPricing๐Ÿ–ฅ๏ธPlatformGeneral
My actor was ran by some users earlier this month and I can see what I earned from them and they are marked as paying user, but some other users ran it on 24 and today, they are listed as free user? how and why.. My actor monetization is set as
pay per event
..? Am I missing something?
Solution
Hey @Tapaswai Ashok Choudhary, unfortunatelly this is not how the Apify platform works... You can't block free users.

But you could limit the results they get.
Use this in your code:
const { userIsPaying } = Actor.getEnv();

https://docs.apify.com/platform/actors/development/permissions/migration-guide#the-actor-needs-to-know-whether-the-user-is-paying
How to migrate your Actor to limited permissions. Common migration paths, code examples, and common issues.
Migration guide | Platform | Apify Documentation
Was this page helpful?