Documentation of Apify actors - serverless computing jobs that enable execution of long-running web scraping and automation tasks in the cloud.
An Apify actor's input is stored in the
INPUT.json key-value store in the actor's
Note that the actor can store other values such as crawling results or screenshots of web pages under arbitrary keys.
The key-value store associated with an actor run can be conveniently accessed using the
setValue() functions provided by the
apify NPM package. Internally, these functions read the ID of the key-value store from the
APIFY_DEFAULT_KEY_VALUE_STORE_ID environment variable. They then access the key-value store using the Apify API.
For more details about the key-value stores, visit the Storage section.
There are three ways to pass input to an actor