---
title: "Petco API: Legacy Alias | Perceptlayer"
description: "Legacy Alias from Petco as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/petco/legacy-alias
---

[APIs](https://perceptlayer.com/apis) / [Petco](https://perceptlayer.com/apis/petco) / Legacy Alias

# Petco: Legacy Alias

Legacy Alias from Petco as JSON. 1 credit per successful call.

GET `/v1/petco/legacy-alias`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `url` | string | Required | Up to 2,048 characters |

## Example request

Petco

GET /v1/petco/legacy-alias?url=https%3A%2F%2Fwww.petco.com%2Fshop%2Fen%2Fpetcostore%2Fdog 

```
{
  "success": true,
  "data": {
    "input": "https://www.petco.com/shop/en/petcostore/dog",
    "canonical_url": "https://www.petco.com/shop/en/petcostore/dog",
    "scraped": false
  },
  "meta": {
    "endpoint_family": "petco_legacyAlias",
    "duration_ms": 0,
    "attempts": 0
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded 30 Nov 2026 and shortened.

[Run this endpoint in the playground](https://perceptlayer.com/apis/petco?try=legacy-alias#playground) with your own parameters. 1 credit per successful call; failed calls are free.

## Response fields

`data` has these 3 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

| Field | Type |
| --- | --- |
| `input` | url |
| `canonical_url` | url |
| `scraped` | boolean |
