# SpaceNK (`datasaurus/spacenk`) Actor

Scrape localized Space NK product listings, details, variants, and initial reviews across country and language storefronts.

- **URL**: https://apify.com/datasaurus/spacenk.md
- **Developed by:** [datasaurus](https://apify.com/datasaurus) (community)
- **Security:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 product details

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Space NK

Scrape Space NK detailed product listings including variants, and customer reviews.

Scrape by whole site, category, brand, search, or product URL.

### Input

| Field | Default | Description |
|---|---:|---|
| `start_urls` | UK bestsellers URL | Homepage, listing, brand, search, or product URLs, including country paths such as `/uk/` and country and language paths such as `/fr_FR/`. |
| `max_products` | 48 | Maximum products per start URL. |
| `max_products_per_category` | Unset | Optional per-category cap used only when starting from a homepage to scrape the whole site. Leave unset to scrape all products in each category. Ignored for category, brand, search, and product URLs. |
| `scrape_product_page` | `false` | Fetch product details and variants. Direct product URLs always fetch details. |
| `max_reviews` | 0 | Maximum reviews per product, fetched newest first across review pages. 0 disables reviews. A positive value also enables product detail fetching. |
| `max_question_answers` | 0 | A positive value enables product detail fetching. Q\&A extraction is currently unsupported. |

### Example start URLs

Use any supported Space NK page as a `start_urls` entry. Examples span the UK (`/uk/`) and France country and language (`/fr_FR/`) storefront paths:

| Page type | Example URL |
|---|---|
| Homepage (UK) | `https://www.spacenk.com/uk/` |
| Listing (UK) | `https://www.spacenk.com/uk/skincare/skincare-bestsellers` |
| Brand (UK) | `https://www.spacenk.com/uk/brands/summer-fridays` |
| Search (UK) | `https://www.spacenk.com/uk/search?q=lip` |
| Product (UK) | `https://www.spacenk.com/uk/skincare/lipcare/lip-balm/lip-butter-balm-MUK200031226.html` |
| Homepage (France) | `https://www.spacenk.com/fr_FR/` |
| Listing (France) | `https://www.spacenk.com/fr_FR/soin` |

### Detail mode

`scrape_product_page: true`

Detail mode adds detailed product information `description`, page copy in `fullDescription`, extracted `benefits`, `ingredients`, `howToApply`, GTIN, size/colour, images, breadcrumbs, variants, aggregate ratings, and reviews up to `max_reviews`. `availableColors` and `availableSizes` are comma-separated, deduplicated values aggregated from product variants.

Example input:

```json
{
  "start_urls": [{"url": "https://www.spacenk.com/uk/search?q=lip"}],
  "max_products": 1,
  "scrape_product_page": true,
  "max_reviews": 12
}
```

Example output:

```json
{
  "sku": "UK200037846",
  "pid": "MUK200031226",
  "brand": "Summer Fridays",
  "name": "Lip Butter Balm",
  "price": 23.0,
  "currency": "GBP",
  "description": "Short product summary from JSON-LD.",
  "fullDescription": "The complete product description rendered on the product page, including paragraphs and key benefits.",
  "benefits": "Deep hydration; Helps soften lips",
  "ingredients": "Full ingredient list",
  "howToApply": "Apply a generous layer before bed.",
  "size": "15G",
  "colour": "PINK SUGAR",
  "availability": "InStock",
  "variants": [
    {
      "sku": "UK200031226",
      "colour": "VANILLA",
      "price": 23.0,
      "currency": "GBP",
      "availability": "InStock",
      "inStock": true
    }
  ],
  "reviews": [
    {
      "id": "185080117",
      "rating": 5,
      "ratingRange": 5,
      "title": "Lovely",
      "reviewText": "I absolutely love this lip mask! The Pumpkin Caramel scent is warm, sweet and perfect for autumn without being too overpowering. The texture feels rich and nourishing on the lips, and I wake up with my lips feeling noticeably softer and smoother. It’s also lovely to use before bed as part of my evening routine. A little goes a long way, and I’m really enjoying it.",
      "userNickname": "Lili1234455",
      "userLocation": "Birmingham",
      "submissionTime": "2026-09-25T13:37:55.000+00:00",
      "isRatingsOnly": false,
      "isRecommended": true,
      "isSyndicated": false,
      "helpfulVotes": 4,
      "unhelpfulVotes": 0
    }
  ],
  "market": "UK",
  "country": "GB",
  "marketPath": "/uk/",
  "locale": "en-GB",
  "language": "en",
  "requestedCountry": "GB",
  "requestedCurrency": "GBP",
  "localizationStatus": "matched",
  "link": "https://www.spacenk.com/uk/skincare/lipcare/lip-balm/lip-butter-balm-MUK200031226.html"
}
```

Review records include review text, location, recommendations, helpfulness votes, syndication status, and photos when available.

### Listing mode

`scrape_product_page: false`

Listing mode returns SKU/master ID, brand, name, current/previous price, currency, availability, image, badges, link, and localization fields. Empty fields are omitted.

Example input:

```json
{
  "start_urls": [{"url": "https://www.spacenk.com/uk/search?q=lip"}],
  "max_products": 1,
  "scrape_product_page": false,
  "max_reviews": 0
}
```

Example output (one shortened dataset record; products and prices can change):

```json
{
  "sku": "UK200037846",
  "pid": "MUK200031226",
  "brand": "Summer Fridays",
  "name": "Lip Butter Balm",
  "price": 23.0,
  "currency": "GBP",
  "availability": "InStock",
  "market": "UK",
  "country": "GB",
  "marketPath": "/uk/",
  "locale": "en-GB",
  "language": "en",
  "requestedCountry": "GB",
  "requestedCurrency": "GBP",
  "localizationStatus": "matched",
  "link": "https://www.spacenk.com/uk/skincare/lipcare/lip-balm/lip-butter-balm-MUK200031226.html"
}
```

Keep `max_reviews` and `max_question_answers` at 0 for listing-only extraction. A positive value enables detail fetching even when `scrape_product_page` is false.

### Pricing

| Event | Price | When charged |
|---|---:|---|
| `product-summary` | $0.002 | Each product collected from a listing page. |
| `product-detail` | $0.005 | Each product collected with full details from its individual product page. |
| `review` | $0.0005 | Each review. |

### Localization

Check `country`, `currency`, and `localizationStatus` before using records as localized prices. Space NK can return a different delivery country/currency from the requested destination.

### AI agents and integrations

Connect chat clients such as Claude and ChatGPT to this Apify scraper through the Apify MCP server.

# Actor input Schema

## `start_urls` (type: `array`):

Space NK homepage, category, brand, search, or product URLs, including /uk/, /us/, /ie/, /nl/, /fr/ and /fr_FR/. Known markets explicitly request delivery country/currency; output records the actual response and flags localization fallbacks.

## `max_products` (type: `integer`):

Global result cap for each start URL.

## `max_products_per_category` (type: `integer`):

Optional cap for each category discovered when starting from the homepage. Leave unset to scrape all products in each category. Ignored for category, brand, search, or product start URLs.

## `scrape_product_page` (type: `boolean`):

Fetch each product detail page for complete details and variants. Automatically enabled when max_reviews is greater than 0.

## `max_reviews` (type: `integer`):

Maximum reviews per product. 0 disables reviews. A positive value forces the product_detail_page to be fetched in order to read the reviews.

## Actor input object example

```json
{
  "start_urls": [
    {
      "url": "https://www.spacenk.com/uk/skincare/skincare-bestsellers"
    }
  ],
  "max_products": 10,
  "scrape_product_page": false,
  "max_reviews": 0
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "start_urls": [
        {
            "url": "https://www.spacenk.com/uk/skincare/skincare-bestsellers"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("datasaurus/spacenk").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "start_urls": [{ "url": "https://www.spacenk.com/uk/skincare/skincare-bestsellers" }] }

# Run the Actor and wait for it to finish
run = client.actor("datasaurus/spacenk").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "start_urls": [
    {
      "url": "https://www.spacenk.com/uk/skincare/skincare-bestsellers"
    }
  ]
}' |
apify call datasaurus/spacenk --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,datasaurus/spacenk"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/UsgHAbZ6FVGIUXjm4/builds/wvhpxxPHgPCVo9izZ/openapi.json
