快速入门

本指南涵盖 Apify 的所有功能:
- 入门 — 创建账户和基本设置
- 如何使用AI网络爬虫 — Pull structured data from any page with plain English prompts
- 如何使用 Apify Store — Find ready-made Actors for thousands of scraping tasks
- 如何使用 Actor — Run small cloud programs that automate data collection
- 如何使用集成 — Send scraped data straight to the tools you already use
- How to Use AI agents — Feed live web data to LLMs through the Apify API
- 如何使用防堵塞功能 — Keep runs alive past captchas and IP bans
- 如何使用代理 — Serve each request from rotating IP addresses
- 如何使用 Crawlee — Build custom crawlers with a free open-source library
- How to Use Code templates — Start new Actors from Python and JavaScript boilerplate
所需时间: 每部影片 5 分钟
本指南还包含以下内容: 专业提示 | 常见错误 | 故障排除 | 定价 | 替代方案
为什么信任本指南
I’ve used Apify for eight months and tested every feature covered here.
This step by step tutorial comes from real hands-on runs — not marketing fluff or vendor screenshots.

Apify是最强大的网络爬虫工具之一, 自动化 目前可用的工具。
但大多数用户仅仅触及了它功能的冰山一角。
本指南将向您展示如何使用所有主要功能。
一步一步教你,附带截图和专业技巧。
Apify教程
This complete How to Use Apify tutorial walks you through every feature, from first login to advanced tips.
By the end, you’ll understand how each piece fits together.

Apify
将任何网站转换为结构化网站 数据. Apify gives you thousands of ready-made Actors, plus the tools to build and even sell your own. Start free — no credit card required.
Apify入门指南
使用任何功能之前,请先完成此一次性设置。
大约需要3分钟。
Watch this quick video overview first:
现在让我们一步一步来。
第一步:创建您的帐户
Go to apify.com and click Sign up for free.
Enter your email and a password, or continue with Google or GitHub.
Every Apify account starts on the Free plan by default.
✓ 检查点: 检查你的 收件箱 请发送确认邮件。
Step 2: Open the Apify Console
Apify runs fully in your browser, which keeps setup easy — nothing to download.
Log in and you land in the Apify Console.
This dashboard is where you manage Actors, runs, and datasets.
这就是仪表盘的样子:

✓ 检查点: 你应该能看到主控制面板。
步骤 3:完成初始设置
Follow the short onboarding prompts and tell Apify what you want to build.
No worries if you skip something — every setting can change later.
✅ 完成: 您已准备好使用以下任何功能。
如何使用 Apify AI 网络爬虫
人工智能网络爬虫 lets you pull structured data from any page using plain English prompts.
以下是使用步骤。
Step 1: Open AI Web Scraper
Find AI Web Scraper in the Apify Store and click Try for free.
Step 2: Describe the data you need
Paste the website URL, then type what you want in plain English.
For example, ask for product names, prices, and review scores.
这就是它的样子:

✓ 检查点: The preview shows extracted fields matching your prompt.
Step 3: Save and start
Click Save & Start, then watch the run collect your data.
✅ 结果: Structured data from any page — no selectors, no code.
💡 专业提示: Specific prompts beat vague ones — name the exact fields you want extracted.
如何使用 Apify Store
这 Apify商店 lets you find ready-made Actors instead of coding from scratch.
以下是使用步骤。
第一步:浏览商店
Open apify.com/store or click Store in the console.
Search for the website you want to scrape — Google Maps, for example.
第二步:选择演员
Compare ratings, user numbers, and pricing on each listing.
这就是它的样子:

✓ 检查点: You see the Actor detail page with docs and input examples.
Step 3: Try it free
Click Try for free and the Actor gets added to your Apify account.
✅ 结果: You have a working scraper without writing a line of code.
💡 专业提示: The Store is a good place to check first — with thousands of Actors, someone probably built it.
如何使用 Apify Actors
Apify Actors are small cloud programs that perform specific tasks, like scraping one website.
以下是使用方法的详细步骤。
Step 1: Create a new task
Pick an Actor and click the Create a new task button.
Step 2: Configure the input options
Set start URLs plus any input values and options the run needs.
The Link selector and Pseudo URLs control which links get added to the queue.
Advanced Actors run a pageFunction — JavaScript that executes on every page visited.
这就是它的样子:

