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

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

# Petco: Media

Media from Petco as JSON. 1 credit per successful call.

GET `/v1/petco/media`

## 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/media?url=https%3A%2F%2Fassets.petco.com%2Fimage 

```
{
  "success": true,
  "data": {
    "url": "https://assets.petco.com/image",
    "absolute_url": "https://assets.petco.com/image"
  },
  "meta": {
    "endpoint_family": "petco_media",
    "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=media#playground) with your own parameters. 1 credit per successful call; failed calls are free.

## Response fields

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

| Field | Type |
| --- | --- |
| `url` | url |
| `absolute_url` | url |
