# Apify
<!--
ref: @integrations/apify
tags: [web scraping, automation, data retrieval, API]
triggers: [need to extract data from a website, want to automate browser tasks, access previous run data]
trigger_prompt: When you need to gather data from websites, automate repetitive browser actions, or retrieve results from past scraping runs.
category: integration
last_reviewed: 2026-04-30
complements: [@protocol/agent-config-integration, @integrations/notion, @integrations/gemini-imagen, @integrations/youtube, @integrations/gh]
audience: [agent-author, terminal-only]
version: 8
updated_at: 2026-07-14T20:45:46.388Z
-->
Extract data from websites and automate browser tasks using Apify.
## When to Use
- **Scraping**: Extract data from websites (use pre-built actors)
- **Automation**: Run browser tasks, form fills, screenshots
- **Data retrieval**: Access datasets from previous runs
## Cheat Sheet
### Actors
| Op | Call | Notes |
|----|------|-------|
| Search | `search-actors(query)` | Find actors in Apify Store |
| Details | `fetch-actor-details(actor_id)` | Get actor info, inputs |
| Run | `call-actor(actor_id, input{})` | Execute and get results |
### Runs
| Op | Call | Notes |
|----|------|-------|
| Get run | `get-actor-run(run_id)` | Status and metadata |
| List runs | `get-actor-run-list(actor_id?, status?)` | Filter by status |
| Logs | `get-actor-log(run_id)` | Execution logs |
### Storage
| Op | Call | Notes |
|----|------|-------|
| Dataset items | `get-dataset-items(dataset_id, limit?, offset?)` | Paginated results |
| KV get | `get-key-value-store-record(store_id, key)` | Single value |
| KV list | `get-key-value-store-keys(store_id)` | All keys |
## Auth
```bash
curly init apify # hidden prompt for the token → ~/.curly.yaml
```
`apify` is a built-in service (bearer auth) — the token (`apify_api_…`) is all you supply. Setup flow and troubleshooting: [`@integrations/curly`](/@integrations/curly).
## Patterns
### Scrape a website
```
# Apify
search-actors("web scraper")
# 2. Run with input
call-actor(
actor_id: "apify/web-scraper",
input: {
startUrls: [{url: "https://example.com"}],
maxPagesPerCrawl: 10
}
)
# 3. Results returned directly or via dataset
```
### Get results from previous run
```
# List recent runs
get-actor-run-list(status: "SUCCEEDED")
# Get dataset items
get-dataset-items(
dataset_id: "xxx",
limit: 100
)
```
### Popular actors
| Actor | Use Case |
|-------|----------|
| `apify/web-scraper` | General website scraping |
| `apify/cheerio-scraper` | Fast HTML parsing |
| `apify/playwright-scraper` | JavaScript-heavy sites |
| `apify/google-search-scraper` | Search results |
## Rate Limits
- 30 requests/sec per user
- Actor runs consume compute units
## Docs
Full API reference: `_apify/_api-reference.md`
Actor catalog: `_apify/_popular-actors.md`
---
*Related: `@integrations/linkedin` · `@integrations/agent-browser` · `@protocol/protocol-api` · `@content/youtube/david-ondrej/this-mcp-makes-hermes-agent-10x-more-powerful` · `@content/youtube/dan-martell/it-s-actually-pretty-easy-to-get-ahead-of-99-of-people-with-ai`*
---
*You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).*
*Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*