✓ 检查点: The input form validates with no red warnings.
Step 3: Run and monitor
Click Start and follow progress in the run details.
Apify lets you run Actors in the cloud without keeping your computer on.
✅ 结果: Your data waits in a dataset, ready to export as JSON, CSV, or Excel.
💡 专业提示: One Actor can power many tasks — create a separate task for each website you scrape.
如何使用 Apify 集成
集成 let you send scraped data straight to the apps you already use.
以下是使用方法的详细步骤。
Step 1: Open the Integrations tab
Inside any task, click Integrations.
Step 2: Choose an integration
Pick Google Sheets, Slack, Zapier, Make, or a plain webhook.
这就是它的样子:

✓ 检查点: The integration shows as connected on your task.
Step 3: Set the trigger
Webhooks can ping you when a task starts, finishes, or fails.
✅ 结果: Fresh data lands in your other tools automatically.
💡 专业提示: Set a webhook on failed runs so silent errors never slip past you.
如何使用 Apify AI 代理
人工智能代理 let you feed live web data to LLMs and agent frameworks.
以下是使用方法的详细步骤。
Step 1: Get your API token
Open Settings in the Apify Console and copy your personal API token.
Step 2: Connect your framework
Install the Apify client for Python or JavaScript.
Point LangChain, LlamaIndex, or your own agent at the Apify API.
这就是它的样子:

✓ 检查点: Your agent can call any Actor programmatically.
Step 3: Let the agent pull live data
Have the agent run an Actor, then read results from the dataset.
✅ 结果: Your LLM answers with fresh web data instead of stale training data.
💡 专业提示: Pair your agent with the RAG Web Browser Actor to give any LLM live search.
How to Use Apify Anti-Blocker
抗阻断 lets you scrape at scale without captchas killing your runs.
以下是使用步骤。
Step 1: Turn on browser fingerprinting
Open your Actor input and enable the anti-blocking options.
No matter which website you target, defaults handle most blocks.
Step 2: Tune concurrency and retries
Lower max concurrency so your traffic looks human.
这就是它的样子:

✓ 检查点: Requests succeed without captcha pages in the log.
Step 3: Test on a small batch
Run 20 pages and watch the success rate before scaling up.
✅ 结果: Runs finish cleanly instead of dying behind captcha walls.
💡 专业提示: If blocks continue, switch the proxy group before you throw more retries at it.
如何使用 Apify 代理
Apify代理 lets you route requests through rotating IP addresses.
以下是使用步骤。
Step 1: Open proxy settings
In your task input, scroll to the Proxy section.
Step 2: Pick a proxy type
Datacenter proxies are cheap and fast.
Residential proxies serve requests through real-user IPs for stubborn sites.
这就是它的样子:

✓ 检查点: The proxy field shows your selected group.
Step 3: Set country and sessions
Choose a country if the site shows location-based content.
✅ 结果: Requests rotate through fresh IPs, so you look like many real users.
💡 专业提示: Start with datacenter proxies — upgrade to residential only when sites still block you.
如何使用 Apify Crawlee
克劳利 lets you build custom crawlers in JavaScript or Python.
以下是使用步骤。
步骤 1:安装软件包
Run npx crawlee create my-crawler, or pip install crawlee for Python.
Step 2: Write your crawler logic
Define a request handler that extracts data and enqueues new links.
这就是它的样子:

✓ 检查点: Your crawler runs locally and prints scraped data.
Step 3: Deploy to Apify
Run apify push to turn your crawler into a cloud Actor.
✅ 结果: A custom crawler you fully control, hosted on the platform.
💡 专业提示: The same Crawlee code runs on your computer and in the cloud, unchanged.
如何使用 Apify 代码模板
代码模板 let you start new Actors from working boilerplate.
以下是使用方法的详细步骤。
Step 1: Open the templates page
Click Develop new in the console and pick View templates.
Step 2: Choose a template
Options cover Playwright, Puppeteer, BeautifulSoup, Scrapy, and more.
这就是它的样子:

