Real-time GitHub data, one API call.
Pull public GitHub users, repositories, pull requests, activity, followers, and trending repos.
The GitHub API from Captapi gives developers reliable access to public GitHub data without building or maintaining scrapers — send one authenticated request and get clean, structured JSON back.
curl "https://api.captapi.com/v1/github/user?username=nasa" \
-H "Authorization: Bearer capt_live_..."What is the GitHub API?
Pull public GitHub users, repositories, pull requests, activity, followers, and trending repos. Every endpoint is a single authenticated GET request that responds with predictable JSON, so the data drops straight into dashboards, AI pipelines, RAG systems, and no-code automations. AI agents can call the same endpoints as MCP tools via @captapi/mcp.
Endpoints
What you can do with the GitHub API
User
GET /v1/github/user
Fetch GitHub profile data — follower counts, bio, verification, and stats.
3 credits
Repositories
GET /v1/github/repositories
Bulk-list GitHub content with full metadata for each item.
12 credits · billed per result
Pull Requests
GET /v1/github/pull-requests
Bulk-list GitHub content with full metadata for each item.
12 credits · billed per result
Activity
GET /v1/github/activity
Bulk-list GitHub content with full metadata for each item.
12 credits · billed per result
Followers
GET /v1/github/followers
Bulk-list GitHub content with full metadata for each item.
12 credits · billed per result
Following
GET /v1/github/following
Bulk-list GitHub content with full metadata for each item.
12 credits · billed per result
Contributions
GET /v1/github/contributions
Get full GitHub video metadata — title, views, likes, duration, and more.
3 credits
Repository
GET /v1/github/repository
Get full GitHub video metadata — title, views, likes, duration, and more.
3 credits
Trending Repositories
GET /v1/github/trending-repositories
Search GitHub programmatically and get structured, ranked results.
12 credits · billed per result
Trending Developers
GET /v1/github/trending-developers
Search GitHub programmatically and get structured, ranked results.
12 credits · billed per result
How it works
- 1. Sign up — get 100 free credits, no card required.
- 2. Create a key from your dashboard.
- 3. Call any endpoint above with
Authorization: Bearer capt_live_...and parse the JSON response. Repeat calls are served from cache for free.
Frequently asked questions
What is the GitHub API?+
The GitHub API is a REST API from Captapi that returns public GitHub data as clean, structured JSON. It covers 10 endpoints — User, Repositories, Pull Requests, Activity, Followers, Following, and more — behind one Bearer API key, with no OAuth flow and no scrapers to build or maintain.
What data can I get from the GitHub API?+
Pull public GitHub users, repositories, pull requests, activity, followers, and trending repos. Each endpoint is a single GET request that responds with predictable JSON fields, so the data is ready for dashboards, AI pipelines, and automations.
Do I need a GitHub developer account or OAuth?+
No. You only need a Captapi key (capt_live_...), sent as an Authorization: Bearer header. The same key works across all 29 platforms Captapi supports. We handle proxies, rate limits, retries, and parsing for you.
How much does the GitHub API cost?+
GitHub endpoints cost between 3 and 12 credits per call, depending on the endpoint and how many results you request. New accounts start with 100 free credits (no credit card), and repeat calls are served from a 24-hour cache for 0 credits.
Can AI agents use the GitHub API?+
Yes. Every GitHub endpoint is exposed as a tool in the official MCP server (@captapi/mcp) for Claude, Cursor, and VS Code, and is also available through the @captapi/cli CLI, an n8n community node, a Make.com app, and an Apify Actor.
Is the GitHub API suitable for production use?+
Yes. It is a stable REST API with predictable JSON, automatic retries, upstream fallbacks, and a shared 24-hour cache. Only successful responses consume credits — failed or empty results are never charged.
Explore other platforms
Start using the GitHub API in sixty seconds
Sign up, grab your API key, and make your first request. 100 credits on the house — no credit card.