# ForwardLane Function Catalog

> ForwardLane Function Catalog is a paid API for AI agents from agents.forwardlane.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-12).

List and filter functions extracted from source code repositories, returning metadata including name, repo, file path, arguments, decorators, docstring, line count, and complexity.

## Facts

- Endpoint: GET https://agents.forwardlane.com/zcj/9do1aq1ienxs/api/functions?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-function-catalog-409b091b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_k15KqwSlHZdHGWkqO13dC

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-function-catalog-409b091b
```

Example prompt: Show me all the functions in the 'my-api-service' repository that have a complexity of at least 5, up to 50 results, so I can see which ones might need refactoring.

## When to prefer this

Use this endpoint when you need to enumerate, browse, or filter the raw function catalog of one or more repositories with full metadata (args, decorators, docstring, line count, complexity). Prefer this over the search or embedding endpoints when you want a structured list rather than ranked relevance results, or when you need to apply complexity thresholds programmatically.

## Known failure modes

- No functions found matching the given filters — returns empty list
- Invalid limit value outside 1–500 range — validation error
- Unknown repository name — returns empty results or 404
- min_complexity filter too high — returns no results if no functions meet threshold
- Missing required 'input' wrapper object — schema validation error

## How this service works

Functions extracted from source with name, repo, file path, arguments, decorators, docstring, line count, and complexity.

## Output

A paginated list of function objects, each containing the function name, repository, file path, argument list, decorators, docstring, line count, and a complexity score. Results can be filtered by function name, repository, minimum complexity, and capped at a configurable limit (1–500, default 100).

## 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": {
      "name": {
       "type": "string"
      },
      "repo": {
       "type": "string"
      },
      "limit": {
       "type": "integer",
       "default": 100,
       "maximum": 500,
       "minimum": 1
      },
      "min_complexity": {
       "type": "integer"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/forwardlane-function-catalog-409b091b/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)
