# ForwardLane Repository Search

> ForwardLane Repository Search is a paid API for AI agents from agents.forwardlane.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-19).

Searches software repository names and properties using a composite scoring algorithm, returning paginated results with metadata.

## Facts

- Endpoint: GET https://agents.forwardlane.com/api/search
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/forwardlane-repository-search-76b71cdf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BzCY6UKeJRZyoeqX0tu6i

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-search-76b71cdf
```

Example prompt: Search the ForwardLane repository index for repos related to 'graph neural networks' and show me the first 10 results.

## When to prefer this

Use this endpoint when you need to search and discover repositories by name or properties across the ForwardLane knowledge graph index. It is best suited for broad keyword-based discovery with pagination support. Prefer the BM25+vector sibling endpoint when you need semantic function/class-level search, or the graph endpoint when you need full node/edge traversal.

## Known failure modes

- Missing required query parameter 'q' returns a 400 validation error
- Invalid page number (less than 1) returns a 400 error
- page_size exceeding 500 returns a 400 validation error
- No matching repositories returns an empty items array with total of 0
- Payment not included or insufficient returns a 402 Payment Required response

## How this service works

Searches repository names and properties. Returns a paginated envelope with items, total, page, page_size, and total_pages, sorted by composite score.

## Output

Returns a paginated envelope containing: an array of repository items (each with name, properties, and composite relevance score), the total number of matching repositories, the current page number, the page size, and the total number of pages.

## 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",
     "required": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string"
      },
      "page": {
       "type": "integer",
       "default": 1,
       "minimum": 1
      },
      "page_size": {
       "type": "integer",
       "default": 50,
       "maximum": 500,
       "minimum": 1
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/forwardlane-repository-search-76b71cdf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.forwardlane.com](https://www.zero.xyz/host/agents.forwardlane.com/llms.txt)
