APIs / Apps and media / GitHub

GitHub API

Get GitHub data as structured JSON with one API key: repository, repository activity, repository branches and repository commits. Free credits every month.

31endpoints
1credit per successful call
JSONevery response
GitHub
GET/v1/github/trending-developers?since=weekly
curl "https://api.perceptlayer.com/v1/github/trending-developers?since=weekly" \
  -H "X-API-Key: $API_KEY"
cURL1 credit per successful call
Run this call from your dashboard to see a live response.

GitHub · 31 endpoints

Endpoints

Every endpoint takes the same key. Open one for its parameters and an example request.

EndpointWhat it returnsCost
GET/v1/github/repositoryRepository 1 credit
GET/v1/github/repository-activityRepository Activity 1 credit
GET/v1/github/repository-branchesRepository Branches 1 credit
GET/v1/github/repository-commitsRepository Commits 1 credit
GET/v1/github/repository-compare-commitsRepository Compare Commits 1 credit
GET/v1/github/repository-compare-filesRepository Compare Files 1 credit
GET/v1/github/repository-compare-patchRepository Compare Patch 1 credit
GET/v1/github/repository-contributorsRepository Contributors 1 credit
GET/v1/github/repository-filesRepository Files 1 credit
GET/v1/github/repository-files-at-refRepository Files At Ref 1 credit
GET/v1/github/repository-issuesRepository Issues 1 credit
GET/v1/github/repository-issues-commentsRepository Issues Comments 1 credit
GET/v1/github/repository-languagesRepository Languages 1 credit
GET/v1/github/repository-pullsRepository Pulls 1 credit
GET/v1/github/repository-raw-fileRepository Raw File 1 credit
GET/v1/github/repository-readmeRepository Readme 1 credit
GET/v1/github/repository-releasesRepository Releases 1 credit
GET/v1/github/repository-tagsRepository Tags 1 credit
GET/v1/github/repository-treeRepository Tree 1 credit
GET/v1/github/trending-developersTrending Developers 1 credit
GET/v1/github/trending-repositoriesTrending Repositories 1 credit
GET/v1/github/userUser 1 credit
GET/v1/github/user-activityUser Activity 1 credit
GET/v1/github/user-contributionsUser Contributions 1 credit
GET/v1/github/user-countsUser Counts 1 credit
GET/v1/github/user-eventsUser Events 1 credit
GET/v1/github/user-followersUser Followers 1 credit
GET/v1/github/user-followingUser Following 1 credit
GET/v1/github/user-repositoriesUser Repositories 1 credit
GET/v1/github/user-starredUser Starred 1 credit
GET/v1/github/user-tabsUser Tabs 1 credit

What you can get

The GitHub API returns repository, repository activity, repository branches and repository commits as clean JSON. Each successful call costs one credit, and calls that fail are free.

Use cases

  • Follow rankings, ratings and releases
  • Analyse reviews for product feedback
  • Research competitors in your category

Questions

How much does the GitHub API cost?

Each successful call costs one credit. New accounts get free credits every month, and credit packs bring the price down as you scale.

What format are responses in?

Every endpoint returns JSON, with no HTML parsing on your side.

Do I need a separate key for GitHub?

No. One key works for every API in the catalogue.

Try the GitHub API with 1,000 free credits

No card and no password. We email you a sign-in link, and your key works on every API.

No credit card. 1,000 free credits a month.