Skip to content

feat: Add actors search command to search Apify Store from CLI #1045

@patrikbraborec

Description

@patrikbraborec

Problem

Currently, the Apify CLI has no command for searching Actors in the Apify Store. This is a significant gap. Discoverability of Actors directly from the terminal is one of the most important touch points for AI agent integrations and developer workflows.

As raised by @jancurn, there is also no mention of this functionality in the documentation, which compounds the problem.

Proposed Solution

Add a new CLI command, e.g.:

apify actors search <query>

This can leverage the existing public API endpoint:

GET https://api.apify.com/v2/store

Supported query parameters (API)

Parameter Type Description
search string Search by title, name, description, username, readme
sortBy string relevance (default), popularity, newest, lastUpdate
category string Filter by category, e.g. AI
username string Filter by Actor author
pricingModel string FREE, FLAT_PRICE_PER_MONTH, PRICE_PER_DATASET_ITEM, PAY_PER_EVENT
allowsAgenticUsers (use --agentic-use in CLI) boolean Filter Actors that support agentic use
limit number Max results to return (default and max: 1000)
offset number Pagination offset

Example usage:

apify actors search "web scraper"
apify actors search "tiktok" --limit 5 --sort-by popularity
apify actors search "ai" --category AI --pricing-model FREE
apify actors search "ai" --agentic-use

Additional Tasks

  • Implement the actors search command using the public Store API
  • Update the CLI docs to reflect the new command
  • Make sure the `--help` command has this info
  • Consider adding a dedicated section to the Apify Academy or a blog post highlighting CLI-based Actor discovery for AI agent use cases

References

  • Public Store API docs: https://api.apify.com/v2/store

Metadata

Metadata

Assignees

No one assigned

    Labels

    t-toolingIssues with this label are in the ownership of the tooling team.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions