## github/repo

`GET /v1/github/repo`

Stars, forks, issues and metadata for a public repository, addressed by URL or owner/repo.

*GitHub repository*

| Parameter | Required | Description |
| --- | --- | --- |
| `url` | no | Repository URL - or pass owner + repo instead — e.g. `https://github.com/vercel/next.js` |
| `owner` | no | Repository owner (used with repo when url is not given) — e.g. `vercel` |
| `repo` | no | Repository name (used with owner when url is not given) — e.g. `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:** 1 credit 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" \
  -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
{
  "id": 43,
  "full_name": "example/project",
  "stars": 42,
  "watchers": null,
  "is_fork": false
}
```

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