example-data.com

pets / #10

ownerUserId
10
name
Urban
species
dog
breedId
26
gender
male
birthDate
2019-08-16
weightKg
16.7
color
White
imageUrl
https://picsum.photos/seed/pet-10/600/600
createdAt
updatedAt

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/pets/10"
)
pet = res.json()
{
  "id": 10,
  "ownerUserId": 10,
  "name": "Urban",
  "species": "dog",
  "breedId": 26,
  "gender": "male",
  "birthDate": "2019-08-16",
  "weightKg": 16.7,
  "color": "White",
  "imageUrl": "https://picsum.photos/seed/pet-10/600/600",
  "createdAt": "2025-12-28T08:12:41.910Z",
  "updatedAt": "2026-03-19T21:16:46.024Z"
}
Draftbit