Skip to main content
Piloterr
Back to library

PetSmart Product API

Read one PetSmart product URL, including the selected size, dollar price, flavor, and item number.

Active1 credit = 1 requestGET/v2/petsmart/product

Endpoint Overview

Detailed documentation, pricing, and usage examples.

OverviewLink to Overview

Read one PetSmart product page. The response is the selected size: price, rating, flavor, and the other sizes on that page.

query is a PetSmart product URL ending in .html. A search link returns 400.

QuickstartLink to Quickstart

GET https://api.piloterr.com/v2/petsmart/product?query=https://www.petsmart.com/dog/food/dry-food/purina-pro-plan-sensitive-skin-and-stomach-dry-dog-food-adult-salmon-and-rice-formula-digestive-health-36648.html

ParametersLink to Parameters

Parameter Type Required Description
query string yes Product URL. Placeholder: a PetSmart .html product link.
return_page_source boolean no When true, the response is the raw HTML in result.

Response fieldsLink to Response fields

price is the price of the selected size. price_display is that number in dollars. id is the PetSmart item number. variants lists the other priced SKUs on the page.

Use casesLink to Use cases

  • Track the 30 lb salmon formula at PetSmart
  • Read the item number, GTIN, and flavor
  • Compare the sizes sold on one product page

Error codesLink to Error codes

Code Meaning
400 Empty query, another website, or a link that is not a product
404 The page had no product sheet
500 The fetch failed

Related APIs

Expand your data capabilities with these complementary tools.

Ready to get started?

Your web scraping API is one click away. Start with +500 credits, no infrastructure to set up, no proxies to manage, and no credit card required.

  • +500 credits
  • No credit card required
  • All endpoints included