example-data.com

pet-breeds / #62

Goldfish

fish · China

Component variants

curl -sS \
  "https://example-data.com/api/v1/pet-breeds/62" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/pet-breeds/62"
);
const petBreed = await res.json();
import type { PetBreed } from "https://example-data.com/types/pet-breeds.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/pet-breeds/62"
);
const petBreed = (await res.json()) as PetBreed;
import requests

res = requests.get(
    "https://example-data.com/api/v1/pet-breeds/62"
)
pet_breed = res.json()
{
  "id": 62,
  "name": "Goldfish",
  "slug": "goldfish",
  "species": "fish",
  "origin": "China",
  "temperament": [
    "Peaceful",
    "Social",
    "Hardy"
  ],
  "lifeExpectancyYears": 15,
  "isHypoallergenic": false,
  "createdAt": "2026-05-16T12:38:01.761Z"
}
Draftbit