example-data.com

pets / #88

ownerUserId
103
name
Annabell
species
cat
breedId
gender
female
birthDate
weightKg
5.9
color
Tabby
imageUrl
https://picsum.photos/seed/pet-88/600/600
createdAt
updatedAt

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/pets/88"
)
pet = res.json()
{
  "id": 88,
  "ownerUserId": 103,
  "name": "Annabell",
  "species": "cat",
  "breedId": null,
  "gender": "female",
  "birthDate": null,
  "weightKg": 5.9,
  "color": "Tabby",
  "imageUrl": "https://picsum.photos/seed/pet-88/600/600",
  "createdAt": "2018-09-28T03:53:10.143Z",
  "updatedAt": "2026-03-13T07:10:29.827Z"
}
Draftbit