Provides programmatic access to all Apify platform resources including Actors, runs, datasets,
key-value stores, request queues, and more. Works in both Node.js and browser environments.
@example
import{ApifyClient}from'apify-client'; const client =newApifyClient({token:'my-token'}); // Start an Actor and wait for it to finish const run =await client.actor('my-actor-id').call(); // Fetch dataset items const{ items }=await client.dataset(run.defaultDatasetId).listItems();
The official JavaScript client for the Apify API.
Provides programmatic access to all Apify platform resources including Actors, runs, datasets, key-value stores, request queues, and more. Works in both Node.js and browser environments.
https://docs.apify.com/api/v2