# Website Price Extractor (`rainminer/website-price-extractor`) Actor

Find a pricing or fees page on any SME website and extract structured goods and services prices with AI. Paste a homepage or pricing URL and get one row per priced item — name, category, price, currency, and type. No login required.

- **URL**: https://apify.com/rainminer/website-price-extractor.md
- **Developed by:** [rainminer](https://apify.com/rainminer) (community)
- **Categories:** AI, Other
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.49 / 1,000 price items

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

The **Website Price Extractor** finds a **pricing or fees page** on any SME website and turns goods and services prices into structured dataset rows. Paste a homepage like [oakwooddentalsurgery.co.uk](https://oakwooddentalsurgery.co.uk/) — or a direct pricing URL — and get item names, categories, prices, currencies, and price types ready for CSV, Excel, or API export.

***

### What does Website Price Extractor do?

Small business sites rarely expose a clean price API. Prices live in HTML tables, “From £X” notes, and fee schedules buried behind a **Prices** nav link. This Actor:

1. Opens your start URL (homepage or pricing page)
2. Finds the public pricing / fees page when needed
3. Extracts every priced line item into a fixed schema with AI

Run it on Apify to **schedule**, **monitor**, export via **API**, and connect results to your CRM, spreadsheet, or price-intelligence pipeline.

***

### Why extract SME pricing automatically?

Manual copy-paste from clinic, salon, trades, and professional service sites does not scale. Use this Actor for:

- **Competitive price monitoring** across local service businesses
- **Lead enrichment** with published fee ranges for clinics and practices
- **Market research** on dental, medical, beauty, and professional services
- **Directory and marketplace** data pipelines that need structured tariffs
- **Franchise / multi-location** fee audits from public price lists
- **Agency reporting** packs that compare competitor service menus
- **Insurance and finance** research on typical procedure prices
- **Sales enablement** for vendors selling into SMEs (know the fee landscape)
- **Procurement baselines** when outsourcing local services
- **SEO / content teams** that need accurate “from £X” figures
- **M\&A / diligence** snapshots of published rate cards
- **Price-change tracking** when you schedule recurring runs

***

### How to extract website prices

1. Open the Actor in [Apify Console](https://console.apify.com/)
2. Paste one or more **start URLs** (homepage or `/prices`-style page)
3. Keep **Find pricing page** enabled unless you already have the fees URL
4. Set **Max items** (per start URL)
5. Click **Start**
6. Download results from the **Output** tab as JSON, CSV, Excel, or via the Apify API

***

### Input

| Field | Required | Default | Description |
| ----- | -------- | ------- | ----------- |
| `startUrls` | yes | — | Homepages or direct pricing/fees URLs |
| `findPricingPage` | no | `true` | Discover a pricing page from the homepage |
| `maxItems` | no | `5` | Max priced line items **per start URL** |
| `maxPricingPages` | no | `1` | Max pricing pages to open per start URL |
| `includeRawText` | no | `false` | Attach truncated page text for debugging |
| `proxyConfiguration` | no | no proxy | Optional Apify Proxy |

Example input:

```json
{
  "startUrls": [{ "url": "https://oakwooddentalsurgery.co.uk/" }],
  "findPricingPage": true,
  "maxItems": 20
}
```

***

### Output

Each dataset row is **one priced good or service**:

```json
{
  "sourceUrl": "https://oakwooddentalsurgery.co.uk/",
  "pricingPageUrl": "https://oakwooddentalsurgery.co.uk/prices",
  "businessName": "Oakwood Dental Surgery",
  "category": "Exam",
  "name": "Existing patient exam",
  "description": null,
  "priceText": "£53.00",
  "price": 53,
  "priceMin": null,
  "priceMax": null,
  "currency": "GBP",
  "priceType": "fixed",
  "unit": null,
  "notes": null,
  "confidence": 0.95,
  "scrapedAt": "2026-03-21T12:00:00.000Z"
}
```

| Field | Description |
| ----- | ----------- |
| `category` | Section header (e.g. Fillings) |
| `name` | Line item name |
| `priceText` | Price as shown on the page |
| `price` | Parsed numeric price |
| `currency` | ISO currency when detectable |
| `priceType` | `fixed`, `from`, `up_to`, `range`, `contact`, or `unknown` |
| `pricingPageUrl` | Resolved fees page |

You can download the dataset as JSON, HTML, CSV, or Excel.

***

### How much does it cost?

This Actor uses **pay-per-event** pricing:

- **Site processed** — charged when a start URL’s pricing page is analyzed
- **Price item** — charged per structured line item saved to the dataset

Depending on monetization settings, you may also pay Apify platform **usage** (compute). Check the Actor’s pricing tab in Store / Console for the live rates. Typical SME sites finish in under a few minutes with a small `maxItems` value.

***

### Tips

- Prefer a direct `/prices` URL when you already know it — skips discovery
- Raise `maxPricingPages` only when fees are split across multiple pages
- Most SME sites work **without** a proxy; enable one only if you see blocks
- Public price lists only — pages behind login are out of scope

***

### FAQ

#### Can it scrape any website?

It targets **public** SME pricing / fees pages with readable HTML. JavaScript-heavy apps, PDF-only lists, and login walls are not supported in v1.

#### Does it invent prices?

No. Only prices present on the page are extracted. Empty results mean no readable price list was found.

#### Is this legal?

Only scrape publicly available information and respect the target site’s terms and applicable law. You are responsible for how you use the data.

#### Need help?

Open an issue on the Actor’s **Issues** tab in Apify Console, or contact rainminer for custom extraction workflows.

# Actor input Schema

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

SME website homepages or direct pricing/fees page URLs. When findPricingPage is enabled, homepages are scanned for a link to the price list.

## `findPricingPage` (type: `boolean`):

When true, discover a pricing/fees page from each start URL (skipped automatically if the URL already looks like a price list). When false, treat each start URL as the pricing page.

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

Maximum number of priced line items to save per start URL.

## `maxPricingPages` (type: `integer`):

Maximum number of pricing pages to open per start URL (useful when fees are split across a few pages).

## `includeRawText` (type: `boolean`):

When true, attach a truncated copy of the extracted page text on each row (for debugging).

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

Optional Apify Proxy settings. Most SME sites work without a proxy.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://oakwooddentalsurgery.co.uk/"
    }
  ],
  "findPricingPage": true,
  "maxItems": 5,
  "maxPricingPages": 1,
  "includeRawText": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (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 = {
    "startUrls": [
        {
            "url": "https://oakwooddentalsurgery.co.uk/"
        }
    ],
    "maxItems": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("rainminer/website-price-extractor").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 = {
    "startUrls": [{ "url": "https://oakwooddentalsurgery.co.uk/" }],
    "maxItems": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("rainminer/website-price-extractor").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 '{
  "startUrls": [
    {
      "url": "https://oakwooddentalsurgery.co.uk/"
    }
  ],
  "maxItems": 5
}' |
apify call rainminer/website-price-extractor --silent --output-dataset

```

## MCP server setup

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

```

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/MrdKgFW6VIGmN7clF/builds/G60Df9mVpS8yzRqGt/openapi.json
