# Codeberg Repository Search via Clonecho

> Codeberg Repository Search via Clonecho is a paid API for AI agents from clonecho.builda.company, paid per call via x402, $0.02/call, status down (last checked 2026-09-15).

Searches Codeberg (Forgejo) repositories matching a text query and returns matching repo metadata as JSON.

## Facts

- Endpoint: POST https://clonecho.builda.company/x402/s/codeberg-repo-search
- Price: $0.02/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/codeberg-repository-search-via-clonecho-7bd6d442
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_r5TmyKJOaXCBH-mliOxcp

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability codeberg-repository-search-via-clonecho-7bd6d442 -d '<json body>'
```

Example prompt: Can you search Codeberg for repositories related to 'static site generator' and show me what comes up?

## When to prefer this

Use this endpoint when you need to search for code repositories specifically hosted on Codeberg (a Forgejo-based platform popular with open-source and privacy-conscious developers), as opposed to GitHub or GitLab. Prefer this over general web search when you need structured repository metadata rather than HTML pages.

## Known failure modes

- Empty result set if no repos match the query
- HTTP 402 Payment Required if x402 payment header is missing or invalid
- Malformed or missing query parameter returns error or empty results
- Rate limiting or upstream Codeberg API unavailability returns error

## How this service works

Search repositories on Codeberg (Forgejo) matching a query {q}. Query: ?q= Returns JSON.

## Output

A JSON array of Codeberg repository objects matching the query, likely including repository names, descriptions, URLs, owner information, star counts, and other metadata provided by the Forgejo API.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/codeberg-repository-search-via-clonecho-7bd6d442/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from clonecho.builda.company](https://www.zero.xyz/host/clonecho.builda.company/llms.txt)
