
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
Total users
6
Monthly users
1
Runs succeeded
>99%
Last modified
7 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.
$echo '{< "trivia": [< {< "name": "lord-of-the-rings",< "count": 1< },< {< "name": "harry-potter",< "count": 5< },< {< "name": "star-wars",< "count": 10< }< ]<}' |<apify 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
$npm i -g apify-cli$apify login
Other API clients include: