API reference

GitHub Repository Dossier API

One-call project dossier: repo stats, README excerpt, latest releases, top issues and top contributors.

Endpoint

GET/v1/github/repo/dossierlive · proven5 credits
Try in Playground

Parameters

Query parameters

NameRequiredDescriptionExample
urlyesRepository URLhttps://github.com/vercel/next.js
dry_runnoRead a zero-credit estimate without fetching sources, running AI, or reserving credits. Cache status is a snapshot, not a guarantee at execution.1

Examples

Make the request

curl
curl "https://www.monocrawl.com/v1/github/repo/dossier?url=https%3A%2F%2Fgithub.com%2Fvercel%2Fnext.js" \
  -H "x-api-key: mn_your_key_here"
TypeScript
typescript
const key = process.env.MONOCRAWL_API_KEY;
if (!key) throw new Error('Set MONOCRAWL_API_KEY on your server.');
const res = await fetch(
  "https://www.monocrawl.com/v1/github/repo/dossier?url=https%3A%2F%2Fgithub.com%2Fvercel%2Fnext.js",
  { headers: { "x-api-key": key } },
);
const body = await res.json();

if (!body.success) {
  // one error shape for every endpoint — see /docs/errors
  throw new Error(`${body.error.type}: ${body.error.message}`);
}

console.log(body.data, "credits left:", body.credits_remaining);
Python
python
import os
import requests

res = requests.get(
    "https://www.monocrawl.com/v1/github/repo/dossier?url=https%3A%2F%2Fgithub.com%2Fvercel%2Fnext.js",
    headers={"x-api-key": os.environ["MONOCRAWL_API_KEY"]},
    timeout=60,
)
body = res.json()

if not body["success"]:
    # one error shape for every endpoint — see /docs/errors
    raise RuntimeError(f"{body['error']['type']}: {body['error']['message']}")

print(body["data"], "credits left:", body["credits_remaining"])

Response

Response fields and example

This example is illustrative, not a captured live response. Variable-cost operations may settle a charge different from the list price below. A successful response puts the platform payload in data and reports the exact credits used, remaining balance, request id and cache status beside it.

200 · application/json
{
  "success": true,
  "platform": "github",
  "endpoint": "/v1/github/repo/dossier",
  "data": {
    "_warnings": [
      "example"
    ],
    "contributors": [
      {
        "contributions": 0,
        "handle": "example",
        "id": 0,
        "type": "example",
        "url": "https://example.com/example"
      }
    ],
    "readme": {
      "markdown": "example",
      "truncated": false
    },
    "releases": [
      {
        "assets": [],
        "author": "example",
        "created_at": "2026-09-01T12:00:00Z",
        "id": 0,
        "is_draft": false,
        "is_prerelease": false,
        "name": "example",
        "notes": "example",
        "published_at": "2026-09-01T12:00:00Z",
        "tag": "example",
        "url": "https://example.com/example"
      }
    ],
    "repo": {
      "created_at": "2026-09-01T12:00:00Z",
      "default_branch": "example",
      "description": "example",
      "forks": 0,
      "full_name": "example",
      "homepage": "example",
      "id": 0,
      "is_archived": false,
      "is_fork": false,
      "language": "example",
      "license": "example",
      "name": "example",
      "open_issues": 0,
      "owner": "example",
      "pushed_at": "2026-09-01T12:00:00Z",
      "size_kb": 0,
      "stars": 0,
      "topics": [
        "example"
      ],
      "updated_at": "2026-09-01T12:00:00Z",
      "url": "https://example.com/example",
      "watchers": 0
    },
    "sources": [
      {
        "error": "example",
        "ok": false,
        "source": "example"
      }
    ],
    "top_issues": {}
  },
  "credits_used": 5,
  "credits_remaining": 99,
  "request_id": "req_…",
  "cached": false
}

The example is illustrative and shows a documented subset of data. The fields below are optional across supported sources; nullable fields can also be absent. Preserve unknown values and accept additional fields.

Schema basis: observed response shapes, not an exhaustive field specification. See schema coverage and validation limits.

Download the data JSON Schema. Validate response.data, not the whole envelope. A valid shape does not establish that every field or source record was returned.

