# Andertons Music Co Scraper - UK Guitars, Amps & Gear (`lulzasaur/andertons-scraper`) Actor

Scrape Andertons Music Co (andertons.co.uk), the UK's iconic guitar shop. Search or browse categories for guitars, amps, pedals, synths and studio gear. Extracts title, brand, GBP price, sale price, availability, category, SKU, image and URL. Ideal for price tracking and gear arbitrage.

- **URL**: https://apify.com/lulzasaur/andertons-scraper.md
- **Developed by:** [lulz bot](https://apify.com/lulzasaur) (community)
- **Categories:** E-commerce
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## 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/platform/actors/running/actors-in-store#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

## Andertons Music Co Scraper

Scrape products from **[Andertons Music Co](https://www.andertons.co.uk)** — the UK's iconic guitar shop (home of "The Captain" on YouTube), selling guitars, basses, amps, pedals, synths, drums, and studio/recording gear. This Actor uses the site's own storefront product API and returns clean, structured product data with UK (GBP) pricing.

### What it does

Given one or more search queries (e.g. `stratocaster`, `les paul`, `boss pedal`) and/or category URLs (e.g. `/browse/guitar-dept/`), the Actor returns matching products with brand, VAT-inclusive GBP pricing, sale/list price, availability, category, SKU, image, and URL.

Great for:

- **Price tracking** — monitor UK street prices for gear in GBP
- **Arbitrage** — compare UK vs US/EU pricing on guitars, pedals, and synths
- **Market research** — catalogue coverage, brand assortment, stock levels
- **Deal alerts** — find items on sale (`onSale: true`, `listPrice` vs `price`)

### Input

| Field | Type | Description |
|-------|------|-------------|
| `searchQueries` | array of strings | Search terms to scrape. Default: `["stratocaster"]` |
| `categoryUrls` | array of strings | Optional category pages to scrape, e.g. `https://www.andertons.co.uk/browse/guitar-dept/` |
| `maxListings` | integer | Max products per query/category. `0` = all available (capped at 2000). Default: `100` |
| `proxyConfiguration` | object | Optional proxy. The storefront API works without a proxy. |

#### Example input

```json
{
  "searchQueries": ["stratocaster", "boss pedal"],
  "categoryUrls": ["https://www.andertons.co.uk/browse/guitar-dept/"],
  "maxListings": 100
}
```

### Output

Each item in the dataset looks like:

```json
{
  "productId": 21524,
  "title": "Fender Fullerton Stratocaster Ukulele in Surf Green",
  "brand": "Fender",
  "sku": "0970523557",
  "price": 179.0,
  "listPrice": null,
  "onSale": false,
  "currency": "GBP",
  "availability": "Available",
  "inStock": true,
  "availabilityNote": null,
  "category": "Folk & Bluegrass Instruments",
  "categoryPath": "/browse/acoustic-dept/folk-bluegrass-instruments/",
  "image": "https://cdn11.bigcommerce.com/s-4hc0jwsnnq/images/stencil/original/products/21524/74126/....jpg",
  "url": "https://www.andertons.co.uk/fender-fullerton-stratocaster-ukulele-surf-green/",
  "searchQuery": "stratocaster",
  "scrapedAt": "2026-07-31T12:00:00.000Z"
}
```

Field notes:

- `price` — current selling price, **VAT-inclusive GBP** (what a UK customer pays)
- `listPrice` — original price when the item is on sale, otherwise `null`
- `availability` — `Available`, `Unavailable`, or `Preorder`
- `category` / `categoryPath` — deepest department category (brand listings excluded)
- Category-sourced records carry `sourceCategoryUrl` instead of `searchQuery`

### Why this Actor

- Uses the site's own product API — fast, no brittle HTML parsing
- Accurate VAT-inclusive GBP prices including sale prices
- Search **and** full category browsing with pagination
- Clean, flat records ready for spreadsheets, dashboards, or alerting

### Usage tips

- Keep `maxListings` modest (100–500) for quick runs; large categories can hold thousands of items.
- Combine several targeted queries (brand + model) for the cleanest result sets.
- No proxy needed in normal use.

### Legal note

This Actor only collects publicly available product listing data (no personal data). Please respect the target site's terms of service and use the data responsibly.

# Actor input Schema

## `searchQueries` (type: `array`):

Search terms to run on andertons.co.uk (e.g., 'stratocaster', 'les paul', 'boss pedal', 'audio interface'). Each query produces a separate set of results.

## `categoryUrls` (type: `array`):

Andertons category pages to scrape in full, e.g. 'https://www.andertons.co.uk/browse/guitar-dept/' or just '/browse/guitar-dept/'. Use instead of (or in addition to) search queries.

## `maxListings` (type: `integer`):

Maximum number of products to scrape per search query or category URL (paginated 50 at a time). Set to 0 for maximum available (capped at 2000).

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

Proxy settings. The Andertons storefront API is generally accessible without a proxy; enable one only if you hit blocks at scale.

## Actor input object example

```json
{
  "searchQueries": [
    "stratocaster"
  ],
  "categoryUrls": [],
  "maxListings": 100,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `results` (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 = {
    "searchQueries": [
        "stratocaster"
    ],
    "maxListings": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("lulzasaur/andertons-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 = {
    "searchQueries": ["stratocaster"],
    "maxListings": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("lulzasaur/andertons-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "searchQueries": [
    "stratocaster"
  ],
  "maxListings": 100
}' |
apify call lulzasaur/andertons-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=lulzasaur/andertons-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/XcoweFTFJLHoBCrlb/builds/yl78sUStOOgfv8YJL/openapi.json
