Fast CLI for searching Vinted — optimized for agents and scripting
Project description
vinted-cli
Fast CLI for searching Vinted.
Primary target is vinted.se but can be configured to work with any Vinted country. Designed for agents, scripts, and quick terminal lookups. Minimal dependencies, structured output.
Install
From PyPI:
pip install vinted-cli
Upgrade:
pip install --upgrade vinted-cli
Usage
Search listings
vinted search "jeans"
vinted search "iphone 15" --price-max 5000
vinted search "nike" --condition very-good --sort price-asc
vinted search "dress M" --sort newest -n 10
vinted search "jacka" -o json | jq '.results[:3]'
vinted search --catalog-id 1231 # browse a category without a query
vinted search "sneakers" --catalog-id 1231 --catalog-id 1232
vinted search --price-max 100 --sort newest # all cheap new listings
Get item details
vinted item 1234567890
vinted item 1234567890 -o json
vinted item 1234567890 --country fr
Browse filters
vinted countries # list all supported country codes
vinted conditions # list item condition filters
vinted catalogs # list the full catalog tree
vinted catalogs --parent-id 2994 # list subcatalogs of Electronics
Output formats
| Flag | Format | Use case |
|---|---|---|
| (default) | Human-readable table | Terminal browsing |
-o json |
Compact JSON | Piping to jq, API consumption |
-o jsonl |
One JSON object per line | Streaming, log processing |
Common options
All search commands support these shared options:
| Option | Description |
|---|---|
--country |
Vinted country code (default: se, env: VINTED_COUNTRY) |
--price-min |
Minimum price |
--price-max |
Maximum price |
--condition |
Item condition filter |
--brand-id |
Numeric Vinted brand ID filter |
--size-id |
Numeric Vinted size ID filter |
--catalog-id |
Numeric Vinted catalog ID (category) filter; repeat for multiple categories |
--sort |
Sort order (relevance, newest, oldest, price-asc, price-desc) |
-n, --limit |
Max results to display |
-p, --page |
Page number |
-o, --output |
Output format (table, json, jsonl) |
--raw |
Full API response instead of slim fields |
Supported countries
se, fr, de, uk, pl, be, nl, it, es, at, lu, pt, cz, hu, ro, sk, lt, lv, ee
Use vinted countries to list all supported country codes.
Default country via environment variable
export VINTED_COUNTRY=de
vinted search "jacke" # searches vinted.de
Agent integration
The JSON output is designed for LLM agents and automation:
# Slim search results for an agent
vinted search "nike air max" --sort price-asc -o json | jq '.results[:5]'
# Stream listings line by line
vinted search "vintage levi" -o jsonl
# Price analysis
vinted search "iphone 15" -o json | python3 -c "
import sys, json
data = json.load(sys.stdin)
prices = [float(r['price']) for r in data['results'] if r.get('price')]
print(f'Found {data[\"total\"]} listings')
print(f'Price range: {min(prices):.0f} - {max(prices):.0f}')
print(f'Average: {sum(prices)/len(prices):.0f}')
"
# Get full item details
vinted item 1234567890 -o json
License
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vinted_cli-0.1.5.tar.gz.
File metadata
- Download URL: vinted_cli-0.1.5.tar.gz
- Upload date:
- Size: 12.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24f3f33bfd06fd4b94cd72db8bd55ea9eb68ea743387a5f4b4010770c5ca139f
|
|
| MD5 |
7be97cb6acea4a75b6a6549b2cb5be94
|
|
| BLAKE2b-256 |
c8557f9963b223bdbf2a07932cae973462059b4bc7ba093cbc596a2485a45ac3
|
Provenance
The following attestation bundles were made for vinted_cli-0.1.5.tar.gz:
Publisher:
publish.yml on Paatsu/vinted-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vinted_cli-0.1.5.tar.gz -
Subject digest:
24f3f33bfd06fd4b94cd72db8bd55ea9eb68ea743387a5f4b4010770c5ca139f - Sigstore transparency entry: 1158239796
- Sigstore integration time:
-
Permalink:
Paatsu/vinted-cli@072da5fd54303b789e71a5f121da75f203a57915 -
Branch / Tag:
refs/tags/v0.1.5 - Owner: https://github.com/Paatsu
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@072da5fd54303b789e71a5f121da75f203a57915 -
Trigger Event:
release
-
Statement type:
File details
Details for the file vinted_cli-0.1.5-py3-none-any.whl.
File metadata
- Download URL: vinted_cli-0.1.5-py3-none-any.whl
- Upload date:
- Size: 12.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
00da48eb662f6f16b4970b2448311ff3f4ae8f105435fd1b6687cea548407a02
|
|
| MD5 |
64e7e95eb36d795fb7ec3871f102b7c0
|
|
| BLAKE2b-256 |
0f6ba008e678f585ce8e45fd9463359f3adc87890b9c9a3a357f15bb43d10332
|
Provenance
The following attestation bundles were made for vinted_cli-0.1.5-py3-none-any.whl:
Publisher:
publish.yml on Paatsu/vinted-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vinted_cli-0.1.5-py3-none-any.whl -
Subject digest:
00da48eb662f6f16b4970b2448311ff3f4ae8f105435fd1b6687cea548407a02 - Sigstore transparency entry: 1158240053
- Sigstore integration time:
-
Permalink:
Paatsu/vinted-cli@072da5fd54303b789e71a5f121da75f203a57915 -
Branch / Tag:
refs/tags/v0.1.5 - Owner: https://github.com/Paatsu
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@072da5fd54303b789e71a5f121da75f203a57915 -
Trigger Event:
release
-
Statement type: