> ## Documentation Index
> Fetch the complete documentation index at: https://docs.enricho.co/llms.txt
> Use this file to discover all available pages before exploring further.

# GitHub Intelligence

> For hiring teams: a developer's public GitHub in one answer: repositories, stars, tech stack, a year of contributions and pull requests merged into other projects. 1 credit per profile.

Paste GitHub usernames or links and get an evidence-based read of each developer's open source work: what they build, in which languages, how active they've been over the last year, and whether other projects accept their pull requests.

> Compare these three candidates' GitHub: who has the strongest open source track record in TypeScript?

> [card] [In Enricho Chat](https://docs.enricho.co/chat.md#pick-a-product)
>
> Pick **GitHub Intelligence** in the prompt bar and paste usernames or links. You approve the cost first.

> [card] [With the API](https://docs.enricho.co/api-reference/github-intelligence.md)
>
> `POST /api/directory/github/profiles` with up to 10 `profiles`.

> [!NOTE]
>
> GitHub Intelligence is available in [Enricho Chat](https://docs.enricho.co/chat.md), your AI assistant over [MCP](https://docs.enricho.co/connect.md) (the `github_profile` tool) and the [REST API](https://docs.enricho.co/api-reference/github-intelligence.md). There's no free preview, so your assistant should tell you the cost and ask before running it.

## What you learn about each developer

> [card] Profile
>
> Name, bio, company, location, website, X, organizations, whether they're open to hire, account age and followers.

> [card] Repositories
>
> Public and original (non-fork) repositories, total stars and forks, and the most starred ones with language, topics and last push.

> [card] Tech stack
>
> Share of code per language across their recently updated original repositories, and their most used topics.

> [card] Activity
>
> The last 12 months: contributions, commits, pull requests, reviews, issues, active days and weeks, streaks, last active day and a weekly chart.

> [card] Pull requests
>
> Opened and merged, and **merged into repositories they don't own**, with the projects. The strongest open source signal.

> [card] Highlights
>
> The notable facts in plain English, strongest first. They state what GitHub shows and never judge the person.

## Try it

Any of these work, as pasted: `octocat`, `@octocat`, `github.com/octocat`, `https://github.com/octocat`, or a link to one of their repositories. Different spellings of one login count once.

```bash cURL theme={null}
curl -X POST 'https://api.enricho.co/api/directory/github/profiles' \
  -H 'Authorization: Bearer enr_YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"profiles":["octocat","https://github.com/some-candidate"]}'
```

```javascript JavaScript theme={null}
const res = await fetch("https://api.enricho.co/api/directory/github/profiles", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.ENRICHO_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ profiles: ["octocat", "https://github.com/some-candidate"] }),
})
const { result } = await res.json()
for (const r of result.results) {
  if (r.status !== "found") { console.log(r.query, r.status, r.reason); continue }
  const p = r.profile
  console.log(p.login, p.stars_total, p.pull_requests.merged_external, p.highlights[0])
}
```

```python Python theme={null}
import os, requests

res = requests.post(
    "https://api.enricho.co/api/directory/github/profiles",
    headers={"Authorization": f"Bearer {os.environ['ENRICHO_API_KEY']}"},
    json={"profiles": ["octocat", "https://github.com/some-candidate"]},
    timeout=120,
)
res.raise_for_status()
for r in res.json()["result"]["results"]:
    if r["status"] == "found":
        p = r["profile"]
        print(p["login"], p["stars_total"], p["pull_requests"]["merged_external"])
    else:
        print(r["query"], r["status"], r.get("reason"))
```

A shortened profile:

```json theme={null}
{
  "query": "octocat",
  "login": "octocat",
  "status": "found",
  "profile": {
    "login": "octocat",
    "name": "The Octocat",
    "hireable": false,
    "account_age_years": 15.2,
    "followers": 1200,
    "original_repos": 8,
    "stars_total": 4200,
    "tech_stack": [{ "name": "TypeScript", "percent": 61.4, "repos": 5 }, { "name": "Go", "percent": 30.1, "repos": 2 }],
    "activity": { "total_contributions": 940, "active_weeks": 44, "longest_streak_days": 21, "last_active_on": "2026-11-15" },
    "pull_requests": { "total": 180, "merged": 150, "merged_external": 42, "top_external": [{ "repo": "example-org/framework", "stars": 52000, "merged_prs": 17 }] },
    "highlights": ["42 pull requests merged into other people's repositories, including example-org/framework (52,000 stars)"]
  }
}
```

The full field list is in the [API reference](https://docs.enricho.co/api-reference/github-intelligence.md).

## Statuses

| `status` | Meaning | Charged |
| - | - | - |
| `found` | The profile is in `profile`. | 1 credit |
| `not_found` | No GitHub user has this login (it may be an organization, or renamed). | Free |
| `invalid` | Not a GitHub username or github.com link. | Free |
| `rate_limited` | GitHub's hourly limit was reached. Try again in a few minutes. | Free |
| `unavailable` | GitHub didn't answer. Try again in a moment. | Free |

`rate_limited` and `unavailable` never mean the developer doesn't exist.

## From a lead list to a GitHub review

People records from [People Intelligence](https://docs.enricho.co/tools/person-search.md) can include a `github_url`. Pass those links straight to GitHub Intelligence to review the developers in a list. In Enricho Chat, just ask: *"Check the GitHub of the engineers above."*

## Credits and limits

* 1 credit (\$0.02) per profile found. Not found, invalid, rate-limited and unavailable lookups are free.
* A profile you looked up in the last year is free again (counted in `already_purchased`).
* Up to 10 profiles per request. Profiles are refreshed from GitHub at most once a day.

## Use it fairly

Public GitHub shows only public work. Most developers' work lives in private or company repositories, so little public activity doesn't mean little experience. Judge candidates on their work, never on their name, photo, gender, age or location.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.