Codeberg website screenshot

Codeberg

Codeberg is a community-run, non-profit platform for hosting Git repositories and collaborating on free and open source software, operated by the Codeberg e.V. association in Germany. It runs on Forgejo (a community fork of Gitea) and exposes the Forgejo/Gitea-compatible REST API at https://codeberg.org/api/v1 for repositories, issues, pull requests, releases, Git content, users, and organizations. Access is free and donation-funded; requests authenticate with a personal access token or OAuth2.

Codeberg publishes 10 API contracts indexed on the APIs.io network, including Miscellaneous API, Activitypub API, Admin API, and 7 more. Tagged areas include Code Hosting, Version Control, Git Hosting, Repositories, and Pull Requests.

The Codeberg catalog on APIs.io includes 1 Spectral governance ruleset.

Codeberg’s developer surface includes authentication, documentation, engineering blog, and 9 more developer resources.

28.4/100 thin ▬ flat Agent 21/100 agent aware Front door AI 2/6 trace Heartbeat 99/100 alive saas Full breakdown ↓
scored 2026-11-13 · rubric v0.28.0 · Show this score on your site →
AccessFreeSelf serve⚡ Free to try
1 published contract
Code HostingVersion ControlGit HostingRepositoriesPull RequestsIssue TrackingOpen SourceForgejoNon-Profit

What this lets a business do 2

Business capabilities this provider's published APIs can perform, derived from its own contracts. Browse all capabilities →

Software Product Engineering Management
BC-4200
Git ContentIssuesPull RequestsRepositories
Software Release & Deployment Management
BC-4210
Releases

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-11-13 · rubric v0.28.0
Regulatory Posture applies to this provider. Its tags matched the Horizontal (data, software, accessibility, platform) regime, so Regulatory Posture carries 15 points of the composite. If this regime is wrong for your business, say so on your provider repo — the applicability map is public and we will correct it.
Create-or-Update Ergonomics applies to this provider. This API accepts writes, so it carries 10 points of the composite. It is scored from the published contracts themselves: whether a caller can create-or-update in one call, whether the write accepts a key the caller already holds, and whether the response says which branch ran. Without that, every write needs a search-and-branch in front of it, and the first time that check is skipped a duplicate record is created. Scored against the observed mean rather than raw — a provider at the catalog average is unchanged by this facet, not penalised by it.
The six quality facets above are damped to 75 points between them, because the conditional facet above carries the other 25. That is why each facet's contribution is shown against a damped maximum: raising a quality facet moves the composite by 75% of its nominal weight, not 100%. The full arithmetic is at apis.io/rating/.
Show this score on your site. Kin Score badge preview for Codeberg It updates itself when the score changes. Paste this where you link to your API docs:
<a href="https://apis.io/providers/codeberg/"><img src="https://apis.io/badge/codeberg/card.svg" alt="Codeberg on APIs.io — Kin Score by API Evangelist"></a>
Other styles, a README pill and a shields.io endpoint are on the badge page.
Raise your score.
Agent readiness — checks not met, largest first (exact, from this profile):
8 more unmet checks in the Agent Readiness table above.
Kin Score — facets with the most composite points still available (weight × headroom):
Each check links to what satisfies it. Publish the artifact, or tell us where it already lives, and the score moves on the next scoring run.
Not sure how this applies to your stack? Ask about any one item. Kin Lane reads every question, looks at your profile and your situation, and replies with what a fix would take — scoped to that one area, priced up front, yours whether you ship it or not. Ask a question →
Ask about:
Codeberg · a person reads this and replies by email.
or email info@apis.io
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. Every facet and dimension name above is a link: it opens that measurement's own page — what it means, the exact checks that feed it, how the whole catalog distributes on it, and the providers at the top of it. This rating is computed from the provider profile at artifacts.apis.io/codeberg/apis.yml: open an issue on github.com/api-evangelist/codeberg to ask a question or point us at an artifact you publish. Submit an artifact on GitHub — free → Manage your own listing — the Influence plan, $499/mo →

Standards implemented 2

Standards this provider implements or carries. De facto ones are profiled and measured by the API Commons; formal ones come from the standards directory and are linked by the provider's own tags. The evidence column says how each claim was established — not that it was made.

measured — observed by APIs.io (published)
measured — observed by APIs.io (declared)

APIs 10

Individual APIs this provider publishes, each with its own machine-readable definition.

Codeberg Miscellaneous API

Server metadata.

Codeberg Activitypub API

The activitypub API from Codeberg — 11 operation(s) for activitypub.

Codeberg Admin API

The admin API from Codeberg — 34 operation(s) for admin.

Codeberg Issue API

The issue API from Codeberg — 33 operation(s) for issue.

Codeberg Notification API

The notification API from Codeberg — 4 operation(s) for notification.

