# Compare AirPods Pro prices across every US retailer

**Use case:** 

Starts from the Amazon, Walmart and Target product pages, finds every other store selling the same AirPods Pro by matching UPC, EAN and MPN rather than titles, extracts each live price in USD and ranks your reference price against the market. Add a free scrape.do key for protected sites.

## Input

```json
{
  "productUrls": [
    {
      "url": "https://www.amazon.com/dp/B09B8V1LZ3"
    },
    {
      "url": "https://www.walmart.com/ip/AirPods-Pro-2nd-generation-with-MagSafe-Case-USB-C/5689919121"
    },
    {
      "url": "https://www.target.com/p/airpods-pro-2nd-generation-with-magsafe-case-usb-c/-/A-85978622"
    }
  ],
  "country": "us",
  "currency": "USD",
  "maxCompetitors": 10,
  "maxPages": 2,
  "excludedDomains": [],
  "includedDomains": [],
  "model": "meta-llama/llama-3.1-8b-instruct"
}
```

## Output

```json
{
  "reference_url": {
    "label": "Reference URL",
    "format": "string"
  },
  "reference_title": {
    "label": "Reference Title",
    "format": "string"
  },
  "reference_brand": {
    "label": "Reference Brand",
    "format": "string"
  },
  "reference_model": {
    "label": "Reference Model",
    "format": "string"
  },
  "reference_price": {
    "label": "Your Price",
    "format": "number"
  },
  "reference_currency": {
    "label": "Reference Currency",
    "format": "string"
  },
  "reference_availability": {
    "label": "Reference Availability",
    "format": "string"
  },
  "matches_found": {
    "label": "Matches Found",
    "format": "integer"
  },
  "urls_checked": {
    "label": "URLs Checked",
    "format": "integer"
  },
  "min_comp_price": {
    "label": "Min Competitor Price",
    "format": "number"
  },
  "avg_comp_price": {
    "label": "Avg Competitor Price",
    "format": "number"
  },
  "max_comp_price": {
    "label": "Max Competitor Price",
    "format": "number"
  },
  "your_rank": {
    "label": "Your Rank",
    "format": "integer"
  },
  "price_position": {
    "label": "Price Position",
    "format": "string"
  },
  "pct_vs_avg_market": {
    "label": "% vs Avg Market",
    "format": "number"
  },
  "pct_vs_cheapest": {
    "label": "% vs Cheapest",
    "format": "number"
  },
  "suggested_action": {
    "label": "Suggested Action",
    "format": "string"
  },
  "competitor_domain": {
    "label": "Competitor Domain",
    "format": "string"
  },
  "competitor_url": {
    "label": "Competitor URL",
    "format": "string"
  },
  "competitor_product_name": {
    "label": "Competitor Product Name",
    "format": "string"
  },
  "comp_price": {
    "label": "Competitor Price",
    "format": "number"
  },
  "comp_currency": {
    "label": "Competitor Currency",
    "format": "string"
  },
  "comp_vs_you_abs": {
    "label": "Comp vs You ($)",
    "format": "number"
  },
  "comp_vs_you_pct": {
    "label": "Comp vs You (%)",
    "format": "number"
  },
  "market_rank": {
    "label": "Market Rank",
    "format": "integer"
  },
  "confidence": {
    "label": "Confidence",
    "format": "string"
  },
  "shipping_rules": {
    "label": "Shipping Rules",
    "format": "string"
  },
  "reasoning": {
    "label": "Reasoning",
    "format": "string"
  },
  "is_cheapest": {
    "label": "Is Cheapest",
    "format": "boolean"
  },
  "status": {
    "label": "Status",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Competitor Price Tracker & Price Comparison by Product URL](https://apify.com/fayoussef/competitor-price-tracker-price-comparison-by-product-url.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/fayoussef/competitor-price-tracker-price-comparison-by-product-url.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/fayoussef/competitor-price-tracker-price-comparison-by-product-url.md

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`).
