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

Petco Discovery Ids

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

Return a bounded list of product ids and urls from the public sitemap index and its PDP child sitemap. Set robots=true to include public robots.txt groups. This is an id feed, not a per-credit data route: it is non-billable, reports 0 credits, and failed requests are not billed.

Petco Discovery Ids 1 credit / request

Endpoint

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

This endpoint has no required query parameters.

1 optional filter available.

robots boolean Optional

Include public robots.txt groups, default false.

Example value true

Errors

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

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.