Documentation has been updated: see help center and changelog in one place.

Petco

Learn how to get Petco web data using the Web Scraper API and find out more about all supported Petco sources.

With Web Scraper API, you can scrape and parse various types of Petco pages; below is an overview of all supported scrapers and their respective source values.

Source
Description

petco_search

Search page for a search term of your choice.

petco

Submit any Petco URL you like.

Getting started

Create your API user credentials: Sign up for a free trial or purchase the product in the Oxylabs dashboard to create your API user credentials (USERNAME and PASSWORD).

Request samples

curl 'https://realtime.oxylabs.io/v1/queries' \
--user 'USERNAME:PASSWORD' \
-H 'Content-Type: application/json' \
-d '{
        "source": "petco_search", 
        "query": "food"
    }'

We use synchronous Realtime integration method in our examples. If you would like to use Proxy Endpoint or asynchronous Push-Pull integration, refer to the integration methods section.

Optionally, you can include additional parameters such as user_agent_type, parse, render and more to customize your scraping request. Read more:

Features

Last updated

Was this helpful?