Skip to content

About

Scrape Poshmark listings, sold listings and sold-price comps (median, quartiles, sell-through), listing details and seller closets on poshmark.com and poshmark.ca as JSON or CSV, via the ScrapeUnblocker API. CLI + Python library.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Poshmark Scraper

CI Python 3.11+ License: MIT Powered by ScrapeUnblocker

Scrape Poshmark listings, sold listings, sold-price comps, listing pages and seller closets into clean JSON or CSV, on poshmark.com and poshmark.ca. Search any keyword with Poshmark's own filters (department, category, brand, size, color, condition, price, availability) and seven sort orders. Each listing comes with its price, original price and discount, first listed price and price drop, size, condition, likes and seller. For sold listings you also get the sale date and how many days the listing took to sell. Run comps to see what similar items actually sold for: the median, quartiles, range, median by condition and sell-through rate. Open a listing for its description, every photo, stock per size, shipping price and the seller's public stats. Pull a seller's closet, or leave watch running and get each new listing that matches your search once.

Powered by ScrapeUnblocker: the getPageSource API fetches each Poshmark page and returns its HTML, and this package reads the data Poshmark embeds in that page and turns it into typed records. You don't need a Poshmark account, cookies, proxies, a headless browser or retry logic of your own.

Features

  • Search listings. 48 listings per page, as many pages as you ask for (it stops when Poshmark has no next page). Several queries in one run are merged and de-duplicated.
  • Poshmark's own filters. Department (Women, Men, Kids, Home, Pets, Electronics), category (Jeans, Jackets & Coats, ...), brand, size, color, condition (nwt, like_new, good, fair), price range and availability (available, sold, all, not_for_sale, dropping_soon). Sort by relevance, just shared, newest, price low-high, price high-low, recent price drops or most liked.
  • Sold listings. --sold returns sold items with the sale date (sold_at) and days_to_sell (from first listed to sold).
  • Sold-price comps. comps summarises the most recently listed sold items for a search: sold-price median, mean, 25th/75th percentiles and range, the median for each condition, the median asking price of what is for sale now, the median discount against the seller's "original price", and the sell-through rate (sold / (sold + available), from the totals Poshmark prints for the search). --exclude bundle,lot keeps bundles out of the numbers and --sold-within 60 keeps only recent sales.
  • Clean listing records. Listing ID, title, URL, brand, department, category and subcategories, size, condition code and label, price, original price, discount %, first listed price, price drop, currency, availability, sold date, listed and updated dates, likes, comments, shares, hot-deal flag, colors, seller username, cover image and photo count.
  • Full listing pages. Description, every photo in large size, style tags, stock per size (available / sold / reserved), shipping label and price, the seller's bundle discount, and the seller's followers, listings, orders shipped, items sold, five-star love notes, join date and last activity.
  • Seller closets. Public shop stats (followers, following, listings, orders shipped, items sold, five-star love notes, vacation mode, bundle discount, join date, last active) plus their available, sold or all listings, page by page.
  • New-listing watcher. watch polls a newest-first search and prints each new listing once, as JSON Lines. A state file remembers what you have already seen, so it also works from cron (--max-polls 1).
  • Category lookup. categories lists every department and category name you can filter by, with its subcategories.
  • Two sites. poshmark.com (USD) and poshmark.ca (CAD). Requests go through the site's own country.
  • Privacy-minded output. Sellers appear by their public username only. Real names, locations and linked social accounts in the page data are left out.
  • Resilient. Timeouts, blocks and pages that come back without data are retried with doubling backoff. Deleted listings and unknown closets are reported and skipped.
  • JSON, JSON Lines, CSV or a terminal table. CSV files are UTF-8 with a BOM, so Excel shows accents and currency symbols correctly.
  • CLI + Python library. Typed dataclasses, and tested offline with a mocked client.

Install

git clone https://github.com/ScrapeUnblocker/poshmark-scraper.git
cd poshmark-scraper
pip install .

