## github/repo/top-issues

`GET /v1/github/repo/top-issues`

The most-reacted open feature request and the most-reacted open complaint for a repository.

*GitHub repository top issues*

| Parameter | Required | Description |
| --- | --- | --- |
| `url` | yes | Repository URL — e.g. `https://github.com/vercel/next.js` |
| `dry_run` | no | Read a zero-credit estimate without fetching sources, running AI, or reserving credits. Cache status is a snapshot, not a guarantee at execution. — e.g. `1` |

**Cost:** 3 credits at list price per successful uncached response; variable-cost operations may quote or settle a different charge. Confirmed uncharged or refunded failures report zero. Pending reconciliation can report credits_used:null; retain request_id and the original idempotency key.

```bash
curl "https://www.monocrawl.com/v1/github/repo/top-issues?url=https%3A%2F%2Fgithub.com%2Fvercel%2Fnext.js" \
  -H "x-api-key: mn_your_key_here"
```

### Response data

Illustrative abbreviated data; documented core fields are optional and may be null. Additional source fields are allowed.

```json
{
  "_warnings": [
    "example"
  ],
  "repo": "example",
  "sources": [
    {
      "ok": false,
      "source": "example"
    }
  ],
  "top_complaint": {
    "author": "example",
    "author_association": "example",
    "body": "example",
    "comments": 0,
    "created_at": "2026-09-01T12:00:00Z",
    "id": 0,
    "is_pull_request": false,
    "labels": [
      "example"
    ],
    "number": 0,
    "reactions": 0,
    "state": "example",
    "title": "example",
    "updated_at": "2026-09-01T12:00:00Z",
    "url": "https://example.com/example"
  },
  "top_feature_request": {
    "author": "example",
    "author_association": "example",
    "body": "example",
    "comments": 0,
    "created_at": "2026-09-01T12:00:00Z",
    "id": 0,
    "is_pull_request": false,
    "labels": [
      "example"
    ],
    "number": 0,
    "reactions": 0,
    "state": "example",
    "title": "example",
    "updated_at": "2026-09-01T12:00:00Z",
    "url": "https://example.com/example"
  }
}
```

[Field reference](https://www.monocrawl.com/docs/endpoints/github/repo/top-issues#response) · [JSON Schema for response.data](https://www.monocrawl.com/schemas/github/repo/top-issues.json)
