# App Privacy Label Change Intelligence (`quanmatrix/app-privacy-label-change-intelligence`) Actor

Turn app-store privacy metadata snapshots into app-level data-collection, tracking and disclosure drift intelligence.

- **URL**: https://apify.com/quanmatrix/app-privacy-label-change-intelligence.md
- **Developed by:** [Rafael Barreto Haddad](https://apify.com/quanmatrix) (community)
- **Categories:** Developer tools, Business, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $8.40 / 1,000 results

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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## App Privacy Label Change Intelligence

Turn app-store privacy metadata snapshots into app-level data-collection, tracking and disclosure drift intelligence.

### Why use this Actor

Security, procurement and competitive teams need to detect when an app changes what data it claims to collect or use for tracking. This Actor sits above raw extraction: supply a current dataset, optionally add a previous snapshot, and receive an aggregated report built for recurring monitoring and AI-agent workflows.

### Key features

- Snapshot comparison of privacy labels instead of review extraction.

- App-level tracking and data-category drift scoring.

- New disclosure and removed disclosure detection.

- Recurring vendor/privacy monitoring actions.

- Gen2 Dataset-input workflow for automation.

- Reads inline JSON rows or Apify Dataset IDs with limited READ permission.

- Writes one auditable report to the default Dataset and `INTELLIGENCE_REPORT`.

### Example

Use the prefilled example or replace `currentItems` with rows from an upstream Actor. On recurring runs, provide the prior period in `previousItems` or `previousDatasetId`. The Actor normalizes common aliases, compares snapshots, ranks the strongest entity changes and emits `agentAction`.

### Use cases

- Privacy teams.
- Mobile app intelligence.
- Vendor risk.
- Security research.
- AI agents.

### Pricing

One primary pay-per-event outcome: one decision-ready intelligence report. Base price USD 0.012 before Apify tier discounts. The 256 MB data-first architecture is designed for strong unit economics.

### Limitations

- Analyzes supplied public or appropriately licensed data and does not bypass restricted sources.
- Scores are decision-support signals, not predictions or guarantees.
- Keep stable identifiers across snapshots for best change detection.
- Zero-direct-competition status is rechecked before publication because the Store changes continuously.

### Workflow

`upstream dataset -> current snapshot -> optional previous snapshot -> normalization -> entity aggregation -> change scoring -> ranked signals -> agentAction`.

### Input

Provide `currentItems` as JSON records or point `currentDatasetId` to an Apify Dataset. For recurring comparisons, provide `previousItems` or `previousDatasetId`. Keep stable entity identifiers across snapshots whenever possible. `maxItems` limits Dataset reads. Optional Gen2 fields can compare the current decision metric with a prior analysis and estimate economic impact only when the user explicitly supplies an impact value.

### Output

The default Dataset receives one structured intelligence report with record counts, new and removed records, ranked entity signals, decision confidence, regression status, executive decision, recommended action, and transparent economic-impact fields when enabled. The same report is stored in `INTELLIGENCE_REPORT` for downstream automations and agent workflows.

### Compatible upstream datasets

This Actor analyzes normalized records rather than scraping restricted sources itself. Useful upstream families include:

- Apple App Store product metadata.
- normalized privacy-label datasets.
- mobile-app compliance datasets exposing tracking or sensitive-data disclosures.

The input aliases were expanded for these workflows. Verify field semantics when an upstream dataset uses source-specific names; snapshot identifiers should remain stable between periods.

# Actor input Schema

## `currentItems` (type: `array`):

Current source or normalized rows to analyze.

## `currentDatasetId` (type: `string`):

Optional Apify Dataset ID used when currentItems is not supplied.

## `previousItems` (type: `array`):

Optional previous snapshot rows for period-over-period comparison.

## `previousDatasetId` (type: `string`):

Optional previous Apify Dataset ID used instead of previousItems.

## `maxItems` (type: `integer`):

Maximum records loaded from a Dataset input.

## `previousAnalysis` (type: `object`):

Optional prior Gen2 output used to calculate decision-metric deltas and regression.

## `valuePerImpactUnitUsd` (type: `number`):

Optional user-supplied economic value per impact unit. Leave empty to avoid monetary estimation.

## `monthlyRuns` (type: `integer`):

Optional expected monthly run count used only with valuePerImpactUnitUsd for economic impact estimation.

## Actor input object example

```json
{
  "currentItems": [
    {
      "appId": "com.acme.app",
      "appName": "Acme",
      "dataCategory": "Location",
      "trackingFlag": 1,
      "updatedAt": "2026-09-10"
    },
    {
      "appId": "com.acme.app",
      "appName": "Acme",
      "dataCategory": "Contacts",
      "trackingFlag": 1,
      "updatedAt": "2026-09-10"
    },
    {
      "appId": "com.beta.app",
      "appName": "Beta",
      "dataCategory": "Diagnostics",
      "trackingFlag": 0,
      "updatedAt": "2026-09-09"
    }
  ],
  "previousItems": [
    {
      "appId": "com.acme.app",
      "appName": "Acme",
      "dataCategory": "Location",
      "trackingFlag": 0,
      "updatedAt": "2026-08-01"
    },
    {
      "appId": "com.beta.app",
      "appName": "Beta",
      "dataCategory": "Diagnostics",
      "trackingFlag": 0,
      "updatedAt": "2026-08-01"
    }
  ],
  "maxItems": 20000,
  "monthlyRuns": 1
}
```

# Actor output Schema

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

Decision-ready intelligence report.

# 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 = {
    "currentItems": [
        {
            "appId": "com.acme.app",
            "appName": "Acme",
            "dataCategory": "Location",
            "trackingFlag": 1,
            "updatedAt": "2026-09-10"
        },
        {
            "appId": "com.acme.app",
            "appName": "Acme",
            "dataCategory": "Contacts",
            "trackingFlag": 1,
            "updatedAt": "2026-09-10"
        },
        {
            "appId": "com.beta.app",
            "appName": "Beta",
            "dataCategory": "Diagnostics",
            "trackingFlag": 0,
            "updatedAt": "2026-09-09"
        }
    ],
    "previousItems": [
        {
            "appId": "com.acme.app",
            "appName": "Acme",
            "dataCategory": "Location",
            "trackingFlag": 0,
            "updatedAt": "2026-08-01"
        },
        {
            "appId": "com.beta.app",
            "appName": "Beta",
            "dataCategory": "Diagnostics",
            "trackingFlag": 0,
            "updatedAt": "2026-08-01"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("quanmatrix/app-privacy-label-change-intelligence").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 = {
    "currentItems": [
        {
            "appId": "com.acme.app",
            "appName": "Acme",
            "dataCategory": "Location",
            "trackingFlag": 1,
            "updatedAt": "2026-09-10",
        },
        {
            "appId": "com.acme.app",
            "appName": "Acme",
            "dataCategory": "Contacts",
            "trackingFlag": 1,
            "updatedAt": "2026-09-10",
        },
        {
            "appId": "com.beta.app",
            "appName": "Beta",
            "dataCategory": "Diagnostics",
            "trackingFlag": 0,
            "updatedAt": "2026-09-09",
        },
    ],
    "previousItems": [
        {
            "appId": "com.acme.app",
            "appName": "Acme",
            "dataCategory": "Location",
            "trackingFlag": 0,
            "updatedAt": "2026-08-01",
        },
        {
            "appId": "com.beta.app",
            "appName": "Beta",
            "dataCategory": "Diagnostics",
            "trackingFlag": 0,
            "updatedAt": "2026-08-01",
        },
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("quanmatrix/app-privacy-label-change-intelligence").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 '{
  "currentItems": [
    {
      "appId": "com.acme.app",
      "appName": "Acme",
      "dataCategory": "Location",
      "trackingFlag": 1,
      "updatedAt": "2026-09-10"
    },
    {
      "appId": "com.acme.app",
      "appName": "Acme",
      "dataCategory": "Contacts",
      "trackingFlag": 1,
      "updatedAt": "2026-09-10"
    },
    {
      "appId": "com.beta.app",
      "appName": "Beta",
      "dataCategory": "Diagnostics",
      "trackingFlag": 0,
      "updatedAt": "2026-09-09"
    }
  ],
  "previousItems": [
    {
      "appId": "com.acme.app",
      "appName": "Acme",
      "dataCategory": "Location",
      "trackingFlag": 0,
      "updatedAt": "2026-08-01"
    },
    {
      "appId": "com.beta.app",
      "appName": "Beta",
      "dataCategory": "Diagnostics",
      "trackingFlag": 0,
      "updatedAt": "2026-08-01"
    }
  ]
}' |
apify call quanmatrix/app-privacy-label-change-intelligence --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,quanmatrix/app-privacy-label-change-intelligence"
        }
    }
}
```

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/6QWRXMSdwaNUzUZid/builds/ontgz7g1GWb8EKclG/openapi.json
