← all tools
Data & sourcing

Apify

Run a scraper for the sites nobody sells an API for.

Apify is a data and sourcing tool, and one of the 53 tools hyreflow connects to Claude, ChatGPT and other AI assistants. Through hyreflow, an AI agent can run 8 actions, all of which look something up. Apify runs on your own Apify account: hyreflow charges no credits for it, and Apify bills you as before.

Cost per callBYOK · vendor billed
Your own keyrequired
CategoryData & sourcing

Apify is a library of ready-made scrapers: when no vendor offers the data on a page, your agent runs the right one and gets structured rows back. Everyone who engaged with a LinkedIn post is the common one.

Apify starts a list from somewhere unusual. What it returns goes through enrichment like any other list.

What can you ask Claude or ChatGPT to do with Apify?

With hyreflow connected, you ask for the outcome in plain language and the assistant runs Apify for you. For example:

  • “Pull everyone who engaged with this LinkedIn post url, then enrich them through Prospeo”
  • “Scrape the team page on this company's site and match the names against Apollo”
  • “Get the attendee list off this event page url and build a longlist”
  • “Score the scraped rows with hyreflow Agent and push the qualified ones into Atlas”

Which tools work well with Apify?

In a hyreflow run, Apify is most often paired with Prospeo, hyreflow Agent, Firecrawl and Apollo.

  • Prospeo

    turn scraped names into contactable people

  • hyreflow Agent

    score hundreds of scraped rows against the brief

  • Firecrawl

    a lighter option when you only need the page text

  • Apollo

    resolve a scraped name to a full profile

Which Apify actions can an AI agent run through hyreflow?

Through hyreflow, an AI agent can run 8 Apify actions, all of which look something up. Apify runs on your own Apify account: hyreflow charges no credits for it, and Apify bills you as before.

Apify actionWhat it doesCost through hyreflow
Run actorLooks something upno hyreflow credits
Run actor syncLooks something upno hyreflow credits
List store actorsLooks something upno hyreflow credits
Get actor default buildLooks something upno hyreflow credits
Get actor input schemaLooks something upno hyreflow credits
Get dataset itemsLooks something upno hyreflow credits
Get runLooks something upno hyreflow credits
Get userLooks something upno hyreflow credits

One credit is priced on the pricing page. The full price list for every tool is in the pricing tables.

How does an AI agent know how to use Apify?

hyreflow ships a written playbook for Apify, and the agent loads it before the first call. Auth, rate limits, what each call costs, which actions need your approval, and the mistakes worth avoiding. It is the difference between an agent that knows the tool and one that guesses at it.

Read the Apify docs →
Show the raw playbookwritten for the agent

HOW in lib/apify.py. Docs: docs.apify.com (OpenAPI). Actor model — discover → run → read dataset.

Auth & config

  • BYOK-only — Apify isn't resold on managed credits. Each workspace connects its own Apify token in Integrations; without one every Apify call returns no_key. hyreflow charges 0 credits; Apify bills you directly. Connecting your own token needs the Essential plan or above.
  • Base URL: https://api.apify.com/v2 · Auth: Authorization: Bearer <token> (env APIFY_API_KEY; never hardcode).
  • actorId is username/name; the client converts it to username~name for paths.

Operations (the canonical flow)

  1. list_store_actors(search=...) — find an actor when you don't know its id (pick high rating/usage; for LinkedIn posts prefer supreme_coder/linkedin-post).
  2. get_actor_input_schema(actor_id) — required/optional inputs before running.
  3. run_actor_sync(actor_id, run_input) — run + return dataset items in one call (default).
  4. Async: run_actor(...) → get_run(run_id) (poll status + defaultDatasetId) → get_dataset_items(dataset_id).

Guardrails

  • Actor runs cost compute on your own Apify account and some are rental-priced — pilot small (low maxItems) before scaling. Read-only sourcing tool (no outreach side-effects).
  • Sites requiring login: prefer a vetted actor; avoid scraping behind auth without permission.

Handoff

