example-data.com

pets / #192

ownerUserId
195
name
Enrico
species
dog
breedId
27
gender
female
birthDate
2014-03-14
weightKg
48.5
color
Tan
imageUrl
https://picsum.photos/seed/pet-192/600/600
createdAt
updatedAt

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/pets/192"
)
pet = res.json()
{
  "id": 192,
  "ownerUserId": 195,
  "name": "Enrico",
  "species": "dog",
  "breedId": 27,
  "gender": "female",
  "birthDate": "2014-03-14",
  "weightKg": 48.5,
  "color": "Tan",
  "imageUrl": "https://picsum.photos/seed/pet-192/600/600",
  "createdAt": "2017-01-28T01:18:49.265Z",
  "updatedAt": "2025-11-14T13:19:26.418Z"
}
Draftbit