example-data.com
Menu
Browse docs and collections

Overview

itineraries / #105

Amazing Escape

userId
April Kihn @april.kihn55
title
Amazing Escape
slug
amazing-escape-105
description
Arbustum sublime pel adversus quia tardus tener caput.
startDate
2027-04-02
endDate
2027-04-07
destinationSlugs
everett-78 athens-22 north-richland-hills-73
createdAt
updatedAt

Component variants

Related

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/itineraries/105"
);
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/105"
);
const itinerary = (await res.json()) as Itinerary;

Python example

import requests

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

Response

{
  "id": 105,
  "userId": 137,
  "title": "Amazing Escape",
  "slug": "amazing-escape-105",
  "description": "Arbustum sublime pel adversus quia tardus tener caput.",
  "startDate": "2027-04-02",
  "endDate": "2027-04-07",
  "destinationSlugs": [
    "everett-78",
    "athens-22",
    "north-richland-hills-73"
  ],
  "createdAt": "2026-01-18T01:27:24.916Z",
  "updatedAt": "2026-03-31T21:18:41.170Z"
}