# Shopify App Details API - Ratings, Reviews & Pricing (`stas_k/shopify-app-details-api`) Actor

Shopify App Store pages hide the numbers that decide a stack: rating, review count and plan prices sit in three places, and without them a comparison is guesswork. One row per app.

- **URL**: https://apify.com/stas_k/shopify-app-details-api.md
- **Developed by:** [Stas K](https://apify.com/stas_k) (community)
- **Categories:** E-commerce, Developer tools, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.20 / 1,000 apps

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## Shopify App Details API

Shopify App Store pages hide the numbers that decide a stack. The rating lives in one block, the
per-star distribution in another, the plan prices in a third, and half of it renders after the page
loads. Comparing two apps by hand means three tabs and a screenshot. Merchants pick a stack on this
guesswork, and app developers watch a competitor's price change only when a customer complains.

This actor reads one Shopify App Store page per app and returns the facts in one row: the rating,
how many reviews back it, how the stars are distributed, the plans with their prices, the developer
and the support address. One request per app, no key, no browser.

### What one row carries

`appHandle`, `url`, `title`, `developer`, `developerSupportEmail`, `description`, `iconUrl`,
`categories` (the store's own category links for this app, one label per category; `category`
keeps the first), `rating`,
`ratingCount`, `ratingDistribution` (share and count per star),
`freeToInstall`, `pricingPlans` (name, price, currency, period) and `pricingText` (the pricing
section as plain text, so a layout this parser does not recognise still reaches you). The pricing
section is long, so `pricingText` is cut at a word boundary to keep the row readable and
`pricingTextTruncated` says whether it is the whole section or a cut.

`appHandle` is the handle the store itself serves for the app: `/yotpo` answers a redirect to
`/yotpo-social-reviews`, and an opaque app id resolves the same way, so all three shapes carry one
appHandle, one url and one price.

A number that the page does not state stays `null`. Nothing is estimated: if the page carries no
schema.org app block, the row is a free `NOT_CHECKED_ERROR` that says the layout changed, never a
row of guesses. An app the developer removed still answers HTTP 200, so that case is named
separately: a free `NOT_FOUND` that says the store no longer lists the app, not a source failure.

`categories` are the categories the store puts the app in, and the feature tags under them ("Email
campaigns", "Photo reviews") are deliberately left out: they describe what the app does, not where
it sits in the catalogue, and mixing the two would make the field mean two things.

### Rate limit

The store throttles a cold address: 60 page requests read back to back met the first 429 on the
33rd, and 20 of the next 28 were refused, without a `Retry-After` header. The actor spaces pages by
one second and waits out one 429 once instead of turning it into a free error row; the summary
counts those waits under `throttled`.

### Price

One delivered app is one paid event, whatever shape the same app arrives in. An app the store does not list comes back as a free
`NOT_FOUND` row with a plain reason; an input line that is not a handle or an App Store link is a
free `INVALID_INPUT`; a line past `maxApps` is a free `NOT_CHECKED_CAP`.

The lowest spending limit you can set per run is $0.05.

### What this actor does not do

- It does not search the store by keyword. You give it handles or links, so the input is exactly
  what you meant to read.
- It does not read the review texts, only the rating block and the per-star distribution.
- It does not log in, does not use a proxy and does not read private apps.
- Prices are printed as the page shows them for this location, with the currency the page states.
  Shopify converts display prices by its own rate; the row keeps what the page said.

### Input

```json
{ "apps": ["klaviyo-email-marketing", "https://apps.shopify.com/omnisend"] }
```

A handle such as `klaviyo-email-marketing`, a link to the same page, or a `www.` form of the link.
An alias, the canonical handle and an app id that all point at one app are one event: the first line
is read and the others come back as free `DUPLICATE` rows. A link to another site is refused as
`INVALID_INPUT`, even if it carries an App Store address inside.

### Output

Paid rows go to the default dataset; free status rows carry `status`, `reason`, `actorInput` and
`actorIndex`. The run summary names the counters, the stop reason and what was left unread, and it
lives in the run's key-value store as `RUN_SUMMARY` with a copy under `RUN_SUMMARY-<runId>`.

# Actor input Schema

## `apps` (type: `array`):

Apps to read: a handle such as klaviyo-email-marketing, or a link such as https://apps.shopify.com/klaviyo-email-marketing. The last line of the default list is not in the store, so it comes back free.

## `maxApps` (type: `integer`):

How many lines of the list this run reads. Default and maximum 200; a line past the cap comes back as a free NOT_CHECKED_CAP row that names the cap.

## Actor input object example

```json
{
  "apps": [
    "klaviyo-email-marketing",
    "omnisend",
    "this-app-does-not-exist-xyz-9999"
  ],
  "maxApps": 200
}
```

# Actor output Schema

## `dataset` (type: `string`):

One row per app. Paid rows carry appHandle, url, title, developer, developerSupportEmail, description, iconUrl, categories (the store's own labels, category keeps the first), rating, ratingCount, ratingDistribution, freeToInstall, pricingPlans, pricingText and pricingTextTruncated; every other row is a free status row with a reason and no app data. Status rows are written in batches of up to 100, so sort by actorIndex to get the input order back.

## `summary` (type: `string`):

Counters of the run: requested, attempted, delivered, chargedEvents, deliveredUncharged, deliveredUnverified, chargeUncertain, appsNotFound, appsInvalid, cutByLimit, byStatus, counterMismatch, stopReason, datasetNote, firstFailure, priceNote and throttled (how often the store answered 429). The bare RUN_SUMMARY lives in the default store of the run; a copy under RUN_SUMMARY-<runId> is kept in the named store shopify-app-summary so two runs do not overwrite each other.

# 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 = {
    "apps": [
        "klaviyo-email-marketing",
        "omnisend",
        "this-app-does-not-exist-xyz-9999"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("stas_k/shopify-app-details-api").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 = { "apps": [
        "klaviyo-email-marketing",
        "omnisend",
        "this-app-does-not-exist-xyz-9999",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("stas_k/shopify-app-details-api").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 '{
  "apps": [
    "klaviyo-email-marketing",
    "omnisend",
    "this-app-does-not-exist-xyz-9999"
  ]
}' |
apify call stas_k/shopify-app-details-api --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,stas_k/shopify-app-details-api"
        }
    }
}
```

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/ZaRnM8fNNy6KYCmno/builds/spFmfpZAmaQ0AOzrk/openapi.json
