example-data.com
Menu
Browse docs and collections

Overview

itineraries / #10

Grand Escape

userId
Stephan Heller @stephan.heller
title
Grand Escape
slug
grand-escape-10
description
Utor corrumpo maiores cotidie placeat.
startDate
2025-08-03
endDate
2025-08-24
destinationSlugs
sydney-7 sengerboro-63
createdAt
updatedAt

Component variants

Related

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/itineraries/10"
);
const itinerary = await res.json();

TypeScript example

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

const res = await fetch(
  "https://example-data.com/api/v1/itineraries/10"
);
const itinerary = (await res.json()) as Itinerary;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/itineraries/10"
)
itinerarie = res.json()

Response

{
  "id": 10,
  "userId": 82,
  "title": "Grand Escape",
  "slug": "grand-escape-10",
  "description": "Utor corrumpo maiores cotidie placeat.",
  "startDate": "2025-08-03",
  "endDate": "2025-08-24",
  "destinationSlugs": [
    "sydney-7",
    "sengerboro-63"
  ],
  "createdAt": "2026-02-17T02:52:59.098Z",
  "updatedAt": "2026-04-11T21:32:32.099Z"
}