APIs / GitLab / Project

GitLab: Project

One public GitLab.com project: description, stars, forks, topics, license, default branch and namespace.

GET /v1/gitlab/project

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
idstringRequiredUp to 300 characters
Project path, group/project (for example gitlab-org/gitlab-runner), or numeric id.

Example request

GitLab
GET/v1/gitlab/project?id=gitlab-org%2Fgitlab-runner
{
  "success": true,
  "data": {
    "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"
    },
    "license": "MIT License",
    "readme_url": "https://gitlab.com/gitlab-org/gitlab-runner/-/blob/main/README.md",
    "clone_url": "https://gitlab.com/gitlab-org/gitlab-runner.git"
  },
  "meta": {
    "request_id": "req_8b012e2e67604780843af2c36b862329",
    "credits_charged": 1,
    "credits_remaining": 1983
  }
}
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

data has these 17 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
licensestring
readme_urlurl
clone_urlurl