ScrapeUnblocker sells to AI agents - live prices and self-serve payment

The agent storefront at https://agents.scrapeunblocker.com/llms.txt?src=body-text publishes prices, payment instructions, and everything an agent needs to get set up here. Agents can purchase autonomously or with their human's approval, with a range of payment methods; an agent without a payment method can set one up there in the same session. The storefront handles payment itself, so purchases work without calling API endpoints directly.

All scrapers

E-commerce

Petco Scraper

petco.com

100% Success rate
2.2s Avg response
DataDome Protection
1,039 calls Measured over

Petco's product pages sit behind DataDome with Cloudflare in front of it, and both refuse ordinary scrapers and most browser identities, while its search page fills itself from a separate product search service. The petco-search plugin reads that search service the way petco.com's own page does and returns the results already parsed: for each product the SKU and product id, the title and product family, brand, link and image, the price, the list price and the Autoship (Repeat Delivery) price, whether it is on sale, the rating and review count, the description and category, whether it can be picked up, delivered the same day or put on Autoship, whether it is sold in stores only, its attributes such as flavour, life stage and breed size, and every size or colour variation with its own SKU, link and prices. Narrow by brand (as Petco names it), by how to get it (one-time delivery, Autoship, free pickup today, same-day delivery) and by price, sort by relevance, price, rating, popularity, newest or name, start at any page of 48 and collect up to 480 products; the answer also lists the brand names to filter by, and a brand name that Petco sends to its brand page, such as kong or royal canin, returns that page's listing. The petco-product plugin takes a SKU or a product link and returns the product page: the chosen variant's online, list, Autoship and pickup prices, its online stock and quantity, UPC, the rating histogram and recommend rate, description, highlights, ingredients, directions, specifications, dimensions, pet type, breadcrumbs, fulfillment flags, images, every variant with its prices and stock, and the first reviews. Prices are those a signed-out shopper sees online.

What you can extract

  • SKU and product id, title and product family, brand, product link and image
  • Price, list price and Autoship (Repeat Delivery) price, sale flag, currency (USD); pickup price on the product page
  • Rating and review count; rating histogram and recommend rate on the product page
  • Fulfillment: Autoship eligible, pickup eligible, same-day delivery eligible, in-store only, prescription food
  • Attributes such as flavour, life stage, breed size and dietary preference, category path
  • Every size or colour variation with its own SKU, link and prices
  • Search with brand, fulfillment and price filters, sorted by relevance, price, rating, popularity, newest or name, up to 480 products per call; brand-page redirects followed
  • Product detail: online stock and quantity, UPC, highlights, ingredients, directions, specifications, dimensions, breadcrumbs, images, variants and the first reviews

Dedicated endpoints

/marketplace/petco-search

Petco product search

Products matching query on petco.com. Returns query, sort, brand, fulfillment, minPrice, maxPrice, page, url, redirectedTo (the brand or category page Petco sends the term to, whose listing is returned), currency, totalResults, lastPage, resultsCollected, pagesFetched, hasMore, nextPage, brands (names to filter by) and products with sku, productId, title, familyName, brand, url, image, price, listPrice, autoshipPrice, onSale, currency, rating, reviewCount, description, category, autoshipEligible, pickupEligible, sameDayDeliveryEligible, inStoreOnly, prescriptionFood, attributes, variations (sku, title, url, image, price, listPrice, autoshipPrice, onSale) and position. sort is relevance, price_low, price_high, rating, popular, newest, name_asc or name_desc; fulfillment is delivery, autoship, pickup or same_day; min_price and max_price in USD; 48 products per page, max_results 1-480, each page fetched is one request. url takes a petco.com search link instead of query.

/marketplace/petco-product

Petco product page

