# Get EAN and UPC barcodes with prices from product pages

**Use case:** 

Reads product pages, here three from a public Shopify demo store, and returns one row per product with its barcode as the page states it (gtin: two 12-digit UPCs and a 13-digit EAN here), SKU, brand, price and stock. Use the barcodes to match the same product across your suppliers' and competitors' shops; a page that states no barcode leaves gtin empty.

## Input

```json
{
  "productUrls": [
    "https://warehouse-theme-metal.myshopify.com/products/lg-oled65b7a-65-inch-4k-ultra-hd-smart-oled-tv",
    "https://warehouse-theme-metal.myshopify.com/products/lg-49sk8000pua-49-inch-4k-ultra-hd-smart-led-tv",
    "https://warehouse-theme-metal.myshopify.com/products/audio-technica-vm530en-dual-moving-magnet-cartridge"
  ],
  "maxProductsPerShop": 1000,
  "oneRowPerVariant": false,
  "includeDescription": true,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

## Output

```json
{
  "result.imageUrl": {
    "label": "Image",
    "format": "string"
  },
  "result.name": {
    "label": "Name",
    "format": "string"
  },
  "result.variant": {
    "label": "Variant",
    "format": "string"
  },
  "result.priceDecimal": {
    "label": "Price",
    "format": "string"
  },
  "result.currency": {
    "label": "Currency",
    "format": "string"
  },
  "result.regularPriceDecimal": {
    "label": "Regular price",
    "format": "string"
  },
  "result.inStock": {
    "label": "In stock",
    "format": "boolean"
  },
  "result.availability": {
    "label": "Availability",
    "format": "string"
  },
  "result.sku": {
    "label": "SKU",
    "format": "string"
  },
  "result.gtin": {
    "label": "GTIN",
    "format": "string"
  },
  "result.brand": {
    "label": "Brand",
    "format": "string"
  },
  "result.category": {
    "label": "Category",
    "format": "string"
  },
  "result.url": {
    "label": "Product URL",
    "format": "string"
  },
  "result.shop": {
    "label": "Shop",
    "format": "string"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "input": {
    "label": "Input",
    "format": "string"
  },
  "searchTerm": {
    "label": "Search term",
    "format": "string"
  },
  "source.url": {
    "label": "Answered by",
    "format": "string"
  },
  "source.checkedAt": {
    "label": "Read at",
    "format": "string"
  },
  "error.message": {
    "label": "Error",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Product Price & Stock Scraper: Shopify, WooCommerce Actor is ready to run with the inputs already set for "Get EAN and UPC barcodes with prices from product pages". [Sign up or log in](https://console.apify.com/create-task-from-example/JyM2RCeuQAcjwUW40) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Get EAN and UPC barcodes with prices from product pages" task

The Product Price & Stock Scraper: Shopify, WooCommerce Actor will start running based on the input automatically. You can also change all the input fields, like 🔗 product page urls, 🔢 maximum products per shop, and more, to match your specific use case.

### 3. Receive the "Get EAN and UPC barcodes with prices from product pages" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as image, name, variant, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Get EAN and UPC barcodes with prices from product pages" task via API](https://apify.com/victorix/product-price-scraper.md).

## About this Actor

This example demonstrates how to use [Product Price & Stock Scraper: Shopify, WooCommerce](https://apify.com/victorix/product-price-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/victorix/product-price-scraper.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/victorix/product-price-scraper.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`).
