# ForwardLane Repository Search

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

Searches repository names and properties by keyword query, returning paginated results sorted by composite relevance score.

## Facts

- Endpoint: GET https://forwardlane.pay.zeroclick.io/api/search?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: healthy
- Last checked: 2026-10-12
- Last successful call: 2026-10-01
- Success rate: 99% of calls made through Zero
- Activations on Zero: 90
- Tags: x402
- Canonical page: https://www.zero.xyz/c/forwardlane-repository-search-b7db0731
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nvuyHEryFTeFtyPCtCM7U

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-b7db0731
```

Example prompt: Search ForwardLane for repositories matching 'payment gateway' and give me the first 20 results.

## When to prefer this

Use this endpoint when you need keyword-based search over repository names and properties with paginated results sorted by composite score. Prefer this over the sibling cosine-similarity embedding search when you have a concrete keyword or property value rather than a conceptual/semantic query. Best suited for discovering repositories by name fragment, tag, or metadata property.

## Known failure modes

- Missing required query parameter 'q' returns a 400 bad request error
- page or page_size out of valid range (page < 1, page_size < 1 or > 500) returns a 400 error
- No repositories match the query — returns an empty items array with total: 0
- Payment not processed (x402 payment required) — returns 402 Payment Required
- Service unavailable or timeout — returns 5xx error

## 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 JSON envelope containing: an array of matching repository items with their properties and composite scores, along with metadata fields: total (total matching count), page (current page), page_size (results per page), and total_pages (total number of pages). Results are sorted by a composite relevance score.

## 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-b7db0731/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)
