# Marketplace Seller Page Inventory (`junipr/marketplace-seller-page-inventory`) Actor

Extract public marketplace seller and storefront details including seller name, products, ratings, review counts, policies, badges, categories, and profile links.

- **URL**: https://apify.com/junipr/marketplace-seller-page-inventory.md
- **Developed by:** [junipr](https://apify.com/junipr) (community)
- **Categories:** E-commerce, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $17.50 / 1,000 seller page checkeds

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?

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

## Marketplace Seller Page Inventory

Extract public marketplace seller/storefront page details such as seller name, products, ratings, review counts, policies, badges, categories, and contact/profile links.

### What it does

Inventories public marketplace seller storefronts, seller identity, ratings, badges, policy snippets, visible product cards, category, price, position, and availability.

The actor emits one row per visible public seller product, or a safe seller diagnostic. Every dataset row uses the declared dataset schema, includes source provenance and a scan timestamp, and is written only after every applicable pay-per-event charge is accepted.

### Typical uses

- Inventory marketplace seller pages
- Extract seller ratings and badges
- Export seller product lists
- Compare marketplace storefronts
- Audit seller policy snippets

### Input

Use public HTTP(S) URLs or deterministic `htmlInputs`. URL fetching rejects localhost, loopback, link-local, and private-network destinations. `allowedDomains` can further constrain live fetches.

- `startUrls`
- `sitemapUrls`
- `htmlInputs`
- `allowedDomains`
- `maxPages`
- `maxDepth`
- `includeEvidence`
- `includeRawSnapshots`
- `requestDelayMs`
- `timeoutMs`
- `userAgentMode`
- `sellerPageUrls`
- `maxProductsPerSeller`
- `extractPolicies`
- `extractBadges`
- `extractRatings`
- `followSellerPagination`
- `maxSellerPages`
- `maxSellerRecords`
- `maxMarketplaces`
- `maxSignals`
- `maxChargeUsd`
- `includeReport`

The safety caps named in `maxSellerPages, maxSellerRecords, maxMarketplaces, maxSignals, timeoutMs` are enforced in addition to `maxChargeUsd`. A value of `0` for `maxChargeUsd` is a hard zero budget: the actor exits before the first paid operation.

#### Minimal deterministic example

```json
{
  "htmlInputs": [
    {
      "sourceUrl": "https://shop.example/public-page",
      "html": "<html><head><title>Public page</title></head><body><h1>Public evidence</h1></body></html>"
    }
  ],
  "includeEvidence": true,
  "includeReport": true,
  "maxChargeUsd": 75
}
```

The prefilled input remains deliberately small so Apify automated quality runs finish quickly. For production use, replace the example source with public pages you are authorized to access.

### Dataset output

- `sourceUrl`
- `sourceType`
- `pageTitle`
- `recordType`
- `recordName`
- `issueCode`
- `severity`
- `evidenceSnippet`
- `recommendation`
- `canonicalUrl`
- `httpStatus`
- `scannedAt`
- `sellerUrl`
- `sellerName`
- `marketplaceDomain`
- `ratingValue`
- `reviewCount`
- `sellerBadge`
- `policyText`
- `productCountVisible`
- `productUrl`
- `productTitle`
- `productPosition`
- `productPrice`
- `availabilityStatus`
- `category`
- `inventorySignal`

Reports are also written to key-value storage:

- `marketplace-seller-page-inventory-summary-report.md`
- `marketplace-seller-page-inventory-records.csv`
- `marketplace-seller-page-inventory-issues.json`
- `marketplace-seller-page-inventory-evidence-samples.json`
- `marketplace-seller-page-inventory-run-metadata.json`

When `includeRawSnapshots` is true, bounded raw HTML snapshots are stored separately. Raw snapshots are off by default.

### Pay-per-event pricing

Platform-usage pass-through is **off**. Prices are the locked fixed-inclusive values for this actor.

| Event | Price | Meaning |
| --- | ---: | --- |
| `actor-start` | $0.08 | Actor Start |
| `seller-page-checked` | $0.0175 | Seller Page Checked |
| `seller-record-checked` | $0.0175 | Seller Record Checked |
| `marketplace-signal-detected` | $0.0345 | Marketplace Signal Detected |
| `executive-report-generated` | $0.85 | Executive Report Generated |

Charging rules:

- `actor-start` must be accepted before fetching or rendering begins.
- Page/target events are deduplicated per source.
- Record and finding events fire only when the corresponding output exists.
- Report output is written only after the report event is accepted.
- Partial charges and Apify charge-limit responses stop the run before additional paid output.
- Store discounts are tracked as a separate Console configuration requirement; this source does not claim they are already applied.

### Evidence and failure behavior

- Only user-supplied public seller pages are accessed.
- Blocked/challenge pages produce diagnostics; the actor does not bypass access controls.
- Seller pagination and marketplace count are explicitly capped.

A fetch failure, browser failure, blocked page, missing record, or incomplete match produces a bounded diagnostic row when possible. It never invents a successful extraction. Evidence can be omitted with `includeEvidence: false`.

### Local verification

```bash
pnpm --filter @junipr/marketplace-seller-page-inventory build
pnpm --filter @junipr/marketplace-seller-page-inventory test
pnpm --filter @junipr/marketplace-seller-page-inventory smoke
```

The tests cover strong, weak, unavailable, comparison, and cap fixtures; schema equality; pricing metadata; accepted/partial/limited charges; zero budget; and report generation.

### Limitations

- Results reflect the public source at the scan time and may change later.
- Site markup changes can require selector/parser maintenance.
- The actor does not bypass authentication, CAPTCHAs, robots restrictions, or access controls.
- Legal, tax, pricing, SEO, merchandising, and marketplace decisions remain the user's responsibility.

# Actor input Schema

## `startUrls` (type: `array`):

startUrls for Marketplace Seller Page Inventory.

## `sitemapUrls` (type: `array`):

sitemapUrls for Marketplace Seller Page Inventory.

## `htmlInputs` (type: `array`):

htmlInputs for Marketplace Seller Page Inventory.

## `allowedDomains` (type: `array`):

allowedDomains for Marketplace Seller Page Inventory.

## `maxPages` (type: `integer`):

maxPages for Marketplace Seller Page Inventory.

## `maxDepth` (type: `integer`):

maxDepth for Marketplace Seller Page Inventory.

## `includeEvidence` (type: `boolean`):

includeEvidence for Marketplace Seller Page Inventory.

## `includeRawSnapshots` (type: `boolean`):

includeRawSnapshots for Marketplace Seller Page Inventory.

## `requestDelayMs` (type: `integer`):

requestDelayMs for Marketplace Seller Page Inventory.

## `timeoutMs` (type: `integer`):

timeoutMs for Marketplace Seller Page Inventory.

## `userAgentMode` (type: `string`):

userAgentMode for Marketplace Seller Page Inventory.

## `sellerPageUrls` (type: `array`):

sellerPageUrls for Marketplace Seller Page Inventory.

## `maxProductsPerSeller` (type: `integer`):

maxProductsPerSeller for Marketplace Seller Page Inventory.

## `extractPolicies` (type: `boolean`):

extractPolicies for Marketplace Seller Page Inventory.

## `extractBadges` (type: `boolean`):

extractBadges for Marketplace Seller Page Inventory.

## `extractRatings` (type: `boolean`):

extractRatings for Marketplace Seller Page Inventory.

## `followSellerPagination` (type: `boolean`):

followSellerPagination for Marketplace Seller Page Inventory.

## `maxSellerPages` (type: `integer`):

maxSellerPages for Marketplace Seller Page Inventory.

## `maxSellerRecords` (type: `integer`):

maxSellerRecords for Marketplace Seller Page Inventory.

## `maxMarketplaces` (type: `integer`):

maxMarketplaces for Marketplace Seller Page Inventory.

## `maxSignals` (type: `integer`):

maxSignals for Marketplace Seller Page Inventory.

## `maxChargeUsd` (type: `number`):

maxChargeUsd for Marketplace Seller Page Inventory.

## `includeReport` (type: `boolean`):

includeReport for Marketplace Seller Page Inventory.

## Actor input object example

```json
{
  "startUrls": [],
  "sitemapUrls": [],
  "htmlInputs": [
    {
      "sourceUrl": "https://market.example/s/northstar",
      "html": "<html><head><title>Northstar Store</title></head><body><h1 class=\"seller\">Northstar Store</h1><span class=\"verified-badge\">Verified</span><div data-rating=\"4.8\">4.8 rating 120 reviews</div><section class=\"shipping-policy\">Free returns</section><article class=\"product-card\" data-category=\"Cameras\" data-price=\"129.99\"><h2><a href=\"/p/camera\">Atlas Camera</a></h2><span>In stock</span></article><article class=\"product-card\" data-price=\"49.50\"><h2><a href=\"/p/lens\">Atlas Lens</a></h2><span>Out of stock</span></article></body></html>"
    }
  ],
  "allowedDomains": [],
  "maxPages": 5,
  "maxDepth": 5,
  "includeEvidence": true,
  "includeRawSnapshots": false,
  "requestDelayMs": 0,
  "timeoutMs": 15000,
  "userAgentMode": "standard",
  "sellerPageUrls": [],
  "maxProductsPerSeller": 10,
  "extractPolicies": true,
  "extractBadges": true,
  "extractRatings": true,
  "followSellerPagination": false,
  "maxSellerPages": 3,
  "maxSellerRecords": 20,
  "maxMarketplaces": 2,
  "maxSignals": 20,
  "maxChargeUsd": 75,
  "includeReport": true
}
```

# Actor output Schema

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

No description

## `report` (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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("junipr/marketplace-seller-page-inventory").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("junipr/marketplace-seller-page-inventory").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 '{}' |
apify call junipr/marketplace-seller-page-inventory --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,junipr/marketplace-seller-page-inventory"
        }
    }
}

```

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/njGle0YO5Hng8dczI/builds/8VTgln3ceuAXq9gAz/openapi.json
