example-data.com

pets / #75

ownerUserId
83
name
Rogelio
species
dog
breedId
19
gender
female
birthDate
2021-05-21
weightKg
66.5
color
Brown
imageUrl
https://picsum.photos/seed/pet-75/600/600
createdAt
updatedAt

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/pets/75"
)
pet = res.json()
{
  "id": 75,
  "ownerUserId": 83,
  "name": "Rogelio",
  "species": "dog",
  "breedId": 19,
  "gender": "female",
  "birthDate": "2021-05-21",
  "weightKg": 66.5,
  "color": "Brown",
  "imageUrl": "https://picsum.photos/seed/pet-75/600/600",
  "createdAt": "2025-09-14T17:43:31.935Z",
  "updatedAt": "2025-09-18T05:58:46.498Z"
}
Draftbit