ApifyClient.API.Store (apify_client v1.0.0)

Copy Markdown View Source

Provides API endpoint related to api/store

Summary

Functions

Get list of Actors in Store

Functions

list(opts \\ [])

@spec list(opts :: keyword()) ::
  {:ok, ApifyClient.Schemas.ListOfStoreActors.t()}
  | {:error, ApifyClient.Error.t()}

Get list of Actors in Store

Gets the list of public Actors in Apify Store. You can use search parameter to search Actors by string in title, name, description, username and readme. If you need detailed info about a specific Actor, use the Get Actor endpoint.

Without search, the endpoint supports pagination using the limit and offset parameters. It will not return more than 1,000 records per page.

With search, results are ranked by relevance and returned as a single page of at most 100 records. offset is ignored and there is no second page. total and count equal the number of returned items. To narrow the results, use category, username or pricingModel.

Options

  • limit: Maximum number of items to return. The default value as well as the maximum is 1000. When search is used, the default and maximum are 100, and larger values are reduced to 100.

  • offset: Number of items that should be skipped at the start. The default value is 0. Ignored when search is used.

  • search: String to search by. Results are ranked by relevance and returned as a single page of at most 100 items.

  • sort_by: Deprecated and ignored. The value is accepted for backward compatibility but has no effect. Results are ordered by relevance when search is used, and by Store position otherwise. Sort the results on the client if you need a different order.

  • category: Filters the results by category. Accepts one or more category IDs, separated by commas and case-insensitive. An Actor must match all of the listed categories. See the list of category IDs. Legacy keys such as social_media are still accepted. An unknown category returns a 400 error.

  • username: Filters the results by the specified username.

  • pricing_model: Only return Actors with the specified pricing model.

  • response_format: Controls the shape of the response. Use full (default) for the complete response including image URLs and all fields. Use agent for a reduced field set optimized for LLM consumers, which only includes id, title, name, username, description, notice, badge, categories, and minimal stats.

  • include_unrunnable_actors: By default, search results exclude Actors that are not safe to run automatically (e.g. Actors from developers who haven't passed KYC, or full-permission Actors without a large user base). Set to true to bypass this safety filtering and include all Actors in the results.

  • include_input_schema: If true, each Actor in the results includes an inputSchema field with a compact version of the input schema of its default build (property types and required properties only). With this parameter, limit defaults to and can't exceed 10.