# Apify Store Scraper (`yourapiservice/apify-store-scraper`) Actor

Scrape Actors/APIs from Apify Store to extract titles, descriptions, stats (runs, builds, users over 7, 30, 90 days), images, and pricing information. Ideal for market research and performance analysis.

- **URL**: https://apify.com/yourapiservice/apify-store-scraper.md
- **Developed by:** [Your API Service](https://apify.com/yourapiservice) (community)
- **Categories:** Automation, Developer tools
- **Stats:** 70 total users, 4 monthly users, 100.0% runs succeeded, 4 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.10 / 1,000 actors

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### What does Apify Scraper do?

This Apify Scraper allows you to scrape the list of Actors/APIs from Apify, including each category and supports scraping without category selection. It scrapes all categories first, then scrapes the data. The data is provided in structured formats such as Excel, XML, HTML, JSON, and CSV, which you can use in your own reports, spreadsheets, and applications. Apify Scraper allows you to scrape:

- Results from a Apify category.
- Numbers of total builds, runs, stars and users.
- Detailed information about each API, including title, description, categories, and pricing model.

### Why use Apify Scraper?

Because Apify does not provide a comprehensive API list. With Apify Scraper, you can build your own products and applications on top of the Apify platform.

### How to use scraped Apify data

- Building new applications that use the API list.
- Example: https://yourapiservice.com, etc.
- Creating a comprehensive API directory for developers.

### Input parameters

If this actor is run on the Apify platform, our simple interface will help you configure all the necessary and optional parameters of this scraper before running it. This scraper recognizes the following input parameters:

- **categoryNames** - Scrapes Apify for specified categories. You can duplicate this parameter to scrape several categories simultaneously.
- **maxItemsPerCategory** - Sets the maximum limit for the amount of scraped results per category/collection.
- **sortBy** - Sorts the search query results by the specified parameter.
- **pricingModel** - Filters the search query results by the specified pricing model.
- **managedBy** - Filters the search query results by the specified maintainer (Apify or Community).

Example:

```json
{
    "categoryNames": [
        "marketing",
        "ai",
        "jobs"
    ],
    "maxItemsPerCategory": 1000,
    "sortBy": "ByRelevance",
    "pricingModel": "all",
    "managedBy": "all"
}
```

### Output

The output from Apify Scraper is stored in a dataset. Each item contains information about an API. Here's an example of some of the output you would get if you used the input parameters above to scrape the categories "Finance":

```json
{
    "source": "Apify",
    "title": "🔥 LinkedIn Jobs Scraper",
    "name": "linkedin-jobs-scraper",
    "username": "bebity",
    "description": "ℹ️ Designed for both personal and professional use, simply enter your desired job title and location to receive a tailored list of job opportunities. Try it today!",
    "categories": [
        "Jobs",
        "Automation",
        "Business"
    ],
    "pictureUrl": "https://apify-image-uploads-prod.s3.amazonaws.com/BHzefUZlZRKWxkTck/NophtTwbi2mrFvSqa-LinkedIn_icon_circle.svg.png",
    "objectId": "",
    "stats": {
        "totalBuilds": 112,
        "totalRuns": 645874,
        "totalUsers": 2625,
        "totalUsers7Days": 124,
        "totalUsers30Days": 347,
        "totalUsers90Days": 847,
        "lastRunStartedAt": "2024-08-19T23:33:01.285Z",
        "publicActorRunStats30Days": {
            "ABORTED": 170,
            "FAILED": 0,
            "SUCCEEDED": 31578,
            "TIMED-OUT": 49,
            "TOTAL": 31797
        }
    },
    "notice": "NONE",
    "totalStars": 29,
    "userPictureUrl": "https://images.apifyusercontent.com/NIO86SxxBSCgbloI3Bs-vajk4mNErvJarMbmzLw5e6g/rs:fill:32:32/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9OdFN5dXVlTEE1OVc2dWtMTS9wSE5nN1ozUVNqOXVHR0xZVC1iZWJpdHlfbG9nb18lMjgxJTI5LnBuZw.png",
    "userFullName": "Bebity",
    "currentPricingInfo": {
        "pricingModel": "FLAT_PRICE_PER_MONTH",
        "startedAt": "2023-10-25T14:02:55.081Z",
        "pricePerUnitUsd": 29.99,
        "trialMinutes": 4320,
        "createdAt": "2023-10-11T14:06:09.050Z",
        "apifyMarginPercentage": 0,
        "notifiedAboutFutureChangeAt": "2023-10-11T14:06:35.092Z",
        "notifiedAboutChangeAt": "2023-10-25T15:06:21.725Z"
    },
    "objectID": "BHzefUZlZRKWxkTck"
}
```

### How much will scraping Apify cost you?

Apify Scraper is billed based on the results of the scrape. 1$ for each 1000 APIs/Actors (0.001$ per result). The price per scrape is calculated based on the number of scraped successfully.

### Integrations and Apify Scraper

Last but not least, Apify Scraper can be connected with almost any cloud service or web app thanks to integrations on the Apify platform. You can integrate with Make, Zapier, Slack, Airbyte, GitHub, Google Sheets, Google Drive, and more. Or you can use webhooks to carry out an action whenever an event occurs, e.g., get a notification whenever Instagram API Scraper successfully finishes a run.

### Using Apify Scraper with the Apify API

The Apify API gives you programmatic access to the Apify platform. The API is organized around RESTful HTTP endpoints that enable you to manage, schedule, and run Apify actors. The API also lets you access any datasets, monitor actor performance, fetch results, create and update versions, and more.

To access the API using Node.js, use the apify-client NPM package. To access the API using Python, use the apify-client PyPI package.

Check out the Apify API reference docs for full details or click on the API tab for code examples.

### Personal data

You should be aware that your results might contain personal data. Personal data is protected by GDPR in the European Union and other laws and regulations around the world. You should not scrape personal data unless you have a legitimate reason to do so. If you're unsure whether your reason is legitimate, consult your lawyers. You can read the basics of ethical web scraping in our blog post on the legality of web scraping.

### Your feedback

We’re always working on improving the performance of our Actors. So if you’ve got any technical feedback for Apify Scraper or simply found a bug, please create an issue on the Actor’s Issues tab in Apify Console.

# Actor input Schema

## `categoryNames` (type: `array`):

List of Names to scrape. If empty, all categories will be scraped. (NOTE: It will takes a long time!)

## `sortBy` (type: `string`):

Sort by for the search results Default: Relevance

## `pricingModel` (type: `string`):

Filter by pricing model Default: All

## `managedBy` (type: `string`):

Maintained by. Default: All Developers

## `maxItemsPerCategory` (type: `integer`):

Maximum number of items to scrape.

## Actor input object example

```json
{
  "categoryNames": [
    "all-categories"
  ],
  "sortBy": "ByRelevance",
  "pricingModel": "all",
  "managedBy": "all"
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "categoryNames": [
        "all-categories"
    ],
    "sortBy": "ByRelevance",
    "pricingModel": "all",
    "managedBy": "all"
};

// Run the Actor and wait for it to finish
const run = await client.actor("yourapiservice/apify-store-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "categoryNames": ["all-categories"],
    "sortBy": "ByRelevance",
    "pricingModel": "all",
    "managedBy": "all",
}

# Run the Actor and wait for it to finish
run = client.actor("yourapiservice/apify-store-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "categoryNames": [
    "all-categories"
  ],
  "sortBy": "ByRelevance",
  "pricingModel": "all",
  "managedBy": "all"
}' |
apify call yourapiservice/apify-store-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,yourapiservice/apify-store-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/h5vZMp0iNGoVB58jy/builds/QQCRn6tuae0Oyh651/openapi.json
