example-data.com

pets / #120

ownerUserId
131
name
Gonzalo
species
cat
breedId
37
gender
unknown
birthDate
2013-05-25
weightKg
2.9
color
Gray
imageUrl
https://picsum.photos/seed/pet-120/600/600
createdAt
updatedAt

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/pets/120"
)
pet = res.json()
{
  "id": 120,
  "ownerUserId": 131,
  "name": "Gonzalo",
  "species": "cat",
  "breedId": 37,
  "gender": "unknown",
  "birthDate": "2013-05-25",
  "weightKg": 2.9,
  "color": "Gray",
  "imageUrl": "https://picsum.photos/seed/pet-120/600/600",
  "createdAt": "2022-08-12T09:51:08.193Z",
  "updatedAt": "2025-07-21T01:11:41.463Z"
}
Draftbit