# Microless Scraper (`dadhalfdev/microless-scraper`) Actor

Scrape electronics from microless.com GCC storefronts. Use filters or paste a Microless URL — the URL wins when set. Returns local-currency price, stock, and photos.

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

## Pricing

from $3.00 / 1,000 results

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?

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

## 🛒 Microless Scraper

Want [Microless](https://uae.microless.com/laptops/) electronics in a spreadsheet? This scraper makes it easy.

Use **structured filters** (GCC country, category, search query) — structured filters work better for AI agents — **or** paste an **`input_url`** from Microless once you've already filtered in the browser. When `input_url` is set it overrides the filters below.

Microless is a large GCC electronics shop (laptops, GPUs, phones, accessories). Laptops alone run past **1,000** SKUs; accessories past **6,000**. This actor reads the **public category and search pages** and returns up to 2000 rows per run.

### 💡 Perfect for...

- **Retailers:** Export laptops, GPUs, and accessories with local AED / SAR / KWD / QAR prices.
- **Dashboards:** Compare UAE vs Saudi vs Kuwait storefronts without paging by hand.
- **Market research:** Slice by category or a search query such as RTX.
- **Data analysts:** Export structured Microless rows with public product URLs.
- **🤖 AI Agents:** Power Claude, Cursor, Codex, the Hermes Agent, and OpenClaw workflows with live Microless results.
- **📚 RAG Systems:** Feed titles, prices, and stock into retrieval pipelines.
- **🔗 AI Workflows:** Plug into LangChain, AutoGPT, CrewAI, and similar stacks.

### ✨ Why you'll love this scraper

- 🔗 **Input URL or Filters:** Paste a `/{category}/` or `/search/?query=` URL (`input_url`) if you already filtered in the browser, or use structured filters (better for AI agents). `input_url` always wins when set.
- 🎯 **Website-Matched Filters:** Same GCC hosts (`uae.microless.com`, `saudi.microless.com`, …) and category slugs as the site.
- 🌐 **Local prices:** AED, SAR, KWD, QAR, BHD, or OMR depending on country.

### 📦 What's inside the data?

Every row includes all of these fields:

- **Core:** `id`, `url`, `name`
- **Price:** `price`, `regular_price`, `currency`
- **Stock / place:** `in_stock`, `country`, `image_url`

### 🚀 Quick start

**Option A — Input URL**

1. Open [UAE laptops](https://uae.microless.com/laptops/), apply filters, copy the URL — e.g. `https://uae.microless.com/search/?query=rtx`.
2. Paste it into `input_url`.
3. Set `max_results` and click **Start**.

**Option B — Structured filters (better for AI agents)**

1. Leave `input_url` empty.
2. Pick country and category, or type a search query.
3. Set `max_results` (up to 2000) and click **Start**.

***

#### Tech details for developers 🧑‍💻

**Input Example (filters):**

```json
{
  "country": "AE",
  "category": "laptops",
  "max_results": 100
}
```

**Input Example (URL override):**

```json
{
  "input_url": "https://saudi.microless.com/search/?query=rtx",
  "max_results": 50
}
```

**Output Example:**

```json
{
  "id": "294558",
  "url": "https://uae.microless.com/product/apple-macbook-pro-laptop-14-2-liquid-retina-xdr-display-m5-pro-chip-15-core-cpu-16-core-gpu-16-core-neural-engine-24gb-ram-1tb-ssd-english-k-b-macos-space-black-mgdr4/",
  "name": "Apple MacBook Pro Laptop, 14.2\" Liquid Retina XDR Display, M5 Pro Chip 15-Core CPU & 16-core GPU, 16-Core Neural Engine, 24GB RAM, 1TB SSD, English K/B, MacOS, Space Black | MGDR4",
  "price": 9547.0,
  "regular_price": null,
  "currency": "AED",
  "in_stock": true,
  "country": "AE",
  "image_url": "https://microless.com/cdn/products/929ff6c3527ab10084375ab4b8096542-md.jpg"
}
```

**Output fields:**

| Field | Description |
|-------|-------------|
| `id` | Microless numeric product id. |
| `url` | Public product page. |
| `name` | Product title. |
| `price` | Current price as a number. |
| `regular_price` | Struck-through price when the card shows a discount. |
| `currency` | `AED`, `SAR`, `KWD`, `QAR`, `BHD`, or `OMR`. |
| `in_stock` | `true` unless the card is marked unavailable. |
| `country` | Storefront country code. |
| `image_url` | Product photo. |

### 📋 Input reference (detailed)

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `input_url` | string | No | — | Paste a category, search, or product URL; overrides filters when set. |
| `country` | string enum | No | `AE` | `AE`, `SA`, `KW`, `QA`, `BH`, `OM`. |
| `category` | string enum | No | `laptops` | `laptops`, `graphic_cards`, `monitors`, `mobiles_tablets`, `tablets`, `tvs`, `computer_hardware`, `cpus`, `motherboards`, `memory`, `ssd`, `hard_drives`, `computer_cases`, `power_supplies`, `keyboards_and_mice`, `computer-accessories`, `headsets`, `speakers`, `access_points`. |
| `query` | string | No | — | Microless search bar text (`/search/?query=`). |
| `max_results` | integer | No | `50` | Maximum rows (`1`–`2000`). |

#### Notes on filters

- Prefer exact enum strings from the Apify input dropdowns (same slugs as Microless URLs).
- `input_url` always wins over filters when provided.
- A search query wins over category.
- `www.microless.com` URLs are treated as the UAE storefront.

# Actor input Schema

## `input_url` (type: `string`):

Paste a Microless category, search, or product URL (e.g. https://uae.microless.com/laptops/ or /search/?query=rtx). Overrides every filter when set.

## `country` (type: `string`):

Same GCC Microless storefront as uae / saudi / kuwait / qatar / bahrain / oman.microless.com. Ignored when input\_url is set.

## `category` (type: `string`):

Same /{slug}/ category paths as microless.com. Ignored when input\_url or query is set.

## `query` (type: `string`):

Same as the Microless search bar (/search/?query=…). When set, category is ignored. Ignored when input\_url is set.

## `max_results` (type: `integer`):

How many rows to return (1–2000). Laptops alone is 1,000+ SKUs; accessories run past 6,000.

## Actor input object example

```json
{
  "country": "AE",
  "category": "laptops",
  "query": "",
  "max_results": 50
}
```

# Actor output Schema

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

Table view of scraped products using the dataset 'overview' view.

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

All scraped products 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("dadhalfdev/microless-scraper").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("dadhalfdev/microless-scraper").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 '{}' |
apify call dadhalfdev/microless-scraper --silent --output-dataset

```

## MCP server setup

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

```

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/taf5duGymNXJ4fXsa/builds/clbrhr1bKiqccH20p/openapi.json