Sourcing/scraping layer: e.g. scrape LinkedIn posts/engagers or profiles → structured rows → enrichment (emails/phones) → ATS/sequencer.

Field notes (production experience)

Field-shape note: these are vendor-native operational notes. The client returns the raw vendor JSON and uses the method names in this file — read field shapes accordingly (no normalized-wrapper / result.data. prefix).

  • Find the actor first: if you don't know the actor ID, search the store; the #1 result by quality is usually the right pick (ranked by rating x review count x runs x 30-day success). Prefer vetted, high-usage, successRate30d >= 95% actors. For LinkedIn posts -> supreme_coder/linkedin-post; for post reactions/engagers -> harvestapi/linkedin-post-reactions.
  • actorId = username/name (note: our adapter also accepts the username~name form per Apify's API).
  • Inspect the input schema before running - required/optional fields vary per actor and the wrapper fields can differ from the actor-page docs.
  • Default to a sync run for one-call results; use async + poll only for long/non-blocking jobs.
  • Validate payload with a tiny run (low maxItems) before scaling.

Callable surface — lib/apify.py

Import: from lib.apify import Apify → instantiate Apify() (reads key from env). Base: https://api.apify.com/v2. Generic passthrough: request(method, path, *, params, json).

  • get_actor_default_build(actor_id: str) -> Any — GET /acts/{actor}/builds/default — the full default build (inputSchema, readme, usage). FREE.
  • get_actor_input_schema(actor_id: str) -> Any — Inspect an actor's input fields before running (FREE — read only).
  • get_dataset_items(dataset_id: str, *, limit: int | None = None, offset: int | None = None, **params) -> Any — GET /datasets/{datasetId}/items — fetch an actor run's output.
  • get_limits() -> Any — GET /users/me/limits — monthly usage cycle + limits + current usage. Free. Reports the CALLER's own Apify budget: remaining monthly USD = data.limits.maxMonthlyUsageUsd - data.current.monthlyUsageUsd (Apify is usage-metered in USD, not a credit pool). Apify is BYOK-only, so there is no Hyreflow-managed Apify account and no internal balance poll behind this — it reads the workspace's own account.
  • get_run(run_id: str) -> Any — GET /actor-runs/{runId} — run status (look at data.status + data.defaultDatasetId).
  • get_user() -> Any — GET /users/me — authenticated account (plan/usage). Free, no args — the BYOK key-verification probe (GET /store is public and would NOT validate the token).
  • list_store_actors(*, search: str | None = None, limit: int = 25, **params) -> Any — GET /store — search the Apify actor store. Use first when you don't know the actorId.
  • run_actor(actor_id: str, run_input: dict | None = None, **params) -> Any — POST /acts/{actor}/runs — start an async run. Poll get_run, then get_dataset_items.
  • run_actor_sync(actor_id: str, run_input: dict | None = None, **params) -> Any — POST /acts/{actor}/run-sync-get-dataset-items — run an actor and return dataset items in one blocking call. Best default when you want results immediately.

Questions about Apify and hyreflow

Can I use Apify inside Claude or ChatGPT?

Yes. hyreflow is a connector for Claude, ChatGPT and other AI assistants. Once hyreflow is connected, you ask for the outcome in plain language and the assistant calls Apify for you. hyreflow exposes 8 Apify actions this way.

Do I need my own Apify account to use it with hyreflow?

Yes. Apify runs on your own Apify account. You connect it to hyreflow once, hyreflow charges no credits for the calls, and Apify bills you as before.

What does Apify cost through hyreflow?

Apify runs on your own Apify account: hyreflow charges no credits for it, and Apify bills you as before.

How do I connect Apify to an AI agent over MCP?

Add the hyreflow MCP server to your assistant and sign in. hyreflow calls the Apify API directly and exposes its actions as tools the assistant can run, so there is no separate Apify server to install.

Connect hyreflow to your assistant →

Put Apify to work from one prompt

Connect hyreflow to Claude or ChatGPT and ask for the outcome. It reads the playbook above before it makes a single call.