example-data.com
Menu
Browse docs and collections

Overview

stores / #25

Component variants

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/stores/25"
);
const store = await res.json();

TypeScript example

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

const res = await fetch(
  "https://example-data.com/api/v1/stores/25"
);
const store = (await res.json()) as Store;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/stores/25"
)
store = res.json()

Response

{
  "id": 25,
  "name": "Greenholt, Rodriguez and Kuvalis",
  "slug": "greenholt-rodriguez-and-kuvalis-25",
  "description": "Smart heuristic initiative",
  "address": "419 Michelle Prairie",
  "city": "Cliffordstead",
  "region": "Maryland",
  "countryAlpha2": "FI",
  "postalCode": "74218-2767",
  "phone": "+1 202-555-0124 ext 1",
  "website": "https://example.com/stores/greenholt-rodriguez-and-kuvali",
  "hours": "Mon-Sat 8am-8pm, Sun 10am-6pm",
  "createdAt": "2026-04-10T19:08:53.740Z"
}