Codeberg Organization API

The organization API from Codeberg — 42 operation(s) for organization.

Codeberg Package API

The package API from Codeberg — 5 operation(s) for package.

Codeberg Repository API

The repository API from Codeberg — 126 operation(s) for repository.

Codeberg Settings API

The settings API from Codeberg — 4 operation(s) for settings.

Codeberg User API

The user API from Codeberg — 54 operation(s) for user.

Scroll for all 10

Open Collections 9

Open, tool-agnostic API collections (OpenAPI-derived and Bruno).

Codeberg API (Forgejo)

OPEN COLLECTION

Scroll for all 9

Codeberg API pricing

Not yet checked against Codeberg's own pricing page. Compiled by API Evangelist on 2026-07-12 from codeberg.org; confirm before you rely on a figure. A free plan or tier is listed.

PlanPrice
Free Community Hosting free —
Codeberg e.V. Membership / Donation free —

Plan details, limits and sources →

Rate limits

Compiled by API Evangelist, not yet checked against Codeberg's documentation. Rate-limit details →

Pricing Plans 1

Published pricing tiers and plan structures.

Rate Limits 1

Documented rate limits and quota policies.

Codeberg Rate Limits

3 limits

RATE LIMITS

FinOps 1

Cost, billing, and metering signals for API financial operations.

Spectral Rules 1

Spectral governance rulesets for linting and validating these APIs. Counts are the severity each rule declares, not results of running them.

Codeberg API Rules

58 rules · 39 error-severity 15 warn-severity 4 info-severity

SPECTRAL

Security Posture 2

Authentication, domain security, vulnerability disclosure, and trust-center signals.

Codeberg Authentication

apiKey/basic/oauth2 · 3 schemes

SECURITY

Codeberg Domain Security

TLSv1.3 · HSTS · DNSSEC · DMARC

SECURITY

Agentic Access (API Evangelist recommendations) 1

Recommended x-agentic-access execution contracts for AI agents.

Codeberg Agentic Access

507 operations · 246 acting · 5 human-in-the-loop

507 operations · 246 acting

AGENTIC

Resources

Documentation 1

Reference material describing how the API behaves

Agent Surfaces 1

MCP servers, agent skills, and machine-readable catalogs

Build 1

SDKs, sample code, and the tooling you integrate with

Access & Security 2

Authentication, authorization, and security posture

Operate 1

Status, limits, changes, and where to get help

Commercial 2

Pricing, plans, and the legal terms of use

Company 2

The organization behind the API

Other 2

Properties that don't map to a standard resource type

Source (apis.yml)

apis.yml Raw ↑
aid: codeberg
url: https://raw.githubusercontent.com/api-evangelist/codeberg/refs/heads/main/apis.yml
name: Codeberg
kind: company
description: Codeberg is a community-run, non-profit platform for hosting Git repositories and collaborating on free and open
  source software, operated by the Codeberg e.V. association in Germany. It runs on Forgejo (a community fork of Gitea) and
  exposes the Forgejo/Gitea-compatible REST API at https://codeberg.org/api/v1 for repositories, issues, pull requests, releases,
  Git content, users, and organizations. Access is free and donation-funded; requests authenticate with a personal access
  token or OAuth2.
deliveryModel:
  model: saas
  open_source: false
  commercial: true
  callable_host: true
  label: Hosted service · you call their endpoint
  confidence: high
  source:
  - openapi
  - pricing
  generated: '2026-08-28'
  method: derived
accessModel:
  pricing: free
  onboarding: self-serve
  trial: false
  try_now: true
  public: false
  gated: none
  gated_source:
  - onboarding
  label: Free · Self-serve signup
  confidence: medium
  source:
  - plans
  - authentication
  - security
  generated: '2026-11-13'
  method: derived
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/icons/codeberg.png
tags:
- Code Hosting
- Version Control
- Git Hosting
- Repositories
- Pull Requests
- Issue Tracking
- Open Source
- Forgejo
- Non-Profit
tags_raw:
- Code Hosting
- Git
- Git Hosting
- Version Control
- Repositories
- Pull Requests
- Issue Tracking
- Open Source
- Forgejo
- Non-Profit
- Open-Source
created: '2026-07-12'
modified: '2026-07-12'
specificationVersion: '0.23'
apis:
- aid: codeberg:codeberg-miscellaneous-api
  name: Codeberg Miscellaneous API
  description: Server metadata.
  humanURL: https://codeberg.org/api/swagger
  baseURL: https://codeberg.org/api/v1
  tags: []
  tags_raw:
  - Miscellaneous
  properties:
  - type: OpenAPI
    url: openapi/codeberg-miscellaneous-api-openapi.yml
  - type: Documentation
    url: https://docs.codeberg.org/advanced/api-usage/
  - type: APIReference
    url: https://codeberg.org/api/swagger
  - type: PostmanCollection
    url: collections/codeberg.postman_collection.json
  - type: OpenCollection
    url: collections/codeberg.opencollection.json
