example-data.com

pets / #138

ownerUserId
148
name
Brittany
species
dog
breedId
1
gender
female
birthDate
2013-06-30
weightKg
13
color
Brindle
imageUrl
https://picsum.photos/seed/pet-138/600/600
createdAt
updatedAt

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/pets/138"
)
pet = res.json()
{
  "id": 138,
  "ownerUserId": 148,
  "name": "Brittany",
  "species": "dog",
  "breedId": 1,
  "gender": "female",
  "birthDate": "2013-06-30",
  "weightKg": 13,
  "color": "Brindle",
  "imageUrl": "https://picsum.photos/seed/pet-138/600/600",
  "createdAt": "2017-10-03T02:37:02.075Z",
  "updatedAt": "2026-03-20T14:00:03.163Z"
}
Draftbit