GitHub
GitHub API reference: 10 endpoints for profiles, repositories, contributions and trending. Per-endpoint credit prices and cURL examples.
Profiles, repositories, followers and following, pull requests, activity, contribution graphs and the trending repositories and developers.
Base path: /v1/github/...
Quickstart
curl "https://api.insightsocial.app/v1/github/profile?handle=torvalds" \
-H "x-api-key: $INSIGHTSOCIAL_API_KEY"Endpoints
Every endpoint here has a fixed price.
Every endpoint here is beta: it returns the platform's own structure under our naming rules (snake_case keys, string ids, ISO times where the platform gives a timestamp), not a schema-2 entity, and its fields may change. See Beta endpoints.
| Endpoint | Credits | What it returns | Key parameters |
|---|---|---|---|
/profile | 20 | Get a GitHub profile for a user or organization. Beta. | handle |
/profile/activity | 20 | List recent public activity for a GitHub profile, one month per request. Beta. | handle |
/profile/contributions | 20 | Get the contribution graph for a GitHub profile for a given year. Beta. | handle |
/profile/followers | 20 | List followers for a GitHub profile. Beta. | handle |
/profile/following | 20 | List accounts a GitHub profile follows. Beta. | handle |
/profile/pull-requests | 20 | List pull requests authored by a GitHub user. Beta. | handle |
/profile/repositories | 20 | List repositories for a GitHub user or organization. Beta. | handle |
/repositories | 20 | Get a single GitHub repository by URL. Beta. | url |
/trending/developers | 20 | List trending GitHub developers for a language and time window. Beta. | — |
/trending/repositories | 20 | List trending GitHub repositories for a language and time window. Beta. | — |