- aid: codeberg:codeberg-activitypub-api
  name: Codeberg Activitypub API
  description: The activitypub API from Codeberg — 11 operation(s) for activitypub.
  humanURL: https://codeberg.org/api/swagger
  baseURL: https://codeberg.org/api/v1
  tags:
  - ActivityPub
  tags_raw:
  - activitypub
  properties:
  - type: OpenAPI
    url: openapi/codeberg-activitypub-api-openapi.yml
  - type: Documentation
    url: https://docs.codeberg.org/advanced/api-usage/
  - type: APIReference
    url: https://codeberg.org/api/swagger
  - type: PostmanCollection
    url: collections/codeberg.postman_collection.json
  - type: OpenCollection
    url: collections/codeberg.opencollection.json
- aid: codeberg:codeberg-admin-api
  name: Codeberg Admin API
  description: The admin API from Codeberg — 34 operation(s) for admin.
  humanURL: https://codeberg.org/api/swagger
  baseURL: https://codeberg.org/api/v1
  tags:
  - Admin
  tags_raw:
  - admin
  properties:
  - type: OpenAPI
    url: openapi/codeberg-admin-api-openapi.yml
  - type: Documentation
    url: https://docs.codeberg.org/advanced/api-usage/
  - type: APIReference
    url: https://codeberg.org/api/swagger
  - type: PostmanCollection
    url: collections/codeberg.postman_collection.json
  - type: OpenCollection
    url: collections/codeberg.opencollection.json
- aid: codeberg:codeberg-issue-api
  name: Codeberg Issue API
  description: The issue API from Codeberg — 33 operation(s) for issue.
  humanURL: https://codeberg.org/api/swagger
  baseURL: https://codeberg.org/api/v1
  tags:
  - Issue
  tags_raw:
  - issue
  properties:
  - type: OpenAPI
    url: openapi/codeberg-issue-api-openapi.yml
  - type: Documentation
    url: https://docs.codeberg.org/advanced/api-usage/
  - type: APIReference
    url: https://codeberg.org/api/swagger
  - type: PostmanCollection
    url: collections/codeberg.postman_collection.json
  - type: OpenCollection
    url: collections/codeberg.opencollection.json
- aid: codeberg:codeberg-notification-api
  name: Codeberg Notification API
  description: The notification API from Codeberg — 4 operation(s) for notification.
  humanURL: https://codeberg.org/api/swagger
  baseURL: https://codeberg.org/api/v1
  tags:
  - Notification
  tags_raw:
  - notification
  properties:
  - type: OpenAPI
    url: openapi/codeberg-notification-api-openapi.yml
  - type: Documentation
    url: https://docs.codeberg.org/advanced/api-usage/
  - type: APIReference
    url: https://codeberg.org/api/swagger
  - type: PostmanCollection
    url: collections/codeberg.postman_collection.json
  - type: OpenCollection
    url: collections/codeberg.opencollection.json
- aid: codeberg:codeberg-organization-api
  name: Codeberg Organization API
  description: The organization API from Codeberg — 42 operation(s) for organization.
  humanURL: https://codeberg.org/api/swagger
  baseURL: https://codeberg.org/api/v1
  tags:
  - Organization
  tags_raw:
  - organization
  properties:
  - type: OpenAPI
    url: openapi/codeberg-organization-api-openapi.yml
  - type: Documentation
    url: https://docs.codeberg.org/advanced/api-usage/
  - type: APIReference
    url: https://codeberg.org/api/swagger
  - type: PostmanCollection
    url: collections/codeberg.postman_collection.json
  - type: OpenCollection
    url: collections/codeberg.opencollection.json
- aid: codeberg:codeberg-package-api
  name: Codeberg Package API
  description: The package API from Codeberg — 5 operation(s) for package.
  humanURL: https://codeberg.org/api/swagger
  baseURL: https://codeberg.org/api/v1
  tags:
  - Package
  tags_raw:
  - package
  properties:
  - type: OpenAPI
    url: openapi/codeberg-package-api-openapi.yml
  - type: Documentation
    url: https://docs.codeberg.org/advanced/api-usage/
  - type: APIReference
    url: https://codeberg.org/api/swagger
  - type: PostmanCollection
    url: collections/codeberg.postman_collection.json
  - type: OpenCollection
    url: collections/codeberg.opencollection.json
