# Makro PRO Thailand Product Prices & Pack Sizes (`mai_amm/makro-pro-thailand-product-price-scraper`) Actor

Search Makro PRO Thailand for groceries, THB prices, pack sizes, promotions and optional details by store. $3 per 1,000 fresh products; one-time free-account trial.

- **URL**: https://apify.com/mai_amm/makro-pro-thailand-product-price-scraper.md
- **Developed by:** [wiseld_squid](https://apify.com/mai_amm) (community)
- **Categories:** E-commerce, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 returned fresh products

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## Makro PRO Thailand Product Prices & Pack Sizes

Search Makro PRO Thailand for groceries, fresh food, household products and other publicly listed goods. Export product prices, pack labels, promotions and optional product details for purchasing research, cost tracking and AI agents.

### Quick start

1. Enter a Thai or English keyword, such as `ข้าว`, `นม`, `น้ำมันพืช` or `milk`.
2. Choose a Makro store. The default is **Lardprao (01)**.
3. Set the maximum products and choose whether to include details.
4. Run and open the product dataset. Export JSON, CSV, Excel or another Apify-supported format.

```json
{
  "keyword": "ข้าว",
  "storeCode": "01",
  "language": "th",
  "maxItems": 50,
  "includeDetails": true,
  "maxPages": 10
}
```

### Product output

Each record includes the product ID, SKU, Thai/English name when available, brand, seller, product link, THB price, source pack label, selected store, availability, pictures, promotions and observation time.

With details enabled, the Actor also attempts to collect descriptions, variant offers, minimum order quantity, published quantity-price tiers and public membership-price information when available. `detailFetched` and `detailsError` identify incomplete details. Products may be offered by Makro or other sellers; retain the seller when comparing offers.

Example comparison fields for a product labelled **5 kg** at **195 THB**:

```json
{
  "price": 195,
  "currency": "THB",
  "packCount": 1,
  "netQuantityPerItem": 5,
  "netQuantityUnit": "kg",
  "totalNetQuantity": 5,
  "pricePerKg": 39,
  "pricePerLiter": null,
  "unitCalculationStatus": "calculated_from_label"
}
```

The numbers are an illustrative observation, not a current purchase quote.

### Comparing packs and unit prices

Where an unambiguous weight or volume appears in the product name, comparison fields convert it to kilograms or liters and include a stated pack multiplier. For example, `1 ลิตร x 6` is treated as six liters total when the pack information is consistent.

These are **label-based calculations**. Shipping weight is not used as net product weight. Mixed sizes, bonus amounts, unclear labels or conflicting pack counts leave comparison prices empty. `sourcePackLabel`, `sourceUnitFactor` and `unitCalculationStatus` help you review the interpretation. Weighted fresh-food order totals can vary with actual delivered weight. Products without a clear weight/volume label can still have valid product prices.

### Store and price context

Prices and availability belong to the selected store and the time of the run. The store selection is not a promise of delivery to every address. Offers from third-party sellers can have separate delivery conditions.

`price` is the observed public selling price. `originalPrice` retains the listing's reference price; optional details provide `detailReferencePrice` separately. If the observed price changes between the listing and details, `listingPrice`, `detailPrice` and `priceChangedSinceListing` retain the distinction. Missing prices are `null`, not zero.

Promotions, loyalty points, minimum-spend rewards, public member prices and volume-price tiers remain separate fields. They are not automatically deducted from the selling price. An advertised membership price does not prove the shopper qualifies for it; signed-in or personalized discounts are not guaranteed. Open the product link to confirm conditions before purchasing.

### Input controls

| Input | Use |
| --- | --- |
| `keyword` | One search phrase per run. Search relevance follows the retailer. |
| `storeCode` | Choose the store whose offers should be requested. |
| `language` | Thai or English product output. |
| `maxItems` | Maximum returned products. Paying accounts can set `0` for all products reachable within page, work and charge limits. |
| `includeDetails` | Add available description, variant and pricing details. More platform usage may apply. |
| `sort` | Relevance, price ascending/descending, promotions or recently added. |
| `autoCorrect` | Allow the retailer to correct the search phrase. Off by default. |
| `maxPages`, `pageSize` | Search depth and products per listing page. |
| `maxRequests`, `maxDownloadMB`, `requestTimeoutSecs` | Work limits for the run. |

The summary identifies pages read, products returned, limits reached, skipped duplicates and detail failures. A run can return partial results when a source is unavailable or a limit is reached. Results do not guarantee a complete catalog or exact keyword/model matching.

### Pricing and account access

**$0.003 per returned fresh product — $3 per 1,000 products.** No startup service fee. The same product fee applies with or without optional details. For example, 100 charged products cost $0.30 in Actor service fees.

Apify platform usage is paid separately by the account running the Actor. Set an explicit maximum charge in Apify to control Actor service spending. Empty results and cached trial results have no product service fee.

- **Free Apify accounts:** one live trial attempt per account, returning up to **10 products total**. Later runs return the saved first result, even after changing the keyword, store, limits or Actor version. `reusedResult: true` identifies the saved result and its original timestamps.
- **Paying Apify accounts:** fresh reads on each run, with no free-trial item cap. `maxItems: 0` removes the product-count limit while retaining your selected work/page limits and charge budget.

Account eligibility is automatic. There is no paid-mode input switch. A free trial can still consume the runner's Apify platform credits. An interrupted or failed live trial consumes the attempt; saved results depend on retained Apify storage. If a trial is still running, retry after it finishes to retrieve the saved result.

### Repeated use and API

Save an Apify Task to repeat a search or schedule observations. Paying accounts receive a fresh snapshot and are billed for returned products on each run. Retain datasets for your own historical comparisons; this Actor does not maintain price history or send purchase orders.

Use the API tab for generated integration examples. A Python example:

```python
import os
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("mai_amm/makro-pro-thailand-product-price-scraper").call(
    run_input={"keyword": "นม", "storeCode": "01", "maxItems": 20}
)
for product in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(product["name"], product["price"], product["pricePerLiter"])
```

# Actor input Schema

## `keyword` (type: `string`):

Thai or English product search phrase, for example ข้าว, นม or milk.

## `storeCode` (type: `string`):

Prices and availability are requested for this store. This does not confirm delivery eligibility for every address.

## `language` (type: `string`):

Preferred product language; some source fields may only be available in Thai.

## `maxItems` (type: `integer`):

Paying accounts: 0 removes the item limit within page/work/charge budgets. Free trial: up to 10 products once.

## `includeDetails` (type: `boolean`):

Attempt descriptions, variant offers and available volume/member prices. Extra platform usage may apply.

## `sort` (type: `string`):

Choose the order of the retailer search results.

## `autoCorrect` (type: `boolean`):

Allow the retailer to correct the search phrase.

## `maxPages` (type: `integer`):

Stop after this many listing pages.

## `pageSize` (type: `integer`):

Source listing page size; the output still respects your item limit.

## `maxRequests` (type: `integer`):

Run-wide work budget, including retries and details.

## `maxDownloadMB` (type: `integer`):

Stop starting further reads after this budget. A final response may cross the limit.

## `requestTimeoutSecs` (type: `integer`):

Timeout for each source read.

## Actor input object example

```json
{
  "keyword": "ข้าว",
  "storeCode": "01",
  "language": "th",
  "maxItems": 50,
  "includeDetails": true,
  "sort": "RELEVANCE",
  "autoCorrect": false,
  "maxPages": 10,
  "pageSize": 20,
  "maxRequests": 200,
  "maxDownloadMB": 100,
  "requestTimeoutSecs": 25
}
```

# Actor output Schema

## `products` (type: `string`):

No description

## `summary` (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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("mai_amm/makro-pro-thailand-product-price-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("mai_amm/makro-pro-thailand-product-price-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 mai_amm/makro-pro-thailand-product-price-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,mai_amm/makro-pro-thailand-product-price-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/DBUjhP8gO77x5CW7g/builds/GepFXhz2aIE5S0pZF/openapi.json
