example-data.com

pets / #99

ownerUserId
114
name
Buddy
species
bird
breedId
60
gender
male
birthDate
2013-03-24
weightKg
0.34
color
Yellow
imageUrl
https://picsum.photos/seed/pet-99/600/600
createdAt
updatedAt

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/pets/99"
)
pet = res.json()
{
  "id": 99,
  "ownerUserId": 114,
  "name": "Buddy",
  "species": "bird",
  "breedId": 60,
  "gender": "male",
  "birthDate": "2013-03-24",
  "weightKg": 0.34,
  "color": "Yellow",
  "imageUrl": "https://picsum.photos/seed/pet-99/600/600",
  "createdAt": "2025-04-24T11:26:00.695Z",
  "updatedAt": "2026-01-19T04:33:29.360Z"
}
Draftbit