![StockX Scraper avatar](https://images.apifyusercontent.com/iZhrcrKhTSZL-lrx1qxez_b8bgdskJKcgc1JGt4OTC8/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vMjhyeHp4REVKenJMWnFMMDcvQkEzRDdlN093cjhVYWNOVGMtMXgxX0RyYWZ0cy0yXyUyODIlMjkucG5n.webp)
StockX Scraper
Try for free
Pay $4.00 for 1,000 results
View all Actors![StockX Scraper](https://images.apifyusercontent.com/iZhrcrKhTSZL-lrx1qxez_b8bgdskJKcgc1JGt4OTC8/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vMjhyeHp4REVKenJMWnFMMDcvQkEzRDdlN093cjhVYWNOVGMtMXgxX0RyYWZ0cy0yXyUyODIlMjkucG5n.webp)
![StockX Scraper](https://images.apifyusercontent.com/iZhrcrKhTSZL-lrx1qxez_b8bgdskJKcgc1JGt4OTC8/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vMjhyeHp4REVKenJMWnFMMDcvQkEzRDdlN093cjhVYWNOVGMtMXgxX0RyYWZ0cy0yXyUyODIlMjkucG5n.webp)
StockX Scraper
avaritia/stockx-scraper
Try for free
Pay $4.00 for 1,000 results
Scrape comprehensive publicly available data from stockx.com including detailed product information, market state, and sales trends. Utilize detailed transaction records and time-series data to analyze market dynamics and predict trends.
The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more
1import { ApifyClient } from 'apify-client';
2
3// Initialize the ApifyClient with your Apify API token
4const client = new ApifyClient({
5 token: '<YOUR_API_TOKEN>',
6});
7
8// Prepare Actor input
9const input = {
10 "scrapeInput": [
11 "https://stockx.com/air-jordan-4-retro-military-blue-2024",
12 "louis-vuitton-by-tyler-the-creator-multiple-wallet-chocolate-craggy-monogram"
13 ],
14 "dataType": "fetch_product_data",
15 "currencyCode": "USD",
16 "countryCode": "US"
17};
18
19(async () => {
20 // Run the Actor and wait for it to finish
21 const run = await client.actor("avaritia/stockx-scraper").call(input);
22
23 // Fetch and print Actor results from the run's dataset (if any)
24 console.log('Results from dataset');
25 console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
26 const { items } = await client.dataset(run.defaultDatasetId).listItems();
27 items.forEach((item) => {
28 console.dir(item);
29 });
30})();
31
32// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs
Developer
Maintained by Community
Actor metrics
- 9 monthly users
- 1 star
- 100.0% runs succeeded
- 5.9 days response time
- Created in Apr 2024
- Modified 8 days ago
Categories