GitLab project
One public gitlab.com project: the search fields plus language shares, open issues and open merge requests, release and tag counts, the latest release, and whether issues and merge requests are enabled.
Every response includes credits_used: the credits this call cost.
Part of the GitLab API: 22 endpoints with prices, use cases and example responses.
Parameters
| name | type | description |
|---|---|---|
pathrequired | string | Project path (namespace/project), its gitlab.com link, or the numeric project id. Example: gitlab-org/gitlab-runner |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/gitlab/v1/project?path=gitlab-org%2Fgitlab-runner" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/gitlab/v1/project",
params={"path": "gitlab-org/gitlab-runner"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/gitlab/v1/project");
url.searchParams.set("path", "gitlab-org/gitlab-runner");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); Response
A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).
Example response (real call, trimmed: lists cut to 2 items, long text shortened, raw left out)
{"id": 278964,"path": "gitlab-org/gitlab","name": "GitLab","name_with_namespace": "GitLab.org / GitLab","url": "https://gitlab.com/gitlab-org/gitlab","description": "GitLab is the open-source DevSecOps platform that provides a complete software development lifecycle toolchain including source control, CI/…","topics": ["hacktoberfest","javascript","… 2 more"],"stars": 6193,"forks": 12588,"open_issues": null,"created_at": "2015-05-20T10:47:11.949Z","last_activity_at": "2026-11-04T05:50:37.616Z","default_branch": "master","visibility": "public","avatar": "https://gitlab.com/uploads/-/system/project/avatar/278964/project_avatar.png?v=1793771990","http_url_to_repo": "https://gitlab.com/gitlab-org/gitlab.git","ssh_url_to_repo": "name@example.com:gitlab-org/gitlab.git","readme_url": "https://gitlab.com/gitlab-org/gitlab/-/blob/master/README.md","license": {"key": "mit","name": "MIT License","url": "https://opensource.org/licenses/MIT"},"license_url": "https://gitlab.com/gitlab-org/gitlab/-/blob/master/LICENSE","namespace": {"path": "gitlab-org","name": "GitLab.org","kind": "group","url": "https://gitlab.com/groups/gitlab-org"},"forked_from": null,"archived": null,"empty_repo": null,"languages_pct": {"Ruby": 68.14,"JavaScript": 20.55,"Vue": 7.27,"PLpgSQL": 1.99,"Haml": 0.82},"open_merge_requests": 2462,"releases_count": null,"tags_count": 2660,"latest_release": null,"issues_enabled": true,"merge_requests_enabled": true,"cached": false,"credits_used": 1}