Forever21 Product
curl --request GET \
--url https://app.retailed.io/api/v1/scraper/forever21/product \
--header 'x-api-key: <x-api-key>'import requests
url = "https://app.retailed.io/api/v1/scraper/forever21/product"
headers = {"x-api-key": "<x-api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<x-api-key>'}};
fetch('https://app.retailed.io/api/v1/scraper/forever21/product', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.retailed.io/api/v1/scraper/forever21/product",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <x-api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.retailed.io/api/v1/scraper/forever21/product"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<x-api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.retailed.io/api/v1/scraper/forever21/product")
.header("x-api-key", "<x-api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.retailed.io/api/v1/scraper/forever21/product")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<x-api-key>'
response = http.request(request)
puts response.read_body{
"sku": "2001287756",
"name": "Denim Utility Cargo Joggers",
"color": "LIGHT DENIM",
"price": 38,
"images": [
"https://www.forever21.com/dw/image/v2/BFKH_PRD/on/demandware.static/-/Sites-f21-master-catalog/default/dw672d716b/1_front_750/01287756-01.jpg?sw=1000&sh=1500",
"https://www.forever21.com/dw/image/v2/BFKH_PRD/on/demandware.static/-/Sites-f21-master-catalog/default/dw40723e69/2_side_750/01287756-01.jpg?sw=1000&sh=1500",
"https://www.forever21.com/dw/image/v2/BFKH_PRD/on/demandware.static/-/Sites-f21-master-catalog/default/dw7903d5e9/3_back_750/01287756-01.jpg?sw=1000&sh=1500",
"https://www.forever21.com/dw/image/v2/BFKH_PRD/on/demandware.static/-/Sites-f21-master-catalog/default/dw4cab3a46/4_full_750/01287756-01.jpg?sw=1000&sh=1500",
"https://www.forever21.com/dw/image/v2/BFKH_PRD/on/demandware.static/-/Sites-f21-master-catalog/default/dwfa87662d/5_detail_750/01287756-01.jpg?sw=1000&sh=1500",
"https://www.forever21.com/dw/image/v2/BFKH_PRD/on/demandware.static/-/Sites-f21-master-catalog/default/dw458a9fc1/7_additional_750/01287756-01.jpg?sw=1000&sh=1500"
],
"description": "Crafted from non-stretch denim, this pair of joggers features a high-rise waist, belt loops, zip fly and button-front closure, slanted front pockets, elasticized trim, leg utility carpenter strap, and leg and back patch pockets.",
"price_currency": "EUR"
}
Forever21
Forever21 Product
Get product information from Forever21
GET
/
api
/
v1
/
scraper
/
forever21
/
product
Forever21 Product
curl --request GET \
--url https://app.retailed.io/api/v1/scraper/forever21/product \
--header 'x-api-key: <x-api-key>'import requests
url = "https://app.retailed.io/api/v1/scraper/forever21/product"
headers = {"x-api-key": "<x-api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<x-api-key>'}};
fetch('https://app.retailed.io/api/v1/scraper/forever21/product', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.retailed.io/api/v1/scraper/forever21/product",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <x-api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.retailed.io/api/v1/scraper/forever21/product"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<x-api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.retailed.io/api/v1/scraper/forever21/product")
.header("x-api-key", "<x-api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.retailed.io/api/v1/scraper/forever21/product")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<x-api-key>'
response = http.request(request)
puts response.read_body{
"sku": "2001287756",
"name": "Denim Utility Cargo Joggers",
"color": "LIGHT DENIM",
"price": 38,
"images": [
"https://www.forever21.com/dw/image/v2/BFKH_PRD/on/demandware.static/-/Sites-f21-master-catalog/default/dw672d716b/1_front_750/01287756-01.jpg?sw=1000&sh=1500",
"https://www.forever21.com/dw/image/v2/BFKH_PRD/on/demandware.static/-/Sites-f21-master-catalog/default/dw40723e69/2_side_750/01287756-01.jpg?sw=1000&sh=1500",
"https://www.forever21.com/dw/image/v2/BFKH_PRD/on/demandware.static/-/Sites-f21-master-catalog/default/dw7903d5e9/3_back_750/01287756-01.jpg?sw=1000&sh=1500",
"https://www.forever21.com/dw/image/v2/BFKH_PRD/on/demandware.static/-/Sites-f21-master-catalog/default/dw4cab3a46/4_full_750/01287756-01.jpg?sw=1000&sh=1500",
"https://www.forever21.com/dw/image/v2/BFKH_PRD/on/demandware.static/-/Sites-f21-master-catalog/default/dwfa87662d/5_detail_750/01287756-01.jpg?sw=1000&sh=1500",
"https://www.forever21.com/dw/image/v2/BFKH_PRD/on/demandware.static/-/Sites-f21-master-catalog/default/dw458a9fc1/7_additional_750/01287756-01.jpg?sw=1000&sh=1500"
],
"description": "Crafted from non-stretch denim, this pair of joggers features a high-rise waist, belt loops, zip fly and button-front closure, slanted front pockets, elasticized trim, leg utility carpenter strap, and leg and back patch pockets.",
"price_currency": "EUR"
}
Header
Parameter defines the Retailed private key to use.
Parameters
Product URL
Response
{
"sku": "2001287756",
"name": "Denim Utility Cargo Joggers",
"color": "LIGHT DENIM",
"price": 38,
"images": [
"https://www.forever21.com/dw/image/v2/BFKH_PRD/on/demandware.static/-/Sites-f21-master-catalog/default/dw672d716b/1_front_750/01287756-01.jpg?sw=1000&sh=1500",
"https://www.forever21.com/dw/image/v2/BFKH_PRD/on/demandware.static/-/Sites-f21-master-catalog/default/dw40723e69/2_side_750/01287756-01.jpg?sw=1000&sh=1500",
"https://www.forever21.com/dw/image/v2/BFKH_PRD/on/demandware.static/-/Sites-f21-master-catalog/default/dw7903d5e9/3_back_750/01287756-01.jpg?sw=1000&sh=1500",
"https://www.forever21.com/dw/image/v2/BFKH_PRD/on/demandware.static/-/Sites-f21-master-catalog/default/dw4cab3a46/4_full_750/01287756-01.jpg?sw=1000&sh=1500",
"https://www.forever21.com/dw/image/v2/BFKH_PRD/on/demandware.static/-/Sites-f21-master-catalog/default/dwfa87662d/5_detail_750/01287756-01.jpg?sw=1000&sh=1500",
"https://www.forever21.com/dw/image/v2/BFKH_PRD/on/demandware.static/-/Sites-f21-master-catalog/default/dw458a9fc1/7_additional_750/01287756-01.jpg?sw=1000&sh=1500"
],
"description": "Crafted from non-stretch denim, this pair of joggers features a high-rise waist, belt loops, zip fly and button-front closure, slanted front pockets, elasticized trim, leg utility carpenter strap, and leg and back patch pockets.",
"price_currency": "EUR"
}
Was this page helpful?
⌘I

