# ForwardLane Repository Neighbors Lookup

> ForwardLane Repository Neighbors Lookup 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).

Returns the neighbor list and total neighbor count for a given repository node in the ForwardLane code graph.

## Facts

- Endpoint: GET https://forwardlane.pay.zeroclick.io/api/graph/neighbors/:name?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-neighbors-lookup-2da12448
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FrpigPpXPGl0mYFhDWRsu

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-neighbors-lookup-2da12448
```

Example prompt: Can you look up the graph neighbors for the 'react' repository in ForwardLane and show me which repos are directly connected to it?

## When to prefer this

Use this endpoint when you need to retrieve the direct graph neighbors of a specific, known repository by name from the ForwardLane code graph. Prefer this over the search or full-graph endpoints when you already know the exact repository name and want a fast, targeted adjacency lookup rather than a broad search or full node/edge dump.

## Known failure modes

- 404 Not Found — repository name is unknown or not indexed in the graph
- Invalid or missing :name path parameter causing malformed request
- Network timeout if graph traversal is slow for highly connected repos
- Payment failure (402) if USDC balance is insufficient for the $0.02 call cost

## How this service works

Returns repo, total_neighbors, and the neighbor list for one repository. Returns 404 if the repository is unknown.

## Output

Returns a JSON object containing the repository name (repo), the total number of neighbors (total_neighbors), and a list of neighboring repository nodes with their typed edge relationships. Returns a 404 error if the repository name is not found in the graph.

## 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"
    },
    "pathParams": {
     "name": {
      "type": "string"
     },
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/forwardlane-repository-neighbors-lookup-2da12448/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)
