---
title: "Get Paper Fork Graph"
method: GET
path: "/papers/{paper_id}/fork-graph"
tags: ["papers"]
---

# Get Paper Fork Graph

`GET /papers/{paper_id}/fork-graph`

## Request

- Base URL: `https://api.codeofpaper.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.codeofpaper.com/papers/{paper_id}/fork-graph`
- Auth: none declared

Fork-graph for a paper's confident implementations.

For each `official` / `high_confidence_community` repo attached to the
paper, returns aggregate fork counts plus the top-N notable forks (active,
sorted by stars). Backed by the `repository_forks` table populated by the
2026-04 backfill (1.5M edges across 89k distinct parents).

Args:
    paper_id: Paper ID (arXiv ID, S2 hash, or `or_<id>`).
    parent_limit: Cap on how many parent repos to walk.
    forks_per_parent: Cap on notable forks returned per parent.

Returns:
    {
        "paper_id": "2309.06180",
        "repos": [
            {
                "full_name": "vllm-project/vllm",
                "html_url": "https://github.com/vllm-project/vllm",
                "tier": "official",
                "stars": 53000,
                "total_forks": 394,
                "active_forks": 380,
                "notable_forks": [
                    {
                        "full_name": "SystemPanic/vllm-windows",
                        "html_url": "https://github.com/SystemPanic/vllm-windows",
                        "stars": 452,
                        "pushed_at": "2026-05-04T07:33:50+00:00",
                        "is_archived": false
                    }
                ]
            }
        ],
        "source": "cache"
    }

## Path parameters

- `paper_id` string, required

## Query parameters

- `parent_limit` integer: Max number of parent repos to surface
- `forks_per_parent` integer: Max notable forks per parent repo

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/codeofpaper/apis/code-of-paper-dev-api.md) · [All operations](https://skmtc.dev/codeofpaper/apis/code-of-paper-dev-api/llms.txt) · [OpenAPI document](https://skmtc.dev/codeofpaper/apis/code-of-paper-dev-api/revisions/94ea47fd4aa1?raw)
