OpenGraph.ioOpenGraph.io
Ecommerce data

Price scraping for any product page

Get the current price from a product page in one request. Read the price tag or structured data most stores publish for one credit, or let AI find it on any layout.

Or try the free Web Scraping tool
Per price with a CSS selector
1 credit
Shopify and WooCommerce prices in our tests
Under 2 s
Comes with the price when the store publishes structured data
Currency
How it works

How to scrape prices from a website

01Price tag

Read the price tag

Many stores, including most Shopify themes, publish the price in an og:price:amount meta tag. One selector reads it for one credit, and it keeps working for every product on that store.

Extract API docs
02Structured data

Prices drawn by JavaScript

When the visible price is drawn in the browser, the structured data block usually still has it, along with the currency and stock status. Select the block and read price and priceCurrency from it.

Selector options
03Amazon

Amazon prices with no selectors

Send an Amazon product URL to the Open Graph API and read the price from the products block, along with the name, category and features.

Open Graph API docs
Copy the request

Two real price requests

Both returned the right price for one credit in under two seconds in our tests.

POSTopengraph.io/api/3.0/extract
Shopify store, price tag
{ "site": "https://store.example/products/slide",
  "selectors": { "price": {
    "selector": "meta[property=\"og:price:amount\"]",
    "type": "attr", "attr": "content" } } }

"data": { "price": "55.00" }
POSTopengraph.io/api/3.0/extract
WooCommerce store, structured data
{ "site": "https://shop.example/product/grinder/",
  "selectors": { "product": {
    "selector": "script[type=\"application/ld+json\"]",
    "type": "html", "multiple": true } } }

"data": { "product": ["{ ... \"price\": \"1150.00\",
  \"priceCurrency\": \"USD\" ... }"] }
Tips

Getting clean prices every time

Start with structured data

It carries the currency and stock status along with the price.

Check stock as well

Structured data offers usually include availability, so one request tells you price and stock.

Save selectors per store

Once a selector works for a store, it keeps working for every product page on it.

FAQ

An API that reads a product page and returns its current price as JSON, so you do not have to fetch pages, handle blocks or parse HTML yourself.
No. Send one request per product page and read the price from the response. There is no scraper, proxy pool or parser to maintain.
In our tests, selector requests on Shopify and WooCommerce stores returned in under two seconds.
Use a CSS selector on the visible price, or the AI query, which reads the page text and returns the fields you describe. AI data scraper →
Yes, when the store includes it in its structured data.

Start scraping prices

One request per product page, JSON back.

No credit card required to start.