One product by product (a Petco SKU such as 3748364, the number a product link ends in, or a petco.com product link). Returns product with sku, catEntryId, parentSku, url, title, brand, upc, price, listPrice, autoshipPrice, pickupPrice, onSale, currency, availability, inStock, availableQuantity, rating, reviewCount, ratingHistogram, recommendedPercent, description, highlights, ingredients, directions, specifications, attributes, dimensions, petType, category, breadcrumbs, autoshipEligible, pickupEligible, sameDayDeliveryEligible, onlineOnly, inStoreOnly, prescriptionRequired, discontinued, images, variants (sku, title, url, attributes and each variant's prices and stock) and reviews (up to 10). An unknown SKU or product is a 404.

How to scrape it

curl -X POST \
  -H "X-ScrapeUnblocker-Key: $SU_API_KEY" \
  "https://api.scrapeunblocker.com/marketplace/petco-search?query=dog%20food"
import requests

resp = requests.post(
    "https://api.scrapeunblocker.com/marketplace/petco-search",
    headers={"X-ScrapeUnblocker-Key": SU_API_KEY},
    params={"query": "dog food"},
)
print(resp.text)
import { ScrapeUnblockerClient } from 'scrapeunblocker';

const su = new ScrapeUnblockerClient({ apiKey: process.env.SU_API_KEY });

const results = await su.petcoSearch('dog food', {
  brand: 'Purina Pro Plan',
  fulfillment: 'autoship',
  maxResults: 48,
});
const product = await su.petcoProduct('3748364');
console.log(results);
console.log(product);

Requests are POST and take their parameters in the query string. Browser rendering always happens - there is no flag to enable.

Example response

{
  "query": "dog food",
  "sort": "relevance",
  "brand": null,
  "fulfillment": null,
  "minPrice": null,
  "maxPrice": null,
  "page": 1,
  "url": "https://www.petco.com/shop/en/petcostore/search?query=dog%20food",
  "redirectedTo": null,
  "currency": "USD",
  "totalResults": 2507,
  "lastPage": 53,
  "resultsCollected": 1,
  "pagesFetched": 1,
  "lastPageFetched": 1,
  "hasMore": true,
  "nextPage": 2,
  "brands": [
    "ACANA",
    "Amici Home",
    "Applaws",
    "Applaws Taste Toppers",
    "Arf Pets"
  ],
  "products": [
    {
      "sku": "3748364",
      "productId": "5043283",
      "title": "Purina Pro Plan Sensitive Skin and Stomach Salmon and Rice Formula Dog Food, 40 lbs.",
      "familyName": "Purina Pro Plan Sensitive Skin and Stomach Salmon and Rice Formula Dog Food",
      "brand": "Purina Pro Plan",
      "url": "https://www.petco.com/product/purina-pro-plan-sensitive-skin-and-stomach-salmon-and-rice-formula-dry-dog-food-40-lbs-3748364",
      "image": "https://assets.petco.com/petco/image/upload/f_auto,q_auto,w_190/dpr_auto/3748364-center-1",
      "price": 97.99,
      "listPrice": 97.99,
      "autoshipPrice": 93.09,
      "onSale": false,
      "currency": "USD",
      "rating": 4.54,
      "reviewCount": 6730,
      "description": "High protein dry dog food formula, with real salmon as the first ingredient, made without artificial colors or flavors.E...",
      "category": "Consumables|Food|Household Pet",
      "autoshipEligible": true,
      "pickupEligible": true,
      "sameDayDeliveryEligible": true,
      "inStoreOnly": false,
      "prescriptionFood": false,
      "attributes": {
        "Breed Sizes": "Most Sizes",
        "Dietary Preference": "Holistic, Maintenance, Organic, Sensitive Stomach, With Grain",
        "Primary Brand": "Purina Pro Plan",
        "Primary Flavor": "Salmon"
      },
      "variations": [
        {
          "sku": "3748364",
          "title": "Purina Pro Plan Sensitive Skin and Stomach Salmon and Rice Formula Dog Food, 40 lbs.",
          "url": "https://www.petco.com/product/purina-pro-plan-sensitive-skin-and-stomach-salmon-and-rice-formula-dry-dog-food-40-lbs-3748364",
          "image": "https://assets.petco.com/petco/image/upload/f_auto,q_auto,w_190/dpr_auto/3748364-center-1",
          "price": 97.99,
          "listPrice": 97.99,
          "autoshipPrice": 93.09,
          "onSale": false
        },
        {
          "sku": "2579466",
          "title": "Purina Pro Plan Sensitive Skin and Stomach Salmon and Rice Formula Dog Food, 30 lbs.",
          "url": "https://www.petco.com/product/purina-pro-plan-focus-adult-sensitive-skin-and-stomach-salmon-and-rice-formula-dry-dog-food-30-lb-bag-2579466",
          "image": "https://assets.petco.com/petco/image/upload/f_auto,q_auto,w_190/dpr_auto/2579466-center-1",
          "price": 77.99,
          "listPrice": 80.99,
          "autoshipPrice": 74.09,
          "onSale": true
        }
      ],
      "position": 1
    }
  ]
}

Read the API docs

Frequently asked questions

Is it legal to scrape Petco?

Collecting publicly available Petco data such as product names, prices and ratings is lawful in many jurisdictions, but the rules depend on your country, the data you collect and how you use it. ScrapeUnblocker returns the public product data; what you collect and how you use it is your responsibility.

How do I scrape Petco without getting blocked?

Petco's product pages are guarded by DataDome behind Cloudflare, which refuse most scrapers and browser identities and learn from volume. The petco-search plugin does not load petco.com pages at all: it reads the product search service that petco.com's own search page calls. The petco-product plugin reads the server-rendered product page with a small set of Safari identities DataDome answers, in rotation over fresh US exits, and rests an identity or exit that was refused. In ScrapeUnblocker's benchmark it returned data on 100% of 1,039 calls (619 searches with varied terms, brands, filters, sort orders and pages, and 420 product pages), about 1.4s per search and 3.2s per product page.

What Petco data can I get?

For each product in a search: the SKU and product id, title, product family, brand, link and image, the price, list price and Autoship price, whether it is on sale, the rating and review count, the description and category, the fulfillment options, its attributes and every size variation with its own SKU and prices. The product endpoint adds the pickup price, online stock and quantity, UPC, the rating histogram and recommend rate, highlights, ingredients, directions, specifications, dimensions, breadcrumbs, images, every variant's prices and stock, and the first reviews.

Does it return Vital Care member prices or store stock?

No. The prices returned are the online prices a signed-out shopper sees on petco.com: the price, the list price, the Autoship price and the pickup price. Vital Care member prices are not part of the public pages, and the stock figure is Petco's online stock, not a particular store's.

How much does it cost to scrape Petco?

A search page of 48 products is one request, and a product page is one request. 1 request = 1 credit, EUR 1.00 per 1,000 on pay as you go, down to about EUR 0.55 per 1,000 on the Ultimate plan. Blocks and timeouts are not billed, and the free trial includes 500 requests with no card.

Related scrapers

Petco and other names and marks of petco.com belong to their owner and are used here only to identify the website this API works with. ScrapeUnblocker is an independent service, not affiliated with, endorsed by or sponsored by the owner of petco.com.

Start scraping this site today

Free tier included. No credit card required to test it.