APIs / GitLab / Group projects

GitLab: Group projects

A GitLab.com group's public projects, including its subgroups', with stars, forks and last activity.

GET /v1/gitlab/group-projects

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
groupstringRequiredUp to 300 characters
Group path, for example gitlab-org, or a subgroup such as gitlab-org/ci-cd.
include_subgroupsbooleanOptionalAny
Include projects in subgroups. Default true.
order_bystringOptionalstar_count, last_activity_at, created_at, name
Sort field, highest or newest first. Default star_count.
pageintegerOptionalAny
Results page, from 1.
per_pageintegerOptionalAny
Results per page, 1 to 100. Default 20.

Example request

GitLab
GET/v1/gitlab/group-projects?group=gitlab-org&per_page=10
{
  "success": true,
  "data": {
    "group": "gitlab-org",
    "page": 1,
    "has_more": true,
    "total": 4018,
    "count": 10,
    "items": [
      {
        "id": 13083,
        "path": "gitlab-org/gitlab-foss",
        "name": "GitLab FOSS",
        "description": "GitLab FOSS is a read-only mirror of GitLab, with all proprietary code removed.\n\nThis project was previously used to host GitLab Community Edition, but all development has now moved to https://gitlab.com/gitlab-org/gitlab.\n",
        "stars": 7176,
        "forks": 8380,
        "topics": [
          "Canonical",
          "hacktoberfest",
          "infra-mgmt Managed"
        ],
        "default_branch": "master",
        "visibility": "public",
        "created_at": "2013-09-26T06:02:36.000Z",
        "last_activity_at": "2026-12-01T09:56:39.641Z",
        "url": "https://gitlab.com/gitlab-org/gitlab-foss",
        "avatar_url": "https://gitlab.com/uploads/-/system/project/avatar/13083/project_avatar.png?v=1796118999",
        "namespace": {
          "name": "GitLab.org",
          "path": "gitlab-org",
          "kind": "group"
        }
      },
      {
        "id": 278964,
        "path": "gitlab-org/gitlab",
        "name": "GitLab",
        "description": "GitLab is the open-source DevSecOps platform that provides a complete software development lifecycle toolchain including source control, CI/CD, security scanning, and project management in a single application.",
        "stars": 6217,
        "forks": 12706,
        "topics": [
          "hacktoberfest",
          "javascript",
          "ruby"
        ],
        "default_branch": "master",
        "visibility": "public",
        "created_at": "2015-05-20T10:47:11.949Z",
        "last_activity_at": "2026-12-01T09:09:35.846Z",
        "url": "https://gitlab.com/gitlab-org/gitlab",
        "avatar_url": "https://gitlab.com/uploads/-/system/project/avatar/278964/project_avatar.png?v=1796119179",
        "namespace": {
          "name": "GitLab.org",
          "path": "gitlab-org",
          "kind": "group"
        }
      },
      {
        "id": 250833,
        "path": "gitlab-org/gitlab-runner",
        "name": "gitlab-runner",
        "description": "GitLab Runner is the open source project that is used to run your CI/CD jobs and send the results back to GitLab",
        "stars": 2599,
        "forks": 2814,
        "topics": [
          "golang",
          "hacktoberfest"
        ],
        "default_branch": "main",
        "visibility": "public",
        "created_at": "2015-04-27T21:10:25.322Z",
        "last_activity_at": "2026-12-01T09:00:32.886Z",
        "url": "https://gitlab.com/gitlab-org/gitlab-runner",
        "avatar_url": "https://gitlab.com/uploads/-/system/project/avatar/250833/runner.png?v=1796119140",
        "namespace": {
          "name": "GitLab.org",
          "path": "gitlab-org",
          "kind": "group"
        }
      }
    ]
  },
  "meta": {
    "request_id": "req_69088ca0a0204f92b6a5f418f401a46f",
    "credits_charged": 1,
    "credits_remaining": 1984
  }
}
200 OKJSONX-Credits-Used: 1
Recorded from our API and shortened.

Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.

Response fields

Each item in data.items has these 14 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

FieldType
idinteger
pathstring
namestring
descriptionstring
starsinteger
forksinteger
topicsstring[]
default_branchstring
visibilitystring
created_atstring
last_activity_atstring
urlurl
avatar_urlurl
namespaceobject