# ForwardLane Repository List API

> ForwardLane Repository List API is a paid API for AI agents from forwardlane.pay.zeroclick.io, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-12).

Lists code repositories with optional filters (language, tier, project, commit/contributor thresholds) and pagination, sorted by composite quality score by default.

## Facts

- Endpoint: GET https://forwardlane.pay.zeroclick.io/api/repos?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/forwardlane-repository-list-api-3fc01c4f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_khzW-Zrw_D5JmAtuaoyDL

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 forwardlane-repository-list-api-3fc01c4f
```

Example prompt: Can you pull me the first page of ForwardLane repositories filtered to Python, sorted by composite score descending, showing 50 per page?

## When to prefer this

Use this endpoint when you need a broad, filterable listing of repositories ranked by composite quality score. It is the right choice for browsing or discovering repositories by language, tier, project, or activity thresholds, rather than searching by name or performing semantic similarity queries — use the search or cosine-similarity sibling endpoints for those.

## Known failure modes

- Invalid page or page_size values return a 400 error
- Unknown sort_by field returns a 400 error
- No repositories match the filter combination, returning an empty items array
- Exceeding page_size maximum of 500 returns a validation error
- Payment not included or insufficient causes a 402 Payment Required response

## How this service works

Lists repositories with optional filters and pagination, sorted by composite score by default.

## Output

A paginated envelope containing a list of repositories with their composite scores, tiers, languages, and project associations, along with pagination metadata (page, page_size, total).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "page": {
       "type": "integer",
       "default": 1,
       "minimum": 1
      },
      "tier": {
       "type": "integer"
      },
      "project": {
       "type": "string"
      },
      "sort_by": {
       "type": "string",
       "default": "composite_score"
      },
      "language": {
       "type": "string"
      },
      "page_size": {
       "type": "integer",
       "default": 50,
       "maximum": 500,
       "minimum": 1
      },
      "sort_order": {
       "type": "string",
       "default": "desc"
      },
      "min_commits": {
       "type": "integer"
      },
      "min_contributors": {
       "type": "integer"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/forwardlane-repository-list-api-3fc01c4f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from forwardlane.pay.zeroclick.io](https://www.zero.xyz/host/forwardlane.pay.zeroclick.io/llms.txt)
