example-data.com

pets / #52

ownerUserId
60
name
Elyse
species
cat
breedId
38
gender
male
birthDate
weightKg
6.5
color
Gray
imageUrl
https://picsum.photos/seed/pet-52/600/600
createdAt
updatedAt

Component variants

curl -sS \
  "https://example-data.com/api/v1/pets/52" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/pets/52"
);
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/52"
);
const pet = (await res.json()) as Pet;
import requests

res = requests.get(
    "https://example-data.com/api/v1/pets/52"
)
pet = res.json()
{
  "id": 52,
  "ownerUserId": 60,
  "name": "Elyse",
  "species": "cat",
  "breedId": 38,
  "gender": "male",
  "birthDate": null,
  "weightKg": 6.5,
  "color": "Gray",
  "imageUrl": "https://picsum.photos/seed/pet-52/600/600",
  "createdAt": "2026-04-11T05:27:37.737Z",
  "updatedAt": "2026-04-25T21:59:10.691Z"
}
Draftbit