Field inside dataTypeMeaning
_warningsarray | nullOptional warnings supplied by this operation. Null means unknown.
contributorsarray | nullOptional contributors supplied by this operation. Null means unknown.
contributors[].contributionsnumber | nullOptional contributions supplied by this operation. Null means unknown.
contributors[].handlestring | nullOptional handle supplied by this operation. Null means unknown.
contributors[].idnumber | nullSource identifier. Preserve the supplied type and exact value.
contributors[].typestring | nullOptional type supplied by this operation. Null means unknown.
contributors[].urlstring | nullOriginal source URL when supplied.
readmeobject | nullOptional readme supplied by this operation. Null means unknown.
readme.markdownstring | nullOptional markdown supplied by this operation. Null means unknown.
readme.truncatedboolean | nullOptional truncated supplied by this operation. Null means unknown.
releasesarray | nullOptional releases supplied by this operation. Null means unknown.
releases[].assetsarray | nullSource array was empty in the reviewed captures; item fields remain unspecified.
releases[].authorstring | nullPublic author information supplied with this record.
releases[].created_atstring | nullSource creation time, not the API retrieval time.
releases[].idnumber | nullSource identifier. Preserve the supplied type and exact value.
releases[].is_draftboolean | nullOptional is draft supplied by this operation. Null means unknown.
releases[].is_prereleaseboolean | nullOptional is prerelease supplied by this operation. Null means unknown.
releases[].namestring | nullOptional name supplied by this operation. Null means unknown.
releases[].notesstring | nullOptional notes supplied by this operation. Null means unknown.
releases[].published_atstring | nullSource publication time when available.
releases[].tagstring | nullOptional tag supplied by this operation. Null means unknown.
releases[].urlstring | nullOriginal source URL when supplied.
repoobject | nullOptional repo supplied by this operation. Null means unknown.
repo.created_atstring | nullSource creation time, not the API retrieval time.
repo.default_branchstring | nullOptional default branch supplied by this operation. Null means unknown.
repo.descriptionstring | nullSource description; null or absent means not supplied.
repo.forksnumber | nullOptional forks supplied by this operation. Null means unknown.
repo.full_namestring | nullOptional full name supplied by this operation. Null means unknown.
repo.homepagestring | nullOptional homepage supplied by this operation. Null means unknown.
repo.idnumber | nullSource identifier. Preserve the supplied type and exact value.
repo.is_archivedboolean | nullOptional is archived supplied by this operation. Null means unknown.
repo.is_forkboolean | nullOptional is fork supplied by this operation. Null means unknown.
repo.languagestring | nullOptional language supplied by this operation. Null means unknown.
repo.licensestring | nullOptional license supplied by this operation. Null means unknown.
repo.namestring | nullOptional name supplied by this operation. Null means unknown.
repo.open_issuesnumber | nullOptional open issues supplied by this operation. Null means unknown.
repo.ownerstring | nullOptional owner supplied by this operation. Null means unknown.
repo.pushed_atstring | nullOptional pushed at supplied by this operation. Null means unknown.
repo.size_kbnumber | nullOptional size kb supplied by this operation. Null means unknown.
repo.starsnumber | nullOptional stars supplied by this operation. Null means unknown.
repo.topicsarray | nullOptional topics supplied by this operation. Null means unknown.
repo.updated_atstring | nullOptional updated at supplied by this operation. Null means unknown.
repo.urlstring | nullOriginal source URL when supplied.
repo.watchersnumber | nullOptional watchers supplied by this operation. Null means unknown.
sourcesarray | nullOptional sources supplied by this operation. Null means unknown.
sources[].errorstring | nullOptional error supplied by this operation. Null means unknown.
sources[].okboolean | nullOptional ok supplied by this operation. Null means unknown.
sources[].sourcestring | nullOptional source supplied by this operation. Null means unknown.
top_issuesobject | nullOptional top issues supplied by this operation. Null means unknown.

Optional fields reviewed from preserved successful responses. Additive fields and source variations remain allowed; validate the fields your workflow requires.

The example is invented and illustrates types only; zero and empty values are not claims about a real result.

Failures use the typed error envelope. A confirmed uncharged or refunded failure reports zero; a pending reconciliation can report an unknown charge. Read credits_used and error.details.billing_status, and keep request_id for recovery. Response contract · Error reference

First call in under a minute

1,000 monthly free credits and a ready-made key the moment you sign up. No card.