# Chewy API

> Chewy returns searchable pet products, prices, and ratings, available as a workflow and API.

Chewy returns product listings with prices, ratings, and variants. Search requires words and can include pet type, sort order, and result count.

- Page: https://fous.com/tools/chewy
- Handle: `@chewy`
- Category: [Commerce](https://fous.com/tools/category/commerce)
- Source website: https://chewy.com
- Last verified: Sep 29, 2026

## Methods

### Search products

Operation `search_products`, version 1. 1 credit per completed call. Failed calls without a completed billing receipt are free; completed work can remain charged if delivery is interrupted.

Search Chewy products by words, pet type, and sort order. Returns up to 72 products in Chewy’s order, including listed and first-order Autoship prices when shown.

**Input**

| Field | Type | Required | Example | Description |
|---|---|---|---|---|
| `sort` | string | no | `"best_selling"` | Sort the results, for example best_selling. |
| `query` | string | yes | `"grain free dog food"` | Words to search for, for example grain free dog food. |
| `pet_type` | string | no | `"cat"` | Pet to filter for, for example cat. |
| `max_results` | integer | no | `40` | Maximum products to return, for example 24. |

**Input schema**

```json
{
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "sort": {
      "enum": [
        "relevance",
        "best_selling",
        "top_rated",
        "price_low_to_high",
        "price_high_to_low"
      ],
      "type": "string",
      "default": "relevance",
      "description": "Sort the results, for example best_selling.",
      "examples": [
        "best_selling",
        "price_low_to_high"
      ]
    },
    "query": {
      "type": "string",
      "minLength": 1,
      "description": "Words to search for, for example grain free dog food.",
      "examples": [
        "grain free dog food",
        "grain free",
        "dog food"
      ]
    },
    "pet_type": {
      "enum": [
        "any",
        "dog",
        "cat",
        "fish",
        "bird",
        "small_pet",
        "reptile",
        "horse"
      ],
      "type": "string",
      "default": "any",
      "description": "Pet to filter for, for example cat.",
      "examples": [
        "cat",
        "reptile"
      ]
    },
    "max_results": {
      "type": "integer",
      "default": 24,
      "maximum": 72,
      "minimum": 1,
      "description": "Maximum products to return, for example 24.",
      "x-fous-developer": true,
      "examples": [
        40,
        5,
        8
      ]
    }
  },
  "additionalProperties": false,
  "examples": [
    {
      "query": "grain free dog food"
    },
    {
      "sort": "best_selling",
      "query": "grain free",
      "pet_type": "cat",
      "max_results": 40
    },
    {
      "query": "dog food",
      "pet_type": "reptile",
      "max_results": 5
    }
  ]
}
```

**Output**

| Field | Type | Example | Description |
|---|---|---|---|
| `products` | array |  |  |
| `products[].name` | string | `"Taste of the Wild Pacific Stream Smoke-Flavored Salmon Grain-Free Dry Dog Food, 28-lb bag"` |  |
| `products[].brand` | string or null | `"Taste of the Wild"` |  |
| `products[].price` | number or null | `58.99` |  |
| `products[].currency` | string | `"USD"` |  |
| `products[].image_link` | string or null | `"https://image.chewy.com/catalog/general/images/taste-of-the-wild-pacific-stream-smoke-flavored-salmon-grain-free-dry-do` |  |
| `products[].star_rating` | number or null | `4.6391` |  |
| `products[].product_link` | string | `"https://www.chewy.com/taste-wild-pacific-stream-smoke/dp/181318"` |  |
| `products[].review_count` | integer or null | `8165` |  |
| `products[].autoship_price` | number or null | `38.99` |  |
| `products[].original_price` | number or null | `49.99` |  |
| `products[].size_or_variant` | string or null | `"28-lb bag"` |  |
| `products[].chewy_item_number` | string or null | `"154549"` |  |

**Example input**

```json
{
  "query": "grain free dog food"
}
```

**Example output**

```json
{
  "products": [
    {
      "name": "Taste of the Wild Pacific Stream Smoke-Flavored Salmon Grain-Free Dry Dog Food, 28-lb bag",
      "brand": "Taste of the Wild",
      "price": 58.99,
      "currency": "USD",
      "image_link": "https://image.chewy.com/catalog/general/images/taste-of-the-wild-pacific-stream-smoke-flavored-salmon-grain-free-dry-dog-food-28lb-bag/img-19f895a057e03bb2a61._AC_SL248_V1_.jpg",
      "star_rating": 4.6391,
      "product_link": "https://www.chewy.com/taste-wild-pacific-stream-smoke/dp/181318",
      "review_count": 8165,
      "autoship_price": 38.99,
      "original_price": null,
      "size_or_variant": "28-lb bag",
      "chewy_item_number": "154549"
    },
    {
      "name": "True Acre Foods Grain-Free Beef & Vegetable Dry Dog Food, 40-lb bag",
      "brand": "True Acre Foods",
      "price": 57.99,
      "currency": "USD",
      "image_link": "https://image.chewy.com/catalog/general/images/true-acre-foods-grain-free-beef-vegetable-dry-dog-food-40lb-bag/img-619651._AC_SL248_V1_.jpg",
      "star_rating": 4.2047,
      "product_link": "https://www.chewy.com/true-acre-foods-grain-free-beef/dp/177006",
      "review_count": 2008,
      "autoship_price": 37.99,
      "original_price": null,
      "size_or_variant": "40-lb bag",
      "chewy_item_number": "150194"
    },
    {
      "name": "True Acre Foods Grain-Free Chicken & Vegetable Dry Dog Food, 40-lb bag",
      "brand": "True Acre Foods",
      "price": 57.99,
      "currency": "USD",
      "image_link": "https://image.chewy.com/catalog/general/images/true-acre-foods-grain-free-chicken-vegetable-dry-dog-food-40lb-bag/img-627404._AC_SL248_V1_.jpg",
      "star_rating": 4.331,
      "product_link": "https://www.chewy.com/true-acre-foods-grain-free-chicken/dp/177002",
      "review_count": 1967,
      "autoship_price": 37.99,
      "original_price": null,
      "size_or_variant": "40-lb bag",
      "chewy_item_number": "150190"
    }
  ]
}
```

## Quick start

Replace `YOUR_API_KEY` with a Fous API key. To create one, open Developers at the bottom of Fous Studio, turn on Developer mode, then go to API keys (https://app.fous.com/keys). Change the values in `input` to run the same tool on new data.

```bash
curl 'https://api.fous.com/v1/query' \
  --fail-with-body --silent --show-error --max-time 180 \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "api": "@chewy",
  "visibility": "public",
  "operation": "search_products",
  "version": 1,
  "input": {
    "query": "grain free dog food"
  },
  "response": {
    "format": "json"
  }
}'
```

```python
# Save as fous.py and run with python3 fous.py. No packages needed.
import json
import urllib.error
import urllib.request

api_key = "YOUR_API_KEY"

body = json.loads("{\n  \"api\": \"@chewy\",\n  \"visibility\": \"public\",\n  \"operation\": \"search_products\",\n  \"version\": 1,\n  \"input\": {\n    \"query\": \"grain free dog food\"\n  },\n  \"response\": {\n    \"format\": \"json\"\n  }\n}")
request = urllib.request.Request(
    "https://api.fous.com/v1/query",
    data=json.dumps(body).encode("utf-8"),
    headers={
        "Authorization": f"Bearer {api_key}",
        "Content-Type": "application/json",
    },
    method="POST",
)
try:
    with urllib.request.urlopen(request, timeout=180) as response:
        result = json.load(response)
except urllib.error.HTTPError as error:
    raise RuntimeError(f"HTTP {error.code}: {error.read().decode('utf-8', errors='replace')}") from error
if result.get("success") is False:
    raise RuntimeError(result.get("error", {}).get("message", "Request failed"))
print(json.dumps(result["data"]["output"], indent=2))
```

```typescript
// Save as fous.mts and run with npx tsx fous.mts.
const apiKey = "YOUR_API_KEY";

const response = await fetch("https://api.fous.com/v1/query", {
  method: "POST",
  headers: {
    "Authorization": `Bearer ${apiKey}`,
    "Content-Type": "application/json",
  },
  signal: AbortSignal.timeout(180_000),
  body: JSON.stringify({
  "api": "@chewy",
  "visibility": "public",
  "operation": "search_products",
  "version": 1,
  "input": {
    "query": "grain free dog food"
  },
  "response": {
    "format": "json"
  }
}),
});
type ApiResult = { success: boolean; data?: { output: unknown }; error?: { message: string } };
const result: ApiResult = await response.json();
if (!response.ok || result.success === false) {
  throw new Error(result.error?.message ?? `HTTP ${response.status}`);
}
if (!result.data) throw new Error("Missing API response data");
console.log(result.data.output);
```

## Use from an AI assistant

Connect this tool to Claude Code, Claude Desktop, Cursor, VS Code, Codex and any MCP client as its own MCP server. Each method is a typed tool whose arguments are the method’s input.

- Server URL: `https://api.fous.com/mcp/tools/chewy`
- Authorization: `Authorization: Bearer <Fous API key>`

**Tools**

- `search_products`: Search products. 1 credit per completed call. Failed calls without a completed billing receipt are free; completed work can remain charged if delivery is interrupted.
- `fous_get_run`: the result of a run that was still going, by its `request_id`. Free.

Claude Code:

```bash
claude mcp add --scope user --transport http fous-chewy https://api.fous.com/mcp/tools/chewy --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"
```

To give the assistant every tool, connect `https://api.fous.com/mcp`: it finds one with `fous_search_tools` and runs it with `fous_run_tool`. Setup for other clients: https://fous.com/llms-full.txt.

## Use cases

- Compare listed prices across pet food search results
- Find products by brand, pet type, or search phrase
- Review product ratings and review counts
- Identify available sizes and product variants
- Compare listed prices with first-order Autoship prices

## FAQ

### Can I run it with my own inputs?

Yes. Change the inputs in Studio and press Run, or send new inputs from your code, or ask a connected AI assistant.

### Can I call this Chewy tool as an API?

Yes. Send a POST request to /v1/query with your Fous API key and the inputs, and get JSON back.

### How much does it cost?

Each completed run costs 1 credit. Failed runs without a completed receipt are free; completed work can remain charged if delivery is interrupted. With pay as you go, a credit costs 1¢. Monthly plans cost less per credit.

### Do I need a Chewy account?

No. You only need a Fous account.

### How current is the data?

Fous gets the data from chewy.com when you run it. Some results are reused for up to 24 hours, and results that use your account or key are never reused. It was last verified on Sep 29, 2026.

### What products match a search phrase?

Search products returns matching listings when given search words.

### What are the listed and Autoship prices?

Search products returns listed prices and first-order Autoship prices when shown.

### Which products can I find for a specific pet?

Search products can filter results by pet type.

## Related

- [Amazon API](https://fous.com/tools/amazon.md): Amazon returns publicly shown product listings, prices, details, ratings, reviews, current best sellers, and Today's Deals; availability and content vary by store, location, and access.
- [Ulta Beauty API](https://fous.com/tools/ulta-beauty.md): Ulta Beauty returns searchable beauty products and product details, including current pricing and availability that may change.
- [AliExpress API](https://fous.com/tools/aliexpress.md): AliExpress returns product listings and selected product details, including prices, variants, reviews, and destination-specific shipping options shown for the displayed variant.
- [Instacart API](https://fous.com/tools/instacart.md): Search grocery products available from nearby stores.
- [Walmart API](https://fous.com/tools/walmart.md): Walmart helps shoppers find products from Walmart and marketplace sellers, view details, prices, ratings and reviews; availability uses Walmart’s default location, not ZIP codes.
- [Nordstrom API](https://fous.com/tools/nordstrom.md): Search clothing, shoes, and beauty products at Nordstrom.
- [Kohl's API](https://fous.com/tools/kohls.md): Shop products and deals on Kohl's.
- [Trader Joe's API](https://fous.com/tools/trader-joes.md): Trader Joe's groceries, beverages, flowers, plants, and other products.
- [All Commerce tools](https://fous.com/tools/category/commerce)
