example-data.com

pets / #173

ownerUserId
179
name
Carson
species
dog
breedId
15
gender
female
birthDate
2022-02-11
weightKg
18.7
color
Black
imageUrl
https://picsum.photos/seed/pet-173/600/600
createdAt
updatedAt

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/pets/173"
)
pet = res.json()
{
  "id": 173,
  "ownerUserId": 179,
  "name": "Carson",
  "species": "dog",
  "breedId": 15,
  "gender": "female",
  "birthDate": "2022-02-11",
  "weightKg": 18.7,
  "color": "Black",
  "imageUrl": "https://picsum.photos/seed/pet-173/600/600",
  "createdAt": "2024-08-24T23:06:27.648Z",
  "updatedAt": "2025-09-21T11:05:42.781Z"
}
Draftbit