Skip to content
All sites
Data API

Github Data API

Structured JSON data, on demand, with anti-bot bypass built in.

8endpointsRate Limit handled for you
github.comGET/github/repos/…GET/github/repos/…GET/github/repos/…{ } JSON

Github Data API overview

Extract structured data from Github as structured JSON. Choose an endpoint below, check its parameters, and run it in the dashboard playground.

/v1/github/… Open playground

Key Features

Structured JSON

Clean, normalized records for structured data. No HTML parsing on your side.

8 endpoints

Across 3 categories, all under one base path.

Anti-bot handled

Rate Limit cleared for you behind the scenes.

Fresh or cached

Serve instantly from the warm store, or force a live scrape per request.

Regions & Languages

Global coverage. Results are returned for the default locale.

Pagination

Page through results with page.

Quick Start

Use your dedicated Data API key. Follow this endpoint's method and parameters.

data_api.py
# Install: pip install requests
import json
import os
import requests

params = json.loads("{\"q\":\"machine learning\",\"sort\":\"stars\",\"limit\":30}")
response = requests.request(
    "GET", "https://api.capzy.ai/v1/github/search/repositories",
    headers={"X-API-Key": os.environ["CAPZY_DATA_API_KEY"]},
    params=params,
    timeout=120,
)
response.raise_for_status()
print(response.json())

Per-run pricing

failed requests are free
EndpointCategoryPrice / 1k results
/v1/data/github/repos/{owner}/{repo}RepositoryRepositories1 credit / run
/v1/data/github/repos/{owner}/{repo}/commitsRepository CommitsRepositories1 credit / run
/v1/data/github/repos/{owner}/{repo}/contributorsRepository ContributorsRepositories1 credit / run
/v1/data/github/repos/{owner}/{repo}/issuesRepository IssuesRepositories1 credit / run
/v1/data/github/search/repositoriesSearch RepositoriesSearch1 credit / run
/v1/data/github/search/usersSearch UsersSearch1 credit / run
/v1/data/github/users/{username}User ProfileUsers1 credit / run
/v1/data/github/users/{username}/reposUser RepositoriesUsers1 credit / run