✓ 检查点: A ready project opens with sample scraping code inside.
Step 3: Build and deploy
Edit the boilerplate, design your input schema, and run apify push.
✅ 结果: A published Actor built in minutes, not days.
💡 专业提示: Interested in earning from your code? Share your Actor in the Store — more people are buying 刮刀 there every month.
Apify 专业技巧和快捷方式
After testing Apify for eight months, here are my best tips.
Command Line Shortcuts
| 行动 | 捷径 |
|---|---|
| Log in from the terminal | apify login |
| Start an Actor from a template | apify create |
| Run an Actor locally | apify run |
| Push an Actor to the cloud | apify push |
大多数人错过的隐藏功能
- Schedules: Open any task and add a schedule — runs repeat automatically and keep datasets up to date.
- Storage tab: Every dataset, key-value store, and request queue lives here with its own API endpoint.
- Actor monetization: Publish your scraper and get paid — the platform serves more than 25k customers, and the web scraping market is expected to grow at 14.20% CAGR through 2030.
Apify常见错误及避免方法
Mistake #1: Coding everything from scratch
❌ 错误: Spending days writing a custom scraper before checking what exists.
✅ 右图: Search the Apify Store first — thousands of Actors already handle common websites.
Mistake #2: Launching huge runs untested
❌ 错误: Pointing an Actor at 50,000 URLs on the very first run.
✅ 右图: Test with 10 to 20 pages, check the output, then scale up.
Mistake #3: Ignoring usage limits
❌ 错误: Letting one heavy run burn through your monthly platform credits.
✅ 右图: Watch your usage numbers in the console and cap memory per run.
Apify故障排除
Problem: Your Actor run fails right away
原因: Broken input — usually a malformed start URL or invalid JSON.
使固定: Open the run log and view the line where it throws an error. Fix that input value and restart.
Problem: The dataset comes back empty
原因: The page loads content with JavaScript, or your selectors miss the target.
使固定: Switch to a browser-based Actor. Then check your Link selector and pageFunction logic.
Problem: The website blocks your requests
原因: Too many requests from one IP address in a short window.
使固定: Enable Apify Proxy, lower concurrency, and add small delays between requests.
📌 笔记: Still stuck? Post in the Apify community forum — developers usually reply fast — or contact Apify support.
Apify是什么?
Apify is a web scraping and automation platform that turns websites into structured data.
Think of it like an app store for scrapers — pick a tool, run it, download the results.
Apify handles the heavy lifting of web scraping, so you can focus on the data.
观看这段快速概览:
它包含以下主要特点:
- AI网络爬虫: Pull structured data from any page with plain English prompts
- Apify商店: Find ready-made Actors for thousands of scraping tasks
- 演员: Run small cloud programs that automate data collection
- 集成: Send scraped data straight to the tools you already use
- 人工智能代理: Feed live web data to LLMs through the Apify API
- 抗阻断: Keep runs alive past captchas and IP bans
- 代理人: Serve each request from rotating IP addresses
- 克劳利: Build custom crawlers with a free open-source library
- Code templates: Start new Actors from Python and JavaScript boilerplate
如需完整评测,请参阅我们的 Apify 评测.

