# Pets at Home Scraper - UK Pet Product Prices and EAN (`studio-amba/petsathome-scraper`) Actor

Scrape product data from petsathome.com, the UK pet supplies retailer. Get GBP price, promotion price, Easy Repeat price, price per kg, EAN, brand, pet type, category, stock and rating for about 15,000 products, one row per pack size. No login.

- **URL**: https://apify.com/studio-amba/petsathome-scraper.md
- **Developed by:** [Studio Amba](https://apify.com/studio-amba) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.20 / 1,000 results scraped

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/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

## Pets at Home Scraper

Extract pet products from [petsathome.com](https://www.petsathome.com) as structured JSON. Each record is one pack size of a product, with the price in pounds, the promotion and Easy Repeat price, price per kg, EAN, brand, pet type, categories, stock state and customer rating.

No login. No browser. The actor reads the public product sitemap and the product data each page publishes, so a run is fast and cheap.

### What this actor does

Pets at Home is the largest pet retailer in the UK. It sells food, treats, toys, bedding, aquarium and reptile equipment, flea and worming treatments and accessories for dogs, cats, fish, birds, small animals and reptiles. The sitemap lists about 15,600 product pages. The actor takes the product URLs from the sitemap, opens each page and reads the product data on it. A page can hold several pack sizes, and each pack size becomes one record with:

- Product name, full name, variant label (for example 12 x 85g) and link
- Variant SKU and the ID of the product page that groups the variants
- Brand name and the pet type (Dog, Cat, Fish and so on)
- Product type, first category and the full list of categories
- EAN barcodes
- Current price in pound sterling, including VAT
- Standard price when a promotion is active
- Easy Repeat subscription price
- Price per kg or per litre
- Stock state, rating and review count
- Attributes such as flavour, food format, bag weight, dog size and free-from claims
- Description and up to 10 image URLs

### Why use it

- **Price monitoring.** Follow the price of the food and supplies you track, on a schedule.
- **Promotion tracking.** The list price and the current price show which pack sizes are on offer.
- **Cross-shop matching.** The EAN lets you match Pets at Home products against other shops, for example Zooplus, Fressnapf, Amazon or Tesco.
- **Price per kg comparison.** Compare pack sizes and brands on the same unit.
- **Catalogue building.** Export brands, categories and attributes for a pet product dataset.

### How to scrape Pets at Home data

1. Open the actor and go to the Input tab.
2. Add one or more keywords, for example `dog food` or `cat litter`. The actor keeps the products whose name, brand or category contains a keyword.
3. Optional: set a brand, for example `Royal Canin`, a pet type, for example `Cat`, or a category, for example `Dry Dog Food`.
4. Set Max Results and press Start.
5. Open the Output tab or download the dataset as JSON, CSV or Excel.

Leave the keywords empty to take a sample spread across the whole catalogue.

### Input

| Field | Meaning |
|---|---|
| Product keywords | Words in the product name, brand or category. Empty means a sample of the whole catalogue. |
| Brand | Text in the product name or brand, for example Whiskas. |
| Pet type | Animal the product is for, for example Dog, Cat or Fish. |
| Category | Text in the category list, for example Dry Dog Food or Cat Litter. |
| Only products in stock | Keep pack sizes the shop lists as in stock. |
| Max Results | Number of records to return. |
| Max products to check | Upper limit on product pages read per run. Raise it when a keyword is rare. |
| Delay between requests | Pause per worker after each page, in seconds. |
| Proxy Configuration | Apify proxy is on by default. |

#### Example input

```json
{
    "keywords": ["dog food"],
    "brand": "Royal Canin",
    "maxResults": 100
}
```

### Output

Each dataset item looks like this:

```json
{
    "productId": "7112285",
    "baseProductId": "7112285P",
    "name": "AATU Chicken Adult Dry Dog Food 10kg",
    "fullName": "AATU Chicken Adult Dry Dog Food 10kg Bag",
    "variant": "10kg",
    "url": "https://www.petsathome.com/product/aatu-80-20-dry-adult-dog-food-free-range-chicken/7112285P",
    "brand": "AATU",
    "petType": "Dog",
    "productType": "FOOD",
    "category": "Dry Dog Food",
    "categories": ["Dry Dog Food", "Dog Food", "Dog", "Grain Free Dog Food"],
    "gtin": "5060189111893",
    "barcodes": ["5060189111893"],
    "currency": "GBP",
    "price": 56.24,
    "listPrice": 74.99,
    "easyRepeatPrice": 67.49,
    "pricePerUnit": 5.62,
    "unit": "kg",
    "inStock": true,
    "ratingValue": 5,
    "reviewCount": 1,
    "description": "Expertly crafted with single source, free run chicken and a Superfood Blend.",
    "attributes": {
        "bagWeight": "10kg to <20kg",
        "flavour": "Chicken",
        "foodFormat": "Dry",
        "packagingType": "Bag"
    },
    "images": ["https://cdn.petsathome.com/public/images/products/900_7112285.jpg"],
    "scrapedAt": "2026-11-25T15:10:00.000Z"
}
```

#### Output fields

| Field | Type | Description |
|---|---|---|
| productId | string | Pets at Home variant SKU, one per pack size |
| baseProductId | string or null | ID of the product page that groups the pack sizes |
| name | string | Variant name |
| fullName | string or null | Long name including the pack description |
| variant | string or null | Pack size or variant label |
| url | string | Link to the product page |
| brand | string or null | Brand name |
| petType | string or null | Animal the product is for |
| productType | string or null | Type code, for example FOOD |
| category | string or null | First category listed |
| categories | array | All categories of the product |
| gtin | string or null | Main EAN barcode |
| barcodes | array | All barcodes of the variant |
| currency | string | Price currency, GBP |
| price | number or null | Current price including VAT, the promotion price when one is active |
| listPrice | number or null | Standard price when a promotion lowers it, otherwise empty |
| easyRepeatPrice | number or null | Easy Repeat subscription price |
| pricePerUnit | number or null | Price per kg or per litre |
| unit | string or null | Unit of the price per unit |
| inStock | boolean or null | True when the shop lists the variant as in stock |
| ratingValue | number or null | Average customer rating out of 5 |
| reviewCount | integer or null | Number of customer reviews |
| description | string or null | Short product description |
| attributes | object | Product attributes such as flavour or bag weight |
| images | array | Up to 10 image URLs |
| scrapedAt | string | Time of the scrape |

### Data quality

Name, variant, brand, pet type, category, price, price per unit, stock and EAN are filled on nearly every record. The list price is filled only while a promotion is active. Rating and review count are filled on products that have reviews. Stock and price are read from the page at the time of the run.

### Cost estimate

The actor uses plain HTTP requests, no browser. A run of 100 records takes about one minute and costs a few cents of platform usage. Results are billed per record. The usage cost of a run settles after the run has finished, so it shows in the run details a little later.

### Limitations

- Prices are in pound sterling, including VAT, as the site shows them to a default visitor.
- Delivery prices and store stock are not collected.
- Keyword, brand, pet type and category filters need the product page. Keywords and brands that appear in the product URL are read first, so a rare word that is not in the URL can read many pages. Raise Max products to check for those.
- Some product pages in the sitemap redirect to another product. The actor keeps each variant once.
- The sitemap is updated once a day. A product added today may not be listed yet.
- Without filters the actor takes an even sample across the sitemap, not the newest products.

### FAQ

**Do I need a Pets at Home account?** No. The actor reads public pages.

**How many products does Pets at Home have?** The sitemap lists about 15,600 product pages, and a page can hold several pack sizes.

**Does the output include the EAN?** Yes. The gtin field holds the main barcode and the barcodes field lists all of them.

**Can I get the promotion price?** Yes. The price field is the current price and listPrice is the standard price while a promotion runs.

**Which currency is used?** Pound sterling (GBP).

**Can I export to Excel or CSV?** Yes. Every Apify dataset exports to JSON, CSV, Excel and XML.

**How do I run it on a schedule?** Use Apify Schedules and a saved task with your filters.

### Related scrapers

- [Zooplus Scraper](https://apify.com/studio-amba/zooplus-scraper) for European pet supplies prices
- [Fressnapf Scraper](https://apify.com/studio-amba/fressnapf-scraper) for German pet supplies prices
- [Maxizoo Scraper](https://apify.com/studio-amba/maxizoo-scraper) for French and Belgian pet supplies prices
- [Medpets Scraper](https://apify.com/studio-amba/medpets-scraper) for Dutch pet supplies prices

### Disclaimer

This actor reads publicly available pages. You are responsible for using the data in line with the site's terms and the law that applies to you.

# Actor input Schema

## `keywords` (type: `array`):

Keep products whose name, brand or category contains one of these words, for example dog food, cat litter or aquarium. Product URLs that contain the word are read first. Leave empty to sample across the whole catalogue.

## `brand` (type: `string`):

Keep products from this brand, for example Whiskas, Royal Canin or Pedigree.

## `petType` (type: `string`):

Keep products for one animal, for example Dog, Cat, Fish, Bird or Small Animal.

## `category` (type: `string`):

Keep products whose category list contains this text, for example Dry Dog Food, Cat Litter or Flea Treatment.

## `inStockOnly` (type: `boolean`):

Keep only products the shop lists as in stock.

## `maxResults` (type: `integer`):

Maximum number of products to return.

## `maxProductsToCheck` (type: `integer`):

Upper limit on product pages read per run. About 15,600 pages are listed, so raise it to 16,000 for a full export.

## `requestDelaySeconds` (type: `number`):

Pause per worker after each product page, in seconds.

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

Proxy settings. The site answers Apify datacenter proxy, so the default is Apify proxy without a residential group.

## Actor input object example

```json
{
  "keywords": [
    "dog food"
  ],
  "inStockOnly": false,
  "maxResults": 5,
  "maxProductsToCheck": 1500,
  "requestDelaySeconds": 0.2,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# 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 = {
    "keywords": [
        "dog food"
    ],
    "maxResults": 5,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("studio-amba/petsathome-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 = {
    "keywords": ["dog food"],
    "maxResults": 5,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("studio-amba/petsathome-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 '{
  "keywords": [
    "dog food"
  ],
  "maxResults": 5,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call studio-amba/petsathome-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,studio-amba/petsathome-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/DMti5HsLgtlyiPfVa/builds/GLvhwJysMKMoVDbHn/openapi.json
