Forever21 Scraper avatar
Forever21 Scraper

Pricing

$15.00/month + usage

Go to Store
Forever21 Scraper

Forever21 Scraper

Developed by

epctex

epctex

Maintained by Community

Extract any product data from Forever21 easily! Images, sizes, SKUs, quantities, colors, and many more values are ready for you. Search for any keyword, filter by your needs, or get category pages! Export your data by XML, JSON, CSV, Excel or HTML.

0.0 (0)

Pricing

$15.00/month + usage

2

Total users

52

Monthly users

2

Runs succeeded

>99%

Last modified

19 hours ago

Actor - Forever21 Scraper

Forever21 scraper

Since Forever21 doesn't provide an API, this actor should help you to retrieve data from it.

The Forever21 data scraper supports the following features:

  • Scrape product details - Get the images, price, colors, sizes, and many more fields of any product!

  • Scrape any categories - Pick your category, select any filters as you like, and scrape all the products that are showing up.

  • Scrape and search by keyword - Built-in keyword search in Forever21. You can search any keyword and retrieve all the results. Change the page, filter, or keyword as you like.

Bugs, fixes, updates, and changelog

This scraper is under active development. If you have any feature requests you can create an issue from here.

Input Parameters

The input of this scraper should be JSON containing the list of pages on Forever21 that should be visited. Possible fields are:

  • search: (Optional) (String) Keyword that you want to search on Forever21.

  • startUrls: (Optional) (Array) List of Forever21 URLs. You should only provide product detail, search, or category URLs.

  • endPage: (Optional) (Number) Final number of page that you want to scrape. The default is Infinite. This applies to all search requests and startUrls individually.

  • maxItems: (Optional) (Number) You can limit scraped items. This should be useful when you search through the big lists or search results.

  • proxy: (Required) (Proxy Object) Proxy configuration.

  • extendOutputFunction: (Optional) (String) Function that takes a JQuery handle ($) as an argument and returns an object with data.

  • customMapFunction: (Optional) (String) Function that takes each object's handle as an argument and returns the object with executing the function.

This solution requires the use of Proxy servers, either your own proxy servers or you can use Apify Proxy.

Tip

When you want to have a scrape over a specific item URL, just copy and paste the link as one of the startUrl.

If you would like to scrape only the first page of a list then put the link for the page and have the endPage as 1.

With the last approach that is explained above you can also fetch any interval of pages. If you provide the 5th page of a list and define the endPage parameter as 6 then you'll have the 5th and 6th pages only.

Compute Unit Consumption

The actor is optimized to run blazing fast and scrape many items as possible. Therefore, it forefronts all item detail requests. If the actor doesn't block very often it'll scrape 100 items in 1 minute with ~0.2-0.3 compute units.

Forever21 Scraper Input example

{
"startUrls": [
"https://www.forever21.com/products/chaps-mens-9-flat-front-stretch-twill-short-129002-washed-red?_pos=3&_sid=6b399effe&_ss=r?variant=41408687407138",
"https://www.forever21.com/collections/mens-tees",
"https://www.forever21.com/search?q=green+shoes&options%5Bprefix%5D=last&type=product"
],
"search":"black",
"endPage": 1,
"maxItems": 20,
"proxyConfiguration": {
"useApifyProxy": true
}
}

During the Run

During the run, the actor will output messages letting you know what is going on. Each message always contains a short label specifying which page from the provided list is currently specified. When items are loaded from the page, you should see a message about this event with a loaded item count and total item count for each page.

If you provide incorrect input to the actor, it will immediately stop with a failure state and output an explanation of what is wrong.

Forever21 Export

During the run, the actor stores results into a dataset. Each item is a separate item in the dataset.

You can manage the results in any language (Python, PHP, Node JS/NPM). See the FAQ or our API reference to learn more about getting results from this Forever21 actor.

Scraped Forever21 Products

The structure of each item in Forever21 products looks like this:

