Galaxus Product Reviews
Extract Galaxus product reviews - rating distribution, review text, reviewer metadata, comments, and pros/cons.
API usage
Add &scraper=galaxus-product-reviews to a Crawling API request. URL-encode the target URL in the url parameter.
curl 'https://api.crawlbase.com/?token=YOUR_TOKEN' \
--data-urlencode 'url=https://www.galaxus.ch/en/s6/product/ratings/lattafa-khamrah-eau-de-parfum-100-ml-fragrances-36152090' \
--data-urlencode 'scraper=galaxus-product-reviews' -Gfrom crawlbase import CrawlingAPI
api = CrawlingAPI({'token': 'YOUR_TOKEN'})
res = api.get(
'https://www.galaxus.ch/en/s6/product/ratings/lattafa-khamrah-eau-de-parfum-100-ml-fragrances-36152090',
{'scraper': 'galaxus-product-reviews'}
)
import json
data = json.loads(res['body'])const { CrawlingAPI } = require('crawlbase');
const api = new CrawlingAPI({ token: 'YOUR_TOKEN' });
const res = await api.get(
'https://www.galaxus.ch/en/s6/product/ratings/lattafa-khamrah-eau-de-parfum-100-ml-fragrances-36152090',
{ scraper: 'galaxus-product-reviews' }
);
const data = JSON.parse(res.body);require 'crawlbase'
api = Crawlbase::API.new(token: 'YOUR_TOKEN')
res = api.get('https://www.galaxus.ch/en/s6/product/ratings/lattafa-khamrah-eau-de-parfum-100-ml-fragrances-36152090', scraper: 'galaxus-product-reviews')
data = JSON.parse(res.body)Example input URL
The URL passed in the url parameter (URL-decoded for readability):
https://www.galaxus.ch/en/s6/product/ratings/lattafa-khamrah-eau-de-parfum-100-ml-fragrances-36152090Response shape
JSON response body. Field types may be null when the source page omits the value.
Product name.
Product brand.
Product ID.
Average rating.
Total ratings.
Reviews returned in this response.
Star buckets with counts.
Review entries.
Review title.
Review body text.
Rating from 1-5 stars.
ISO 8601 timestamp.
True when the reviewer is a verified buyer.
Reviewer profile (userName, avatar, profile URL).
Replies to the review.
Pros and cons entries.
Sample response
{
"productName": "Khamrah",
"productBrand": "Lattafa",
"productId": "36152090",
"averageRating": "4.57",
"totalRatings": "690",
"reviewsWithTextCount": "157",
"reviewsCount": 30,
"ratingDistribution": [
{ "stars": 5, "count": 522 },
{ "stars": 4, "count": 96 }
],
"reviews": [
{
"position": 1,
"id": "7541657",
"title": "Super",
"text": "Wirklich sehr gut, hält lange und riecht angenehm.",
"rating": 5,
"insertDate": "2024-07-01T19:58:44.418Z",
"upVoteCount": 11,
"downVoteCount": 3,
"isVerifiedBuyer": true,
"language": "de",
"reviewer": {
"userName": "DavidM88",
"userAvatarLink": "https://static.digitecgalaxus.ch/Files/gax_avatar_13.png",
"profileUrl": "https://www.galaxus.ch/en/user/ovy4mx8xwc"
},
"comments": [
{
"id": "120430",
"text": "Wo kann man das kaufen?",
"insertDate": "2024-08-31T17:16:40.757Z",
"upVoteCount": 1,
"downVoteCount": 0,
"language": "de"
}
],
"proContra": [
{ "id": "7541657-p-0", "isPro": true, "comment": "Perfekt" }
]
}
]
}