example-data.com
Menu
Browse docs and collections

groups

groups

Page 2 of 4.

Overview

Request

curl example

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

JavaScript example

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

TypeScript example

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

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

Python example

import requests

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

Response

{
  "data": [
    {
      "id": 25,
      "name": "Hidden Gems",
      "slug": "hidden-gems",
      "description": "Curso angelus sunt absque provident cui.",
      "memberCount": 6,
      "isPublic": true,
      "ownerUserId": 2,
      "createdAt": "2024-05-29T02:15:02.624Z",
      "updatedAt": "2025-03-11T04:28:39.715Z"
    },
    {
      "id": 26,
      "name": "Stellar Minds",
      "slug": "stellar-minds",
      "description": "Illum absorbeo terga textor uter benigne.",
      "memberCount": 13,
      "isPublic": true,
      "ownerUserId": 201,
      "createdAt": "2025-09-14T01:37:41.822Z",
      "updatedAt": "2026-05-15T02:10:16.411Z"
    },
    {
      "id": 27,
      "name": "Bright Thinkers",
      "slug": "bright-thinkers",
      "description": "Vociferor placeat autem aequitas maiores appello.",
      "memberCount": 10,
      "isPublic": false,
      "ownerUserId": 136,
      "createdAt": "2025-08-04T06:37:26.034Z",
      "updatedAt": "2026-01-26T07:52:17.968Z"
    }
  ],
  "meta": {
    "page": 2,
    "limit": 24,
    "total": 80,
    "totalPages": 4
  },
  "links": {
    "self": "/api/v1/groups?page=2&limit=24",
    "first": "/api/v1/groups?page=1&limit=24",
    "last": "/api/v1/groups?page=4&limit=24",
    "next": "/api/v1/groups?page=3&limit=24",
    "prev": "/api/v1/groups?page=1&limit=24"
  }
}