# Argos (`scrapeai/argos`) Actor

List Argos.co.uk products for a search word through Google Images results, without opening argos.co.uk. Returns product number, product page URL, name and category as Google shows them. No prices, stock, ratings, reviews or Q\&As.

- **URL**: https://apify.com/scrapeai/argos.md
- **Developed by:** [ScrapeAI](https://apify.com/scrapeai) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 50.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.49 / 1,000 results

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

### Argos

**Status (2026-11-14): works in the default Google Images mode; the optional Google web mode stays limited.** Images mode returns Argos product pages with product number, URL, name and category, but **no price, stock, rating or reviews**: Google's image results do not show them. **It does not open argos.co.uk.**

#### Result sources (`resultSource`)

| | `images` (default) | `web` (opt-in) |
| --- | --- | --- |
| Google page read | Google Images results of `site:argos.co.uk/product <words>` | Google web results of the same query |
| How the product URL is found | Google writes it in plain text next to every image result, so rows come back reliably | Google often writes it as an opaque redirect link (`/goto?url=<token>`), which this Actor never opens, so those results are skipped and a run can return few rows or none |
| Fields per row | product number, URL, name, category | product number, URL, name and, only when Google's result shows them: price, previous price, stock, rating, review count, category, snippet |
| Rows per Google request | a full page lists 60 to 80 different products (fewer for narrow queries) | 10 results, many of them skipped |
| `dataOrigin` of the row | `google-serp-images` | `google-serp` |

#### Where the data comes from

- Each row is one landing page that Google lists for a query such as `site:argos.co.uk/product kettle`.
- The Google pages are fetched through the Apify Proxy group `GOOGLE_SERP`, which serves Google Search results only. The only URL requested is `http://www.google.com/search?...` with default headers; no other Google path and no other website is ever requested.
- Images mode reads two things from each image result: the landing page URL (Google's plain `data-lpage` attribute) and the image title (`alt` text, for example `Buy Russell Hobbs 25513 Worcester Kettle - Metallic | Kettles | Argos`). The product number comes from the URL; the name and category come from the title. The Google click-through links in the same markup are never read or followed.
- The product URL is stored without its query string (Google sometimes lists Argos links with tracking parameters such as `clickPR` or `cmpid`).
- Argos products sold by marketplace sellers have an 8-character code instead of a number (for example `s4b5gksp`); they are returned with that code as `productId`.
- Every row says where it came from: `dataOrigin` is `google-serp-images` or `google-serp`.

#### Measured results

Measured on 2026-11-14 through `GOOGLE_SERP` (hl=en, gl=us), one request per page:

| Query and page | Result |
| --- | --- |
| `site:argos.co.uk/product toaster`, first page | 100 image results, 72 different Argos product pages |
| the same query with `start=10` | 100 results, 74 pages (40 not listed on the first page) |
| `start=20` | 100 results, 79 pages (53 not listed before) |
| `start=30` | 50 results, 48 pages, all already listed |
| `start=40`, `start=60`, `start=100` | "It looks like there aren't any Images matches" (no results) |
| `start=80` | a web results page instead of images (no image results) |
| `site:argos.co.uk/product kettle`, first page | 100 image results, 76 different pages, 20 of them with an 8-character marketplace code |

Platform test runs on 2026-11-14 with the default input (builds 0.1.9 and 0.1.10 have the same first-page behavior). In every run all product numbers were different and no name was empty:

| Query | Rows | Google requests | Google's page |
| --- | --- | --- | --- |
| `microwave` (build 0.1.9) | 50 (32 with a category, 18 whose image title is only the product name) | 1 | 67 different products |
| `headphones` | 50 | 1 | 100 image results, 66 different products |
| `vacuum cleaner` | 50 | 1 | 100 image results, 66 different products |
| `sofa` | 37 | 2 (the first timed out, the one retry succeeded) | 50 image results, 37 different products: a short page, so no further page was asked for |

So `start=` does return further images, but not as clean pages: the sets overlap irregularly and end after about 3 pages. A page with fewer than 100 image results is the last one (the 50-result page above). Images mode therefore asks for the next page (`start=10`, then `20`, ...) only while fewer than `maxItems` rows were found, the previous page was full (100 image results) and it still brought pages that had not been listed; it never repeats a request and never requests further pages after a short one. A run with `maxItems` up to 50 normally needs one Google request.

The web mode result on 2026-11-13 (three queries): one returned 10 rows, one returned 8 (the other 10 results had opaque links) and one failed. On 2026-11-14 (build 0.1.10, `toaster`, one page) it returned 4 rows and skipped 6 opaque links. Images mode replaced it as the default for that reason.

#### Why not the Argos website?

The Argos site sits behind Akamai bot protection. On 2026-11-13 it was tried with plain, honest requests (default `User-Agent`, no browser or TLS impersonation), one request per configuration:

| Route | Result |
| --- | --- |
| Apify datacenter proxy (US) | `robots.txt` readable, category page `HTTP 403 Access Denied` |
| Apify residential proxy (GB) | category page `HTTP 403 Access Denied` |

The Actor stops there. It does not rotate proxies, spoof a browser, or try to get past the denial.

#### Input

| Field | Meaning |
| --- | --- |
| `query` | Product words, searched as `site:argos.co.uk/product <words>`. Default `laptops`. |
| `startUrls` | Optional Argos search, category or product URLs. They are not requested; the words (or the product number) in them become Google queries and replace `query`. |
| `resultSource` | `images` (default) or `web`, see the table above. |
| `maxItems` | 1 to 50 products. |
| `maxSearchPages` | Most Google pages to read per query (every page is one billed `GOOGLE_SERP` request). Images mode reads a further page only while fewer than `maxItems` rows were found. |
| `country`, `language` | Google `gl` and `hl` values. Default `gb` and `en`. |
| `proxyConfiguration` | Must use the Apify Proxy group `GOOGLE_SERP` (the default). |

#### Output

One dataset item per product. Top level: `dataOrigin`, `sourceUrl`, `itemUrl`, `id` (Argos product number), `title` (as Google shows it: the result title, or the image title in images mode), `searchQuery`, `searchRank` (position in the Google results), `statusCode` (status of the Google page), `scrapedAt`; web mode adds `description` (the snippet).

Inside `data`:

- Images mode: `productId`, `name`, `url` and `category` (when the image title has one). Nothing else is known, so nothing else is returned.
- Web mode: `productId`, `name`, `url` and, **only when Google's result shows them**: `price`, `priceText`, `currency`, `previousPrice` (a "Was" price), `availability` (for example `In stock`), `highlights` (for example `Free delivery`), `rating`, `ratingScale`, `reviewCount`, `category` and `snippet`.

A value that Google does not show is absent, never estimated.

#### Limits

- Only products Google has indexed and chooses to list are returned. Google's image results change between searches, so two runs can return different products.
- Not available in images mode: price, stock, rating and reviews. Not available in either mode: product Q\&As, full descriptions and specifications, product photos, variants, and listing pages for whole categories. The Store listing for this Actor describes a full Argos product scraper; this version returns only the Google-based subset described here.
- Google may list fewer products than requested for a query; the run then returns what it found and fails only when nothing usable came back.
- In web mode, results whose link is an opaque redirect are skipped, so the number of rows changes from run to run and can be zero. The Actor never requests a Google results page again to get a different link format: the only repeat is one retry after a timeout or connection error, and an HTTP error status or a verification page ends the run.
- Google sometimes mixes other shops' pages into a `site:` query. Those results are skipped (counted as `offSiteResults` in `RUN_SUMMARY`).
- Each Google page is billed by Apify Proxy, in addition to the per-result price.

#### Run locally

```powershell
npm start
```

`npm start` reads this folder's `input.json` and needs `APIFY_PROXY_PASSWORD` for the `GOOGLE_SERP` group. Unit tests (parsing of saved Google pages, request rules, schema checks): `npm test`.

# Changelog

This Actor's version history is a separate document: https://apify.com/scrapeai/argos/changelog.md

# Actor input Schema

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

Product words searched on Google as site:argos.co.uk/product <words>, for example laptops or wireless headphones.

## `startUrls` (type: `array`):

Argos search, category or product URLs. They are never requested: only the words (or the product number) in them are turned into Google queries. When set, they replace the search words.

## `resultSource` (type: `string`):

images (default): reads Google Images results, which give the product page URL in plain text for most queries, so a run reliably returns rows with product number, URL, name and category (no price, stock or rating). web: reads Google web results, which add price, stock and rating when Google shows them, but Google often writes those result links in an opaque form that this Actor skips, so a run can return few rows or none.

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

Maximum number of products to return (1 to 50).

## `maxSearchPages` (type: `integer`):

Google result pages to read per query (every page is one billed GOOGLE_SERP request). Images mode: a full first page lists 60 to 80 different products; a further page is requested only while fewer than Max Items rows were found, the previous page was full (100 image results) and it still brought new pages. Web mode: 10 results per page.

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

Two-letter country code sent to Google (gl). Argos is a UK shop, so gb is the default.

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

Two-letter language code sent to Google (hl).

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

Maximum time to wait for one Google results page.

## `proxyConfiguration` (type: `object`):

Google Search pages are fetched through the Apify Proxy group GOOGLE_SERP, which serves Google Search only. Keep it selected; other groups cannot fetch Google results.

## Actor input object example

```json
{
  "query": "laptops",
  "resultSource": "images",
  "maxItems": 50,
  "maxSearchPages": 5,
  "country": "gb",
  "language": "en",
  "requestTimeoutSecs": 40,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "GOOGLE_SERP"
    ]
  }
}
```

# Actor output Schema

## `dataset` (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 = {
    "query": "laptops",
    "resultSource": "images",
    "maxItems": 50,
    "maxSearchPages": 5,
    "country": "gb",
    "language": "en",
    "requestTimeoutSecs": 40,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "GOOGLE_SERP"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapeai/argos").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 = {
    "query": "laptops",
    "resultSource": "images",
    "maxItems": 50,
    "maxSearchPages": 5,
    "country": "gb",
    "language": "en",
    "requestTimeoutSecs": 40,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["GOOGLE_SERP"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("scrapeai/argos").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 '{
  "query": "laptops",
  "resultSource": "images",
  "maxItems": 50,
  "maxSearchPages": 5,
  "country": "gb",
  "language": "en",
  "requestTimeoutSecs": 40,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "GOOGLE_SERP"
    ]
  }
}' |
apify call scrapeai/argos --silent --output-dataset

```

## MCP server setup

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

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/A9wj5dhOcVarg0tFS/builds/bTF6SE45nFPXjEgz8/openapi.json
