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

Petco Category Browse

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

Browse a public Petco facet such as group_id, brand or category. Returns product cards, facet counts, sub-category groups and the product ids the other routes accept unchanged. Honours the requested facet and filters. Costs 1 credit per successful request. Failed requests are not billed.

Petco Category Browse 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/petco/category
Auth header
x-api-key
Cost
1 credit / request
value = example
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.

3 optional filters available.

value string Required

Facet value, e.g. dry-dog-food.

Example value example
facet string Optional

group_id, Primary Brand, Price or category.

Example value example
page integer Optional

One-based page number.

Example value 1
sort string Optional

relevance, AverageRating or offerprice.

Example value relevance

Errors

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

422

HTTP 422

Unknown facet or value. 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.