Apify SDK for JavaScript Open source · Apache-2.0
Official library for creating Apify Actors using JavaScript or TypeScript.
Introduction
The Apify SDK for JavaScript is the official library for creating Apify Actors using JavaScript or TypeScript. It provides useful features like Actor lifecycle management, local storage emulation, and Actor event handling.
Actors are serverless cloud programs capable of performing tasks in a web browser, similar to what a human can do. These tasks can range from simple operations, such as filling out forms or unsubscribing from services, to complex jobs like scraping and processing large numbers of web pages.
Actors can be executed locally or on the Apify platform. The Apify platform lets you run Actors at scale and provides features for monitoring, scheduling, publishing, and monetizing them.
The Apify SDK for JavaScript is typically installed when you create a new Actor project using the Apify CLI. To install it manually in an existing project, use:
```bash
npm install apify
```
If you need to interact with the Apify API programmatically without creating Actors, use the Apify API client for JavaScript instead.
JavaScript SDKTypeScriptApify ActorsServerless programsActor lifecycleLocal storageEvent handlingApify CLI
Screenshots

Deployment
Apify 平台
适用于将 JavaScript/TypeScript Actor 以 serverless 云程序形式运行,并获得扩展、监控、定时、发布和变现等平台能力。
本地运行
适用于在开发环境中创建、调试和执行 JavaScript Actor,并使用 SDK 的本地存储模拟与生命周期管理能力。
Details
Type Open-source software
License Apache-2.0
Last verified 2026-07-18
Ad slot 300 × 250 Ad
About the data
Stars / commit times sync automatically from the GitHub API; pricing and features are human-verified.