# Short-Form Video Product/Mention Finder (`rainminer/creator-product-mention-miner`) Actor

AI-powered extractor of brand or product mentions on Instagram Reels / TikTok / YouTube Shorts. Built for influencer marketing attribution, UGC brand monitoring, affiliate tracking, competitive intelligence, and creator-economy analytics at scale.

- **URL**: https://apify.com/rainminer/creator-product-mention-miner.md
- **Developed by:** [rainminer](https://apify.com/rainminer) (community)
- **Categories:** AI, Social media, Videos
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.90 / 1,000 videos

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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

The **Creator Product Mention Miner** is an Apify Actor that turns unstructured creator videos into structured brand and product intelligence. Feed it public Instagram Reels, TikTok videos, or YouTube content and receive a flat dataset of every product mentioned — with brand, sentiment, sponsorship signals, promo codes, and timestamps — ready for analytics, monitoring, and attribution pipelines.

---

### Key Features

- **Multi-platform**: Works with Instagram Reels, TikTok, and YouTube (Shorts and standard watch URLs).
- **Audio + visual analysis**: Detects products mentioned in speech, on-screen overlays, packaging, and link stickers.
- **Flat mention rows**: One dataset row per product mention for easy filtering and aggregation.
- **Creator metadata**: Captures creator handle and display name when available.
- **Sponsorship detection**: Flags disclosed ads, gifts, and affiliate relationships per product.
- **Promo capture**: Extracts discount codes and price/deal text as stated in the video.
- **Sentiment per mention**: Positive, neutral, negative, or mixed tone toward each product.
- **No login required**: Processes any public video URL supported by the platform.

---

### Why Mine Product Mentions from Creator Videos?

Brands spend billions on creator marketing, but most product mentions live only inside video — never indexed as structured data. Creators announce launches, reviews, and promo codes in Reels and TikToks faster than any spreadsheet can track. This Actor makes that content machine-readable for:

- **Brand monitoring and share-of-voice** tracking who mentions your products and competitors.
- **Creator marketing attribution** connecting unpaid UGC and paid partnerships to specific products.
- **Affiliate and promo intelligence** harvesting discount codes and offer language at scale.
- **Competitive intelligence** comparing how rivals are positioned in creator content.
- **Market research** studying category trends, sentiment, and pricing mentions in UGC.

---

### Who Is It For?

- **Brand and growth teams** monitoring creator and influencer mentions across platforms.
- **Affiliate and partnership managers** tracking codes, offers, and sponsorship disclosures.
- **Data and analytics teams** building structured creator-economy datasets.
- **Agencies** reporting on campaign delivery and competitor activity for clients.

---

### Input Schema

```json
{
  "videoUrls": [
    "https://www.instagram.com/reel/DY8NM9WJfM8/",
    "https://www.tiktok.com/@scout2015/video/6718339390844675174",
    "https://www.youtube.com/shorts/VIDEO_ID"
  ],
  "maxItems": 10
}
````

**`videoUrls` is required. All other fields are optional.**

| Field       | Type             | Default | Description                                          |
| ----------- | ---------------- | ------- | ---------------------------------------------------- |
| `videoUrls` | Array of strings | —       | Public Instagram Reel, TikTok, or YouTube video URLs |
| `maxItems`  | Integer          | `10`    | Maximum number of videos to process in a single run  |

**Supported URL formats**

| Platform  | Examples                                                               |
| --------- | ---------------------------------------------------------------------- |
| Instagram | `instagram.com/reel/...`, `instagram.com/p/...`, `instagr.am/...`      |
| TikTok    | `tiktok.com/@user/video/...`, `vm.tiktok.com/...`, `vt.tiktok.com/...` |
| YouTube   | `youtube.com/shorts/...`, `youtube.com/watch?v=...`, `youtu.be/...`    |

***

### Output Schema

Each dataset row represents **one product mention** from a video:

```json
{
  "videoUrl": "https://www.instagram.com/reel/DY8NM9WJfM8/",
  "platform": "instagram",
  "videoId": "DY8NM9WJfM8",
  "creatorHandle": "@creator",
  "creatorName": "Creator Name",
  "brand": "Nike",
  "productName": "Air Max 90",
  "category": "fashion",
  "mentionType": "both",
  "sentiment": "positive",
  "timestamp": "00:12",
  "context": "These are my daily runners — super comfortable",
  "discountCode": "CREATOR15",
  "priceText": "$129",
  "isSponsored": true,
  "confidence": "high",
  "scrapedAt": "2026-06-01T10:00:00.000Z"
}
```

| Field           | Description                                                          |
| --------------- | -------------------------------------------------------------------- |
| `videoUrl`      | Canonical URL of the source video                                    |
| `platform`      | `instagram`, `tiktok`, or `youtube`                                  |
| `videoId`       | Platform-specific video identifier                                   |
| `creatorHandle` | Creator @handle when available — `null` otherwise                    |
| `creatorName`   | Creator display name — `null` otherwise                              |
| `brand`         | Brand or company name — `null` if unknown                            |
| `productName`   | Specific product or offering mentioned                               |
| `category`      | Coarse category (beauty, tech, food, etc.) — `null` if unclear       |
| `mentionType`   | `spoken`, `on_screen`, or `both`                                     |
| `sentiment`     | `positive`, `neutral`, `negative`, `mixed` — `null` if not expressed |
| `timestamp`     | MM:SS when the mention starts — `null` if indeterminate              |
| `context`       | Brief quote or description of the mention — `null` if absent         |
| `discountCode`  | Promo code as stated or shown — `null` if none                       |
| `priceText`     | Price or deal text as stated — `null` if none                        |
| `isSponsored`   | `true` when paid partnership or ad is disclosed for this product     |
| `confidence`    | `high`, `medium`, or `low` extraction confidence                     |
| `scrapedAt`     | ISO timestamp of when this mention was mined                         |

***

### How It Works

1. **Validate inputs** — each URL is checked against accepted Instagram, TikTok, and YouTube patterns.
2. **Fetch video** — the video is retrieved along with creator metadata when the platform exposes it.
3. **AI mention mining** — the full video (audio and visuals) is analyzed to identify every distinct brand or product mention.
4. **Structured output** — each mention is classified with sentiment, sponsorship signals, codes, and timestamps.
5. **Push to dataset** — one flat row is written per product mention for easy downstream analysis.

***

### Notes and Limitations

- **Public videos only**: Private or login-gated content is not supported.
- **Video availability**: Deleted or geo-blocked videos are skipped with a warning.
- **Mention accuracy**: Brief background products or unclear audio may yield lower confidence extractions.
- **Rate limiting**: Platforms may rate-limit at high volume — reduce concurrency or spread runs if failures occur.
- **Video size**: Videos over 100 MB are skipped automatically.
- **API key required**: Set `GOOGLE_AI_STUDIO_API_KEY` in your Actor environment variables before running.

# Actor input Schema

## `videoUrls` (type: `array`):

Public creator video URLs to analyze. Supports Instagram Reels, TikTok videos, and YouTube Shorts or watch URLs.

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

Maximum number of videos to process in a single run.

## `proxyConfiguration` (type: `object`):

Apify Proxy is used for video downloads. Failed downloads are retried with a different proxy automatically.

## Actor input object example

```json
{
  "videoUrls": [
    "https://www.instagram.com/reel/DY8NM9WJfM8/",
    "https://www.tiktok.com/@scout2015/video/6718339390844675174"
  ],
  "maxItems": 10,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `overview` (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 = {
    "videoUrls": [
        "https://www.instagram.com/reel/DY8NM9WJfM8/",
        "https://www.tiktok.com/@scout2015/video/6718339390844675174"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("rainminer/creator-product-mention-miner").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 = {
    "videoUrls": [
        "https://www.instagram.com/reel/DY8NM9WJfM8/",
        "https://www.tiktok.com/@scout2015/video/6718339390844675174",
    ],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("rainminer/creator-product-mention-miner").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "videoUrls": [
    "https://www.instagram.com/reel/DY8NM9WJfM8/",
    "https://www.tiktok.com/@scout2015/video/6718339390844675174"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call rainminer/creator-product-mention-miner --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=rainminer/creator-product-mention-miner",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Short-Form Video Product/Mention Finder",
        "description": "AI-powered extractor of brand or product mentions on Instagram Reels / TikTok / YouTube Shorts. Built for influencer marketing attribution, UGC brand monitoring, affiliate tracking, competitive intelligence, and creator-economy analytics at scale.",
        "version": "1.0",
        "x-build-id": "N4mjT2DynvH7sQ5aV"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/rainminer~creator-product-mention-miner/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-rainminer-creator-product-mention-miner",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/rainminer~creator-product-mention-miner/runs": {
            "post": {
                "operationId": "runs-sync-rainminer-creator-product-mention-miner",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/rainminer~creator-product-mention-miner/run-sync": {
            "post": {
                "operationId": "run-sync-rainminer-creator-product-mention-miner",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "videoUrls"
                ],
                "properties": {
                    "videoUrls": {
                        "title": "Video URLs",
                        "type": "array",
                        "description": "Public creator video URLs to analyze. Supports Instagram Reels, TikTok videos, and YouTube Shorts or watch URLs.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "maxItems": {
                        "title": "Max videos to process",
                        "minimum": 1,
                        "maximum": 100,
                        "type": "integer",
                        "description": "Maximum number of videos to process in a single run.",
                        "default": 10
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Apify Proxy is used for video downloads. Failed downloads are retried with a different proxy automatically."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
