Codeberg icon

Codeberg

Interact with the Codeberg API

Repository → Search

AI-generated

Summary

Search repositories on Codeberg matching a query string, with optional sorting, ordering, and result limiting.

Inputs

  • Authentication — Choose between Access Token or OAuth2 for authentication.
  • Query (required) — The search query string to find matching repositories.
  • Additional Fields — Optional parameters to refine the search including Limit (maximum number of results), Order (Ascending or Descending), and Sort criteria (Created, Forks, Size, Stars, or Updated).

Output shape

a list of repository items as JSON objects, each representing a repository that matches the search criteria

Results are returned in an array with each repository item under an individual JSON object. Pagination is handled internally up to the provided limit, but only a single page of results is returned according to the limit setting.

Links

Discussion