Skip to main content
use-apify.com

SDK: guides & tutorials

Apify SDKs in Python or JavaScript start actors, stream datasets, and fit CI. Build locally, then deploy the same scraper code to managed Apify cloud runs.

2 articles

View all tags

The Apify SDK lets you start actors, stream datasets, and manage storage from Python or JavaScript, fitting cleanly into CI and local development. These guides cover the core SDK workflows for building and running scrapers in code.

Build a scraper locally with the SDK, then deploy the exact same code as a managed cloud actor without changes. Below you will find Python and JavaScript tutorials plus patterns for inputs, datasets, and scheduling.

Related topics

Firecrawl5 min read

Firecrawl Python SDK: Complete Developer Guide 2026

· 5 min read
Yassine El Haddad
Software Developer & Automation Specialist

The Firecrawl Python SDK provides a simple interface: scrape(), crawl(), and map(). Install with pip install firecrawl (version 4.57.0 when this was checked), initialize with your API key, and start scraping. The SDK returns typed objects with snake_case fields and supports async through AsyncFirecrawl. Current SDK versions keep the v1 names (FirecrawlApp, scrape_url, crawl_url, map_url) as deprecated aliases that call the v2 API, so they keep working after the v1 API shuts down, but new code should use the v2 names shown here. The code that breaks is anything still calling v1: old packages (firecrawl-py 1.x and 2.x, or firecrawl 1.x), raw HTTP to https://api.firecrawl.dev/v1/..., or an explicit v1 client such as firecrawl.v1 or V1FirecrawlApp. Firecrawl turns the v1 API off on 10 December 2026 at 15:00 UTC (HTTP 410 from then on); see Firecrawl's v2 migration guide.

Get started with Firecrawl →

Guides on this site

Frequently asked questions

Frequently Asked Questions

The Apify SDK (JavaScript and Python) is a client library and runtime framework for building Apify actors. It provides crawler classes, request queue management, key-value store access, dataset writes, proxy integration, and lifecycle hooks. It abstracts Apify platform specifics so actor code focuses on scraping and processing logic.

Install @apify/actor or apify Python package, implement a main function that reads Actor.getInput(), runs your crawler, and writes to Actor.openDataset(). Use Actor.openRequestQueue() for URL management. The SDK handles environment detection—it runs locally with file-based storage and on Apify Cloud with platform storage transparently.

Datasets for append-only record storage, Key-Value Stores for arbitrary binary or JSON blobs, and Request Queues for crawler frontier management. All are accessible via SDK methods and exposed through the Apify platform API, enabling cross-actor data sharing and downstream processing by other actors or webhooks.

Yes, the JavaScript SDK ships full TypeScript types. Use Actor.getInput<MyInputSchema>() with a defined interface for type-safe input reading. Dataset push methods are also generic. This end-to-end typing catches mismatches between input schema JSON and actor handler code at compile time rather than in production.