From charlesreid1

Like github, Gitea offers a public-facing API that can be queried by anyone with an access token.

The API is available at /api/v1 and is defined in the routes folder of the Gitea source code.

Here is an example that gets all of the repositories owned by a particular user:

$ curl "https://git.charlesreid1.com/api/v1/user/repos?access_token=a936efc887b1947561ab901d08abe3b3b3128a80" | python -m json.tool