GitLab REST API (public data)
- Status
- Working
- API key
- Not needed
- Browser calls
- Runs in the browser
- Latency
- 387 ms
Build snapshot, not live. One verifier run on , from the machine that built this site. How we check
Example request
GEThttps://gitlab.com/api/v4/projects?per_page=1
Sent from your browser straight to gitlab.com. No proxy: this site never sees the request or the answer.
Copy the request
curl -s 'https://gitlab.com/api/v4/projects?per_page=1'const res = await fetch("https://gitlab.com/api/v4/projects?per_page=1");
if (!res.ok) throw new Error(`HTTP ${res.status}`);
const data = await res.json();
console.log(data);import requests
res = requests.get("https://gitlab.com/api/v4/projects?per_page=1", timeout=10)
res.raise_for_status()
print(res.json())Response stored by the verifier
This is what gitlab.com answered when the verifier sent the request above on : HTTP 200, application/json. Arrays are cut to two items and long strings are shortened. It comes from the build snapshot.
[
{
"id": 87191396,
"description": null,
"name": "soap2day-ratulotre",
"name_with_namespace": "Vindy Meilian / soap2day-ratulotre",
"path": "soap2day-ratulotre",
"path_with_namespace": "vindymeilian/soap2day-ratulotre",
"created_at": "2026-10-03T09:00:06.418Z",
"default_branch": "main",
"tag_list": [],
"topics": [],
"ssh_url_to_repo": "git@gitlab.com:vindymeilian/soap2day-ratulotre.git",
"http_url_to_repo": "https://gitlab.com/vindymeilian/soap2day-ratulotre.git",
"web_url": "https://gitlab.com/vindymeilian/soap2day-ratulotre",
"readme_url": "https://gitlab.com/vindymeilian/soap2day-ratulotre/-/blob/main/README.md"
}
]Availability
Up 1 of 1 day checked · 30-day window
What counts as up for this API: an answer within five seconds, a 2xx status, and the body must be a JSON array with at least one item.
Last check: — passed, HTTP 200 in 387 ms.
The check runs from our infrastructure, not from where you are. If you need certainty, send the request yourself above. How the verifier works.
Questions
Does the GitLab REST API (public data) need an API key?
No. The sample request on this page was answered without a key, token or account.
Can I call the GitLab REST API (public data) from the browser?
Yes. gitlab.com answered our verifier with an Access-Control-Allow-Origin header on Oct 3, 2026, so a fetch call from a web page can read the response.
Is the GitLab REST API (public data) working?
At the check on Oct 3, 2026 it returned HTTP 200 with the expected data in 387 ms. The status at the top of this page shows the most recent result we have.