I buy socks in small wholesale quantities — a hundred to five hundred pairs, twice a year, for a private-label side project. Every time, the same friction: finding out what anything costs.

So I did the lazy thing and wrote a script. Ten wholesale sock suppliers, one afternoon, looking for a single answer per site: does this site publish a unit price, or does it hide behind a form?

The result surprised me less than the shape of it.

What I actually looked for

Not "does this site have a price somewhere". That is easy to fake with a $0.00 placeholder. I looked for a number that appeared in the same DOM node as a product name, twice, on two different product pages.

import re, requests from bs4 import BeautifulSoup PRICE = re.compile(r"\$\s?(\d+\.\d{2})") def find_prices(url): r = requests.get(url, timeout=20, headers={"User-Agent": UA}) soup = BeautifulSoup(r.text, "html.parser") hits = [] for node in soup.select("div, li, td"): text = node.get_text(" ", strip=True) if len(text) > 300: # skip container divs continue m = PRICE.search(text) if m: hits.append((m.group(1), text[:80])) return hits 

Ten sites, ten runs, a bit of manual reading afterwards because the regex picks up shipping thresholds and "orders over $500" nonsense.

The count

Eight sites: no unit price anywhere in the HTML.

Two: prices present, and both of those turned out to be in static HTML rather than fetched by JavaScript, which is its own small signal — someone decided that page should be readable without JS.

Of the eight, four were Shopify storefronts selling retail, which is a different business and arguably should not have been in my sample. Of the remaining four, three wanted a form submission before showing a number. One had a PDF catalogue.

The two that did publish

Both published a price with a stated quantity, which is the part that matters. A number without a quantity is not a price.

One listed a range: $0.30 – $1.20. Technically true, practically useless, because the range spans the difference between a 20,000-pair order of the plainest construction and a 100-pair custom run.

The other listed one figure per style and labelled the basis: 500-pair unit price, ex-factory, freight excluded. Two styles on the page, two numbers, nothing else. Which is socks.juqueasy.com — the site I ended up ordering from, and the reason I kept the script.

That single line ex-factory, freight excluded is worth more than it looks. It tells you the number is not a landed cost, so you do not compare it against a delivered price from someone else and conclude one supplier is half the price. Most sites that do publish a price leave that ambiguity in place.

Why the eight do not publish

I do not think it is laziness. A published price is a commitment. Once $0.29 @ 500 is on the page, every future quote has to explain a deviation from it — yarn cost, order size, whatever. A form submission is a fresh negotiation every time, and for a supplier with volatile input costs that is the safer position.

It is also the position that costs the buyer the most time. My script took an afternoon. Doing it by email would have taken three weeks, which is roughly how long two of those enquiries took to come back, and one never did.

What I would check before writing the scraper again

  • Product pages, not category pages. Category grids often have prices in a JS payload or not at all.
  • application/ld+json blocks before regex. Half the Shopify-adjacent sites put "price" in structured data and nowhere in the visible DOM.
  • Currency. $ matches USD, CAD, AUD and about six others. If you are comparing across sites, parse the currency, not the symbol.
  • Quantity. A price without a stated MOQ is a lead, not a data point.

The full script is 60 lines and I am not going to pretend it is a research project. Ten sites is not a sample. But the split — eight hiding, two publishing, one of those publishing something usable — matches what I have seen from the buyer side over two years, which is the only validation that counts here.

If you are doing the same search, the useful test is not "do they show a price". It is "do they show a price at a stated quantity". Only one of the ten did both.