Gitea API.
gitea · Developer Tools
This documentation describes the Gitea API.
Authentication
No authentication requiredFree to use with no key needed.
Sample Requests
GET
List users's notification threads
List users's notification threads
https://api.apis.guru/v2/specs/gitea.io/1.20.0+dev-93-g6886706f5/notifications?all=true&page=1&limit=10&since=example&before=example&status-types=example&subject-type=example
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/gitea.io/1.20.0+dev-93-g6886706f5/notifications?all=true&page=1&limit=10&since=example&before=example&status-types=example&subject-type=example"
import requests
params = {
"all": "true",
"page": "1",
"limit": "10",
"since": "example",
"before": "example",
"status-types": "example",
"subject-type": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/gitea.io/1.20.0+dev-93-g6886706f5/notifications",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/gitea.io/1.20.0+dev-93-g6886706f5/notifications');
url.searchParams.set('all', 'true');
url.searchParams.set('page', '1');
url.searchParams.set('limit', '10');
url.searchParams.set('since', 'example');
url.searchParams.set('before', 'example');
url.searchParams.set('status-types', 'example');
url.searchParams.set('subject-type', 'example');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/gitea.io/1.20.0+dev-93-g6886706f5/notifications")
q := baseURL.Query()
q.Set("all", "true")
q.Set("page", "1")
q.Set("limit", "10")
q.Set("since", "example")
q.Set("before", "example")
q.Set("status-types", "example")
q.Set("subject-type", "example")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/gitea.io/1.20.0+dev-93-g6886706f5/notifications")
uri.query = URI.encode_www_form({
"all" => "true",
"page" => "1",
"limit" => "10",
"since" => "example",
"before" => "example",
"status-types" => "example",
"subject-type" => "example"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/gitea.io/1.20.0+dev-93-g6886706f5/notifications?" . http_build_query([
"all" => "true",
"page" => "1",
"limit" => "10",
"since" => "example",
"before" => "example",
"status-types" => "example",
"subject-type" => "example"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));
GET
Get list of organizations
Get list of organizations
https://api.apis.guru/v2/specs/gitea.io/1.20.0+dev-93-g6886706f5/orgs?page=1&limit=10
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/gitea.io/1.20.0+dev-93-g6886706f5/orgs?page=1&limit=10"
import requests
params = {
"page": "1",
"limit": "10"
}
response = requests.get(
"https://api.apis.guru/v2/specs/gitea.io/1.20.0+dev-93-g6886706f5/orgs",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/gitea.io/1.20.0+dev-93-g6886706f5/orgs');
url.searchParams.set('page', '1');
url.searchParams.set('limit', '10');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/gitea.io/1.20.0+dev-93-g6886706f5/orgs")
q := baseURL.Query()
q.Set("page", "1")
q.Set("limit", "10")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/gitea.io/1.20.0+dev-93-g6886706f5/orgs")
uri.query = URI.encode_www_form({
"page" => "1",
"limit" => "10"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/gitea.io/1.20.0+dev-93-g6886706f5/orgs?" . http_build_query([
"page" => "1",
"limit" => "10"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));
GET
List cron tasks
List cron tasks
https://api.apis.guru/v2/specs/gitea.io/1.20.0+dev-93-g6886706f5/admin/cron?page=1&limit=10
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/gitea.io/1.20.0+dev-93-g6886706f5/admin/cron?page=1&limit=10"
import requests
params = {
"page": "1",
"limit": "10"
}
response = requests.get(
"https://api.apis.guru/v2/specs/gitea.io/1.20.0+dev-93-g6886706f5/admin/cron",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/gitea.io/1.20.0+dev-93-g6886706f5/admin/cron');
url.searchParams.set('page', '1');
url.searchParams.set('limit', '10');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/gitea.io/1.20.0+dev-93-g6886706f5/admin/cron")
q := baseURL.Query()
q.Set("page", "1")
q.Set("limit", "10")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/gitea.io/1.20.0+dev-93-g6886706f5/admin/cron")
uri.query = URI.encode_www_form({
"page" => "1",
"limit" => "10"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/gitea.io/1.20.0+dev-93-g6886706f5/admin/cron?" . http_build_query([
"page" => "1",
"limit" => "10"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Postman Setup Guide
- See official documentation for authentication and setup.
What can you build with Gitea API.?
Gitea API. is a Developer Tools API. Developers commonly use developer tools APIs for:
- automating code review and quality checks
- integrating CI/CD pipelines and build systems
- managing feature flags and A/B tests
- monitoring errors and application performance
- generating and validating test data
No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. Gitea API. is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide