# EU Supplement Advisor (`dadhalfdev/eu-supplement-advisor`) Actor

Recommend supplements from major EU shops based on a wellness shopping context. Prices in EUR. Not medical advice.

- **URL**: https://apify.com/dadhalfdev/eu-supplement-advisor.md
- **Developed by:** [Marco Rodrigues](https://apify.com/dadhalfdev) (community)
- **Categories:** AI, Agents, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$80.00 / 1,000 product recommendations

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## 🇪🇺 EU Supplement Advisor

Want supplement picks from major EU shops — not a US-only catalog? This actor turns a short wellness brief into **ranked live recommendations in euro (EUR)** with reasons.

Describe what you need (budget in €, form, preferences). The actor searches EU shops and returns a shortlist. **Not medical advice.**

### 💡 Perfect for...

- **Shoppers in the EU:** Turn “magnesium for sleep, capsules under €25” into concrete product links.
- **Health-tech / apps:** Offer grounded EU shop suggestions from user context.
- **🤖 AI Agents:** One structured input → ranked products with reasons and EUR prices.
- **🔗 Workflows:** Pipe recommendations into n8n, Make, LangChain, CrewAI, etc.

### ✨ Why you'll love this scraper

- 🧠 **Context → recommendations:** Plain-language need in, ranked products out.
- 🛒 **Live EU shop data:** Suggestions come from real listings (not invented SKUs).
- 💶 **Everything in euro:** Prices normalized to **EUR**; optional **max price** budget filter.
- ⚠️ **Safety framing:** Built-in disclaimer; wellness shopping aid only.

### 🏪 Shops covered

- Shop Apotheke (DE / AT)
- VitaminExpress
- DocMorris
- dm (Germany)
- Vitaminstore (NL)
- Holland & Barrett (IE / BE, EUR)
- Prozis (DE storefront, EUR)

More EU shops can be added as adapters land.

### 📦 What's inside the data?

Each run pushes:

1. **`run_meta`** — planned queries, budget, counts, disclaimer
2. **`recommendation` rows** — ranked products with reasons

Recommendation fields:

- **Rank / fit:** `rank`, `match_score`, `reason`, `cautions`
- **Product:** `product_id`, `name`, `brand`, `price_eur`, `currency`, `shop`, `ingredients`, `url`, `source_url`, `in_stock`
- **Provenance:** `source_query`

The dataset also includes one `run_meta` row (`type: "run_meta"`) with planned queries, budget, and disclaimer. Product rows no longer carry a `type` field.

### 🚀 Quick start

1. Write a **context** (what you need).
2. Optionally set **max\_price** (EUR), **preferences**, and `max_items`.
3. Click **Start** — export CSV/JSON when done.

***

#### Tech details for developers 🧑‍💻

**How it works**

1. Interprets your context into search queries for EU supplement shops
2. Scrapes live listings and filters by max price (EUR)
3. Ranks a shortlist from those candidates only (so product IDs stay real)

**Inputs**

| Field | Description |
|--------|-------------|
| `context` | Wellness shopping need (required) |
| `preferences` | Optional constraints |
| `max_price` | Optional budget cap in **EUR** |
| `max_items` | How many recommendations to return (default 5, max 30) |

**Input Example:**

```json
{
  "context": "Magnesium for evening wind-down; prefer capsules",
  "preferences": "Avoid melatonin",
  "max_price": 35,
  "max_items": 5
}
```

**Output Example (recommendation row):**

```json
{
  "rank": 1,
  "match_score": 90,
  "reason": "Well-known magnesium capsule format that fits evening wind-down shopping intent within the stated euro budget.",
  "cautions": "Not a substitute for medical care if sleep issues persist.",
  "product_id": "12345678",
  "name": "Example Magnesium Capsules",
  "brand": "Example Brand",
  "price_eur": 18.95,
  "currency": "EUR",
  "shop": "Shop Apotheke DE",
  "ingredients": "Magnesiumbisglycinat, Überzugsmittel (Hydroxypropylmethylcellulose), Trennmittel (Magnesiumsalze der Speisefettsäuren, Siliciumdioxid).",
  "url": "https://www.shop-apotheke.com/product/12345678.html",
  "source_url": "https://www.shop-apotheke.com/product/12345678.html",
  "in_stock": true
}
```

**Disclaimer:** Supplements are not medicines. This actor does not diagnose, treat, or prescribe. Check labels, allergens, and interactions yourself or with a clinician. All prices are in euro (EUR).

# Actor input Schema

## `context` (type: `string`):

What you want help shopping for (goals, preferences, lifestyle). Example: 'magnesium for sleep, prefer capsules under €25'.

## `preferences` (type: `string`):

Optional constraints: form (capsules/gummies/powder), brand likes/dislikes, avoid ingredients, vegan, etc.

## `max_price` (type: `number`):

Only consider products at or below this price in euro. Leave empty for no budget cap.

## `max_items` (type: `integer`):

How many product recommendations to return (1–30).

## Actor input object example

```json
{
  "context": "Magnesium for evening wind-down; prefer capsules under €25",
  "max_price": 40,
  "max_items": 5
}
```

# Actor output Schema

## `overview` (type: `string`):

Table view of recommendations using the dataset 'overview' view.

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

All items from the default dataset without view transformation.

# 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 = {
    "context": "Magnesium for evening wind-down; prefer capsules under €25",
    "max_price": 40,
    "max_items": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("dadhalfdev/eu-supplement-advisor").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 = {
    "context": "Magnesium for evening wind-down; prefer capsules under €25",
    "max_price": 40,
    "max_items": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("dadhalfdev/eu-supplement-advisor").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 '{
  "context": "Magnesium for evening wind-down; prefer capsules under €25",
  "max_price": 40,
  "max_items": 5
}' |
apify call dadhalfdev/eu-supplement-advisor --silent --output-dataset

```

## MCP server setup

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

```

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/YI16TKQ2RP2hDFD76/builds/MmIOdhkwkUXMxo1MP/openapi.json