Apify 定价
Wondering what Apify costs in 2026? Here’s the full breakdown:
| 计划 | 价格 | 最适合 |
|---|---|---|
| 自由的 | $0 | Testing Actors and small personal projects |
| 起动机 | $35 | 自由职业者 以及独立开发者 |
| 规模 | $179 | 团队规模不断扩大,需要定期进行数据抓取。 |
| 商业 | $899 | Large-scale data operations |
免费试用: Yes — the $0 Free plan includes monthly platform credits, so you can test real runs.
退款保证: Not advertised. You can cancel anytime, and the Free plan lets you test first.
💰 性价比最高: Starter — $35 buys enough platform credits for most solo scraping projects.
Apify 与其他方案的比较
Apify 与其他公司相比如何?以下是竞争格局:
| 工具 | 最适合 | 价格 | 等级 |
|---|---|---|---|
| Apify | 全栈式爬虫平台 | 每月 35 美元 | ⭐ 4.5 |
| Scrapy | 编写代码的开发者 | $0 | ⭐ 4.4 |
| 明亮数据 | 企业级网络爬虫 | 每月 499 美元 | ⭐ 4.6 |
| Octoparse | 无代码初学者 | 每月99美元 | ⭐ 4.3 |
| ScrapingBee | 简单的API抓取 | 每月 49 美元 | ⭐ 4.5 |
| ScrapeGraphAI | AI-first extraction | 每月 20 美元 | ⭐ 4.2 |
快速精选:
- 综合最佳: Apify — cloud runs, a huge Store, and code options in one platform
- 最佳预算: Scrapy — completely free if you host it yourself
- 最适合初学者: Octoparse — visual point-and-click scraping
- Best for AI extraction: ScrapeGraphAI — prompt-based scraping built around LLMs
🎯 Apify 的替代方案
正在寻找 Apify 的替代方案?以下是一些最佳选择:
- 🔧 Scrapy: Free, open-source Python framework for developers who want full control. No cloud costs, but you host and maintain everything yourself.
- 🏢 亮数据: Enterprise proxy networks and ready datasets for scraping at serious scale. Powerful, but pricing suits big budgets.
- 👶 Octoparse: No-code visual scraper for beginners. Point, click, and extract without touching code — though complex sites can push its limits.
- ⚡ ScrapingBee: Simple scraping API that hides headless browsers and proxies behind one endpoint. Great when you just want clean HTML back fast.
- 🧠 ScrapeGraphAI: AI-powered extraction that turns natural language prompts into structured data. Young platform, but the LLM-first approach feels ahead of the curve.
完整列表请参见我们的 Apify的替代方案 指导。
⚔️ Apify 对比
以下是 Apify 与各竞争对手的对比情况:
- Apify 与 Scrapy: Scrapy wins on price — it’s free. Apify wins on everything hosted: scheduling, proxies, storage, and a marketplace of ready Actors.
- Apify 与 Bright Data 对比: Bright Data leads for massive proxy pools and compliance tooling. Apify offers a friendlier console, lower entry price, and an Actor marketplace.
- Apify 与 Octoparse 对比: Octoparse is simpler for pure no-code users. Apify scales further with code options, cloud scheduling, and thousands of pre-built Actors.
- Apify 与 ScrapingBee 对比: ScrapingBee is leaner for one-off API calls. Apify adds storage, scheduling, monetization, and a Store full of finished scrapers.
- Apify 与 ScrapeGraphAI 对比: ScrapeGraphAI focuses purely on AI extraction. Apify covers AI scraping plus proxies and automation — the broader platform wins for most users.
立即开始使用 Apify
你已经学会了如何使用 Apify 的所有主要功能:
- ✅ AI网络爬虫
- ✅ Apify商店
- ✅ 演员
- ✅ 集成
- ✅ 人工智能代理
- ✅ 防堵塞
- ✅ 代理
- ✅ 克劳利
- ✅ Code templates
下一步: 选择一项功能,立即试用。
大多数人都是从人工智能网络爬虫开始的。
只需不到5分钟。
常见问题解答
Apify是用来做什么的?
Apify is used for web scraping, automation, and data extraction. You run Actors — small cloud programs — that pull structured data from websites, then export it as JSON, CSV, or Excel.
Apify可以免费使用吗?
Yes. The Free plan costs $0 and includes monthly platform credits. Paid plans start at $35 for Starter when you need more capacity.
How do I use Apify for web scraping?
Create a free Apify account, pick an Actor from the Store, configure the input options with your target URL, run the task, then download your data.
Is web scraping with Apify legal?
Scraping publicly available data is generally legal. Respect each website’s terms, avoid personal data, and follow privacy laws like GDPR. When in doubt, ask a lawyer first.
Apify 能抓取 Instagram 数据吗?
Yes. The Apify Store has Instagram scrapers that collect public profiles, posts, comments, and hashtags. They handle blocking for you, so no workarounds are needed.













