Skip to content
10 endpoints From 1 credit / call 0 credits on error & cache hits

GitHub API

Get public GitHub data as typed JSON: user, repositories, pull requests, activity, followers, following, contributions, repository, trending repositories and trending developers. One API key, and a published credit cost for every endpoint.

10 endpoints — request parameters, real sample responses, and exact costs.
No platform account or app review. Unofficial API for public data only.
Endpoints

GitHub endpoints

All endpoints authenticate via x-api-key

GET 1 credit

User

/v1/github/user

Provide one of: handle, url. Get public GitHub user details for a user. Pass username, handle, or url.

GET 1 credit

Repositories

/v1/github/user/repositories

Provide one of: handle, url. Get public repositories for a GitHub user. Supports pagination and GitHub's repo sorting options.

GET 1 credit

Pull Requests

/v1/github/user/pull-requests

Get public pull requests authored by a GitHub user. Filter by created date with since and until.

GET 1 credit

Activity

/v1/github/user/activity

Provide one of: handle, url. Get public GitHub profile contribution activity for a user. Defaults to the current year and returns one month at a time.

GET 1 credit

Followers

/v1/github/user/followers

Provide one of: handle, url. Get public followers for a GitHub user. Pass username, handle, or url.

GET 1 credit

Following

/v1/github/user/following

Provide one of: handle, url. Get public accounts a GitHub user follows.

GET 1 credit

Contributions

/v1/github/user/contributions

Provide one of: handle, url. Get a user's GitHub contribution graph for a year.

GET 1 credit

Repository

/v1/github/repository

Get public metadata for one GitHub repository.

GET 1 credit

Trending Repositories

/v1/github/trending/repositories

Get GitHub trending repositories. Supports language, spoken_language_code, and daily/weekly/monthly range filters.

GET 1 credit

Trending Developers

/v1/github/trending/developers

Get GitHub trending developers. Supports language and daily/weekly/monthly range filters.

GitHub API FAQ

How much does the GitHub API cost?

Every GitHub endpoint costs 1 credit per call by default. New accounts get 100 free credits with no card. After that, credits come in one-time packs that never expire: 25,000 for $27 and 500,000 for $297 (plus any tax). There is no subscription.

Do I need a GitHub account or developer app?

No. You call Fetchproof with one API key in the x-api-key header. It returns public GitHub data only, so there's no GitHub login, OAuth or app review.

What happens when a call fails or finds nothing?

Errors cost 0 credits, and so do cache hits on endpoints that take cache_max_age. Each endpoint page lists its own rules.

Which GitHub data can I get?

10 endpoints: User, Repositories, Pull Requests, Activity, Followers, Following, Contributions, Repository, Trending Repositories and Trending Developers.

Is there a free trial?

Yes. Sign up with an email address to get 100 free credits, with no card. Credits never expire.

Ready to try it? Get 100 free credits or compare credit packs.