Skip to content

Apify API and MCP

Apify provides hosted Actors for web scraping and automation, with access to run results and datasets. An agent can start scraping Actors and retrieve run results for research. Add your Apify key once in Longwave settings; calls run on your vendor account.

Add to Longwave

Add Apify to your agent

Paste this into Claude Code or a terminal. Then run /mcp to sign in.

functions
3
access
Your key

Use Apify on Longwave

  1. Download Longwave or open app.longwave.run.
  2. Add your Apify API key once in Longwave settings. Calls run on your Apify account at Apify's price.
  3. Ask for the result in any thread, for example: “Start a scraping Actor for a research task”. The agent picks the Apify function and calls it.

Use Apify in Claude Code, Codex, Cursor or ChatGPT

Add the Longwave MCP server once. It carries 2,593 functions across 103 tools, including Apify, and asks you to sign in on first use.

Why call Apify through Longwave

  • Your Apify key is stored once, encrypted, and used by every harness and device you use.
  • One MCP server for 103 tools, so your agent setup does not grow a key and a server per vendor.
  • Spending limits per key and per account, checked before a paid call is made.
  • Each call is recorded with the provider, the cost and the result, and can be read again from another device.

Apify functions

Function Price
Start an Apify Actor Accepts an Actor ID and Actor input with start URLs and a crawl limit and returns an Actor run receipt. apify.actor.run
The Actor determines the charge, with additional charges for platform usage, storage, data transfer and proxies.
Get an Apify Actor run status Accepts a run ID and returns an Actor run's status and metadata. apify.run.get
See vendor pricing.
Get Apify dataset items Accepts a dataset ID and returns a page of records from an Apify dataset. apify.dataset.items
Dataset reads can incur storage and data transfer charges; the plan and usage determine the total.

Prices are Apify's published rates. Source: Apify pricing.

Use cases

Questions people ask

How do I get an Apify API key?

Sign in to Apify and create a key at console.apify.com/settings/integrations. Add it once in Longwave settings and your agents' Apify calls run on your own account. Apify API keys

Does Apify offer a free API allowance?

Apify publishes this allowance: $5 usage credit per month. The allowance applies to the vendor account used for the call. Apify pricing

Do I need an Apify account?

Yes. Create a key at https://console.apify.com/settings/integrations and add it in Longwave settings. Longwave stores it encrypted and uses it only for your calls.

How do I use Apify in Claude Code?

Add the Longwave MCP server once with claude mcp add --transport http longwave https://api.longwave.run/v1/mcp/tasks, sign in, and ask for what you need. Claude finds the right Apify function and calls it.

Use Apify in Longwave

Ask any Longwave thread for the result, or add Longwave to Claude Code, Codex, Cursor or ChatGPT.

Add to Longwave