example-data.com
Menu
Browse docs and collections

Overview

stories / #113

Story #113

Story #113

· 10/29/2025

Component variants

Related

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/stories/113"
);
const story = await res.json();

TypeScript example

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

const res = await fetch(
  "https://example-data.com/api/v1/stories/113"
);
const story = (await res.json()) as Story;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/stories/113"
)
storie = res.json()

Response

{
  "id": 113,
  "userId": 58,
  "mediaUrl": "https://api.dicebear.com/9.x/shapes/svg?seed=story-video-113",
  "mediaType": "video",
  "caption": "",
  "viewCount": 1706,
  "expiresAt": "2025-10-30T05:51:50.449Z",
  "createdAt": "2025-10-29T05:51:50.449Z"
}