# PriceRunner API

> PriceRunner compares product prices and shop offers as a workflow and API.

PriceRunner compares product prices in the UK, Sweden and Denmark; enter a product name, with country and offer limit optional. Compare prices returns the best match, default shop offers and an available three-month low.

- Page: https://fous.com/workflows/pricerunner
- Handle: `@pricerunner`
- Category: [Commerce](https://fous.com/workflows/category/commerce)
- Source website: https://pricerunner.com
- Last verified: Sep 29, 2026
- Fous is not affiliated with PriceRunner.

## Methods

### Compare prices

Operation `compare_prices`, version 1. 1 credit per call.

Compare a product’s prices across shops in the United Kingdom, Sweden or Denmark. Returns the best-matching product, its default shop offers and a three-month low when available; used or refurbished offers outside the default list are excluded, and some shipping charges are unavailable.

**Input**

| Field | Type | Required | Example | Description |
|---|---|---|---|---|
| `country` | string | no | `"Sweden"` | Country name or two-letter country code, for example Sweden or SE. |
| `product` | string | yes | `"iPhone 16 128GB"` | Product name to compare, for example iPhone 16 128GB. |
| `max_offers` | integer | no | `5` | Maximum shop offers to return, for example 20. |

**Input schema**

```json
{
  "type": "object",
  "required": [
    "product"
  ],
  "properties": {
    "country": {
      "type": "string",
      "default": "United Kingdom",
      "description": "Country name or two-letter country code, for example Sweden or SE.",
      "examples": [
        "Sweden",
        "United Kingdom",
        "Denmark"
      ]
    },
    "product": {
      "type": "string",
      "minLength": 1,
      "description": "Product name to compare, for example iPhone 16 128GB.",
      "examples": [
        "iPhone 16 128GB",
        "Samsung Galaxy S25 Ultra 512GB"
      ]
    },
    "max_offers": {
      "type": "integer",
      "default": 20,
      "maximum": 50,
      "minimum": 1,
      "description": "Maximum shop offers to return, for example 20.",
      "x-fous-developer": true,
      "examples": [
        5,
        4,
        3
      ]
    }
  },
  "additionalProperties": false,
  "examples": [
    {
      "product": "iPhone 16 128GB"
    },
    {
      "country": "Sweden",
      "product": "iPhone 16 128GB",
      "max_offers": 5
    },
    {
      "country": "United Kingdom",
      "product": "Samsung Galaxy S25 Ultra 512GB",
      "max_offers": 4
    }
  ]
}
```

**Output**

| Field | Type | Example | Description |
|---|---|---|---|
| `offers` | array |  |  |
| `offers[].price` | number | `462` |  |
| `offers[].shop_name` | string | `"Back Market"` |  |
| `offers[].offer_link` | string | `"https://clk.klarna.com/uk/gotostore/v1/a63281b096226258e7083da11c6d65ea?productId=3253860562"` |  |
| `offers[].shop_rating` | number or null | `4.9` |  |
| `offers[].total_price` | number or null | `462` |  |
| `offers[].stock_status` | string or null | `"In stock"` |  |
| `offers[].shipping_cost` | number or null | `0` |  |
| `category` | string or null | `"Mobile Phones"` |  |
| `currency` | string | `"GBP"` |  |
| `lowest_price` | number or null | `462` |  |
| `product_link` | string | `"https://www.pricerunner.com/pl/1-3253860562/Mobile-Phones/Apple-iPhone-16-128GB-White-Compare-Prices"` |  |
| `product_name` | string | `"Apple iPhone 16, 128GB White"` |  |
| `number_of_offers` | integer | `24` |  |
| `lowest_price_last_3_months` | number or null | `1` |  |
| `lowest_price_last_3_months_date` | string or null | `"2026-09-26"` |  |

**Example input**

```json
{
  "product": "iPhone 16 128GB"
}
```

**Example output**

```json
{
  "offers": [
    {
      "price": 462,
      "shop_name": "Back Market",
      "offer_link": "https://clk.klarna.com/uk/gotostore/v1/a63281b096226258e7083da11c6d65ea?productId=3253860562",
      "shop_rating": null,
      "total_price": 462,
      "stock_status": null,
      "shipping_cost": 0
    },
    {
      "price": 519.99,
      "shop_name": "Music Magpie",
      "offer_link": "https://clk.klarna.com/uk/gotostore/v1/329f70aca7183a6f14a57df06f5a51ba?productId=3253860562",
      "shop_rating": null,
      "total_price": 519.99,
      "stock_status": "In stock",
      "shipping_cost": 0
    },
    {
      "price": 532,
      "shop_name": "Back Market",
      "offer_link": "https://clk.klarna.com/uk/gotostore/v1/dc4affa8bdc33fb536f8a820ea3807be?productId=3253860562",
      "shop_rating": null,
      "total_price": 532,
      "stock_status": null,
      "shipping_cost": 0
    }
  ],
  "category": "Mobile Phones",
  "currency": "GBP",
  "lowest_price": 462,
  "product_link": "https://www.pricerunner.com/pl/1-3253860562/Mobile-Phones/Apple-iPhone-16-128GB-White-Compare-Prices",
  "product_name": "Apple iPhone 16, 128GB White",
  "number_of_offers": 24,
  "lowest_price_last_3_months": 1,
  "lowest_price_last_3_months_date": "2026-09-26"
}
```

## Quick start

Call the API with a Fous API key (`FOUS_API_KEY`). To create one, turn on Developer mode in Fous Studio, then open Keys & connections → API keys (https://app.fous.com/keys).

```bash
# First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
: "${FOUS_API_KEY:?Set FOUS_API_KEY before running this example}"

curl 'https://api.fous.com/v1/query' \
  --fail-with-body --silent --show-error --max-time 120 \
  -H "Authorization: Bearer $FOUS_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "api": "@pricerunner",
  "visibility": "public",
  "operation": "compare_prices",
  "version": 1,
  "input": {
    "product": "iPhone 16 128GB"
  },
  "response": {
    "format": "json"
  }
}'
```

```python
# Save as fous.py and run with python3 fous.py. No packages needed.
# First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
import json
import os
import urllib.error
import urllib.request

api_key = os.environ.get("FOUS_API_KEY")
if not api_key:
    raise RuntimeError("Set FOUS_API_KEY before running this example")

body = json.loads("{\n  \"api\": \"@pricerunner\",\n  \"visibility\": \"public\",\n  \"operation\": \"compare_prices\",\n  \"version\": 1,\n  \"input\": {\n    \"product\": \"iPhone 16 128GB\"\n  },\n  \"response\": {\n    \"format\": \"json\"\n  }\n}")
request = urllib.request.Request(
    "https://api.fous.com/v1/query",
    data=json.dumps(body).encode("utf-8"),
    headers={
        "Authorization": f"Bearer {api_key}",
        "Content-Type": "application/json",
    },
    method="POST",
)
try:
    with urllib.request.urlopen(request, timeout=120) as response:
        result = json.load(response)
except urllib.error.HTTPError as error:
    raise RuntimeError(f"HTTP {error.code}: {error.read().decode('utf-8', errors='replace')}") from error
if result.get("success") is False:
    raise RuntimeError(result.get("error", {}).get("message", "Request failed"))
print(json.dumps(result["data"]["output"], indent=2))
```

```typescript
// Save as fous.mts and run with npx tsx fous.mts.
// First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
const apiKey = process.env.FOUS_API_KEY;
if (!apiKey) throw new Error("Set FOUS_API_KEY before running this example");

const response = await fetch("https://api.fous.com/v1/query", {
  method: "POST",
  headers: {
    "Authorization": `Bearer ${apiKey}`,
    "Content-Type": "application/json",
  },
  signal: AbortSignal.timeout(120_000),
  body: JSON.stringify({
  "api": "@pricerunner",
  "visibility": "public",
  "operation": "compare_prices",
  "version": 1,
  "input": {
    "product": "iPhone 16 128GB"
  },
  "response": {
    "format": "json"
  }
}),
});
type ApiResult = { success: boolean; data?: { output: unknown }; error?: { message: string } };
const result: ApiResult = await response.json();
if (!response.ok || result.success === false) {
  throw new Error(result.error?.message ?? `HTTP ${response.status}`);
}
if (!result.data) throw new Error("Missing API response data");
console.log(result.data.output);
```

Or describe the data in plain language: send `{"api":"@pricerunner","prompt":"Describe the data you need, with every detail"}` to the same URL. Fous fills in the input, runs the method that fits and returns only the fields you asked for; `data.route.calls[].request` is the exact call it made. Routing is free; the run costs the same.

## Use cases

- Compare prices for a product across supported countries
- Review shop ratings and stock status before buying
- Check a product’s lowest price from the previous three months
- Compare listed prices and total prices where available

## FAQ

### Is Fous affiliated with PriceRunner?

No. Fous is not affiliated with PriceRunner. This workflow reads the public pricerunner.com website and returns its data.

### How much does it cost?

Each run costs 1 credit. With pay-as-you-go, a credit costs 1¢; monthly plans cost less per credit.

### Do I need a PriceRunner account?

No. You only need a Fous account.

### How current is the data?

Fous gets the data from pricerunner.com when you run it; repeating the same request within a day may return the saved result. Fous checks this workflow automatically; it last passed a check on Sep 29, 2026.

### Which shops offer a product, and at what prices?

Compare prices returns default shop offers with prices, shop names, ratings and stock status.

### What was a product’s lowest price in the past three months?

Compare prices returns the three-month lowest price and its date when available.

### Can I compare a product across countries?

Compare prices supports the UK, Sweden and Denmark; provide a country name or two-letter country code.

## Related

- [idealo API](https://fous.com/workflows/idealo.md): Compare online shop offers for products on idealo.
- [Google Shopping API](https://fous.com/workflows/google-shopping.md): Google Shopping shows product offers, prices, ratings, delivery and store links; results vary by country and listings, totals need shown shipping, and typical ranges may be missing.
- [Apple Store API](https://fous.com/workflows/apple-store.md): Apple Store shows current public-store prices and configurations, compares prices across up to 15 countries at latest ECB rates, checks local pickup without reservations, and lists currently shown refurbished products.
- [IKEA API](https://fous.com/workflows/ikea.md): IKEA helps shoppers find country-dependent product details, prices, photos, reviews and assembly information, and check store stock where IKEA provides it; some countries are unsupported.
- [Amazon API](https://fous.com/workflows/amazon.md): Amazon returns publicly shown product listings, prices, details, ratings, reviews, current best sellers, and Today's Deals; availability and content vary by store, location, and access.
- [Best Buy API](https://fous.com/workflows/best-buy.md): Best Buy returns US electronics and appliance listings, prices, deals, specifications, images, reviews, and nearby store pickup and shipping details; prices and availability can change by location and before checkout.
- [H&M API](https://fous.com/workflows/hm.md): H&M offers clothing and home shopping, with country-specific prices and online size stock; product details reflect current catalog information.
- [Nike API](https://fous.com/workflows/nike.md): Nike returns country-specific listings and details, including prices, sizes, availability and reviews, plus publicly shown upcoming or recently stocked SNKRS releases with local launch times.
- [All Commerce workflows](https://fous.com/workflows/category/commerce)
