Alfagift Search Scraper avatar

Alfagift Search Scraper

Pricing

from $2.50 / 1,000 results

Go to Apify Store
Alfagift Search Scraper

Alfagift Search Scraper

Extract product data from Alfagift — Indonesia's largest minimarket e-commerce. Search by keyword or fetch detail by ID. Returns pricing, stock, images, brand, category, and promotions.

Pricing

from $2.50 / 1,000 results

Rating

0.0

(0)

Developer

Headless Agent

Headless Agent

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

12 days ago

Last modified

Share

Scrape Alfagift product search results and product detail pages — no login required. Search by keyword and get clean, structured JSON output with prices, images, delivery info, and more.

🤔 What can Alfagift Search Scraper do?

This Actor lets you search Alfagift products and fetch full product details in a single run.

🔍 Search products by keyword — with automatic pagination to reach your target count

📦 Get product detail by ID — full description, barcode, all image variants, and delivery info

💰 Extract base price, final price, and discount information

🏷️ Get availability status and stock count

🖼️ Collect product images — base, small, thumbnail, and media gallery variants

🏪 Get brand and category classification

🔁 Rotate proxies to avoid rate limiting (optional)

📦 Download results in JSON, CSV, XML, or Excel from the Apify Dataset

🦾 Integrate via API, webhooks, SDKs (Python & Node.js), or connect with Zapier, n8n, Make, and more

✅ What data can I scrape from Alfagift?

Search Results

  • Product ID, SKU, PLU, product name
  • Category name (most specific level)
  • Base price and final price
  • Discount percentage and discount value
  • Stock count
  • Default image URL
  • Delivery info and availability status (VALID / NOT_PROVIDED / etc.)
  • Promotions list

Product Detail

All search fields, plus:

  • Barcode
  • Brand ID and brand name
  • Short description (bullet points)
  • Full HTML description and long description
  • All image variants — Base Image, Small Image, Thumbnail, Media Gallery (each with multiple URLs)
  • Delivery messages
  • Seller ID and seller alias
  • Cart quantity constraints (min, max, increment)
  • Age restriction flag

🔧 How to scrape Alfagift products

  1. Create a free Apify account.
  2. Open Alfagift Search Scraper.
  3. Add search queries (keywords) and/or product IDs.
  4. Optionally set max results per query and proxy URLs.
  5. Click Save & Start and wait for the results.
  6. Download your data in JSON, CSV, XML, Excel, or access it via the Apify API.

⬇️ Input

FieldTypeDescription
searchQueriesstring[]Keywords to search on Alfagift. Leave empty to skip search.
productIdsstring[]Alfagift product IDs to fetch full detail for. Leave empty to skip detail scraping.
maxResultsintegerMax products per search query (default: 20).
proxystring[]Optional proxy URLs (http:// or socks5://). Rotated round-robin per request.

At least one of searchQueries or productIds must be non-empty.

Example input

{
"searchQueries": ["indomie goreng", "beras 5kg"],
"productIds": ["754971"],
"maxResults": 10,
"proxy": ["http://user:pass@host:port"]
}

⬆️ Output

Results are pushed to the Apify Dataset. Each item includes a scrape_type field ("search" or "detail") so you know which task produced each result. Search items also include search_query.

Search result sample

{
"scrape_type": "search",
"search_query": "indomie goreng",
"productId": "754971",
"productName": "Indomie Mi Instan Goreng 84 g",
"sku": "A7549710001037",
"plu": "8658",
"imageUrl": "https://c.alfagift.id/product/1/1_A7549710001037_20240613174658620_base.jpg",
"categoryId": "60347db9b194ab1cdbbf3c6e",
"categoryName": "Mie & Bihun Instan",
"basePrice": 3300,
"finalPrice": 3300,
"discountPercent": 0,
"discountValue": 0,
"stock": 674,
"deliveryInfo": "Pengiriman Instan",
"status": {
"cycle": 1,
"type": "VALID",
"buttonLabel": "+ Keranjang",
"infoLabel": ""
},
"promotions": []
}

Detail result sample

{
"scrape_type": "detail",
"product_id": "754971",
"productId": "754971",
"productName": "Indomie Mi Instan Goreng 84 g",
"sku": "A7549710001037",
"plu": "8658",
"barcode": "89686010947",
"brandId": "13207",
"brandName": "Indomie",
"categoryId": "60347db9b194ab1cdbbf3c6e",
"categoryName": "Mie & Bihun Instan",
"shortDescription": [
"Mie instan goreng",
"Rasa mi goreng",
"Terbuat dari tepung terigu berkualitas dan paduan rempah-rempah pilihan",
"Lengkap dengan bawang goreng dan saus cabai",
"Praktis, siap masak",
"Tersedia dalam kemasan 84 g"
],
"basePrice": 3300,
"finalPrice": 3300,
"discountPercent": 0,
"stock": 674,
"imageUrl": "https://c.alfagift.id/product/1/1_A7549710001037_20240613174658620_base.jpg",
"images": [
{
"type": "Base Image",
"urls": [
"https://c.alfagift.id/product/1/1_A7549710001037_20240613174658620_base.jpg",
"https://c.alfagift.id/product/1/1_A7549710001037_20230105135328250_base.png"
]
},
{
"type": "Small Image",
"urls": ["https://c.alfagift.id/product/1/1_A7549710001037_20240613174658620_small.jpg"]
},
{
"type": "Thumbnail",
"urls": ["https://c.alfagift.id/product/1/1_A7549710001037_20240613174658620_thumb.jpg"]
},
{
"type": "Media Gallery",
"urls": ["https://c.alfagift.id/product/1/1_A7549710001037_20240613174658620.jpg"]
}
],
"deliveryInfo": "Pengiriman Instan",
"deliveryMessages": ["SAPA Instant Delivery", "Gratis"],
"status": {
"cycle": 1,
"type": "VALID",
"buttonLabel": "+ Keranjang",
"infoLabel": ""
},
"sellerId": 1,
"sellerAlias": "SAT",
"incrementQty": 1,
"cartMinQtyAllowed": 1,
"cartMaxQtyAllowed": 10
}

🔗 Integrations

Connect Alfagift Search Scraper with almost any cloud service or web app through Apify integrations: Zapier, n8n, Make, Slack, Google Sheets, Google Drive, Airbyte, GitHub, and many more.

Use webhooks to trigger actions whenever a run finishes — for example, sending a Slack notification or pushing data to a Google Sheet automatically.

🦾 Using the Apify API

The Apify API gives you programmatic access to this scraper. Start runs, fetch datasets, monitor execution, and integrate into your own workflows.

❓ FAQ

Can I search and fetch detail in one run?

Yes. Fill in both searchQueries and productIds. Results are tagged with scrape_type: "search" or scrape_type: "detail".

Can each type have different queries?

Yes. searchQueries is independent from productIds — you can use one, the other, or both in the same run.

How many results can I get per query?

Default is 20 per query. Increase with maxResults. The scraper paginates automatically until your target count is reached or the catalog is exhausted.

Can I use multiple proxies?

Yes. The proxy field accepts an array of proxy URLs. They are rotated round-robin across requests.

Does this require an Alfagift account or API key?

No. The scraper uses Alfagift's public web API — no login required. A unique fingerprint token is auto-generated per request using AES-256-CBC encryption, matching the website's own browser behavior.

This scraper only extracts publicly available product data — nothing behind authentication. However, scraped data may be subject to applicable laws and regulations. Ensure you have a legitimate purpose and consult legal counsel if unsure. See also Apify's blog on the legality of web scraping.