---
title: "Petco API: pet product search, category listings as JSON"
description: "Petco API for pet product search, category listings and autocomplete with prices, Repeat Delivery prices and ratings as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/petco
---

[APIs](https://perceptlayer.com/apis) / [Marketplaces](https://perceptlayer.com/verticals/marketplaces) / Petco

1 credit per call 5 endpoints 40 datapoints 

# Petco API

Petco API for pet product search, category listings and autocomplete with prices, Repeat Delivery prices and ratings as JSON. 1 credit per successful call.

[Get a free API key](https://perceptlayer.com/signup) Run it below

Petco

GET /v1/petco/search?q=dog+food&page=1&sort=relevance 

```
{
  "success": true,
  "data": {
    "search_metadata": {
      "query": "dog food",
      "page": 1,
      "sort": "relevance",
      "sort_order": "descending",
      "filters": {}
    },
    "results": [
      {
        "id": "6131012",
        "url": "https://www.petco.com/product/purina-pro-plan-sensitive-skin-and-stomach-salmon-and-rice-formula-dry-dog-food-40-lbs-3748364",
        "mfName": "Purina Pro Plan",
        "itemurl": "/product/purina-pro-plan-focus-sensitive-skin-and-stomach-salmon-and-rice-formula-adult-dry-dog-food",
        "itemimg": "https://assets.petco.com/petco/image/upload/f_auto,q_auto,w_190/dpr_auto/3748364-center-1",
        "itemname": "Purina Pro Plan Sensitive Skin and Stomach Salmon and Rice Formula Dog Food",
        "image_url": "https://assets.petco.com/petco/image/upload/f_auto,q_auto,w_190/dpr_auto/3748364-center-1",
        "description": "High protein dry dog food formula, with real salmon as the first ingredient, made without artificial colors or flavors.Each serving delivers fish oil for dogs rich in omega-3 fatty acids for joint health.Dry dog food, including sunflower oi…",
        "AverageRating": 4.5391,
        "parentCatEntryID": 2026049,
        "TotalReviewCount": 6791,
        "PTC_OMNI_TAXONOMY": "Consumables|Food|Household Pet",
        "facets": [
          {
            "name": "Breed Sizes",
            "values": [
              "Most Sizes"
            ]
          },
          {
            "name": "Dietary Preference",
            "values": [
              "Holistic",
              "Maintenance",
              "Organic"
            ]
          },
          {
            "name": "Primary Brand",
            "values": [
              "Purina Pro Plan"
            ]
          }
        ],
        "PTC_OMNI_BOPUS_FLAG": "Yes",
        "PTC_OMNI_RX_FOOD_IND": "No",
        "PTC_OMNI_BRAND_PRIMARY": "Purina Pro Plan",
        "parentCatEntryIDAsString": "2026049",
        "PTC_OMNI_PRIMARY_ITEM_FLAG": "Yes",
        "PTC_OMNI_IN_STORE_ONLY_FLAG": "No",
        "PTC_OMNI_REPEAT_DELIVERY_FL": "Yes",
        "PTC_OMNI_SAME_DAY_DELIVERY_FG": "Yes",
        "PTC_OMNI_PERSONALIZED_ITEM_FL": "No",
        "PTC_OMNI_PDP_BEHAVIOR_TEMPLATE": "Standard PDP",
        "group_ids": [
          "weight-management-dog-food",
          "adult-dog-food",
          "grain-dry-dog-food"
        ],
        "rdprice": 93.09,
        "listprice": 97.99,
        "offerprice": 97.99,
        "catEntryID": "6131012",
        "variation_id": "3748364",
        "variations": [
          {
            "data": "…",
            "value": "Purina Pro Plan Sensitive Skin and Stomach Salmon and Rice Formula Dog Food, 40 lbs."
          },
          {
            "data": "…",
            "value": "Purina Pro Plan Sensitive Skin and Stomach Salmon and Rice Formula Dog Food, 30 lbs."
          },
          {
            "data": "…",
            "value": "Purina Pro Plan Sensitive Skin and Stomach Salmon and Rice Formula Dog Food, 16 lbs."
          }
        ],
        "currency": "USD",
        "name": "Purina Pro Plan Sensitive Skin and Stomach Salmon and Rice Formula Dog Food",
        "brand": "Purina Pro Plan",
        "image": "https://assets.petco.com/petco/image/upload/f_auto,q_auto,w_190/dpr_auto/3748364-center-1",
        "rating": 4.5391,
        "review_count": 6791,
        "original_price": 97.99,
        "sale_price": 97.99,
        "repeat_delivery_price": 93.09,
        "fulfillment": {
          "bopus": false,
          "repeat_delivery": false,
          "same_day_delivery": false,
          "in_store_only": false
        }
      },
      {
        "id": "2503505",
        "url": "https://www.petco.com/product/taste-of-the-wild-pacific-stream-grain-free-dry-dog-food-with-smoked-salmon-28-lbs-2998871",
        "mfName": "Taste of the Wild",
        "itemurl": "/product/taste-of-the-wild-pacific-stream-grain-free-dry-dog-food-with--smoked-salmon",
        "itemimg": "https://assets.petco.com/petco/image/upload/f_auto,q_auto,w_190/dpr_auto/2998871-center-1",
        "itemname": "Taste of the Wild Pacific Stream Grain-Free with Smoke-Flavored Salmon Dry Dog Food",
        "image_url": "https://assets.petco.com/petco/image/upload/f_auto,q_auto,w_190/dpr_auto/2998871-center-1",
        "description": "Taste of the Wild Pacific Stream with SMOKE-FLAVORED SALMON dry dog food; REAL FISH is the #1 ingredient; high-protein (32%) to help support bones, joints and LEAN, STRONG MUSCLES.FAMILY-OWNED and MADE in the USA using quality ingredients f…",
        "AverageRating": 4.7094,
        "parentCatEntryID": 1831041,
        "TotalReviewCount": 1951,
        "PTC_OMNI_TAXONOMY": "Consumables|Food|Household Pet",
        "facets": [
          {
            "name": "Breed Sizes",
            "values": [
              "Most Sizes"
            ]
          },
          {
            "name": "Dietary Preference",
            "values": [
              "Grain-Free",
              "High Protein"
            ]
          },
          {
            "name": "Primary Brand",
            "values": [
              "Taste of the Wild"
            ]
          }
        ],
        "PTC_OMNI_BOPUS_FLAG": "Yes",
        "PTC_OMNI_RX_FOOD_IND": "No",
        "PTC_OMNI_BRAND_PRIMARY": "Taste of the Wild",
        "parentCatEntryIDAsString": "1831041",
        "PTC_OMNI_PRIMARY_ITEM_FLAG": "Yes",
        "PTC_OMNI_IN_STORE_ONLY_FLAG": "No",
        "PTC_OMNI_REPEAT_DELIVERY_FL": "Yes",
        "PTC_OMNI_SAME_DAY_DELIVERY_FG": "Yes",
        "PTC_OMNI_PERSONALIZED_ITEM_FL": "No",
        "PTC_OMNI_PDP_BEHAVIOR_TEMPLATE": "Standard PDP",
        "group_ids": [
          "grain-free-dry-dog-food",
          "autoship-eligible-products",
          "dry-dog-food"
        ],
        "rdprice": 56.99,
        "listprice": 59.99,
        "catEntryID": "2503505",
        "offerprice": 59.99,
        "variation_id": "2998871",
        "variations": [
          {
            "data": "…",
            "value": "Taste of the Wild Pacific Stream Grain-Free with Smoke-Flavored Salmon Dry Dog Food, 28 lbs."
          },
          {
            "data": "…",
            "value": "Taste of the Wild Pacific Stream Grain-Free with Smoke-Flavored Salmon Dry Dog Food, 14 lbs."
          },
          {
            "data": "…",
            "value": "Taste of the Wild Pacific Stream Grain-Free with Smoke-Flavored Salmon Dry Dog Food, 5 lbs."
          }
        ],
        "currency": "USD",
        "name": "Taste of the Wild Pacific Stream Grain-Free with Smoke-Flavored Salmon Dry Dog Food",
        "brand": "Taste of the Wild",
        "image": "https://assets.petco.com/petco/image/upload/f_auto,q_auto,w_190/dpr_auto/2998871-center-1",
        "rating": 4.7094,
        "review_count": 1951,
        "original_price": 59.99,
        "sale_price": 59.99,
        "repeat_delivery_price": 56.99,
        "fulfillment": {
          "bopus": false,
          "repeat_delivery": false,
          "same_day_delivery": false,
          "in_store_only": false
        }
      },
      {
        "id": "1630007",
        "url": "https://www.petco.com/product/pro-plan-savor-shredded-blend-chicken-and-rice-dog-food-47-lbs-2841567",
        "mfName": "Purina Pro Plan",
        "itemurl": "/product/pro-plan-savor-shredded-blend-chicken-and-rice-dog-food",
        "itemimg": "https://assets.petco.com/petco/image/upload/f_auto,q_auto,w_190/dpr_auto/2841567-center-1",
        "itemname": "Purina Pro Plan Complete Essentials Shredded Blend Chicken and Rice Dry Dog Food Formula with Probiotics for Dogs",
        "image_url": "https://assets.petco.com/petco/image/upload/f_auto,q_auto,w_190/dpr_auto/2841567-center-1",
        "description": "Crunchy dog kibble combined with tender, shredded pieces for taste and texture dogs love. High protein dog food recipe, with real chicken as the first ingredient.Dry dog food fortified with live probiotics for dogs to help maintain gut micr…",
        "AverageRating": 4.6911,
        "parentCatEntryID": 25585,
        "TotalReviewCount": 4099,
        "PTC_OMNI_TAXONOMY": "Consumables|Food|Household Pet",
        "facets": [
          {
            "name": "Breed Sizes",
            "values": [
              "Most Sizes"
            ]
          },
          {
            "name": "Dietary Preference",
            "values": [
              "Holistic",
              "Organic",
              "Sensitive Stomach"
            ]
          },
          {
            "name": "Primary Brand",
            "values": [
              "Purina Pro Plan"
            ]
          }
        ],
        "PTC_OMNI_BOPUS_FLAG": "Yes",
        "PTC_OMNI_RX_FOOD_IND": "No",
        "PTC_OMNI_BRAND_PRIMARY": "Purina Pro Plan",
        "parentCatEntryIDAsString": "25585",
        "PTC_OMNI_PRIMARY_ITEM_FLAG": "Yes",
        "PTC_OMNI_IN_STORE_ONLY_FLAG": "No",
        "PTC_OMNI_REPEAT_DELIVERY_FL": "Yes",
        "PTC_OMNI_SAME_DAY_DELIVERY_FG": "Yes",
        "PTC_OMNI_PERSONALIZED_ITEM_FL": "No",
        "group_ids": [
          "adult-dog-food",
          "grain-dry-dog-food",
          "autoship-eligible-products"
        ],
        "rdprice": 93.09,
        "listprice": 97.99,
        "offerprice": 97.99,
        "catEntryID": "1630007",
        "variation_id": "2841567",
        "variations": [
          {
            "data": "…",
            "value": "Purina Pro Plan Complete Essentials Shredded Blend Chicken and Rice Dry Dog Food Formula with Probiotics for Dogs, 47 lbs."
          },
          {
            "data": "…",
            "value": "Purina Pro Plan Complete Essentials Shredded Blend Chicken and Rice Dry Dog Food Formula with Probiotics for Dogs, 35 lbs."
          },
          {
            "data": "…",
            "value": "Purina Pro Plan Complete Essentials Shredded Blend Chicken and Rice Dry Dog Food Formula with Probiotics for Dogs, 15 lbs."
          }
        ],
        "currency": "USD",
        "name": "Purina Pro Plan Complete Essentials Shredded Blend Chicken and Rice Dry Dog Food Formula with Probiotics for Dogs",
        "brand": "Purina Pro Plan",
        "image": "https://assets.petco.com/petco/image/upload/f_auto,q_auto,w_190/dpr_auto/2841567-center-1",
        "rating": 4.6911,
        "review_count": 4099,
        "original_price": 97.99,
        "sale_price": 97.99,
        "repeat_delivery_price": 93.09,
        "fulfillment": {
          "bopus": false,
          "repeat_delivery": false,
          "same_day_delivery": false,
          "in_store_only": false
        }
      }
    ],
    "total_num_results": 2457,
    "facets": [
      {
        "display_name": "Brand",
        "name": "Primary Brand",
        "type": "multiple",
        "options": [
          {
            "status": "",
            "count": 57,
            "display_name": "ACANA",
            "value": "ACANA"
          },
          {
            "status": "",
            "count": 18,
            "display_name": "Amici Home",
            "value": "Amici Home"
          },
          {
            "status": "",
            "count": 1,
            "display_name": "Applaws",
            "value": "Applaws"
          }
        ],
        "hidden": false
      },
      {
        "display_name": "How To Get It",
        "name": "How to get it",
        "type": "multiple",
        "options": [
          {
            "status": "",
            "count": 2368,
            "display_name": "One Time Delivery",
            "value": "One Time Delivery"
          },
          {
            "status": "",
            "count": 2084,
            "display_name": "Autoship",
            "value": "Repeat Delivery"
          },
          {
            "status": "",
            "count": 1645,
            "display_name": "Free Pickup Today",
            "value": "Free Pickup Today"
          }
        ],
        "hidden": false
      },
      {
        "display_name": "Lifestage",
        "name": "Lifestage",
        "type": "multiple",
        "options": [
          {
            "status": "",
            "count": 209,
            "display_name": "Puppy",
            "value": "Puppy"
          },
          {
            "status": "",
            "count": 1299,
            "display_name": "Adult",
            "value": "Adult"
          },
          {
            "status": "",
            "count": 108,
            "display_name": "Senior",
            "value": "Senior"
          }
        ],
        "hidden": false
      }
    ],
    "groups": [
      {
        "group_id": "all",
        "display_name": "All",
        "count": 2457,
        "children": [
          {
            "group_id": "autoship-eligible-products",
            "display_name": "Autoship Eligible Products",
            "count": 2130,
            "data": "…",
            "parents": [
              "…"
            ]
          },
          {
            "group_id": "buy-online-pick-up-in-store-products",
            "display_name": "Buy Online, Pick Up in Store Products",
            "count": 792,
            "data": "…",
            "parents": [
              "…"
            ]
          },
          {
            "group_id": "dog",
            "display_name": "Dog Supplies",
            "count": 2457,
            "data": "…",
            "parents": [
              "…"
            ]
          }
        ]
      }
    ],
    "pagination": {
      "current_page": 1,
      "page_size": 48,
      "offset": 0,
      "has_more": true,
      "window_truncated": false,
      "result_window": 10000
    }
  },
  "meta": {
    "endpoint_family": "petco_search",
    "duration_ms": 739,
    "attempts": 1,
    "request_id": "req_748f4341a46645adaeea9d057a22ba9b",
    "credits_charged": 1,
    "credits_remaining": 4818
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded from our API and shortened.

Sample data

## What one call returns

A recorded run of `search`: the fields and shapes you will get, shortened to 3 items.

| # | id string | url url | mfName string | itemurl string | itemimg url | itemname string | image\_url url | description string | AverageRating number | parentCatEntryID integer | TotalReviewCount integer | PTC\_OMNI\_TAXONOMY string | facets object\[\] | PTC\_OMNI\_BOPUS\_FLAG string | PTC\_OMNI\_RX\_FOOD\_IND string | PTC\_OMNI\_BRAND\_PRIMARY string | parentCatEntryIDAsString string | PTC\_OMNI\_PRIMARY\_ITEM\_FLAG string | PTC\_OMNI\_IN\_STORE\_ONLY\_FLAG string | PTC\_OMNI\_REPEAT\_DELIVERY\_FL string | PTC\_OMNI\_SAME\_DAY\_DELIVERY\_FG string | PTC\_OMNI\_PERSONALIZED\_ITEM\_FL string | PTC\_OMNI\_PDP\_BEHAVIOR\_TEMPLATE string | group\_ids string\[\] | rdprice number | listprice number | offerprice number | catEntryID string | variation\_id string | variations object\[\] | currency string | name string | brand string | image url | rating number | review\_count integer | original\_price number | sale\_price number | repeat\_delivery\_price number | fulfillment object |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | 6131012 | https://www.petco.com/product/purina-pro-plan-sensitive-skin-and-stomach-salmon-and-rice-formula-dry-dog-food-40-lbs-3748364 | Purina Pro Plan | /product/purina-pro-plan-focus-sensitive-skin-and-stomach-salmon-and-rice-formula-adult-dry-dog-food | https://assets.petco.com/petco/image/upload/f\_auto,q\_auto,w\_190/dpr\_auto/3748364-center-1 | Purina Pro Plan Sensitive Skin and Stomach Salmon and Rice Formula Dog Food | https://assets.petco.com/petco/image/upload/f\_auto,q\_auto,w\_190/dpr\_auto/3748364-center-1 | High protein dry dog food formula, with real salmon as the first ingredient, made without artificial colors or flavors.Each serving delivers fish oil for dogs rich in omega-3 fatty acids for joint health.Dry dog food, including sunflower oi… | 4.5391 | 2026049 | 6791 | Consumables\|Food\|Household Pet | \[3 items\] | Yes | No | Purina Pro Plan | 2026049 | Yes | No | Yes | Yes | No | Standard PDP | \[3 items\] | 93.09 | 97.99 | 97.99 | 6131012 | 3748364 | \[3 items\] | USD | Purina Pro Plan Sensitive Skin and Stomach Salmon and Rice Formula Dog Food | Purina Pro Plan | https://assets.petco.com/petco/image/upload/f\_auto,q\_auto,w\_190/dpr\_auto/3748364-center-1 | 4.5391 | 6791 | 97.99 | 97.99 | 93.09 | {4 fields} |
| 2 | 2503505 | https://www.petco.com/product/taste-of-the-wild-pacific-stream-grain-free-dry-dog-food-with-smoked-salmon-28-lbs-2998871 | Taste of the Wild | /product/taste-of-the-wild-pacific-stream-grain-free-dry-dog-food-with--smoked-salmon | https://assets.petco.com/petco/image/upload/f\_auto,q\_auto,w\_190/dpr\_auto/2998871-center-1 | Taste of the Wild Pacific Stream Grain-Free with Smoke-Flavored Salmon Dry Dog Food | https://assets.petco.com/petco/image/upload/f\_auto,q\_auto,w\_190/dpr\_auto/2998871-center-1 | Taste of the Wild Pacific Stream with SMOKE-FLAVORED SALMON dry dog food; REAL FISH is the #1 ingredient; high-protein (32%) to help support bones, joints and LEAN, STRONG MUSCLES.FAMILY-OWNED and MADE in the USA using quality ingredients f… | 4.7094 | 1831041 | 1951 | Consumables\|Food\|Household Pet | \[3 items\] | Yes | No | Taste of the Wild | 1831041 | Yes | No | Yes | Yes | No | Standard PDP | \[3 items\] | 56.99 | 59.99 | 59.99 | 2503505 | 2998871 | \[3 items\] | USD | Taste of the Wild Pacific Stream Grain-Free with Smoke-Flavored Salmon Dry Dog Food | Taste of the Wild | https://assets.petco.com/petco/image/upload/f\_auto,q\_auto,w\_190/dpr\_auto/2998871-center-1 | 4.7094 | 1951 | 59.99 | 59.99 | 56.99 | {4 fields} |
| 3 | 1630007 | https://www.petco.com/product/pro-plan-savor-shredded-blend-chicken-and-rice-dog-food-47-lbs-2841567 | Purina Pro Plan | /product/pro-plan-savor-shredded-blend-chicken-and-rice-dog-food | https://assets.petco.com/petco/image/upload/f\_auto,q\_auto,w\_190/dpr\_auto/2841567-center-1 | Purina Pro Plan Complete Essentials Shredded Blend Chicken and Rice Dry Dog Food Formula with Probiotics for Dogs | https://assets.petco.com/petco/image/upload/f\_auto,q\_auto,w\_190/dpr\_auto/2841567-center-1 | Crunchy dog kibble combined with tender, shredded pieces for taste and texture dogs love. High protein dog food recipe, with real chicken as the first ingredient.Dry dog food fortified with live probiotics for dogs to help maintain gut micr… | 4.6911 | 25585 | 4099 | Consumables\|Food\|Household Pet | \[3 items\] | Yes | No | Purina Pro Plan | 25585 | Yes | No | Yes | Yes | No | — | \[3 items\] | 93.09 | 97.99 | 97.99 | 1630007 | 2841567 | \[3 items\] | USD | Purina Pro Plan Complete Essentials Shredded Blend Chicken and Rice Dry Dog Food Formula with Probiotics for Dogs | Purina Pro Plan | https://assets.petco.com/petco/image/upload/f\_auto,q\_auto,w\_190/dpr\_auto/2841567-center-1 | 4.6911 | 4099 | 97.99 | 97.99 | 93.09 | {4 fields} |

Recorded from our API · 3 items shown · 40 datapoints per item GET /v1/petco/search?q=dog+food&page=1&sort=relevance

40 datapoints

### Identity

-   id string
-   mfName string
-   itemname string
-   parentCatEntryID integer
-   PTC\_OMNI\_BRAND\_PRIMARY string
-   group\_ids string\[\]
-   catEntryID string
-   variation\_id string
-   name string
-   brand string

### Contact

-   url url
-   itemurl string
-   image\_url url

### Location

-   PTC\_OMNI\_PDP\_BEHAVIOR\_TEMPLATE string

### Reputation

-   AverageRating number
-   TotalReviewCount integer
-   image url
-   rating number
-   review\_count integer

### Price

-   rdprice number
-   listprice number
-   offerprice number
-   currency string
-   original\_price number
-   sale\_price number
-   repeat\_delivery\_price number

### Other

-   itemimg url
-   description string
-   PTC\_OMNI\_TAXONOMY string
-   facets object\[\]
-   PTC\_OMNI\_BOPUS\_FLAG string
-   PTC\_OMNI\_RX\_FOOD\_IND string
-   parentCatEntryIDAsString string
-   PTC\_OMNI\_PRIMARY\_ITEM\_FLAG string
-   PTC\_OMNI\_IN\_STORE\_ONLY\_FLAG string
-   PTC\_OMNI\_REPEAT\_DELIVERY\_FL string
-   PTC\_OMNI\_SAME\_DAY\_DELIVERY\_FG string
-   PTC\_OMNI\_PERSONALIZED\_ITEM\_FL string
-   variations object\[\]
-   fulfillment object

Playground

## Run this API

cURL shell 

```
curl "https://api.perceptlayer.com/v1/petco/search?q=dog+food&page=1&sort=relevance" \
  -H "X-API-Key: $API_KEY"
```

Petco · 5 endpoints

## Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

| Endpoint | Required parameters | Returns | Cost |
| --- | --- | --- | --- |
| [GET `/v1/petco/autocomplete`](https://perceptlayer.com/apis/petco/autocomplete) | `q` | `id` `url` `mfName` `itemimg` `itemurl` `itemname` +35 more | 1 credit |
| [GET `/v1/petco/category`](https://perceptlayer.com/apis/petco/category) | `facet` `value` `page` `sort` +3 optional | `search_metadata` `results` `groups` `pagination` | 1 credit |
| [GET `/v1/petco/legacy-alias`](https://perceptlayer.com/apis/petco/legacy-alias) | `url` | `input` `canonical_url` `scraped` | 1 credit |
| [GET `/v1/petco/media`](https://perceptlayer.com/apis/petco/media) | `url` | `url` `absolute_url` | 1 credit |
| [GET `/v1/petco/search`](https://perceptlayer.com/apis/petco/search) | `q` `page` `sort` +3 optional | `search_metadata` `results` `groups` `pagination` | 1 credit |

Overview

## About the Petco API

## What you can get

The Petco API returns Petco product data, with prices in USD, as JSON through 5 endpoints.

-   **Search:** `search` takes a query `q`, a `page` and a `sort` (relevance, AverageRating or offerprice), with `brand`, `min_price` and `max_price`.
-   **Categories:** `category` takes a `facet` (group\_id, Primary Brand, Price or category) and a `value` (for example `dry-dog-food`), with `page`, `sort`, `brand`, `min_price` and `max_price`.
-   **Autocomplete:** `autocomplete` takes a partial `q` and returns suggested terms and matching products.
-   **URL helpers:** `legacy-alias` takes an old Petco page `url` and returns its `canonical_url`. `media` takes an asset `url` and returns its `absolute_url`. Both are small utilities; the recordings returned the input URL unchanged.

The recorded search for "dog food" returns `total_num_results` (2,457 in that recording), 48 `results` per page, `facets` with counts (brand and more), category `groups` and `pagination`. Each result has `id`, `name`, `brand`, `url`, `image`, `description`, `rating`, `review_count`, `original_price`, `sale_price`, `repeat_delivery_price`, `discountPercent` where discounted, `variations`, `group_ids` and `fulfillment`. The first was Purina Pro Plan Sensitive Skin and Stomach at 97.99 USD, or 93.09 with Repeat Delivery, rated 4.54 from 6,791 reviews.

## How a call works

Search or browse a category: `GET /v1/petco/search?q=dog%20food&page=1&sort=relevance` with your key in the `X-API-Key` header. A result's `group_ids` (such as `dry-dog-food`) go back into `category` as `facet=group_id&value=dry-dog-food`; the recorded category returned 1,061 products. Page with `page` while `has_more` is true; results stop at a window of 10,000 ( `result_window`). There is no separate product endpoint: search, category and autocomplete rows carry the product fields. Every successful call costs 1 credit; failed calls cost nothing.

Marketplaces JSON REST MCP

### More marketplaces APIs

[About You](https://perceptlayer.com/apis/about-you) [adidas](https://perceptlayer.com/apis/adidas) [Albert Heijn](https://perceptlayer.com/apis/albert-heijn) [ALDI SÜD](https://perceptlayer.com/apis/aldi-sued) [Alibaba](https://perceptlayer.com/apis/alibaba) [AliExpress](https://perceptlayer.com/apis/aliexpress) [Allegro](https://perceptlayer.com/apis/allegro) [ALTERNATE](https://perceptlayer.com/apis/alternate) [Alza](https://perceptlayer.com/apis/alza) [Amazon](https://perceptlayer.com/apis/amazon) [Americanas](https://perceptlayer.com/apis/americanas) [Aponeo](https://perceptlayer.com/apis/aponeo)

Use cases

### Track pet food prices, sale prices and Repeat Delivery prices

`Use the Petco API to track pet food prices, sale prices and Repeat Delivery prices` 

### Rank a category such as dry dog food by rating with \`sort=AverageRating\`

`` Use the Petco API to rank a category such as dry dog food by rating with `sort=AverageRating` `` 

### Compare brands in a category with the \`Primary Brand\` facet and its counts

`` Use the Petco API to compare brands in a category with the `Primary Brand` facet and its counts `` 

### Find products eligible for same-day delivery or in-store pickup

`Use the Petco API to find products eligible for same-day delivery or in-store pickup` 

FAQ

## Questions

**How much does the Petco API cost?**

Each successful call costs one credit, whichever endpoint you call, and each page is one call. New accounts get free credits to start, and credit packs bring the price down as you scale.

**Does it return reviews?**

It returns each product's \`rating\` and \`review\_count\`, not the review text.

**Which prices come back?**

Each product has \`original\_price\` (list price), \`sale\_price\` (the current offer price), and \`repeat\_delivery\_price\` for the subscription price, with \`discountAmount\` and \`discountPercent\` when the product is on sale.

**Do I need a Petco account?**

No. You call this Petco API with your Perceptlayer key in the \`X-API-Key\` header, with no Petco login.

**Is this the official Petco API?**

No. Perceptlayer is an independent service and is not affiliated with Petco. It returns Petco data as JSON with a Perceptlayer key, so there is no Petco developer account, app review or partner approval to get first. It only reads data: if Petco has an official API and you need to act on your own Petco account, such as posting, managing orders or reading private data, use that one.

**Should I build a Petco scraper instead?**

You can, but a Petco scraper is code you maintain: page changes break it, requests get blocked, and Petco's terms govern how you collect data. The Petco API gives you 5 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

## Try the Petco API with 100 free credits

No credit card. Failed calls are never billed.

[Get a free API key](https://perceptlayer.com/signup) [Read the docs](https://docs.perceptlayer.com)
