example-data.com

pets / #141

ownerUserId
150
name
Jamison
species
cat
breedId
39
gender
male
birthDate
2014-08-03
weightKg
4
color
Gray
imageUrl
https://picsum.photos/seed/pet-141/600/600
createdAt
updatedAt

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/pets/141"
)
pet = res.json()
{
  "id": 141,
  "ownerUserId": 150,
  "name": "Jamison",
  "species": "cat",
  "breedId": 39,
  "gender": "male",
  "birthDate": "2014-08-03",
  "weightKg": 4,
  "color": "Gray",
  "imageUrl": "https://picsum.photos/seed/pet-141/600/600",
  "createdAt": "2025-02-21T15:44:20.014Z",
  "updatedAt": "2026-04-09T16:47:35.329Z"
}
Draftbit