Skip to main content

Apify for developers

Quick answer: Apify provides REST API v2, JavaScript and Python SDKs, Crawlee (open-source scraping framework), and integrations with n8n, Make, Zapier, Google Sheets, LangChain, AWS S3, Airbyte, and more. You can run Actors, pull datasets, and wire web data into any stack.

This hub is the entry point for engineers: APIs, SDKs, Crawlee, custom Actors, production monitoring, and every integration guide we publish on Use Apify. If you already write scrapers and want serverless runs, scheduling, and managed storage, start here, then open the tutorials below for your language and workflow.

Developer resources at a glance

ResourceWhat it isStart here
REST API v2HTTPS JSON API for runs, datasets, schedules, webhooksApify API tutorial
JavaScript / TypeScript SDKOfficial apify-client + Crawlee on NodeCrawlee Node.js tutorial
Python SDKOfficial apify-client + Crawlee for PythonCrawlee Python tutorial
CrawleeMIT-licensed scraping & browser automation librarycrawlee.dev · GitHub
Apify CLILocal run, push, and Actor lifecycle from the terminalCovered in Build your first Actor
Actor runtimeDocker-based serverless containers with platform storageBuild your first Actor
Integrationsn8n, Make, Zapier, Sheets, LangChain, S3, Airbyte, Slack, DriveIntegrations hub

Crawlee runs locally without Apify; deploying to Apify adds cloud scaling, proxies, datasets, webhooks, and scheduling without new code paths.

Quick code example: start an Actor via the API

Apify Affiliate Banner 728x90Apify Affiliate Banner 728x90Apify Affiliate Banner 300x50Apify Affiliate Banner 300x50

Replace APIFY_TOKEN with a token from Integrations → API in the Apify Console. The Actor ID in the URL uses username~actor-name form (compass~crawler-google-places).

curl -sS -X POST "https://api.apify.com/v2/acts/compass~crawler-google-places/runs" \
-H "Authorization: Bearer ${APIFY_TOKEN}" \
-H "Content-Type: application/json" \
-d '{"input":{"searchStringsArray":["coffee shop Austin"],"maxCrawledPlacesPerSearch":50}}'

The response includes data.id (run ID) and data.defaultDatasetId. Poll GET https://api.apify.com/v2/actor-runs/RUN_ID with the same Authorization header until data.status is SUCCEEDED, then list dataset items via the API or an SDK.

JavaScript (Node.js) using the official client:

import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });

const run = await client.actor('compass/crawler-google-places').call({
searchStringsArray: ['coffee shop Austin'],
maxCrawledPlacesPerSearch: 50,
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.length, 'places');

For Python, see the same flow with apify_client.ApifyClient in the Apify API tutorial.

Create a free Apify account · Open API reference (official)

All developer docs on this site

Foundations

GuideDescription
Build your first Apify ActorScaffold, local test (apify run), deploy (apify push)
Apify API tutorialTokens, runs, datasets, schedules, best practices
Crawlee JavaScript / TypeScript tutorialCheerioCrawler, PlaywrightCrawler, TypeScript
Crawlee Python tutorialPython Crawlee, Playwright, parsers
Scraping dynamic websitesSPAs, headless Chrome, waiting strategies
Processing scraped dataClean, transform, and route results

Shipping and operations

GuideDescription
GitHub CI/CD integrationTest and deploy Actors from GitHub Actions
Advanced Actor monitoringLogs, metrics, and production alerts
Apify Standby modeLow-latency always-warm Actors
Resume scrapingCheckpoints for long crawls
Apify Tasks and SchedulesRecurring runs without external cron

Integrations (step-by-step)

GuideDescription
Integrations overviewMap of iPaaS, AI, storage, and analytics
Make integrationVisual automation with Apify modules
n8n integrationSelf-hosted workflows with the Apify node
Zapier integrationConnect thousands of SaaS apps
LangChain integrationLoaders and tools for RAG pipelines
Google Sheets integrationPush dataset rows to spreadsheets
Google Drive integrationStore exports and artifacts in Drive
Slack integrationNotify channels from run events
AWS S3 integrationLand datasets in S3 buckets
Airbyte integrationSync into warehouses and BI tools

Monetization

GuideDescription
Monetize your ActorsStore pricing, payouts, and product patterns

Developer workflow (end to end)

1. Prototype locally → Crawlee + Apify CLI (`apify run`)
2. Version control → Git + code review
3. Deploy → `apify push` to Apify Cloud
4. Automate → API, SDK, or integrations (n8n / Make / Zapier)
5. Observe → Runs, logs, webhooks, datasets
6. Monetize (optional) → Publish to the Apify Store

AI and agent development

Free developer tier

Sign up for Apify. The free plan includes monthly credits to build, run, and integrate your first Actors without a credit card.

FAQ

Frequently Asked Questions

Apify exposes a full REST API v2 for runs, storage, and scheduling. Official SDKs exist for JavaScript/TypeScript and Python (apify-client). Crawlee is the open-source scraping framework maintained by Apify and works on or off the platform.

Create an API token in the Apify Console, then call POST /v2/acts/{actorId}/runs with JSON input, or use apify-client's actor().call() in Node or the equivalent in Python. See the quick examples on this page and the Apify API tutorial for polling, datasets, and webhooks.

Crawlee is an MIT-licensed library for building scrapers with Playwright, Puppeteer, Cheerio, or plain HTTP. You can run it entirely on your own machines. Deploying the same code as an Actor on Apify adds managed browsers, proxies, datasets, and scheduling.

Common integrations include n8n, Make, Zapier, Google Sheets, Google Drive, Slack, LangChain, AWS S3, and Airbyte. See the integrations overview for the full map and setup guides.

Yes. Use the GitHub CI/CD guide to run tests on push and deploy new Actor versions automatically.

Publish an Actor to the Apify Store and choose a pricing model. Other users pay per usage; you earn revenue. Details are in the monetize Actors guide.

Apify Affiliate Banner 728x90Apify Affiliate Banner 728x90Apify Affiliate Banner 300x50Apify Affiliate Banner 300x50