Get an API key at scrapeunblocker.com and expose it as SCRAPEUNBLOCKER_KEY (the official SDK reads it from there):

export SCRAPEUNBLOCKER_KEY=your_key_here        # Windows PowerShell: $env:SCRAPEUNBLOCKER_KEY="your_key_here"

You can also copy .env.example to .env and load it with your tool of choice.

CLI usage

# Search, newest first, two pages (96 listings), as a table
poshmark-scraper search "lululemon align" --sort newest -p 2 -f table

# Women's Levi's jeans in size 28, like new, up to $40, to CSV
poshmark-scraper search "levis 501" --department Women --category Jeans --brand "Levi's" \
  --size 28 --condition like_new --price-max 40 -f csv -o levis.csv

# Sold listings only, with sale dates and days to sell
poshmark-scraper search "coach tabby" --sold --sort newest -p 3 -f csv -o tabby_sold.csv

# Sold-price comps (median, quartiles, sell-through), bundles left out
poshmark-scraper comps "lululemon align 25" --department Women --exclude bundle,lot

# Only sales from the last 30 days, as JSON with the sold listings used
poshmark-scraper comps "patagonia better sweater" --department Men --sold-within 30 --samples -f json

# Several queries, merged and de-duplicated, on poshmark.ca
poshmark-scraper search "aritzia wilfred" "aritzia babaton" -d ca --limit 100 -f jsonl -o aritzia.jsonl

# Full details of listings (IDs or URLs)
poshmark-scraper listing https://poshmark.com/listing/Lululemon-Align-Tank-Top-Black-US-14-6aee257d9c93e0f5b4206dfb

# A seller's sold listings (3 pages), or just their public profile
poshmark-scraper closet some_seller --sold -p 3 -f csv -o sold.csv
poshmark-scraper closet https://poshmark.com/closet/some_seller --profile-only

# Print new listings as they appear (JSON Lines), remembering what was already seen
poshmark-scraper watch "arcteryx beta" --price-max 200 --interval 300 --state-file seen_arcteryx.txt

# Department and category names to filter by
poshmark-scraper categories --department Men

