example-data.com

pets / #116

ownerUserId
127
name
Benny
species
dog
breedId
1
gender
female
birthDate
2025-06-03
weightKg
11.5
color
Tan
imageUrl
https://picsum.photos/seed/pet-116/600/600
createdAt
updatedAt

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/pets/116"
)
pet = res.json()
{
  "id": 116,
  "ownerUserId": 127,
  "name": "Benny",
  "species": "dog",
  "breedId": 1,
  "gender": "female",
  "birthDate": "2025-06-03",
  "weightKg": 11.5,
  "color": "Tan",
  "imageUrl": "https://picsum.photos/seed/pet-116/600/600",
  "createdAt": "2024-08-09T15:05:54.921Z",
  "updatedAt": "2025-12-24T00:33:22.766Z"
}
Draftbit