Glossier Beauty Scraper
Extract skincare and makeup product details, shade ranges, and reviews from Glossier product pages. Powered by spider-browser .
Extract data in minutes
import { SpiderBrowser } from "spider-browser";
const spider = new SpiderBrowser({
apiKey: process.env.SPIDER_API_KEY!,
});
await spider.connect();
const page = spider.page!;
await page.goto("https://www.glossier.com/products");
await page.content();
const data = await page.evaluate(`(() => {
const items = [];
document.querySelectorAll("[data-testid='product-card']").forEach(el => {
const name = el.querySelector("[data-testid='product-card-name']")?.textContent?.trim();
const price = el.querySelector("[data-testid='product-card-price']")?.textContent?.trim();
const subtitle = el.querySelector("[data-testid='product-card-subtitle']")?.textContent?.trim();
if (name) items.push({ name, price, subtitle });
});
return JSON.stringify({ total: items.length, items: items.slice(0, 10) });
})()`);
console.log(JSON.parse(data));
await spider.close(); Structured data endpoint
Extract structured JSON from glossier.com with a single POST request. AI-configured selectors, cached for fast repeat calls.
/fetch/glossier.com/ curl -X POST https://api.spider.cloud/fetch/glossier.com/ \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"return_format": "json"}' import requests
resp = requests.post(
"https://api.spider.cloud/fetch/glossier.com/",
headers={
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json",
},
json={"return_format": "json"},
)
print(resp.json()) const resp = await fetch("https://api.spider.cloud/fetch/glossier.com/", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({ return_format: "json" }),
});
const data = await resp.json();
console.log(data); Data you can extract
Fashion price tracking
Monitor product prices, sales, and stock availability on glossier.com.
Protection bypass
Handle Cloudflare and custom bot detection on fashion e-commerce platforms.
Product catalogs
Extract sizes, colors, materials, and style information from product listings.
More Fashion & Beauty scrapers
Extract product listings, pricing, size availability, and collection data from Zara fashion pages.
Extract clothing listings, prices, color variants, and sustainability info from H&M product pages.
Extract fashion listings, brand names, pricing, and sale data from ASOS online store pages.
Start scraping glossier.com
Get your API key and start extracting data in minutes.