example-data.com
Menu
Browse docs and collections

Overview

sneakers / #51

Nike Cortez (Green/Navy/Black)

Nike Cortez (Green/Navy/Black)

Nike

USD150.00

Component variants

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/sneakers/51" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/sneakers/51"
);
const sneaker = await res.json();

TypeScript example

// Download once: mkdir -p types && curl -o types/sneakers.d.ts https://example-data.com/types/sneakers.d.ts
import type { Sneaker } from "./types/sneakers";

const res = await fetch(
  "https://example-data.com/api/v1/sneakers/51"
);
const sneaker = (await res.json()) as Sneaker;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/sneakers/51"
)
sneaker = res.json()

Response

{
  "id": 51,
  "brand": "Nike",
  "model": "Cortez",
  "colorway": "Green/Navy/Black",
  "style": "Running",
  "releaseDate": "2025-02-03",
  "retailPrice": 150,
  "currency": "USD",
  "imageUrl": "https://picsum.photos/seed/sneaker-51/800/600",
  "sizesAvailable": [
    "8",
    "8.5",
    "9.5",
    "10.5",
    "13"
  ],
  "gender": "men",
  "createdAt": "2025-02-03T11:44:27.471Z"
}