Purple Scraper
Spider read purple.com in 179 ms without a browser and returned 120 lines of clean markdown.
Learn what makes us differentMattresses recommended for youThe GelFlex Grid contours to your body and draws away heat. Find your perfect sleep position, trigger your natural sleep cycle +drift off effortlessly.The GelFlex Grid adapts instantly to absorb motion, equalize pressure, and balance temperature. Sleep deeper without interruptions or heat spikes.The GelFlex Grid eases strain on joints + tender spots while aligning your spine. Wake up restored and ready for the day with less morning stiffness.Get your mattress shipped straight to you at no extra cost – with complimentary in-home setup available for select mattresses.If there's something wrong with your mattress, we'll replace it for up to 10 years, starting from the date of original purchase.Find a lower price for your mattress, we’ll match it.*according to 125k+ 5-star reviews*> > The first night we slept on it...all we could say was how amazing we felt! We both woke refreshed and to my excitement I had no backaches!! Heidi R. PurplePlus® Mattress * Hot sleepers> > It relieves every pressure point. It aligned my spine. It supports you, keeps you cool and alleviates pressure points without that sunken-in feeling.> > I love this mattress! My chiropractor recommended it. I sleep well & wake without body pain. I also don't feel my spouse move which is a plus. Julie F. RestorePlus® Hybrid Mattress Next Step Next Step Go to slide 1 of 3 Go to slide 2 of 3 Go to slide 3 of 3 * Aches + pains> > The first night we slept on it...all we could say was how amazing we felt! We both woke refreshed and to my excitement I had no backaches!!> > It relieves every pressure point. It aligned my spine. It supports you, keeps you cool and alleviates pressure points without that sunken-in feeling. Daniel M. The Purple Mattress® * Couples The same call, in code.
The capture above came back as markdown. These examples add a key, so you get browser rendering, proxies, and concurrency on purple.com.
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://purple.com/mattresses");
// No selectors, no schema. Spider reads the page and names the fields.
const data = await page.scrape();
console.log(data);
await spider.close(); import { SpiderBrowser } from "spider-browser";
const spider = new SpiderBrowser({
apiKey: process.env.SPIDER_API_KEY!,
stealth: 2,
});
await spider.connect();
const page = spider.page!;
await page.goto("https://purple.com/mattresses");
await page.content();
const data = await page.evaluate(`(() => {
const items = [];
document.querySelectorAll(".product-tile").forEach(el => {
const name = el.querySelector(".product-tile__name")?.textContent?.trim();
const price = el.querySelector(".product-tile__price")?.textContent?.trim();
const desc = el.querySelector(".product-tile__description")?.textContent?.trim();
if (name) items.push({ name, price, desc });
});
return JSON.stringify({ total: items.length, items });
})()`);
console.log(JSON.parse(data));
await spider.close(); Ready for volume? Get an API key →
Fields you can pull.
Spider names these from the page. The capture above came back as markdown; the same
call with return_format: "json" returns them as keys.
What purple.com costs to scrape.
The capture above cost $0.000795 to fetch. Pricing is $1 per GB of pre-transformation bandwidth plus $0.001 per CPU minute, so a page like this one lands at a fraction of a cent. Failed requests are billed at $0.
- Free balance on signup
- No card required to test
- Balance never expires
Run it keyless, no account
More E-Commerce scrapers.
Amazon Scraper
Extract product listings, prices, reviews, seller data, and Best Seller rankings from Amazon at scale. Anti-bot bypass with CAPTCHA solving and residential proxy rotation.
Walmart Scraper
Extract Walmart product listings, pricing, inventory levels, and store availability. PerimeterX bypass with CAPTCHA solving and residential proxy rotation.
eBay Scraper
Extract auction listings, buy-it-now prices, seller ratings, bid history, and completed sales data from eBay. Reliable extraction across all eBay categories and international domains.
Start scraping purple.com.
You already have the call. A key raises the rate limit and turns on browser rendering, proxies, and concurrency. Balance never expires, and top-ups go through secure checkout.