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

Petco Legacy Alias

GET https://scrappa.co/api/petco/legacy-alias

Accept a legacy Petco catalogue url and return its canonical target only. Nothing is fetched from the legacy path. This is an input helper, non-billable, 0 credits, and failed requests are not billed.

Petco Legacy Alias 1 credit / request

Endpoint

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

url string Required
Open example

Legacy Petco catalogue url.

Example value https://example.com/product

Errors

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

422

HTTP 422

Invalid url. 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.