Goat Prices
curl --request GET \
--url https://app.retailed.io/api/v1/scraper/goat/prices \
--header 'x-api-key: <x-api-key>'import requests
url = "https://app.retailed.io/api/v1/scraper/goat/prices"
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/goat/prices', 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/goat/prices",
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/goat/prices"
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/goat/prices")
.header("x-api-key", "<x-api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.retailed.io/api/v1/scraper/goat/prices")
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[
{
"sizeOption": {
"value": 3,
"presentation": "3"
},
"stockStatus": "not_in_stock",
"boxCondition": "good_condition",
"shoeCondition": "new_no_defects",
"lowestPriceCents": {
"currency": "USD"
},
"lastSoldPriceCents": {
"amount": 13400,
"currency": "USD",
"amountUsdCents": 13400
},
"instantShipLowestPriceCents": {
"currency": "USD"
}
},
{
"sizeOption": {
"value": 3.5,
"presentation": "3.5"
},
"stockStatus": "not_in_stock",
"boxCondition": "good_condition",
"shoeCondition": "new_no_defects",
"lowestPriceCents": {
"currency": "USD"
},
"lastSoldPriceCents": {
"amount": 16200,
"currency": "USD",
"amountUsdCents": 16200
},
"instantShipLowestPriceCents": {
"currency": "USD"
}
},
{
"sizeOption": {
"value": 3.5,
"presentation": "3.5"
},
"stockStatus": "not_in_stock",
"boxCondition": "badly_damaged",
"shoeCondition": "new_no_defects",
"lowestPriceCents": {
"currency": "USD"
},
"lastSoldPriceCents": {
"amount": 24000,
"currency": "USD",
"amountUsdCents": 24000
},
"instantShipLowestPriceCents": {
"currency": "USD"
}
}
]
Goat
Goat Prices
Returns the latest prices for a given product on Goat.
GET
/
api
/
v1
/
scraper
/
goat
/
prices
Goat Prices
curl --request GET \
--url https://app.retailed.io/api/v1/scraper/goat/prices \
--header 'x-api-key: <x-api-key>'import requests
url = "https://app.retailed.io/api/v1/scraper/goat/prices"
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/goat/prices', 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/goat/prices",
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/goat/prices"
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/goat/prices")
.header("x-api-key", "<x-api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.retailed.io/api/v1/scraper/goat/prices")
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[
{
"sizeOption": {
"value": 3,
"presentation": "3"
},
"stockStatus": "not_in_stock",
"boxCondition": "good_condition",
"shoeCondition": "new_no_defects",
"lowestPriceCents": {
"currency": "USD"
},
"lastSoldPriceCents": {
"amount": 13400,
"currency": "USD",
"amountUsdCents": 13400
},
"instantShipLowestPriceCents": {
"currency": "USD"
}
},
{
"sizeOption": {
"value": 3.5,
"presentation": "3.5"
},
"stockStatus": "not_in_stock",
"boxCondition": "good_condition",
"shoeCondition": "new_no_defects",
"lowestPriceCents": {
"currency": "USD"
},
"lastSoldPriceCents": {
"amount": 16200,
"currency": "USD",
"amountUsdCents": 16200
},
"instantShipLowestPriceCents": {
"currency": "USD"
}
},
{
"sizeOption": {
"value": 3.5,
"presentation": "3.5"
},
"stockStatus": "not_in_stock",
"boxCondition": "badly_damaged",
"shoeCondition": "new_no_defects",
"lowestPriceCents": {
"currency": "USD"
},
"lastSoldPriceCents": {
"amount": 24000,
"currency": "USD",
"amountUsdCents": 24000
},
"instantShipLowestPriceCents": {
"currency": "USD"
}
}
]
Header
Parameter defines the Retailed private key to use.
Parameters
Goat product ID such as
719082.Country code to filter prices :
UK, FR, US. Default is US.Response
Hide properties
Hide properties
Stock status
Box condition
Shoe condition
[
{
"sizeOption": {
"value": 3,
"presentation": "3"
},
"stockStatus": "not_in_stock",
"boxCondition": "good_condition",
"shoeCondition": "new_no_defects",
"lowestPriceCents": {
"currency": "USD"
},
"lastSoldPriceCents": {
"amount": 13400,
"currency": "USD",
"amountUsdCents": 13400
},
"instantShipLowestPriceCents": {
"currency": "USD"
}
},
{
"sizeOption": {
"value": 3.5,
"presentation": "3.5"
},
"stockStatus": "not_in_stock",
"boxCondition": "good_condition",
"shoeCondition": "new_no_defects",
"lowestPriceCents": {
"currency": "USD"
},
"lastSoldPriceCents": {
"amount": 16200,
"currency": "USD",
"amountUsdCents": 16200
},
"instantShipLowestPriceCents": {
"currency": "USD"
}
},
{
"sizeOption": {
"value": 3.5,
"presentation": "3.5"
},
"stockStatus": "not_in_stock",
"boxCondition": "badly_damaged",
"shoeCondition": "new_no_defects",
"lowestPriceCents": {
"currency": "USD"
},
"lastSoldPriceCents": {
"amount": 24000,
"currency": "USD",
"amountUsdCents": 24000
},
"instantShipLowestPriceCents": {
"currency": "USD"
}
}
]
Was this page helpful?
⌘I

