Apify SDK 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.
## Installation
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 programsLifecycle managementLocal storageEvent handlingWeb scraping
Screenshots

Deployment
官方云服务(Apify Platform / Console)
适合在 Apify 托管平台上运行、监控、调度、发布和变现 Actors,并按需扩展执行规模。
本地运行(Apify SDK for JavaScript / TypeScript)
适合开发者在本地创建、调试和运行 JavaScript/TypeScript Actors,并可之后部署到 Apify 平台。
Apify CLI
适合通过官方命令行工具创建 Actor 项目并安装 SDK,进行本地开发与项目管理。
npm 包(apify)
适合在已有 Node.js 项目中手动安装官方 Apify SDK 以开发 Actors。
Details
Type Open-source software
License Apache-2.0
Last verified 2026-07-19
Ad slot 300 × 250 Ad
About the data
Stars / commit times sync automatically from the GitHub API; pricing and features are human-verified.