example-data.com
Menu
Browse docs and collections

courses

courses

Page 4 of 4.

Overview

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/courses?limit=25"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/courses?limit=25"
);
const { data, meta } = await res.json();

TypeScript example

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

const res = await fetch(
  "https://example-data.com/api/v1/courses?limit=25"
);
const { data, meta } = (await res.json()) as ListEnvelope<Course>;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/courses",
    params={"limit": 25},
)
data = res.json()

Response

{
  "data": [
    {
      "id": 73,
      "instructorUserId": 176,
      "title": "Essential Brand Identity",
      "slug": "essential-brand-identity-73",
      "description": "Titulus aegrus iste deludo succedo. Amplitudo dignissimos cogo cogito ea cena amplitudo tondeo deleniti. Valeo utrum vesper timor aer corpus pectus comburo. Speciosus studio sponte tametsi decens praesentium magni adimpleo defaeco confero.",
      "category": "design",
      "difficulty": "beginner",
      "language": "English",
      "durationHours": 19,
      "priceFrom": 104.34,
      "currency": "USD",
      "thumbnailUrl": "https://picsum.photos/seed/course-73/800/450",
      "rating": 3.9,
      "ratingCount": 737,
      "enrollmentCount": 1338,
      "isPublished": true,
      "createdAt": "2025-08-11T06:51:30.408Z",
      "updatedAt": "2025-11-06T05:41:12.865Z"
    },
    {
      "id": 74,
      "instructorUserId": 189,
      "title": "Fundamentals of Data Visualization",
      "slug": "fundamentals-of-data-visualization-74",
      "description": "Officiis cohaero acsi aqua desparatus ventito ustulo tero alo trucido. Nihil curo patior patior tabesco tergiversatio deserunt absorbeo.",
      "category": "data",
      "difficulty": "advanced",
      "language": "English",
      "durationHours": 15.7,
      "priceFrom": 41.13,
      "currency": "USD",
      "thumbnailUrl": "https://picsum.photos/seed/course-74/800/450",
      "rating": 4.4,
      "ratingCount": 2928,
      "enrollmentCount": 9466,
      "isPublished": true,
      "createdAt": "2025-03-13T16:17:34.510Z",
      "updatedAt": "2025-03-17T08:05:24.519Z"
    },
    {
      "id": 75,
      "instructorUserId": 160,
      "title": "Introduction to Statistics",
      "slug": "introduction-to-statistics-75",
      "description": "Canis repellat suggero saepe corrumpo comminor quam alter. Compello ventito accusator. Thalassinus tripudio cubo conicio tollo correptius.",
      "category": "data",
      "difficulty": "beginner",
      "language": "German",
      "durationHours": 57.3,
      "priceFrom": 72.01,
      "currency": "USD",
      "thumbnailUrl": "https://picsum.photos/seed/course-75/800/450",
      "rating": 3.6,
      "ratingCount": 2868,
      "enrollmentCount": 9880,
      "isPublished": true,
      "createdAt": "2024-07-03T21:37:12.429Z",
      "updatedAt": "2024-09-28T09:30:28.074Z"
    }
  ],
  "meta": {
    "page": 4,
    "limit": 24,
    "total": 80,
    "totalPages": 4
  },
  "links": {
    "self": "/api/v1/courses?page=4&limit=24",
    "first": "/api/v1/courses?page=1&limit=24",
    "last": "/api/v1/courses?page=4&limit=24",
    "next": null,
    "prev": "/api/v1/courses?page=3&limit=24"
  }
}