example-data.com

pets / #57

ownerUserId
65
name
Fanny
species
dog
breedId
28
gender
female
birthDate
2012-09-23
weightKg
7.9
color
Gray
imageUrl
https://picsum.photos/seed/pet-57/600/600
createdAt
updatedAt

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/pets/57"
)
pet = res.json()
{
  "id": 57,
  "ownerUserId": 65,
  "name": "Fanny",
  "species": "dog",
  "breedId": 28,
  "gender": "female",
  "birthDate": "2012-09-23",
  "weightKg": 7.9,
  "color": "Gray",
  "imageUrl": "https://picsum.photos/seed/pet-57/600/600",
  "createdAt": "2025-05-25T00:36:32.348Z",
  "updatedAt": "2025-12-06T11:31:07.623Z"
}
Draftbit