example-data.com

pets / #108

ownerUserId
120
name
Laurie
species
cat
breedId
48
gender
female
birthDate
2026-01-05
weightKg
5.1
color
Gray
imageUrl
https://picsum.photos/seed/pet-108/600/600
createdAt
updatedAt

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/pets/108"
)
pet = res.json()
{
  "id": 108,
  "ownerUserId": 120,
  "name": "Laurie",
  "species": "cat",
  "breedId": 48,
  "gender": "female",
  "birthDate": "2026-01-05",
  "weightKg": 5.1,
  "color": "Gray",
  "imageUrl": "https://picsum.photos/seed/pet-108/600/600",
  "createdAt": "2011-12-01T08:35:17.449Z",
  "updatedAt": "2013-01-05T23:41:42.495Z"
}
Draftbit