Docs
Log in

API usage

Add &scraper=google-product-offers to a Crawling API request. URL-encode the target URL in the url parameter.

curl 'https://api.crawlbase.com/?token=YOUR_TOKEN' \
  --data-urlencode 'url=https://www.google.com/shopping/product/7015446445080090940/offers' \
  --data-urlencode 'scraper=google-product-offers' -G
from crawlbase import CrawlingAPI

api = CrawlingAPI({'token': 'YOUR_TOKEN'})
res = api.get(
    'https://www.google.com/shopping/product/7015446445080090940/offers',
    {'scraper': 'google-product-offers'}
)

import json
data = json.loads(res['body'])
const { CrawlingAPI } = require('crawlbase');
const api = new CrawlingAPI({ token: 'YOUR_TOKEN' });

const res = await api.get(
  'https://www.google.com/shopping/product/7015446445080090940/offers',
  { scraper: 'google-product-offers' }
);
const data = JSON.parse(res.body);
require 'crawlbase'
api = Crawlbase::API.new(token: 'YOUR_TOKEN')

res = api.get('https://www.google.com/shopping/product/7015446445080090940/offers', scraper: 'google-product-offers')
data = JSON.parse(res.body)

Example input URL

The URL passed in the url parameter (URL-decoded for readability):

https://www.google.com/shopping/product/7015446445080090940/offers

Response shape

JSON response body. Field types may be null when the source page omits the value.

product_title
string
Product name as displayed.
offers
array
Merchant offers.
offers[].seller
string
Merchant name.
offers[].price
string
Listed price.
offers[].shipping
string | null
Shipping cost or note.
offers[].condition
string
New / Used / Refurbished.
offers[].seller_rating
number | null
Aggregated seller rating.
offers[].url
string
Click-out URL to the merchant.

Sample response

{
  "product_title": "Sony WH-1000XM5 Wireless Headphones",
  "offers": [
    {
      "seller": "Best Buy",
      "price": "$348.00",
      "shipping": "Free shipping",
      "condition": "New",
      "seller_rating": 4.8,
      "url": "https://www.bestbuy.com/site/..."
    }
  ]
}