# Etsy Digital Product Momentum Tracker (`afkdigital/etsy-digital-product-momentum-tracker`) Actor

Compare authorized customer-provided digital listing snapshots for changes in price, visible badges and listing-level review counts.

- **URL**: https://apify.com/afkdigital/etsy-digital-product-momentum-tracker.md
- **Developed by:** [AFK Digital](https://apify.com/afkdigital) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$2.00 / 1,000 completed listing observations

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

## Etsy Digital Product Momentum Tracker

Compare authorized, customer-supplied observations of individual digital listings. The sample uses fictional data. No Etsy requests, OAuth, shop crawl, keyword discovery, screenshot OCR or sales estimates. Use only records you have permission to process for this purpose. Raw images require manual transcription including listing identity, capture time and whether the review count is listing-specific. Written authorization for automated Etsy analytics has not been established. See https://www.etsy.com/legal/api/ and https://developers.etsy.com/documentation/.

### Input and retention

Paste parsed JSON in currentSnapshotFile.rows, raw JSON array text in .json, or CSV text including a header in .csv. Use the same format options for optionalPreviousSnapshotFile. The Actor does not fetch file URLs. Required columns are listingId (numeric Etsy ID, preferably a string) and observedAt (ISO timestamp with offset). Optional fields include title, shopName, digitalStatus (digital, physical, unknown), category, currency, numeric price, tags, sourceCreatedAt, visibleBadges and listingReviewCount. CSV list cells contain JSON arrays. Supply listingReviewCount only when explicitly attributed to the listing. Shop totals and ambiguous reviewCount fields are ignored. Explicit shop or unknown reviewScope invalidates a supplied listing total. An empty badge array means the badge area was inspected and contained no badges. Omit it for unknown coverage.

Keep original dated snapshots in your own access-controlled storage. Retain only as long as permitted and necessary, delete expired files and corresponding Apify run inputs, datasets and exports. This Actor uses default run storage and creates no shared history. To compare, resubmit original source rows from earlier captures. Dataset rows are reports, not input snapshots. firstObservedAt is the earliest supplied same-ID observation up to the current capture. sourceCreatedAt is independent. The latest strictly earlier same-ID record within observationWindow days is the baseline. A single capture or missing prior value cannot establish change. No daily extrapolation. Two observations do not reveal intervening changes.

### Output and priority

Rows include source values, observation dates, UTC-stamped visible badge labels, comparableIndicators (0–3), signed listing review difference, elapsed days, individual change signals, limitations and priorityScore. A changed listing review total adds 2 points in either direction. A same-currency price change adds 1. Changed observed badge labels add 1. The 0–4 score measures priority for manual inspection. Null means no comparable indicator. Missing data reduces coverage. The score does not estimate units sold, revenue, growth rate, search rank or demand. Changes in promotion, locale, currency or review moderation can affect observations. Supply consistent observation conditions.

listingIds filters supplied rows only. keywords matches any substring in title or tags, categoryFilters matches exact supplied category ignoring case. Physical listings are skipped and unknown status is labeled. maxListings limits matching rows in source order. One current observation per ID. Conflicting duplicates are rejected. Historical duplicates with identical content collapse.

### Automation examples

n8n: Read the two authorized files from storage, parse as JSON or CSV, aggregate rows into current and previous arrays. Use an HTTP Request node, POST https://api.apify.com/v2/acts/afkdigital~etsy-digital-product-momentum-tracker/runs with a bearer credential and JSON body expression `={{ { currentSnapshotFile: { rows: $json.current }, optionalPreviousSnapshotFile: { rows: $json.previous } } }}`. Save data.id and poll GET /v2/actor-runs/{id}. On SUCCEEDED fetch /v2/datasets/{defaultDatasetId}/items and filter priorityScore > 0.

Make: Download each CSV as text. In JSON > Create JSON map each file's text to currentSnapshotFile.csv and optionalPreviousSnapshotFile.csv. HTTP > Make a request posts the resulting JSON to the same runs endpoint with a private bearer credential. Persist the run ID, check status and iterate dataset rows to update a sheet keyed by listingId and observedAt. Reuse the run ID on polling or delivery retries. Do not start a new paid run when the original start response is ambiguous.

### Billing

USD 0.002 per result (USD 2 per 1,000 results). Billing unit: one committed default dataset row per completed listing observation or comparison. No separate charge for individual signals or run start. Retries of the same run resume from its committed row prefix. Independent new runs have separate datasets.

# Actor input Schema

## `currentSnapshotFile` (type: `object`):

Upload contents as {"rows":\[...]}, {"csv":"..."} or {"json":"..."}.

## `optionalPreviousSnapshotFile` (type: `object`):

Upload contents as {"rows":\[...]}, {"csv":"..."} or {"json":"..."}.

## `listingIds` (type: `array`):

Optional local filter.

## `keywords` (type: `array`):

Optional local filter.

## `categoryFilters` (type: `array`):

Optional local filter.

## `observationWindow` (type: `integer`):

Maximum baseline age in days.

## `maxListings` (type: `integer`):

Maximum output rows.

## Actor input object example

```json
{
  "currentSnapshotFile": {
    "rows": [
      {
        "listingId": "900000001",
        "title": "Illustrative digital planner",
        "digitalStatus": "digital",
        "shopName": "Fixture Shop",
        "currency": "USD",
        "observedAt": "2026-11-08T12:00:00Z",
        "price": 5,
        "listingReviewCount": 14,
        "visibleBadges": [
          "Demo badge"
        ]
      }
    ]
  },
  "optionalPreviousSnapshotFile": {
    "rows": [
      {
        "listingId": "900000001",
        "title": "Illustrative digital planner",
        "digitalStatus": "digital",
        "shopName": "Fixture Shop",
        "currency": "USD",
        "observedAt": "2026-11-01T12:00:00Z",
        "price": 6,
        "listingReviewCount": 10,
        "visibleBadges": []
      }
    ]
  },
  "observationWindow": 90,
  "maxListings": 100
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# 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 = {
    "currentSnapshotFile": {
        "rows": [
            {
                "listingId": "900000001",
                "title": "Illustrative digital planner",
                "digitalStatus": "digital",
                "shopName": "Fixture Shop",
                "currency": "USD",
                "observedAt": "2026-11-08T12:00:00Z",
                "price": 5,
                "listingReviewCount": 14,
                "visibleBadges": [
                    "Demo badge"
                ]
            }
        ]
    },
    "optionalPreviousSnapshotFile": {
        "rows": [
            {
                "listingId": "900000001",
                "title": "Illustrative digital planner",
                "digitalStatus": "digital",
                "shopName": "Fixture Shop",
                "currency": "USD",
                "observedAt": "2026-11-01T12:00:00Z",
                "price": 6,
                "listingReviewCount": 10,
                "visibleBadges": []
            }
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("afkdigital/etsy-digital-product-momentum-tracker").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 = {
    "currentSnapshotFile": { "rows": [{
                "listingId": "900000001",
                "title": "Illustrative digital planner",
                "digitalStatus": "digital",
                "shopName": "Fixture Shop",
                "currency": "USD",
                "observedAt": "2026-11-08T12:00:00Z",
                "price": 5,
                "listingReviewCount": 14,
                "visibleBadges": ["Demo badge"],
            }] },
    "optionalPreviousSnapshotFile": { "rows": [{
                "listingId": "900000001",
                "title": "Illustrative digital planner",
                "digitalStatus": "digital",
                "shopName": "Fixture Shop",
                "currency": "USD",
                "observedAt": "2026-11-01T12:00:00Z",
                "price": 6,
                "listingReviewCount": 10,
                "visibleBadges": [],
            }] },
}

# Run the Actor and wait for it to finish
run = client.actor("afkdigital/etsy-digital-product-momentum-tracker").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 '{
  "currentSnapshotFile": {
    "rows": [
      {
        "listingId": "900000001",
        "title": "Illustrative digital planner",
        "digitalStatus": "digital",
        "shopName": "Fixture Shop",
        "currency": "USD",
        "observedAt": "2026-11-08T12:00:00Z",
        "price": 5,
        "listingReviewCount": 14,
        "visibleBadges": [
          "Demo badge"
        ]
      }
    ]
  },
  "optionalPreviousSnapshotFile": {
    "rows": [
      {
        "listingId": "900000001",
        "title": "Illustrative digital planner",
        "digitalStatus": "digital",
        "shopName": "Fixture Shop",
        "currency": "USD",
        "observedAt": "2026-11-01T12:00:00Z",
        "price": 6,
        "listingReviewCount": 10,
        "visibleBadges": []
      }
    ]
  }
}' |
apify call afkdigital/etsy-digital-product-momentum-tracker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,afkdigital/etsy-digital-product-momentum-tracker"
        }
    }
}
```

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/gZp99HT57NOygZL20/builds/R1U2Zgq4D9tNphStG/openapi.json
