Log in

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' -G
from 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-36152090

Response shape

JSON response body. Field types may be null when the source page omits the value.

productName
string
Product name.
productBrand
string
Product brand.
productId
string
Product ID.
averageRating
string
Average rating.
totalRatings
string
Total ratings.
reviewsCount
integer
Reviews returned in this response.
ratingDistribution
array
Star buckets with counts.
reviews
array
Review entries.
reviews[].title
string
Review title.
reviews[].text
string
Review body text.
reviews[].rating
integer
Rating from 1-5 stars.
reviews[].insertDate
string
ISO 8601 timestamp.
reviews[].isVerifiedBuyer
boolean
True when the reviewer is a verified buyer.
reviews[].reviewer
object
Reviewer profile (userName, avatar, profile URL).
reviews[].comments
array
Replies to the review.
reviews[].proContra
array
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" }
      ]
    }
  ]
}