example-data.com

enrollments

enrollments

Browse 501 enrollments records. Free mock data API by Draftbit — fetch over REST or browse paginated HTML.

Showing first 6 of 24 on this page.

curl -sS \
  "https://example-data.com/api/v1/enrollments?limit=25"
const res = await fetch(
  "https://example-data.com/api/v1/enrollments?limit=25"
);
const { data, meta } = await res.json();
import type { Enrollment, ListEnvelope } from "https://example-data.com/types/enrollments.d.ts";

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

res = requests.get(
    "https://example-data.com/api/v1/enrollments",
    params={"limit": 25},
)
data = res.json()
{
  "data": [
    {
      "id": 1,
      "userId": 1,
      "courseId": 16,
      "enrolledAt": "2025-10-15T22:31:55.977Z",
      "completedAt": null,
      "progressPercent": 56,
      "createdAt": "2025-10-15T22:29:13.969Z"
    },
    {
      "id": 2,
      "userId": 1,
      "courseId": 37,
      "enrolledAt": "2025-11-25T20:15:57.636Z",
      "completedAt": null,
      "progressPercent": 75,
      "createdAt": "2025-11-25T20:14:34.760Z"
    },
    {
      "id": 3,
      "userId": 2,
      "courseId": 70,
      "enrolledAt": "2026-04-25T21:36:12.469Z",
      "completedAt": null,
      "progressPercent": 96,
      "createdAt": "2026-04-25T21:32:03.203Z"
    }
  ],
  "meta": {
    "page": 1,
    "limit": 25,
    "total": 501,
    "totalPages": 21
  },
  "links": {
    "self": "/api/v1/enrollments?page=1",
    "first": "/api/v1/enrollments?page=1",
    "last": "/api/v1/enrollments?page=21",
    "next": "/api/v1/enrollments?page=2",
    "prev": null
  }
}

View full response →

Draftbit