{
"id": "7318906077218",
"title": "Chap's Men's 9\" Flat Front Stretch Twill Short",
"url": "https://www.forever21.com/products/chaps-mens-9-flat-front-stretch-twill-short-129002-washed-red?_pos=3&_sid=6b399effe&_ss=r?variant=41408687407138",
"images": [
"http://www.forever21.com/cdn/shop/files/960597_source_1680804246_c72e0496-9597-406a-8c22-384d2670f477.jpg?v=1746059199",
"http://www.forever21.com/cdn/shop/files/CHM_CM00SH151_AMN_01_01__73336_fc8b90f3-bd51-4c8a-8d15-a6cdc8060398.jpg?v=1746059199",
"http://www.forever21.com/cdn/shop/files/CHM_CM00SH151_AMN_01_03__30747_ace2b430-952c-4a36-a34a-29fb643eb974.jpg?v=1746059199",
"http://www.forever21.com/cdn/shop/files/CHM_CM00SH151_AMN_01_02__01847_e9191f8c-d7a3-4db7-8d8c-d4bca51c797a.jpg?v=1746059199",
"http://www.forever21.com/cdn/shop/files/Chaps_Size_Chart__95989_d4ed2c5d-9659-4f91-8948-d0d4c520b43f.jpg?v=1746059199",
"http://www.forever21.com/cdn/shop/files/960597_source_1680804246_69x_1d13310f-ede4-4542-870f-3f8402510117.jpg?v=1745964882"
],
"isFinalSale": true,
"descriptionText": "The Chap's 9\" stretch twill flat front short is our most popular short for a reason: it goes with everything and you'll wear it everyday as you enjoy the warm days of Summer. Pair it with our short sleeve wovens for a dressy look, or with a tee or polo for a casual dockside vibe. It's also the most comfortable short in our assortment because of our logo'd flex waistband that offers extra give and movement where you need it most.Product Care : Machine Wash Cold, With Like Colors, Only Non-Chlorine Bleach When Needed, Tumble Dry Low, Cool Iron If Necessary.Material : 98 %Cotton, 2% Elastane",
"descriptionHtml": "<p>The Chap's 9\" stretch twill flat front short is our most popular short for a reason: it goes with everything and you'll wear it everyday as you enjoy the warm days of Summer. Pair it with our short sleeve wovens for a dressy look, or with a tee or polo for a casual dockside vibe. It's also the most comfortable short in our assortment because of our logo'd flex waistband that offers extra give and movement where you need it most.</p><p><strong>Product Care : </strong>Machine Wash Cold, With Like Colors, Only Non-Chlorine Bleach When Needed, Tumble Dry Low, Cool Iron If Necessary.</p><p><strong>Material : </strong>98 %Cotton, 2% Elastane</p>\n",
"variants": [
{
"isDiscounted": true,
"value": 26,
"price": "$26.00",
"originalPrice": "$65.00",
"color": "Washed Red",
"sizes": [
{
"size": "30",
"isAvailable": true
},
{
"size": "32",
"isAvailable": true
},
{
"size": "34",
"isAvailable": true
},
{
"size": "36",
"isAvailable": true
},
{
"size": "38",
"isAvailable": true
},
{
"size": "40",
"isAvailable": false
},
{
"size": "42",
"isAvailable": false
}
]
},
{
"isDiscounted": true,
"value": 18,
"price": "$18.00",
"originalPrice": "$45.00",
"color": "American Navy",
"sizes": [
{
"size": "30",
"isAvailable": false
},
{
"size": "32",
"isAvailable": false
},
{
"size": "34",
"isAvailable": true
},
{
"size": "36",
"isAvailable": true
},
{
"size": "38",
"isAvailable": false
},
{
"size": "40",
"isAvailable": true
},
{
"size": "42",
"isAvailable": false
}
]
}
]
}

Contact

Please visit us through epctex.com to see all the products that are available for you. If you are looking for any custom integration or so, please reach out to us through the chat box in epctex.com. In need of support? business@epctex.com is at your service.