InsightSocial

GitHub scraper API

The InsightSocial GitHub API has 10 endpoints, from 20 credits a call. A repositories call costs 20 credits, about $0.02 on Pro, and your first 10 calls up to 100 credits each are free.

GitHub profiles, repositories, followers, pull requests and contribution graphs as JSON, plus the trending repositories and developers pages, which GitHub's own API does not serve.

10 endpoints · from 20 credits a call · 10 free calls up to 100 credits each · no credit card

curl "https://api.insightsocial.app/v1/github/repositories?url=https%3A%2F%2Fgithub.com%2Fexample-org%2Fexample-repo" \
-H "x-api-key: $INSIGHTSOCIAL_API_KEY"
200 OKJSON
{
"success": true,
"platform": "github",
"endpoint": "/v1/github/repositories",
"schema_version": "2",
"data": {
"repository": {
"platform_repo_id": "700000001",
"name": "example-repo",
"full_name": "example-org/example-repo",
"owner": {
"platform_user_id": "90000001",
"handle": "example-org",
"account_type": "Organization"
},
"profile_url": "https://github.com/example-org/example-repo",
"description": "A small, fast HTTP client",
"language": "TypeScript",
"stars_count": 12840,
"forks_count": 642,
"open_issues_count": 37,
"topics": [
"http",
"fetch",
"typescript"
],
"license": {
"key": "mit",
"name": "MIT License"
},
"archived": false,
"pushed_at": "2026-11-12T08:20:41Z",
"created_at": "2023-02-03T15:11:09Z"
}
},
"unavailable": [],
"credits_used": 0,
"charge_reason": "miss",
"free_call": true
}

What GitHub data can you get?

Public GitHub data only, in the same JSON envelope as every other platform. Every GitHub endpoint is beta: inside data it returns GitHub's own structure under our naming rules (snake_case keys, string ids, ISO times where GitHub gives a timestamp), not the shared profile and post schema, and fields may change.

Profiles and their repositories

A user or organization profile, its repositories sorted your way, and one repository in full with stars, forks, issues, topics and licence.

Activity and contributions

A profile's public activity one month at a time, its contribution graph for a year, and the pull requests it authored in a date range.

Followers and following

The accounts that follow a profile and the accounts it follows, page by page.

Trending

The trending repositories and trending developers pages for a language and a daily, weekly or monthly window.

What people build with the GitHub API

  • Developer sourcing

    Start from the trending developers for a language, then read each profile, its repositories and its contribution graph.

  • Open-source tracking

    Re-read a list of repositories on a schedule to follow stars, forks and open issues, next to what the project's community says elsewhere.

  • Trend watching

    Snapshot the trending repositories every day for the languages you care about and keep your own history of what rose.

GitHub API endpoints

All 10 GitHub endpoints and their price in credits. Every one has a fixed price.

EndpointCreditsWhat it returns
/profile20Get a GitHub profile for a user or organization.
/profile/activity20List recent public activity for a GitHub profile, one month per request.
/profile/contributions20Get the contribution graph for a GitHub profile for a given year.
/profile/followers20List followers for a GitHub profile.
/profile/following20List accounts a GitHub profile follows.
/profile/pull-requests20List pull requests authored by a GitHub user.
/profile/repositories20List repositories for a GitHub user or organization.
/repositories20Get a single GitHub repository by URL.
/trending/developers20List trending GitHub developers for a language and time window.
/trending/repositories20List trending GitHub repositories for a language and time window.

Parameters, response fields and examples for each endpoint are in the GitHub API reference.

InsightSocial vs the official GitHub API

GitHub's REST and GraphQL APIs are free and well documented, with lower rate limits for unauthenticated calls than for calls with a token. If GitHub is all you need, start there.

InsightSocial APIOfficial GitHub API
Trending pagesTrending repositories and developersNo endpoint for the trending pages
Contribution graphOne call with a handle and yearGraphQL API with a token
Other platformsThe same key and envelope for 60 moreGitHub only
Cost per call20 creditsFree, within GitHub's rate limits

The official API is the right tool for posting, messaging or managing accounts you own. This one is read-only public data.

How much does the GitHub API cost?

GitHub calls start at 20 credits. Every endpoint's price is in the table above and in the free GET /v1/endpoints catalogue, so you know the cost before you call. Pro's 10,000 monthly credits cover about 500 repository lookups at 20 credits each.

  • Failed calls are free

    A call that errors or finds nothing costs 0 credits.

  • Repeats and retries

    A repeat call is charged again: the full price when it fetches new data, 2 credits when the answer comes from the shared cache. Add fresh=1 to force a new read. Only a retry with the same Idempotency-Key is free.

  • One balance

    API calls and Chrome extension exports share the same credits. The free plan includes 500 a month.

Not writing code?

Connect InsightSocial to Claude or ChatGPT and ask for GitHub data in plain English. Same account, same credits.

Use it from Claude or ChatGPT

GitHub API: frequently asked questions

For GitHub alone it is free and excellent. This API is for when GitHub is one source among several: one key, one envelope and one credit balance across every platform, plus the trending pages, which GitHub's REST API does not serve.