# 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/tools/pricerunner
- Handle: `@pricerunner`
- Category: [Commerce](https://fous.com/tools/category/commerce)
- Source website: https://pricerunner.com
- Last verified: Sep 29, 2026

## Methods

### Compare prices

Operation `compare_prices`, version 1. 1 credit per completed call. Failed calls without a completed billing receipt are free; completed work can remain charged if delivery is interrupted.

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

Replace `YOUR_API_KEY` with a Fous API key. To create one, open Developers at the bottom of Fous Studio, turn on Developer mode, then go to API keys (https://app.fous.com/keys). Change the values in `input` to run the same tool on new data.

```bash
curl 'https://api.fous.com/v1/query' \
  --fail-with-body --silent --show-error --max-time 180 \
  -H "Authorization: Bearer YOUR_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.
import json
import urllib.error
import urllib.request

api_key = "YOUR_API_KEY"

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=180) 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.
const apiKey = "YOUR_API_KEY";

const response = await fetch("https://api.fous.com/v1/query", {
  method: "POST",
  headers: {
    "Authorization": `Bearer ${apiKey}`,
    "Content-Type": "application/json",
  },
  signal: AbortSignal.timeout(180_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);
```

## Use from an AI assistant

Connect this tool to Claude Code, Claude Desktop, Cursor, VS Code, Codex and any MCP client as its own MCP server. Each method is a typed tool whose arguments are the method’s input.

- Server URL: `https://api.fous.com/mcp/tools/pricerunner`
- Authorization: `Authorization: Bearer <Fous API key>`

**Tools**

- `compare_prices`: Compare prices. 1 credit per completed call. Failed calls without a completed billing receipt are free; completed work can remain charged if delivery is interrupted.
- `fous_get_run`: the result of a run that was still going, by its `request_id`. Free.

Claude Code:

```bash
claude mcp add --scope user --transport http fous-pricerunner https://api.fous.com/mcp/tools/pricerunner --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"
```

To give the assistant every tool, connect `https://api.fous.com/mcp`: it finds one with `fous_search_tools` and runs it with `fous_run_tool`. Setup for other clients: https://fous.com/llms-full.txt.

## 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

### Can I run it with my own inputs?

Yes. Change the inputs in Studio and press Run, or send new inputs from your code, or ask a connected AI assistant.

### Can I call this PriceRunner tool as an API?

Yes. Send a POST request to /v1/query with your Fous API key and the inputs, and get JSON back.

### How much does it cost?

Each completed run costs 1 credit. Failed runs without a completed receipt are free; completed work can remain charged if delivery is interrupted. 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. Some results are reused for up to 24 hours, and results that use your account or key are never reused. It was last verified 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/tools/idealo.md): Compare online shop offers for products on idealo.
- [Google Shopping API](https://fous.com/tools/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/tools/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/tools/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/tools/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/tools/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/tools/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/tools/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 tools](https://fous.com/tools/category/commerce)
