Pay Per Event Example
by lukaskrivka
Example usage of the new Pay-per-event billing model.
Opens on Apify.com
About Pay Per Event Example
Example usage of the new Pay-per-event billing model.
What does this actor do?
Pay Per Event Example is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.
Key Features
- Cloud-based execution - no local setup required
- Scalable infrastructure for large-scale operations
- API access for integration with your applications
- Built-in proxy rotation and anti-blocking measures
- Scheduled runs and webhooks for automation
How to Use
- Click "Try This Actor" to open it on Apify
- Create a free Apify account if you don't have one
- Configure the input parameters as needed
- Run the actor and download your results
Documentation
Actor Pay-per-event charging example This example demonstrates how to use the Actor Pay-per-event charging feature. It uses ChargingManager class and pushDataPPEAware function to ensure consistent charging for the actor. This is a preview feature. Apify team is working on implementing similar functionality directly into the JS & Python SDKs. ## Source code Available here: https://github.com/metalwarrior665/actor-charge-manager-poc ## Features - Only charge for events defined for that Actor run - Only charge up to user-defined Max Total Charge Usd - Correctly sync charging state after restarts - Only push dataset items that we previously charged for - Is backward compatible with Pay-per-result billing (for pricing transition) - Pushes metadata about each event to an unnamed metadata dataset ## Non-features This example doesn't show how to implement a solution for the whole Crawlee crawler. In that case, you should pass chargingManager around in context and use await crawler.teardown() once the charging manager returns eventChargeLimitReached true (or if you cannot squeeze more events into chargingManager.eventChargeCountTillLimit(eventId)) ## Example run Example run with priced events: https://console.apify.com/view/runs/WxEqtS7CQee4biw4S. See also generated metadata dataset
Categories
Common Use Cases
Market Research
Gather competitive intelligence and market data
Lead Generation
Extract contact information for sales outreach
Price Monitoring
Track competitor pricing and product changes
Content Aggregation
Collect and organize content from multiple sources
Ready to Get Started?
Try Pay Per Event Example now on Apify. Free tier available with no credit card required.
Start Free TrialActor Information
- Developer
- lukaskrivka
- Pricing
- Paid
- Total Runs
- 338
- Active Users
- 5
Related Actors
Web Scraper
by apify
Cheerio Scraper
by apify
Website Content Crawler
by apify
Legacy PhantomJS Crawler
by apify
Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.
Learn more about ApifyNeed Professional Help?
Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.
Trusted by millions | Money-back guarantee | 24/7 Support