Dhrumil
CACrawlee & Apify
•Created by Dhrumil on 5/31/2025 in #apify-platform
An example actor which provides guide to how to properly use PPE functionality would be helpful.
Right now, only documentation exist for PPE is https://docs.apify.com/platform/actors/publishing/monetize#pay-per-event-ppe-pricing-model
and that has very li'l information about how Apify expects developers to implement PPE. I have tried looking into SDK reference but there is very li'l you can know. e.g. I want to understand whether some event charged successfully or got bounced. How do I know from ChargeResult. Charge result says,
eventChargeLimitReached
but what's the meaning of it ? Does that mean next event can't be charged or current event couldn't be charged!
https://docs.apify.com/sdk/js/reference/interface/ChargeResult2 replies
CACrawlee & Apify
•Created by Dhrumil on 5/28/2025 in #apify-platform
How to create PPE plan which is hybrid of both. Minimum monthly commitment + Overuse
How to implement following pricing model using PPE ?
- I want to charge fixed monthly 50 USD per month if customer has used actor atleast once a month.
- Along with 50 USD onetime charge, I am glad to offer 1000 free dataset items
- Above 1000 dataset free items, I would like to charge 1 USD per extra dataset write.
This model is hybrid where you expect minimum monthly commitment along with enforcing fair usage within limit.
You are still not limiting customers and they can pay overusage if they have additional requirement.
I understand that with PPE, customer won't get billed if they have not used it for specific month. But atleast ensure that if they started today they get billed minimum X amount which remain valid till 30 days.
This model has its own advantage when it comes to consumer psychology and ensuring predicatble revenue.
3 replies