example-data.com

pets / #133

ownerUserId
142
name
Zoie
species
reptile
breedId
72
gender
unknown
birthDate
2013-02-09
weightKg
5.5
color
Brown
imageUrl
https://picsum.photos/seed/pet-133/600/600
createdAt
updatedAt

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/pets/133"
)
pet = res.json()
{
  "id": 133,
  "ownerUserId": 142,
  "name": "Zoie",
  "species": "reptile",
  "breedId": 72,
  "gender": "unknown",
  "birthDate": "2013-02-09",
  "weightKg": 5.5,
  "color": "Brown",
  "imageUrl": "https://picsum.photos/seed/pet-133/600/600",
  "createdAt": "2025-07-06T02:11:13.077Z",
  "updatedAt": "2026-05-03T11:18:35.400Z"
}
Draftbit