Skip to content
Scrappa Get API key
Petco API 1 credit / request

Petco Product Search

GET https://scrappa.co/api/petco/search

Search Petco US products by query. Returns up to 48 cards per page with numeric prices, a USD currency field, original, sale and repeat-delivery prices, a computed discount, rating, review count, full-size image url and ids passed through unchanged. Sort by relevance, rating or price. Filters are honoured. Costs 1 credit per successful request. Failed requests are not billed.

Petco Product Search 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/petco/search
Auth header
x-api-key
Cost
1 credit / request
q = coffee shops
Response preview
200 OK
Example JSON appears below when a response schema is available for this endpoint.

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

1 required parameter needed before sending a request.

5 optional filters available.

q string Required

Search text.

Example value coffee shops
page integer Optional

One-based page number. Default 1.

Example value 1
sort string Optional

relevance, AverageRating or offerprice.

Example value relevance
brand string Optional

Filter by brand facet value.

Example value example
min_price number Optional

Minimum displayed price, enforced on every returned row.

Example value 10
max_price number Optional

Maximum displayed price; accepted alone and enforced on every returned row.

Example value 10

Errors

Handle these documented responses before retrying or showing customer-facing failures.

422

HTTP 422

A public parameter or facet is invalid. Not billed.

503

HTTP 503

Petco did not return usable data. Not billed.

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.