# The supported sites (no API call)
poshmark-scraper sites
Command What it returns
search [QUERY ...] Listings for each query (48 per page, --pages, --limit)
comps [QUERY] Sold-price statistics and sell-through for a search
listing LISTING ... Full details of each listing (ID or URL)
closet SELLER ... Listings in each closet (JSON: the profile with its listings)
watch [QUERY] New listings as JSON Lines, one poll every --interval seconds
categories Department, category, URL slug and subcategories
sites poshmark.com and poshmark.ca with their currency
Option Meaning
-d, --domain us|ca poshmark.com (default) or poshmark.ca
--department, --category e.g. Women and Jeans or "Jackets & Coats" (see categories)
--brand, --size, --color As Poshmark shows them (Levi's, M, 28, Black); repeatable
--condition nwt (or new), like_new, good, fair
--price-min, --price-max Price range in the site's currency
--availability, --sold available (default), sold, all, not_for_sale, dropping_soon, ...
--sort relevance, just_shared, newest, price_asc, price_desc, price_drop, most_liked
--exclude Drop listings whose title has this word or phrase (bundle, lot, for parts)
-p, --pages, -n, --limit Pages per query (48 listings each) and maximum listings
comps --sold-within DAYS, --no-sell-through, --samples Recent sales only, skip the totals request, include the sold listings
watch --interval, --max-polls, --state-file, --emit-existing Poll rate, number of polls, seen-ID file, also print the first poll
-f, --format json|jsonl|csv|table, -o, --output Output format and file
--proxy-country, --retries, -v Route through another country, retries per page, log progress

Run poshmark-scraper <command> --help for every option. python -m poshmark_scraper works too.

Library usage

from poshmark_scraper import PoshmarkScraper, SearchFilters, listings_to_csv

posh = PoshmarkScraper()  # reads SCRAPEUNBLOCKER_KEY; or PoshmarkScraper(api_key="...")

# Search with filters (keyword arguments or a SearchFilters object)
jeans = posh.search(
    "levis 501",
    department="Women",
    category="Jeans",
    sizes=["28"],
    condition="like_new",
    price_max=40,
    sort="newest",
    pages=2,
)
for x in jeans[:5]:
    print(x.price, x.currency, x.size, x.condition, x.title, x.url)
listings_to_csv(jeans, "levis.csv")

# Sold listings, with sale dates
sold = posh.sold("coach tabby", sort="newest", pages=3)
print([(x.price, x.sold_at, x.days_to_sell) for x in sold[:5]])

# Sold-price comps
comps = posh.comps("lululemon align 25", department="Women", exclude=["bundle", "lot"])
print(comps.sold.median, comps.sold.p25, comps.sold.p75, comps.sell_through)
print({code: stats.median for code, stats in comps.by_condition.items()})

# The same filters, reused (poshmark.ca)
filters = SearchFilters(department="Women", brands=["Aritzia"], availability="sold")
canada = posh.search("wilfred", filters, domain="ca")

# A full listing page
item = posh.listing(jeans[0].url)
print(item.description, item.photos, item.sizes, item.shipping_price, item.seller_followers)

# A seller's closet: public stats plus listings
closet = posh.closet("some_seller", availability="sold", pages=2)
print(closet.followers, closet.orders_shipped, closet.items_sold, len(closet.listings))

# Department and category names
print([(c.department, c.category) for c in posh.categories()][:10])

# New listings as they appear (runs until interrupted, or max_polls)
for new in posh.watch("arcteryx beta", price_max=200, interval=300, state_file="seen.txt"):
    print("NEW", new.price, new.title, new.url)

listing and closet raise NotFoundError for deleted listings and unknown closets, and every method raises ValueError for invalid arguments. posh.requests counts the API requests made so far.

Example output

One listing from poshmark-scraper search "lululemon align" --department Women --size 6 --condition like_new --price-max 60 (seller replaced):

{
  "id": "6ae2407f41ae66d3921f6936",
  "title": "Lululemon Align Palazzo Pants",
  "url": "https://poshmark.com/listing/6ae2407f41ae66d3921f6936",
  "brand": "lululemon athletica",
  "department": "Women",
  "category": "Pants & Jumpsuits",
  "subcategories": ["Leggings"],
  "size": "6",
  "condition_code": "uln",
  "condition": "Like New",
  "price": 45.0,
  "original_price": null,
  "discount_pct": null,
  "listed_price": 45.0,
  "price_drop": null,
  "currency": "USD",
  "availability": "available",
  "sold_at": null,
  "listed_at": "2026-10-30T16:45:17-07:00",
  "updated_at": "2026-10-30T19:20:33-07:00",
  "days_to_sell": null,
  "likes": 2,
  "comments": 0,
  "shares": 2,
  "hot_deal": false,
  "colors": ["Green"],
  "seller": "example_seller",
  "seller_id": "000000000000000000000000",
  "image": "https://di2ponv0v5otw.cloudfront.net/posts/2026/10/28/6ae2407f41ae66d3921f6936/m_....jpg",
  "photo_count": 5,
  "domain": "us",
  "query": "lululemon align",
  "page": 1,
  "position": 1
}

The same listing from poshmark-scraper listing 6ae2407f41ae66d3921f6936 adds (shortened):

{
  "description": "Lululemon Align Palazzo\n\nSize 6\nArmy Green Color\n\nInseam- 33\" ...",
  "photos": ["https://di2ponv0v5otw.cloudfront.net/posts/2026/10/28/.../l_....jpg", "..."],
  "style_tags": ["Align"],
  "sizes": [{"size": "6", "available": 1, "sold": 0, "reserved": 0}],
  "shipping": "$6.49 Shipping",
  "shipping_price": 6.49,
  "seller_discount": null,
  "seller_followers": 5045,
  "seller_listings": 675,
  "seller_orders_shipped": 381,
  "seller_items_sold": "400+",
  "seller_five_star_love_notes": 30,
  "seller_joined": "2021-01-07T21:50:56Z",
  "seller_last_active": "2026-10-30T17:55:19-07:00"
}

poshmark-scraper comps "lululemon align 25" --department Women --exclude bundle,lot (4 requests):

metric                       value
query                        lululemon align 25
sold listings used           91
sold median                  40.00 USD
sold mean                    46.71 USD
sold 25-75%                  24.50 USD - 60.00 USD
sold range                   15.00 USD - 133.00 USD
asking median                46.50 USD
sold total                   148,021
available total              31,096
sell-through                 82.6%
median discount vs original  59.35%
sold median (nwt, n=30)      58.00 USD
sold median (uln, n=28)      38.00 USD
sold median (ug, n=20)       26.00 USD
sold median (uf, n=4)        18.00 USD
sales between                2026-10-23 .. 2026-10-30

How it works

Each Poshmark page carries its full state as JSON (window.__INITIAL_STATE__): search results, listing details or closet data. The scraper asks ScrapeUnblocker's getPageSource for the page, reads that JSON and maps it to dataclasses, so it does not depend on CSS classes or page layout. The filters go into the same URL Poshmark's own filter menus build (/search?query=...&department=Women&size[]=28&availability=sold_out&sort_by=added_desc), and max_id=N asks for page N.

A few things worth knowing:

  • Requests. One request per page of 48 listings, one per listing page and one per closet page. comps makes --pages sold requests, one for the available listings and, with any sort other than relevance, one more for the exact sold total (skip it with --no-sell-through).
  • Totals. Poshmark prints exact totals in relevance order. Other sort orders round large totals, and the scraper reports those as null instead of a rounded number.
  • Sell-through is sold listings (all time) divided by sold plus currently available listings for the same search. It is a rough demand signal, not a sales rate for a period.
  • Comps sample. By default comps reads the most recently listed sold items (Poshmark's "Just In" order), which favours items that sold soon after listing. Use --sort relevance or --sold-within DAYS to change the sample.
  • Original price is the retail price a seller types in (null when they left it empty); discount_pct compares against it.
  • Subcategories are part of every record, but Poshmark's search does not filter by them; filter the output instead (for example with jq or pandas).

Please scrape responsibly: keep request rates modest, respect Poshmark's terms, and use the data for research, pricing and analysis.

Project layout

poshmark-scraper/
├── src/poshmark_scraper/
│   ├── __init__.py      # public API and __version__
│   ├── scraper.py       # PoshmarkScraper: fetch + retries, search, comps, listing, closet, watch
│   ├── parsing.py       # read __INITIAL_STATE__ into Listing / ListingDetails / Seller
│   ├── comps.py         # percentiles, price stats, sell-through
│   ├── urls.py          # SearchFilters and URL builders, ID parsing
│   ├── options.py       # sites, sorts, availability, conditions, departments
│   ├── models.py        # dataclasses
│   ├── export.py        # JSON / JSONL / CSV / table output
│   └── cli.py           # poshmark-scraper command
├── examples/            # search_to_json, sold_comps, new_listings_alert, closet_to_csv
├── tests/               # offline tests with a mocked client (no API credit used)
├── pyproject.toml
├── Makefile
└── .github/workflows/ci.yml

Development

pip install -e ".[dev]"
make lint      # ruff check + ruff format --check
make test      # pytest, offline
make format    # ruff format

The tests use synthetic pages shaped like Poshmark's and a fake client, so they run without an API key or network access.

Links

License

MIT - Copyright (c) 2026 ScrapeUnblocker. This project is not affiliated with or endorsed by Poshmark.

About

Scrape Poshmark listings, sold listings and sold-price comps (median, quartiles, sell-through), listing details and seller closets on poshmark.com and poshmark.ca as JSON or CSV, via the ScrapeUnblocker API. CLI + Python library.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages