DEV Community

Aurelix Solutions
Aurelix Solutions

Posted on

New Vinted listings for any search in Python, with your filters, every 15 minutes

Resellers and collectors on Vinted all fight the same clock: a good listing at the right price is gone within minutes, and refreshing a dozen saved searches by hand on several country sites does not scale. What you want is a feed: every new listing for your searches, with price, brand, size and condition, as soon as it shows up.

This post reads Vinted search results into Python from the same search links you build in your browser, compares asking prices across country sites, and sets up a schedule that sends only the new listings to Slack.

Disclosure: I'm Aurelix, and I built Vinted Monitor, the tool used here. It's a paid tool (prices below). It is not affiliated with or endorsed by Vinted.

What each row holds

One row per listing:

  • status (ok, or why nothing came back: no_results, not_found, failed, skipped, invalid_input), error, search.
  • item_id, title, price, total_price (with Vinted's buyer protection fee), currency.
  • brand, size, condition (as shown, in the site's language), favourites, is_promoted (bumped listings).
  • url, photo_url, country_site, first_seen_at.

Listings for a search link

Set your filters on Vinted (brand, size, price range, condition, category), copy the link from the address bar and pass it in. Plain search words work too; they run on the country site you pick.

pip install apify-client
Enter fullscreen mode Exit fullscreen mode
import csv
import os

from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("aurelix/vinted-scraper").call(
    run_input={
        "searches": [
            "https://www.vinted.fr/catalog?search_text=nike%20dunk&price_to=60",
            "levis 501",
        ],
        "country": "de",
        "maxItemsPerSearch": 96,
        "incremental": False,
    }
)
rows = [r for r in client.dataset(run["defaultDatasetId"]).iterate_items() if r["status"] == "ok"]

fields = ["search", "title", "price", "currency", "brand", "size", "condition", "url"]
with open("vinted.csv", "w", newline="", encoding="utf-8") as f:
    w = csv.DictWriter(f, fieldnames=fields, extrasaction="ignore")
    w.writeheader()
    w.writerows(rows)
Enter fullscreen mode Exit fullscreen mode

Asking prices across countries

The same search on several country sites, each in its own currency:

from statistics import median

run = client.actor("aurelix/vinted-scraper").call(
    run_input={
        "searches": [f"https://www.vinted.{tld}/catalog?search_text=levis%20501" for tld in ("fr", "de", "it", "es")],
        "maxItemsPerSearch": 192,
        "incremental": False,
    }
)
by_site = {}
for r in client.dataset(run["defaultDatasetId"]).iterate_items():
    if r["status"] == "ok" and not r["is_promoted"]:
        by_site.setdefault((r["country_site"], r["currency"]), []).append(r["price"])
for (site, cur), prices in sorted(by_site.items()):
    print(f"{site:<14} {len(prices):>4} listings, median {median(prices):.2f} {cur}")
Enter fullscreen mode Exit fullscreen mode

Condition labels come in each site's language ("Très bon état" on vinted.fr, "Sehr gut" on vinted.de), so group by condition per site.

Only new listings, every 15 minutes

run_input = {
    "searches": ["https://www.vinted.fr/catalog?search_text=nike%20dunk&price_to=60"],
    "incremental": True,
    "stateKey": "dunks-under-60",
    "slackWebhookUrl": "https://hooks.slack.com/services/...",
}
Enter fullscreen mode Exit fullscreen mode

Only-new mode is on by default. The first run returns the current listings and remembers them; each later run reads newest first, checks every listing on each page against that memory (Vinted sometimes shows a new listing below older ones), stops after the first page with fewer than 7 new listings and returns only the new ones, never the same listing twice even when two searches overlap. The memory keeps returned listings for 60 days, up to the 100,000 most recent. Save the input as a task in the Apify Console and schedule it every 15 minutes or hourly: Slack gets a short digest with links, and nothing is sent when nothing is new. Keep stateKey set so the memory stays the same when you edit the searches.

Vinted's catalog does not show when a listing was posted, so each row carries first_seen_at, the time the tool first saw it. On a 15-minute schedule that is within 15 minutes of posting for new listings; bumped listings (is_promoted) can be older.

How it reaches Vinted

It reads the public catalog pages a logged-out visitor sees, at a gentle pace. Vinted refuses cloud datacenter connections, so the tool uses a residential connection, included in the price. It keeps one connection per run and never switches after a refusal: if Vinted refuses the run, it stops with a BLOCKED status and you pay only for the listings already returned.

Limits

  • Listing data from the catalog page only: no item descriptions, seller profiles or reviews.
  • No posting time (see first_seen_at above).
  • The main photo comes in catalog size (310x430).
  • Up to 20 pages, about 1,900 listings, per search per run.
  • A refused run stops with a BLOCKED status rather than retrying on another connection.

Cost

$1.20 per 1,000 listings on Apify's free plan, from $1.00 per 1,000 on paid plans, plus a $0.012 start fee per run. Each page read costs a residential page load, so a page that returns fewer than 7 listings costs $0.007, except the first one in each run. The current prices are on the Store page; Apify's free plan includes $5 of credit a month.

Use it from an AI assistant

The tool also works through Apify's hosted MCP server, so Claude, ChatGPT or Cursor can run it from a request like "show me the newest Stone Island listings on vinted.co.uk under 80 pounds". Server URL: https://mcp.apify.com/?tools=aurelix/vinted-scraper.

Links

Top comments (1)

Collapse
 
harrysstone profile image
Harry Stone •

Two details are worth pinning down before scheduling this, because both fail silently rather than with an error. stateKey is the memory itself, so treat it as part of the search identity: if the key changes when you edit a price range or swap a search URL, the tool has no record of what it already sent and the first run after the edit delivers the current page as new. Keep the key stable, and version it deliberately (dunks-under-60-v2) only when you actually want a reset. Second, stopping after the first page with fewer than 7 new listings is a sensible cost guard, but it also means a search whose new items are spread past page one gets cut short — harmless for a low-volume search, worth widening the threshold or running hourly for the one search you care about. 2scraper (github.com/2scraper) is a set of single-platform scrapers if you would rather run the loop outside Apify.