# Changelog of Mercari Scraper (`redomic/mercari-sold-comps`) Actor

- **URL**: https://apify.com/redomic/mercari-sold-comps/changelog.md
- **Full Actor documentation**: https://apify.com/redomic/mercari-sold-comps.md

## Changelog

### 0.1

- Reorganized the input form for first runs: mode, query, queries, maxItems, statusFilter and soldOnly stay visible, while the other nine fields are grouped into collapsed sections for item aliases and pasted URLs, price filters, extra row fields and the proxy. Every input keeps its name, type, default and behavior.

- Agent-ready inputs: `keyword` defaults to an empty string and `itemUrls` to an empty list, so an empty agent input keeps the existing `camera` search and sample-item detail fallbacks.

- A keyword that matches nothing ends SUCCEEDED with the reason in the status message and the STATUS record; only a run where every input fails (a blocked page or a shape change) ends FAILED.

- Multi-keyword runs share the `maxItems` cap: each keyword that finds listings keeps a row instead of the first one spending the whole cap; status rows now report delivered rather than pre-cap counts.

- Price sanity check: every row carries `priceSanity`, with `categoryMedianPrice` and `priceVsCategoryPct` when a Mercari category has at least five rows in the run; prices far below their category and rows with a missing, non-JPY or impossible price are flagged, and the new `onlySanePrices` input leaves flagged rows out; `priceMin` above `priceMax` is now rejected instead of returning an empty run.

- Sold-only search: `soldOnly` (or `statusFilter: sold_out`) queries Mercari's sold and in-trade results directly with a per-request signed proof, so a keyword search returns transaction prices instead of live asking prices. Pasted search URLs keep their status filter.

- First build.

- Search mode over Mercari Japan public search pages: up to 120 listings per keyword with price, status, condition, timestamps, seller id and auction fields.

- Detail mode for item URLs and ids: description, category path, public seller rating, shipping and availability.

- Monitor mode with per-query state in a named key-value store, keyed on the item's update time; new, changed and removed rows with a summary in the run's STATUS record.

- Per-input status rows in STATUS, flat result rows in the dataset, charges only for delivered result or change rows.
