GitHub
active

World's largest code hosting platform — repos, issues, PRs, Actions, Packages

source-controlBearer TokenFREEMIUM
🤖 00 ↓  |  👤 00
Official Documentation

Connect via PincerAPI

Use our proxy to call GitHub with your PincerAPI key. No separate signup needed.

# Get instructions for GitHub
curl -H "Authorization: Bearer YOUR_PINCER_KEY" \
  https://pincerapi.com/api/v1/apis/github/instructions

# Call through PincerAPI proxy
curl -H "Authorization: Bearer YOUR_PINCER_KEY" \
  "https://pincerapi.com/api/v1/connect/github/your/endpoint/here"

Direct Setup

Endpoints

GET/user/repos

List repositories for the authenticated user

💡 Use per_page=100 and Link header pagination for full listing

GET/repos/{owner}/{repo}

Get a single repository by owner and name

💡 Returns stars, forks, language, default_branch, visibility

GET/repos/{owner}/{repo}/issues

List issues for a repository

💡 PRs also appear as issues; filter with pull_request field

GET/repos/{owner}/{repo}/pulls

List pull requests for a repository

💡 Use ?state=open for active PRs needing review

GET/repos/{owner}/{repo}/actions/runs

List workflow runs for a repository

💡 Filter by status=failure to find broken builds

GET/search/code

Search code across all public repositories

💡 Rate limited to 10 req/min for authenticated users; use qualifiers like repo:, path:, language:

Related APIs in source-control