example-data.com

pets / #81

ownerUserId
95
name
Coralie
species
bird
breedId
61
gender
female
birthDate
2023-10-23
weightKg
0.49
color
Blue
imageUrl
https://picsum.photos/seed/pet-81/600/600
createdAt
updatedAt

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/pets/81"
)
pet = res.json()
{
  "id": 81,
  "ownerUserId": 95,
  "name": "Coralie",
  "species": "bird",
  "breedId": 61,
  "gender": "female",
  "birthDate": "2023-10-23",
  "weightKg": 0.49,
  "color": "Blue",
  "imageUrl": "https://picsum.photos/seed/pet-81/600/600",
  "createdAt": "2021-04-12T10:27:06.974Z",
  "updatedAt": "2026-05-20T03:31:23.504Z"
}
Draftbit