# Used Powersports Market Monitor (`repairiq/used-powersports-market-monitor`) Actor

Return only new listings, price changes, and market movement for a dealer's acquisition criteria - normalized, deduplicated, and compared against a cohort median.

- **URL**: https://apify.com/repairiq/used-powersports-market-monitor.md
- **Developed by:** [Ryan Carter](https://apify.com/repairiq) (community)
- **Categories:** E-commerce, Business
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.00 / 1,000 normalized listings

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

## Used Powersports Market Monitor

Normalize supplied powersports listings and track new listings and price movement.

Requires your listing data or an upstream scraper dataset. It does not scrape marketplaces. Qualified opportunity signals are included in the listing event, with no separate opportunity charge.

### Quick start

Paste this input into the Actor, or save it as `input.json` for the API example. Inline records with example.com URLs are fictional demonstration data. Form prefill values are examples, not defaults for empty API requests.

```json
{
  "listings": [
    {
      "listingId": "demo-1",
      "source": "demo-market",
      "sourceUrl": "https://example.com/l/1",
      "title": "2024 KTM 300 XC-W Six Days",
      "make": "KTM",
      "model": "300 XC-W Six Days",
      "year": 2024,
      "price": 8799,
      "hours": 42,
      "sellerType": "dealer",
      "sellerName": "Example Motorsports",
      "location": "Tacoma, WA",
      "latitude": 47.2529,
      "longitude": -122.4443,
      "observedAt": "2026-07-28T00:00:00Z"
    },
    {
      "listingId": "demo-2",
      "source": "demo-market",
      "sourceUrl": "https://example.com/l/2",
      "title": "2023 KTM 300XCW",
      "make": "ktm",
      "model": "300XCW",
      "year": 2023,
      "price": 9250,
      "hours": 60,
      "sellerType": "private",
      "location": "Seattle, WA",
      "latitude": 47.6062,
      "longitude": -122.3321,
      "observedAt": "2026-07-28T00:00:00Z"
    },
    {
      "listingId": "demo-3",
      "source": "other-market",
      "sourceUrl": "https://example.net/l/3",
      "title": "2024 KTM 300 XC-W",
      "make": "KTM",
      "model": "XC-W 300",
      "year": 2024,
      "price": 9995,
      "hours": 12,
      "sellerType": "dealer",
      "sellerName": "Cascade Powersports",
      "location": "Bellevue, WA",
      "latitude": 47.6101,
      "longitude": -122.2015,
      "observedAt": "2026-07-28T00:00:00Z"
    },
    {
      "listingId": "demo-4",
      "source": "demo-market",
      "sourceUrl": "https://example.com/l/4",
      "title": "2022 KTM 300 XC-W TPI",
      "make": "KTM",
      "model": "300 XC-W TPI",
      "year": 2022,
      "price": 7600,
      "hours": 130,
      "sellerType": "private",
      "location": "Olympia, WA",
      "latitude": 47.0379,
      "longitude": -122.9007,
      "observedAt": "2026-07-28T00:00:00Z"
    },
    {
      "listingId": "demo-5",
      "source": "demo-market",
      "sourceUrl": "https://example.com/l/5",
      "title": "2024 Husqvarna TE 300",
      "make": "Husqvarna",
      "model": "TE 300",
      "year": 2024,
      "price": 9600,
      "hours": 20,
      "sellerType": "dealer",
      "sellerName": "Demo Powersports",
      "location": "Portland, OR",
      "latitude": 45.5152,
      "longitude": -122.6784,
      "observedAt": "2026-07-28T00:00:00Z"
    }
  ],
  "makes": [
    "KTM",
    "Husqvarna",
    "GasGas"
  ],
  "yearFrom": 2020,
  "yearTo": 2026,
  "maximumPrice": 9500,
  "location": "Seattle, WA",
  "latitude": 47.6062,
  "longitude": -122.3321,
  "radiusMiles": 750,
  "sellerTypes": [
    "dealer",
    "private"
  ],
  "includePreviouslySeen": false,
  "emitMarketSummary": true,
  "opportunityScoreThreshold": 55,
  "minimumCohortSize": 3,
  "stateStoreName": "powersports-market-state"
}
```

### Input and output

The Input tab documents every supported option and default. Supply `listings` or a compatible `sourceDatasetId`. A run supports at most 10,000 supplied records. Split larger inputs into separate runs.

Returns shared signal envelopes: `entityId`, `entityType`, `signalType`, `severity`, `confidence`, `observedAt`, `sourceUrl`, `evidence`, and Actor-specific `payload`. Compatible envelopes are unwrapped on input; payload fields must still match this Actor’s expected input. A common envelope does not join or enrich separate observations automatically.

Confidence is a heuristic evidence/completeness indicator, not a calibrated probability. Inspect evidence and missing inputs before acting. Dataset exports support JSON and CSV; nested fields are available through the dataset API.

### Pricing and spending limits

Pay per event, with platform usage included. The Apify Store pricing panel shows the current prices.

- **$0.01 per normalized listing**. One supplied listing normalized and delivered. Any associated opportunity output is included in this event price.
- **$0.10 per market summary**. One requested cohort market summary delivered from the supplied listings.
- **Startup: $0.005 per GB of allocated memory**, with a minimum of one startup event. The default memory allocation is 1 GB or less.

Diagnostics and included extra signals have no output-event charge; the startup charge still applies. Set the maximum run cost to control spending. If the remaining budget cannot cover the next event, the Actor stops and returns the results already completed. Check the run summary before assuming the entire input was processed. Fees from a separate upstream scraper are not included.

### Errors and repeat runs

Malformed or empty required input fails with an actionable error. Unsupported or insufficient records can produce free diagnostic signals or rejection counts in `OUTPUT`. Check the run status, summary, diagnostics, and billing record together; zero results does not establish that no opportunities or problems exist.

Use the same `stateStoreName` for sequential observations of the same population. Use a different name for independent workflows. Do not overlap runs sharing a state store. Only delivered listing/lot results advance their reporting snapshot; a budget cutoff defers remaining work. Repeated or interrupted runs can still produce duplicate outputs because dataset writes, charging and state updates are separate operations; deduplicate downstream by entity, signal type and observation time.

### Run it from the API

Start asynchronously to avoid request timeouts on larger inputs. Use the returned run ID to wait for completion, then download its dataset.

```bash
curl --request POST 'https://api.apify.com/v2/acts/repairiq~used-powersports-market-monitor/runs' \
  --header "Authorization: Bearer $APIFY_TOKEN" \
  --header 'Content-Type: application/json' \
  --data-binary @input.json
```

```javascript
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const input = JSON.parse(await (await import('node:fs/promises')).readFile('input.json', 'utf8'));
const run = await client.actor('repairiq/used-powersports-market-monitor').call(input);
if (run.status !== 'SUCCEEDED') throw new Error('Run failed; inspect its log before using partial results.');
const dataset = client.dataset(run.defaultDatasetId);
for (let offset = 0; ; ) {
    const { items } = await dataset.listItems({ offset, limit: 1000 });
    for (const item of items) console.log(item);
    if (items.length < 1000) break;
    offset += items.length;
}
```

### Limitations and support

Requires your listing data or an upstream scraper dataset. It does not scrape marketplaces. Qualified opportunity signals are included in the listing event, with no separate opportunity charge.

Use data you have permission to process, and respect source restrictions. No affiliation with the named software vendors, marketplaces, or agencies is implied. Report reproducible problems through the Actor Issues tab with a run ID and a minimal input; omit credentials and private customer data.

### Local development

Requires Node.js 22 or newer. Run `npm ci`, `npm run build`, and `npm test` from this Actor directory. Put local input in `storage/key_value_stores/default/INPUT.json`, then run `npm start`. The repository root’s `npm run verify` also checks schemas, shared copies and real entry-point smoke scenarios.

# Actor input Schema

## `listings` (type: `array`):

Inline listings from any marketplace scraper. Leave the prefill in place to see the output shape.

## `sourceDatasetId` (type: `string`):

Apify dataset produced by a marketplace listing scraper. Portfolio signal datasets are unwrapped automatically.

## `categories` (type: `array`):

Normalized categories to keep, e.g. enduro-dirt-bike, motocross-dirt-bike, motorcycle, atv, side-by-side, snowmobile, personal-watercraft, e-moto.

## `makes` (type: `array`):

Makes to keep. Aliases such as `gas gas` and `husky` are resolved before matching.

## `models` (type: `array`):

Model or family fragments to keep, e.g. `300 XC-W`, `TE 300`, `XC-W`.

## `yearFrom` (type: `integer`):

Oldest model year to keep. Listings with no resolvable year are dropped when this is set.

## `yearTo` (type: `integer`):

Newest model year to keep.

## `minimumPrice` (type: `integer`):

Drops placeholder prices such as 1 or 123.

## `maximumPrice` (type: `integer`):

Acquisition ceiling. Listings above it are counted in the run summary rather than silently dropped.

## `location` (type: `string`):

City and state used for regional context, e.g. `Seattle, WA`.

## `latitude` (type: `number`):

Required for distance filtering. Without coordinates on both sides, distance is reported as unknown rather than guessed.

## `longitude` (type: `number`):

Required for distance filtering, together with the origin latitude.

## `radiusMiles` (type: `integer`):

Maximum straight-line distance from the origin. Applied only to listings that carry coordinates.

## `includeUnknownDistance` (type: `boolean`):

When a radius is set and a listing has no coordinates, keep it (default) instead of silently dropping it.

## `sellerTypes` (type: `array`):

dealer, private, auction, unknown.

## `includePreviouslySeen` (type: `boolean`):

Off by default: the product is movement since the last run, not a full dump.

## `emitMarketSummary` (type: `boolean`):

Adds one median, quartile, and dealer-share record per comparable cohort seen in the run.

## `opportunityScoreThreshold` (type: `integer`):

Minimum 0-100 score before a separate acquisition-opportunity signal is emitted.

## `minimumCohortSize` (type: `integer`):

Comparable statistics are suppressed below this many comparable listings.

## `stateStoreName` (type: `string`):

Named key-value store holding first-seen dates and price history between runs.

## Actor input object example

```json
{
  "listings": [
    {
      "listingId": "demo-1",
      "source": "demo-market",
      "title": "2024 KTM 300 XC-W",
      "make": "KTM",
      "model": "300 XC-W",
      "year": 2024,
      "price": 8799,
      "hours": 42,
      "sellerType": "dealer",
      "sellerName": "Example Motorsports",
      "location": "Tacoma, WA"
    },
    {
      "listingId": "demo-2",
      "source": "demo-market",
      "title": "2023 KTM 300 XCW",
      "make": "ktm",
      "model": "300XCW",
      "year": 2023,
      "price": 9250,
      "hours": 60,
      "sellerType": "private",
      "location": "Seattle, WA"
    },
    {
      "listingId": "demo-3",
      "source": "demo-market",
      "title": "2024 Husqvarna TE 300",
      "make": "Husqvarna",
      "model": "TE 300",
      "year": 2024,
      "price": 9600,
      "hours": 20,
      "sellerType": "dealer",
      "sellerName": "Demo Powersports",
      "location": "Portland, OR"
    }
  ],
  "categories": [],
  "makes": [],
  "models": [],
  "minimumPrice": 500,
  "includeUnknownDistance": true,
  "sellerTypes": [],
  "includePreviouslySeen": false,
  "emitMarketSummary": true,
  "opportunityScoreThreshold": 55,
  "minimumCohortSize": 3,
  "stateStoreName": "powersports-market-state"
}
```

# Actor output Schema

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

No description

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

No description

## `billing` (type: `string`):

Check whether the run stopped at its spending limit.

# 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 = {
    "listings": [
        {
            "listingId": "demo-1",
            "source": "demo-market",
            "title": "2024 KTM 300 XC-W",
            "make": "KTM",
            "model": "300 XC-W",
            "year": 2024,
            "price": 8799,
            "hours": 42,
            "sellerType": "dealer",
            "sellerName": "Example Motorsports",
            "location": "Tacoma, WA"
        },
        {
            "listingId": "demo-2",
            "source": "demo-market",
            "title": "2023 KTM 300 XCW",
            "make": "ktm",
            "model": "300XCW",
            "year": 2023,
            "price": 9250,
            "hours": 60,
            "sellerType": "private",
            "location": "Seattle, WA"
        },
        {
            "listingId": "demo-3",
            "source": "demo-market",
            "title": "2024 Husqvarna TE 300",
            "make": "Husqvarna",
            "model": "TE 300",
            "year": 2024,
            "price": 9600,
            "hours": 20,
            "sellerType": "dealer",
            "sellerName": "Demo Powersports",
            "location": "Portland, OR"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("repairiq/used-powersports-market-monitor").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 = { "listings": [
        {
            "listingId": "demo-1",
            "source": "demo-market",
            "title": "2024 KTM 300 XC-W",
            "make": "KTM",
            "model": "300 XC-W",
            "year": 2024,
            "price": 8799,
            "hours": 42,
            "sellerType": "dealer",
            "sellerName": "Example Motorsports",
            "location": "Tacoma, WA",
        },
        {
            "listingId": "demo-2",
            "source": "demo-market",
            "title": "2023 KTM 300 XCW",
            "make": "ktm",
            "model": "300XCW",
            "year": 2023,
            "price": 9250,
            "hours": 60,
            "sellerType": "private",
            "location": "Seattle, WA",
        },
        {
            "listingId": "demo-3",
            "source": "demo-market",
            "title": "2024 Husqvarna TE 300",
            "make": "Husqvarna",
            "model": "TE 300",
            "year": 2024,
            "price": 9600,
            "hours": 20,
            "sellerType": "dealer",
            "sellerName": "Demo Powersports",
            "location": "Portland, OR",
        },
    ] }

# Run the Actor and wait for it to finish
run = client.actor("repairiq/used-powersports-market-monitor").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 '{
  "listings": [
    {
      "listingId": "demo-1",
      "source": "demo-market",
      "title": "2024 KTM 300 XC-W",
      "make": "KTM",
      "model": "300 XC-W",
      "year": 2024,
      "price": 8799,
      "hours": 42,
      "sellerType": "dealer",
      "sellerName": "Example Motorsports",
      "location": "Tacoma, WA"
    },
    {
      "listingId": "demo-2",
      "source": "demo-market",
      "title": "2023 KTM 300 XCW",
      "make": "ktm",
      "model": "300XCW",
      "year": 2023,
      "price": 9250,
      "hours": 60,
      "sellerType": "private",
      "location": "Seattle, WA"
    },
    {
      "listingId": "demo-3",
      "source": "demo-market",
      "title": "2024 Husqvarna TE 300",
      "make": "Husqvarna",
      "model": "TE 300",
      "year": 2024,
      "price": 9600,
      "hours": 20,
      "sellerType": "dealer",
      "sellerName": "Demo Powersports",
      "location": "Portland, OR"
    }
  ]
}' |
apify call repairiq/used-powersports-market-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,repairiq/used-powersports-market-monitor"
        }
    }
}
```

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/ulcseWlSSeCJYLqOx/builds/tehbOhXyloSf4tvgV/openapi.json
