# Anker Products Scraper (`getdataforme/anker-products-scraper`) Actor

Automate the extraction of comprehensive Anker product data—including names, descriptions, SKUs, images, reviews, pricing, and availability—with this reliable Apify Actor....

- **URL**: https://apify.com/getdataforme/anker-products-scraper.md
- **Developed by:** [GetDataForMe](https://apify.com/getdataforme) (community)
- **Categories:** E-commerce
- **Security:** Full permissions
- **Stats:** 3 total users, 0 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $10.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.

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

## Anker Products Scraper

### Introduction

The Anker Products Scraper is a powerful Apify Actor designed to extract comprehensive product data from Anker's official website. It efficiently scrapes details such as product names, descriptions, SKUs, images, reviews, pricing, and availability, making it an essential tool for e-commerce professionals. By automating data collection, this Actor saves time and ensures access to up-to-date information for informed decision-making.

### Features

- **Comprehensive Data Extraction**: Captures key product details including names, descriptions, SKUs, GTINs, image URLs, reviews, brand info, and pricing.
- **Multi-URL Support**: Allows scraping from multiple product URLs in a single run for batch processing.
- **High Reliability**: Built with robust error handling to ensure consistent data retrieval from Anker's dynamic site.
- **Structured Output**: Delivers clean, JSON-formatted data ready for integration into databases or analysis tools.
- **Fast Performance**: Optimized for quick scraping with minimal resource usage, ideal for large-scale operations.
- **Schema.org Compliance**: Extracts data aligned with standard schemas for better compatibility with e-commerce platforms.
- **Customizable Inputs**: Flexible URL configuration to target specific products or collections.

### Input Parameters

| Parameter | Type | Required | Description | Example |
|-----------|------|----------|-------------|---------|
| Urls | array | No | An array of URLs pointing to Anker product pages to scrape. Each URL must be a valid HTTP/HTTPS link. | \["https://www.anker.com/products/a1289?variant=41974285041814\&collections_power-banks-for-apple=undefined\&Sort_by=Recommended"] |

### Example Usage

To run the Actor, provide input in JSON format. Here's an example input:

```json
{
  "Urls": [
    "https://www.anker.com/products/a1289?variant=41974285041814&collections_power-banks-for-apple=undefined&Sort_by=Recommended"
  ]
}
```

The Actor will output a JSON array of product objects. Example output:

```json
[
  {
    "url": "https://www.anker.com/products/a1289?variant=41974285041814&collections_power-banks-for-apple=undefined&Sort_by=Recommended",
    "product_name": "Anker 737 Power Bank (PowerCore 24K)",
    "description": "Swift Power Anywhere: Benefit from fast charging with 140W Power Delivery 3.1 technology, ideal for keeping devices powered up during travel and commutes,",
    "sku": "A1289011",
    "gtin": "194644098728",
    "image_urls": [
      "https://cdn.shopify.com/s/files/1/0493/9834/9974/products/A1289011-Anker_737_Power_Bank_PowerCore_24K_1.png?v=1672388225",
      "https://cdn.shopify.com/s/files/1/0493/9834/9974/products/A1289011_TD02_V1.jpg?v=1672388224",
      "https://cdn.shopify.com/s/files/1/0493/9834/9974/products/A1289011_TD03_V1.jpg?v=1672388224",
      "https://cdn.shopify.com/s/files/1/0493/9834/9974/products/A1289011_TD04_V1.jpg?v=1672388224",
      "https://cdn.shopify.com/s/files/1/0493/9834/9974/products/A1289011_TD05_V1.jpg?v=1672388224",
      "https://cdn.shopify.com/s/files/1/0493/9834/9974/products/A1289011_TD06_V1.jpg?v=1672388224"
    ],
    "reviews": [],
    "brand_name": "Anker",
    "offer_url": "https://www.anker.com/products/a1289?variant=41974285041814&amp;capacity=Over21%2C000mAh&amp;collections_20000mah-power-bank=&amp;Sort_by=PriceLowtoHigh",
    "item_condition": "https://schema.org/NewCondition",
    "availability": "https://schema.org/InStock",
    "price": 109.99,
    "price_currency": "USD",
    "actor_id": "RiGiLeD99ArbIumgw",
    "run_id": "b9ybbZrdbFBYb0hXZ"
  }
]
```

### Use Cases

- **Market Research**: Gather detailed product data to analyze trends in the power bank and electronics market.
- **Competitive Intelligence**: Monitor Anker's offerings to compare with competitors' products and pricing.
- **Price Monitoring**: Track price changes and availability for dynamic pricing strategies.
- **Content Aggregation**: Collect product images, descriptions, and reviews for content creation or catalogs.
- **Academic Research**: Study consumer electronics data for studies on technology adoption and reviews.
- **Business Automation**: Integrate scraped data into e-commerce platforms for automated inventory updates.

### Installation and Usage

1. Search for "Anker Products Scraper" in the Apify Store
2. Click "Try for free" or "Run"
3. Configure input parameters
4. Click "Start" to begin extraction
5. Monitor progress in the log
6. Export results in your preferred format (JSON, CSV, Excel)

### Output Format

The Actor outputs a JSON array of objects, each representing a scraped product. Key fields include:

- `url`: The source product URL.
- `product_name`: The full name of the product.
- `description`: A detailed product description.
- `sku`: Stock Keeping Unit identifier.
- `gtin`: Global Trade Item Number.
- `image_urls`: Array of image URLs.
- `reviews`: Array of review data (may be empty).
- `brand_name`: Brand name (e.g., "Anker").
- `offer_url`: Direct offer link.
- `item_condition`: Condition schema (e.g., "https://schema.org/NewCondition").
- `availability`: Stock status schema.
- `price`: Numeric price value.
- `price_currency`: Currency code (e.g., "USD").
- `actor_id` and `run_id`: Metadata for tracking.

Data is structured for easy parsing and integration.

### Support

For custom/simplified outputs or bug reports, please contact:

- Email: support@getdataforme.com
- Subject line: "custom support"
- Contact form: https://getdataforme.com/contact/

We're here to help you get the most out of this Actor!

# Actor input Schema

## `Urls` (type: `array`):

The urls for the spider.

## Actor input object example

```json
{
  "Urls": [
    "https://www.anker.com/products/a1289?variant=41974285041814&collections_power-banks-for-apple=undefined&Sort_by=Recommended"
  ]
}
```

# Actor output Schema

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

Scraped data items from dataset

# 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("getdataforme/anker-products-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("getdataforme/anker-products-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 getdataforme/anker-products-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,getdataforme/anker-products-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/n9QYIf6E2AUsh7DyZ/builds/QuqDdknipnd0yykVb/openapi.json
