
Pay per event example
Pricing
Pay per event

Pay per event example
This is an example pay-per-event Actor. When running it, you don't pay for the underlying platform usage, just for the Actor start event, and trivia facts it generates.
0.0 (0)
Pricing
Pay per event
3
Monthly users
1
Runs succeeded
>99%
Last modified
6 months ago
You can access the Pay per event example programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.
1echo '{
2 "trivia": [
3 {
4 "name": "lord-of-the-rings",
5 "count": 1
6 },
7 {
8 "name": "harry-potter",
9 "count": 5
10 },
11 {
12 "name": "star-wars",
13 "count": 10
14 }
15 ]
16}' |
17apify call mhamas/pay-per-event-example --silent --output-dataset
Pay per event example API through CLI
The Apify CLI is the official tool that allows you to use Pay per event example locally, providing convenience functions and automatic retries on errors.
Install the Apify CLI
1npm i -g apify-cli
2apify login
Other API clients include:
Pricing
Pricing model
Pay per eventThis Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Actor start
$0.10
Flat charge for starting an Actor run.
Star wars trivia
$0.20
Generating Star Wars trivia.
Harry Potter trivia
$0.30
Generating Harry Potter trivia.
Lord of the Rings trivia
$0.50
Generating Lord of the Rings trivia.