# ForwardLane Get Stats

> ForwardLane Get Stats is a paid API for AI agents from agents.forwardlane.com, paid per call via MPP, ~$0.05/call (observed), status healthy (last checked 2026-10-26, last successful call 2026-10-23).

Returns aggregate statistics across all financial-services repositories, including totals broken down by language, tier, project, and edge types in the code knowledge graph.

## Facts

- Endpoint: GET https://agents.forwardlane.com/api/stats?utm_source=zero.xyz
- Price: ~$0.05/call (observed)
- Payment: MPP
- Status: healthy
- Last checked: 2026-10-26
- Last successful call: 2026-10-23
- Success rate: 100% of calls made through Zero
- Activations on Zero: 3
- Provider: agents.forwardlane.com
- Website: https://agents.forwardlane.com
- Canonical page: https://www.zero.xyz/c/agents-forwardlane-com-forwardlane-get-stats-515a750e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_synlMwF4FPY1fuMOf6Pde

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 agents-forwardlane-com-forwardlane-get-stats-515a750e
```

Example prompt: Give me the aggregate stats from the ForwardLane repo intelligence platform — I want to see total counts broken down by language, tier, project, and edge types across all tracked financial-services repositories.

## When to prefer this

Use this endpoint when you need a high-level summary or aggregate view of the entire ForwardLane repository dataset — for example, to understand the overall distribution of languages, tiers, and projects before drilling into individual repositories. Prefer this over the List Repos or Get Tiers endpoints when you want a single, consolidated snapshot of all dimensions at once rather than paginated or filtered lists.

## Known failure modes

- Service unavailable (5xx) if the ForwardLane backend is down
- Payment/authentication failure if the x402 payment header is missing or insufficient
- Empty or partial results if the underlying knowledge graph index is being rebuilt
- Unexpected schema changes if the platform updates its ontology or tier definitions

## How this service works

Aggregate statistics: totals by language, tier, project, and edge types.

## Output

A JSON object containing aggregate counts and breakdowns across all tracked financial-services repositories, including totals grouped by programming language, repository tier, project, and code knowledge graph edge types.

## 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": {}
    }
   },
   "additionalProperties": false
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "title": "StatsResponse",
 "required": [
  "total_repos",
  "by_language",
  "by_tier",
  "by_project",
  "total_edges",
  "edge_types"
 ],
 "properties": {
  "by_tier": {
   "type": "object",
   "title": "By Tier",
   "additionalProperties": {
    "type": "integer"
   }
  },
  "by_project": {
   "type": "object",
   "title": "By Project",
   "additionalProperties": {
    "type": "integer"
   }
  },
  "edge_types": {
   "type": "object",
   "title": "Edge Types",
   "additionalProperties": {
    "type": "integer"
   }
  },
  "by_language": {
   "type": "object",
   "title": "By Language",
   "additionalProperties": {
    "type": "integer"
   }
  },
  "total_edges": {
   "type": "integer",
   "title": "Total Edges"
  },
  "total_repos": {
   "type": "integer",
   "title": "Total Repos"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agents-forwardlane-com-forwardlane-get-stats-515a750e/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)
