Example Counter
Pricing
Pay per usage
Example Counter
This actor simply counts up from one. In each run it prints one number. Its state (counter position) is stored in a named key-value store called example-counter.
Pricing
Pay per usage
Rating
4.6
(3)
Developer
Apify
Maintained by ApifyActor stats
5
Bookmarked
15
Total users
0
Monthly active users
2 days ago
Last modified
Categories
Share
example-counter
A minimal actor that demonstrates persistent state across runs using a Key-Value Store.
Each run reads a counter from the example-counter store, increments it by 1, prints the new value, and writes it back. The counter starts at 1 on the first run and keeps climbing across subsequent runs.
Output: The current counter value is saved as OUTPUT in the default Key-Value Store.
Storage: Counter state is kept in a named Key-Value Store called example-counter (visible in the Apify Console under Storage).