- aid: codeberg:codeberg-repository-api
  name: Codeberg Repository API
  description: The repository API from Codeberg — 126 operation(s) for repository.
  humanURL: https://codeberg.org/api/swagger
  baseURL: https://codeberg.org/api/v1
  tags:
  - Repository
  tags_raw:
  - repository
  properties:
  - type: OpenAPI
    url: openapi/codeberg-repository-api-openapi.yml
  - type: Documentation
    url: https://docs.codeberg.org/advanced/api-usage/
  - type: APIReference
    url: https://codeberg.org/api/swagger
  - type: PostmanCollection
    url: collections/codeberg.postman_collection.json
  - type: OpenCollection
    url: collections/codeberg.opencollection.json
- aid: codeberg:codeberg-settings-api
  name: Codeberg Settings API
  description: The settings API from Codeberg — 4 operation(s) for settings.
  humanURL: https://codeberg.org/api/swagger
  baseURL: https://codeberg.org/api/v1
  tags:
  - Settings
  tags_raw:
  - settings
  properties:
  - type: OpenAPI
    url: openapi/codeberg-settings-api-openapi.yml
  - type: Documentation
    url: https://docs.codeberg.org/advanced/api-usage/
  - type: APIReference
    url: https://codeberg.org/api/swagger
  - type: PostmanCollection
    url: collections/codeberg.postman_collection.json
  - type: OpenCollection
    url: collections/codeberg.opencollection.json
- aid: codeberg:codeberg-user-api
  name: Codeberg User API
  description: The user API from Codeberg — 54 operation(s) for user.
  humanURL: https://codeberg.org/api/swagger
  baseURL: https://codeberg.org/api/v1
  tags:
  - User
  tags_raw:
  - user
  properties:
  - type: OpenAPI
    url: openapi/codeberg-user-api-openapi.yml
  - type: Documentation
    url: https://docs.codeberg.org/advanced/api-usage/
  - type: APIReference
    url: https://codeberg.org/api/swagger
  - type: PostmanCollection
    url: collections/codeberg.postman_collection.json
  - type: OpenCollection
    url: collections/codeberg.opencollection.json
common:
- type: CapabilityMap
  url: capabilities/codeberg-capability-edges.yml
  name: Codeberg Business Capability Map
- type: AgenticAccess
  url: agentic-access/codeberg-agentic-access.yml
- type: DomainSecurity
  url: security/codeberg-domain-security.yml
- type: Authentication
  url: authentication/codeberg-authentication.yml
- type: GitHubOrganization
  url: https://github.com/forgejo/forgejo
- type: Fediverse
  url: https://social.anoxinon.de/@codeberg
- type: Website
  url: https://codeberg.org
- type: Documentation
  url: https://docs.codeberg.org
- type: Plans
  url: plans/codeberg-plans-pricing.yml
- type: RateLimits
  url: rate-limits/codeberg-rate-limits.yml
- type: FinOps
  url: finops/codeberg-finops.yml
- url: https://blog.codeberg.org/
  type: Blog
maintainers:
- FN: Kin Lane
  email: kin@apievangelist.com

Codeberg API — frequently asked questions

Does Codeberg have an API?

Yes. APIs.io lists 10 APIs from Codeberg, including Codeberg Miscellaneous API, Codeberg Activitypub API and Codeberg Admin API, and 7 more.

Is there an OpenAPI specification for the Codeberg API?

Yes. APIs.io indexes 10 OpenAPI specifications for Codeberg, each linked for download from this page.

How do I authenticate with the Codeberg API?

Codeberg uses bearer-token authentication (apiKey/basic/oauth2 · 3 schemes). The details are profiled on APIs.io as Codeberg Authentication.

How much does the Codeberg API cost?

APIs.io lists 2 pricing plans for Codeberg, with each plan's price, limits and inclusions under Pricing on this page.

Is the Codeberg API ready for AI agents?

Codeberg has a Kin Score of 28.4 out of 100 (thin) and an Agent Readiness score of 21.3 (agent-aware), scored by API Evangelist on 2026-11-13.

Work with this as data

Every provider here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for providers

9 MCP tools reach this
  • find_providersBrowse and filter every provider in the catalog.
  • get_provider_artifactsEvery artifact this provider publishes, grouped by type.
  • get_provider_operationsEvery operation across all of their OpenAPIs — one call instead of parsing every spec.
  • get_provider_toolsEvery MCP tool they ship, with the operation each wraps.
  • get_provider_evidenceHow each part of their score was established. Free — the basis for a claim should not sit behind it.
  • get_provider_ratingPRO — composite, band, trend and facet scores.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This provider
curl "https://apis.io/api/v1/providers/codeberg"
All providers
curl "https://apis.io/api/v1/providers?limit=25"
Every operation they expose
curl "https://apis.io/api/v1/providers/codeberg/operations?limit=25"
How their score was established
curl "https://apis.io/api/v1/providers/codeberg/evidence"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.