example-data.com

pets / #63

ownerUserId
71
name
Easter
species
cat
breedId
gender
female
birthDate
weightKg
7.5
color
Tortoiseshell
imageUrl
https://picsum.photos/seed/pet-63/600/600
createdAt
updatedAt

Component variants

curl -sS \
  "https://example-data.com/api/v1/pets/63" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/pets/63"
);
const pet = await res.json();
import type { Pet } from "https://example-data.com/types/pets.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/pets/63"
);
const pet = (await res.json()) as Pet;
import requests

res = requests.get(
    "https://example-data.com/api/v1/pets/63"
)
pet = res.json()
{
  "id": 63,
  "ownerUserId": 71,
  "name": "Easter",
  "species": "cat",
  "breedId": null,
  "gender": "female",
  "birthDate": null,
  "weightKg": 7.5,
  "color": "Tortoiseshell",
  "imageUrl": "https://picsum.photos/seed/pet-63/600/600",
  "createdAt": "2026-04-20T18:29:22.031Z",
  "updatedAt": "2026-05-09T08:04:31.254Z"
}
Draftbit