Powersports Inventory Aging avatar

Powersports Inventory Aging

Pricing

from $5.00 / 1,000 tracked listings

Go to Apify Store
Powersports Inventory Aging

Powersports Inventory Aging

Track first-seen dates, price drops, cohort pricing, and aging risk for supplied powersports listings.

Pricing

from $5.00 / 1,000 tracked listings

Rating

0.0

(0)

Developer

Ryan Carter

Ryan Carter

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

7 days ago

Last modified

Share

Track observed inventory age and asking-price changes.

Supply listing snapshots with stable IDs. Days observed starts with your first scan; it is not the original listing age. Asking prices are not transaction prices.

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.

{
"listings": [
{
"listingId": "demo-bike-1",
"url": "https://example.com/listing/1",
"year": 2025,
"make": "KTM",
"model": "300 XC-W",
"trim": "Hardenduro",
"price": 11999,
"dealerName": "Example Powersports",
"location": "Seattle, WA",
"observedAt": "2026-07-28T20:00:00Z"
}
],
"stateStoreName": "powersports-inventory-state",
"cohortMode": "year-make-model",
"minimumPrice": 1,
"includePriceHistory": true
}

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.005 per tracked listing. One supplied inventory listing tracked for observed age, price movement and cohort context.
  • 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

Observation timestamps must advance for each listing. Older snapshots, identical replays, conflicting prices at the same timestamp, and invalid dates produce free diagnostic records without changing saved history or increasing confidence. They are excluded from this run's cohort statistics. OUTPUT.observationsSkipped reports these exclusions. Omit observedAt to use the run's observation time; provide it when importing historical snapshots in chronological order.

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.

curl --request POST 'https://api.apify.com/v2/acts/repairiq~powersports-inventory-aging/runs' \
--header "Authorization: Bearer $APIFY_TOKEN" \
--header 'Content-Type: application/json' \
--data-binary @input.json
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/powersports-inventory-aging').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

Supply listing snapshots with stable IDs. Days observed starts with your first scan; it is not the original listing age. Asking prices are not transaction prices.

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.