Louis Deconinck
Louis Deconinck•11mo ago

If the user pays Apify, it's no longer a

If the user pays Apify, it's no longer a free user and I will be paid for usage no? What are the two lines of code?
5 Replies
azzouzana
azzouzana•11mo ago
basically something like this within your actor code
user_info = await Actor.apify_client.user().get()
if not user_info.get('isPaying'):
# do something
user_info = await Actor.apify_client.user().get()
if not user_info.get('isPaying'):
# do something
AFAIK No, a user can be a paid user of Apify platform but not necessarily a paid user of your actor. The feature to know whether the user running the actor is subscribed to it or uses it within the free trial has always been the subject of main talks here in this discord
harsh-harlequin
harsh-harlequin•11mo ago
only usage is for pay per resulta actor, free users pays to Apify for results
azzouzana
azzouzana•11mo ago
@Danek Not sure I get that, could you please elaborate 🙏
azzouzana
azzouzana•11mo ago
Thanks @Danek !

Did you find this page helpful?