{"id":"12c98c7f-483d-4bf3-955d-c4ce8218aedf","slug":"github-com-api","name":"github.com API","description":"Fetch data from GitHub's public REST API v3. Endpoints cover: repository metadata (stars, forks, languages, topics, license, commit activity); README and source file retrieval; recursive file tree with extension summaries; repository search with sorting and filtering; release listings with pre-release flags and asset links; issue lists and full issue threads with comments; and user profiles with starred-repository history.","front_facing_description":"Look up GitHub repositories and users: search repositories, fetch repository metadata, releases, issues and issue threads, browse repository files/trees, and retrieve user profiles and starred repositories.","source_url":"https://github.com","is_authenticated":false,"canonical_scraper_id":"c62c5062-8f8d-4477-ba78-2b9c68a1788b","apis":[{"method":"POST","endpoint_name":"get_repo_info","description":"Fetches detailed repository metadata: name, description, languages, size, dates, star/fork/issue counts, contributors count, recent commit activity, topics, and license. Requires one round-trip per sub-resource (languages, contributors, commits) so is heavier than search_repos for bulk discovery.","input_params":{"repo":{"type":"string","required":true,"description":"Repository name, e.g. 'react'","domain":{"kind":"open","example":"react","pattern":"[a-zA-Z0-9._-]+","generator":{"type":"static","value":"react"}}},"owner":{"type":"string","required":true,"description":"Repository owner (user or organization), e.g. 'facebook'","domain":{"kind":"open","example":"facebook","pattern":"[a-zA-Z0-9-]+","generator":{"type":"static","value":"facebook"}}}},"return_schema":{"type":"object","fields":{"name":"string","forks":"integer","owner":"object (login, type, avatar_url)","stars":"integer","topics":"array of strings","is_fork":"boolean","license":"string or null","size_kb":"integer","homepage":"string","html_url":"string","watchers":"integer","full_name":"string","languages":"object (language: bytes)","pushed_at":"string (ISO date)","created_at":"string (ISO date)","updated_at":"string (ISO date)","description":"string","is_archived":"boolean","open_issues":"integer","subscribers":"integer","network_count":"integer","default_branch":"string","recent_commits":"array of objects (sha, message, author, author_login, date)","primary_language":"string","contributors_count":"integer or null"},"sample":{"data":{"name":"react","forks":51039,"owner":{"type":"Organization","login":"react","avatar_url":"https://avatars.githubusercontent.com/u/102812?v=4"},"stars":245711,"topics":["declarative","frontend","javascript"],"is_fork":false,"license":"MIT License","size_kb":993559,"homepage":"https://react.dev","html_url":"https://github.com/react/react","watchers":245711,"full_name":"react/react","languages":{"Rust":3540092,"JavaScript":5591707},"pushed_at":"2026-06-10T05:49:57Z","created_at":"2013-05-24T16:15:54Z","updated_at":"2026-06-10T06:22:04Z","description":"The library for web and native user interfaces.","is_archived":false,"open_issues":1278,"subscribers":6720,"network_count":51039,"default_branch":"main","recent_commits":[{"sha":"34b78a28","date":"2026-06-09T22:38:32Z","author":"lauren","message":"Drop the regex dependency","author_login":"poteto"}],"primary_language":"JavaScript","contributors_count":1},"status":"success"}},"initiates_session":false,"price":3,"verification":{"assertions":[{"path":"$.status","op":"equals","value":"success"},{"path":"$.data.name","op":"not_null"},{"path":"$.data.stars","op":"not_null"}],"empty_is_valid":false,"recipe_version":1}},{"method":"POST","endpoint_name":"get_repo_readme","description":"Fetches the README file for a repository, base64-decoded into plain text. Useful for AI processing of project documentation. Returns 404 (input_not_found) when no README exists.","input_params":{"ref":{"type":"string","required":false,"description":"Git ref (branch, tag, or commit SHA). Defaults to the repo's default branch."},"repo":{"type":"string","required":true,"description":"Repository name","domain":{"kind":"open","example":"react","pattern":"[a-zA-Z0-9._-]+","generator":{"type":"static","value":"react"}}},"owner":{"type":"string","required":true,"description":"Repository owner","domain":{"kind":"open","example":"facebook","pattern":"[a-zA-Z0-9-]+","generator":{"type":"static","value":"facebook"}}}},"return_schema":{"type":"object","fields":{"name":"string","path":"string","size":"integer","content":"string (decoded text content)","html_url":"string","download_url":"string"},"sample":{"data":{"name":"README.md","path":"README.md","size":5317,"content":"# [React](https://react.dev/) ...","html_url":"https://github.com/react/react/blob/main/README.md","download_url":"https://raw.githubusercontent.com/react/react/main/README.md"},"status":"success"}},"initiates_session":false,"price":1,"verification":{"assertions":[{"path":"$.status","op":"equals","value":"success"},{"path":"$.data.content","op":"not_null"}],"empty_is_valid":false,"recipe_version":1}},{"method":"POST","endpoint_name":"get_file_content","description":"Retrieves file content (decoded text) or a directory listing from a repository path. Files return decoded UTF-8 text; directories return a listing of child items with their types and sizes.","input_params":{"ref":{"type":"string","required":false,"description":"Git ref (branch, tag, or commit SHA)"},"path":{"type":"string","required":false,"description":"File or directory path within the repo. Empty string returns root directory.","default":"","domain":{"kind":"open","example":"package.json","generator":{"type":"static","value":"package.json"}}},"repo":{"type":"string","required":true,"description":"Repository name","domain":{"kind":"open","example":"react","pattern":"[a-zA-Z0-9._-]+","generator":{"type":"static","value":"react"}}},"owner":{"type":"string","required":true,"description":"Repository owner","domain":{"kind":"open","example":"facebook","pattern":"[a-zA-Z0-9-]+","generator":{"type":"static","value":"facebook"}}}},"return_schema":{"type":"object","fields":{"name":"string (for files)","path":"string","size":"integer (for files)","type":"string ('file' or 'directory')","items":"array (for directories, each with name, path, type, size, html_url, download_url)","content":"string (decoded text, for files)"},"sample":{"data":{"name":"package.json","path":"package.json","size":8667,"type":"file","content":"{...}","html_url":"https://github.com/react/react/blob/main/package.json","download_url":"https://raw.githubusercontent.com/react/react/main/package.json"},"status":"success"}},"initiates_session":false,"price":1,"verification":{"assertions":[{"path":"$.status","op":"equals","value":"success"},{"path":"$.data.type","op":"not_null"}],"empty_is_valid":false,"recipe_version":1}},{"method":"POST","endpoint_name":"get_file_tree","description":"Fetches the full Git tree structure of a repository with a summary counting files by extension. Useful for understanding project layout. Large repos may be truncated by the upstream API (indicated by the truncated flag).","input_params":{"repo":{"type":"string","required":true,"description":"Repository name","domain":{"kind":"open","example":"react","pattern":"[a-zA-Z0-9._-]+","generator":{"type":"static","value":"react"}}},"owner":{"type":"string","required":true,"description":"Repository owner","domain":{"kind":"open","example":"facebook","pattern":"[a-zA-Z0-9-]+","generator":{"type":"static","value":"facebook"}}},"branch":{"type":"string","required":false,"description":"Branch name. Defaults to the repo's default branch."},"recursive":{"type":"boolean","required":false,"description":"Whether to fetch tree recursively","default":true}},"return_schema":{"type":"object","fields":{"sha":"string","tree":"array of objects (path, type, size)","branch":"string","truncated":"boolean","total_items":"integer","file_type_summary":"object (extension: count)"},"sample":{"data":{"sha":"34b78a28","tree":[{"path":".claude","size":null,"type":"directory"}],"branch":"main","truncated":false,"total_items":7900,"file_type_summary":{".js":3905,".md":1989}},"status":"success"}},"initiates_session":false,"price":2,"verification":{"assertions":[{"path":"$.status","op":"equals","value":"success"},{"path":"$.data.tree","op":"not_null"}],"empty_is_valid":false,"recipe_version":1}},{"method":"POST","endpoint_name":"search_repos","description":"Full-text search over all public GitHub repositories. Supports GitHub's search syntax including qualifiers like 'language:python', 'topic:machine-learning', 'stars:>1000'. Rate-limited to 10 requests/minute. Returns paginated results sorted by the chosen field.","input_params":{"page":{"type":"integer","required":false,"description":"Page number for pagination","default":1,"domain":{"kind":"open","example":"1","generator":{"type":"static","value":"1"}}},"sort":{"type":"string","required":false,"description":"Sort field: stars, forks, help-wanted-issues, updated","default":"stars","enum":"RepoSort","domain":{"kind":"enum","values":["stars","forks","help-wanted-issues","updated"],"generator":{"type":"enum_pick","strategy":"first"}}},"order":{"type":"string","required":false,"description":"Sort order: asc or desc","default":"desc","enum":"Order","domain":{"kind":"enum","values":["asc","desc"],"generator":{"type":"enum_pick","strategy":"first"}}},"query":{"type":"string","required":true,"description":"Search query. Supports GitHub search syntax (e.g., 'machine learning', 'topic:python', 'language:terraform')","domain":{"kind":"open","example":"language:python","generator":{"type":"static","value":"language:python"}}},"per_page":{"type":"integer","required":false,"description":"Results per page (max 100)","default":30,"domain":{"kind":"open","example":"30","generator":{"type":"static","value":"10"}}}},"return_schema":{"type":"object","fields":{"page":"integer","items":"array of repo summaries (name, full_name, description, html_url, owner, stars, forks, open_issues, language, topics, license, created_at, updated_at, pushed_at, size_kb, is_fork, is_archived)","per_page":"integer","total_count":"integer","incomplete_results":"boolean"},"sample":{"data":{"page":1,"items":[{"name":"public-apis","forks":48274,"owner":"public-apis","stars":440562,"topics":["api"],"is_fork":false,"license":"MIT License","size_kb":5497,"html_url":"https://github.com/public-apis/public-apis","language":"Python","full_name":"public-apis/public-apis","pushed_at":"2026-06-07T07:41:36Z","created_at":"2016-03-20T23:49:42Z","updated_at":"2026-06-10T06:21:34Z","description":"A collective list of free APIs","is_archived":false,"open_issues":1359}],"per_page":5,"total_count":30102151,"incomplete_results":false},"status":"success"}},"initiates_session":false,"price":1,"verification":{"assertions":[{"path":"$.status","op":"equals","value":"success"},{"path":"$.data.items","op":"array_min_len","value":1}],"empty_is_valid":false,"recipe_version":1}},{"method":"POST","endpoint_name":"get_repo_releases","description":"Lists release metadata for a repository: version tags, release dates, pre-release status, release notes (body), and asset download links. Paginated; returns newest releases first.","input_params":{"page":{"type":"integer","required":false,"description":"Page number","default":1,"domain":{"kind":"open","example":"1","generator":{"type":"static","value":"1"}}},"repo":{"type":"string","required":true,"description":"Repository name","domain":{"kind":"open","example":"react","pattern":"[a-zA-Z0-9._-]+","generator":{"type":"static","value":"react"}}},"owner":{"type":"string","required":true,"description":"Repository owner","domain":{"kind":"open","example":"facebook","pattern":"[a-zA-Z0-9-]+","generator":{"type":"static","value":"facebook"}}},"per_page":{"type":"integer","required":false,"description":"Results per page (max 100)","default":30,"domain":{"kind":"open","example":"30","generator":{"type":"static","value":"10"}}}},"return_schema":{"type":"object","fields":{"page":"integer","repo":"string","owner":"string","per_page":"integer","releases":"array of release objects (id, tag_name, name, body, created_at, published_at, prerelease, draft, html_url, author, assets)"},"sample":{"data":{"page":1,"repo":"react","owner":"facebook","per_page":3,"releases":[{"id":332434384,"body":"## React Server Components...","name":"19.2.7 (June 1st, 2026)","draft":false,"assets":[],"author":"eps1lon","html_url":"https://github.com/react/react/releases/tag/v19.2.7","tag_name":"v19.2.7","created_at":"2026-06-01T17:44:50Z","prerelease":false,"published_at":"2026-06-01T18:04:24Z"}]},"status":"success"}},"initiates_session":false,"price":1,"verification":{"assertions":[{"path":"$.status","op":"equals","value":"success"},{"path":"$.data.releases","op":"not_null"}],"empty_is_valid":true,"recipe_version":1}},{"method":"POST","endpoint_name":"get_repo_issues","description":"Lists issues for a repository with titles, statuses, labels, dates, assignees, and comment counts. Pull requests are filtered out automatically. Supports filtering by state (open/closed/all) and labels.","input_params":{"page":{"type":"integer","required":false,"description":"Page number","default":1,"domain":{"kind":"open","example":"1","generator":{"type":"static","value":"1"}}},"repo":{"type":"string","required":true,"description":"Repository name","domain":{"kind":"open","example":"react","pattern":"[a-zA-Z0-9._-]+","generator":{"type":"static","value":"react"}}},"sort":{"type":"string","required":false,"description":"Sort by: created, updated, comments","default":"created","enum":"IssueSort","domain":{"kind":"enum","values":["created","updated","comments"],"generator":{"type":"enum_pick","strategy":"first"}}},"owner":{"type":"string","required":true,"description":"Repository owner","domain":{"kind":"open","example":"facebook","pattern":"[a-zA-Z0-9-]+","generator":{"type":"static","value":"facebook"}}},"state":{"type":"string","required":false,"description":"Filter by state: open, closed, or all","default":"open","enum":"IssueState","domain":{"kind":"enum","values":["open","closed","all"],"generator":{"type":"enum_pick","strategy":"first"}}},"labels":{"type":"string","required":false,"description":"Comma-separated list of label names to filter by"},"per_page":{"type":"integer","required":false,"description":"Results per page (max 100)","default":30,"domain":{"kind":"open","example":"30","generator":{"type":"static","value":"10"}}},"direction":{"type":"string","required":false,"description":"Sort direction: asc or desc","default":"desc","enum":"Order","domain":{"kind":"enum","values":["asc","desc"],"generator":{"type":"enum_pick","strategy":"first"}}}},"return_schema":{"type":"object","fields":{"page":"integer","repo":"string","owner":"string","state":"string","issues":"array of issue objects (number, title, state, body, html_url, user, labels, assignees, comments_count, created_at, updated_at, closed_at, milestone, locked, reactions)","per_page":"integer"},"sample":{"data":{"page":1,"repo":"react","owner":"facebook","state":"open","issues":[{"body":"...","user":"sophiebits","state":"open","title":"Declarative API for installing global DOM event handlers","labels":["Type: Feature Request"],"locked":false,"number":285,"html_url":"https://github.com/react/react/issues/285","assignees":[],"closed_at":null,"milestone":null,"reactions":51,"created_at":"2013-08-21T21:41:26Z","updated_at":"2026-05-01T09:00:37Z","comments_count":60}],"per_page":10},"status":"success"}},"initiates_session":false,"price":1,"verification":{"assertions":[{"path":"$.status","op":"equals","value":"success"},{"path":"$.data.issues","op":"not_null"}],"empty_is_valid":true,"recipe_version":1}},{"method":"POST","endpoint_name":"get_issue_detail","description":"Fetches a single issue with the full body, all metadata, and optionally the complete conversation thread (comments). Each comment includes its author, body text, timestamps, and reactions.","input_params":{"repo":{"type":"string","required":true,"description":"Repository name","domain":{"kind":"open","example":"react","pattern":"[a-zA-Z0-9._-]+","generator":{"type":"static","value":"react"}}},"owner":{"type":"string","required":true,"description":"Repository owner","domain":{"kind":"open","example":"facebook","pattern":"[a-zA-Z0-9-]+","generator":{"type":"static","value":"facebook"}}},"issue_number":{"type":"string","required":true,"description":"Issue number","domain":{"kind":"open","example":"1","generator":{"type":"static","value":"1"}}},"include_comments":{"type":"boolean","required":false,"description":"Whether to include comments","default":true},"comments_per_page":{"type":"integer","required":false,"description":"Max comments to fetch (max 100)","default":30}},"return_schema":{"type":"object","fields":{"body":"string","user":"string","state":"string","title":"string","labels":"array of strings","number":"integer","comments":"array of comment objects (id, user, body, created_at, updated_at, reactions)","html_url":"string","assignees":"array of strings","closed_at":"string or null","closed_by":"string or null","reactions":"object","created_at":"string","updated_at":"string","comments_count":"integer"},"sample":{"data":{"body":"This is not blocking...","user":"benjamn","state":"closed","title":"Run each test in its own <iframe>","labels":[],"number":1,"comments":[{"id":18857724,"body":"A++, merge away","user":"zpao","reactions":{"total_count":0},"created_at":"2013-06-03T17:39:44Z","updated_at":"2013-06-03T17:39:44Z"}],"html_url":"https://github.com/react/react/pull/1","assignees":[],"closed_at":"2013-06-03T17:58:02Z","closed_by":"benjamn","reactions":{"total_count":20},"created_at":"2013-05-29T20:20:53Z","updated_at":"2026-01-27T19:55:21Z","comments_count":7},"status":"success"}},"initiates_session":false,"price":1,"verification":{"assertions":[{"path":"$.status","op":"equals","value":"success"},{"path":"$.data.number","op":"not_null"}],"empty_is_valid":false,"recipe_version":1}},{"method":"POST","endpoint_name":"get_user_profile","description":"Fetches a public user profile including bio, location, social links, follower/following counts, total stars received across all owned repos, and a list of owned repositories. Only works for individual user accounts, not organization accounts.","input_params":{"username":{"type":"string","required":true,"description":"GitHub username (individual user account, not an organization), e.g. 'torvalds'","domain":{"kind":"open","example":"torvalds","pattern":"[a-zA-Z0-9-]+","generator":{"type":"static","value":"torvalds"}}}},"return_schema":{"type":"object","fields":{"bio":"string or null","blog":"string","name":"string","type":"string (User/Organization)","email":"string or null","login":"string","company":"string","hireable":"boolean or null","html_url":"string","location":"string","followers":"integer","following":"integer","avatar_url":"string","created_at":"string","updated_at":"string","public_gists":"integer","public_repos":"integer","repositories":"array of repo objects (name, full_name, description, stars, forks, language, is_fork, html_url)","twitter_username":"string or null","total_stars_received":"integer"},"sample":{"data":{"bio":null,"blog":"","name":"Linus Torvalds","type":"User","email":null,"login":"torvalds","company":"Linux Foundation","hireable":null,"html_url":"https://github.com/torvalds","location":"Portland, OR","followers":306379,"following":0,"avatar_url":"https://avatars.githubusercontent.com/u/1024025?v=4","created_at":"2011-09-03T15:26:22Z","updated_at":"2026-06-02T05:33:59Z","public_gists":1,"public_repos":12,"repositories":[{"name":"linux","forks":62649,"stars":235956,"is_fork":false,"html_url":"https://github.com/torvalds/linux","language":"C","full_name":"torvalds/linux","description":"Linux kernel source tree"}],"twitter_username":null,"total_stars_received":248315},"status":"success"}},"initiates_session":false,"price":2,"verification":{"assertions":[{"path":"$.status","op":"equals","value":"success"},{"path":"$.data.login","op":"not_null"}],"empty_is_valid":false,"recipe_version":1}},{"method":"POST","endpoint_name":"get_user_starred","description":"Lists repositories starred by a user, revealing their interests and bookmarked projects. Paginated; returns an empty array when the requested page exceeds available results.","input_params":{"page":{"type":"integer","required":false,"description":"Page number","default":1,"domain":{"kind":"open","example":"1","generator":{"type":"static","value":"1"}}},"per_page":{"type":"integer","required":false,"description":"Results per page (max 100)","default":30,"domain":{"kind":"open","example":"30","generator":{"type":"static","value":"10"}}},"username":{"type":"string","required":true,"description":"GitHub username","domain":{"kind":"open","example":"torvalds","pattern":"[a-zA-Z0-9-]+","generator":{"type":"static","value":"torvalds"}}}},"return_schema":{"type":"object","fields":{"page":"integer","per_page":"integer","username":"string","starred_repos":"array of repo objects (name, full_name, description, html_url, owner, stars, forks, language, topics)"},"sample":{"data":{"page":1,"per_page":5,"username":"torvalds","starred_repos":[{"name":"linux","forks":62649,"owner":"torvalds","stars":235956,"topics":[],"html_url":"https://github.com/torvalds/linux","language":"C","full_name":"torvalds/linux","description":"Linux kernel source tree"}]},"status":"success"}},"initiates_session":false,"price":1,"verification":{"assertions":[{"path":"$.status","op":"equals","value":"success"},{"path":"$.data.starred_repos","op":"not_null"}],"empty_is_valid":true,"recipe_version":1}}],"sample_inputs":{"search_repos":{"page":"1","sort":"stars","order":"asc","query":"language:python","per_page":"10"},"get_file_tree":{"repo":"react","owner":"facebook","recursive":"false"},"get_repo_info":{"repo":"react","owner":"facebook"},"get_repo_issues":{"page":"1","repo":"react","sort":"created","owner":"facebook","state":"open","per_page":"10","direction":"asc"},"get_repo_readme":{"repo":"react","owner":"facebook"},"get_file_content":{"path":"package.json","repo":"react","owner":"facebook"},"get_issue_detail":{"repo":"react","owner":"facebook","issue_number":"1"},"get_user_profile":{"username":"torvalds"},"get_user_starred":{"page":"1","per_page":"10","username":"torvalds"},"get_repo_releases":{"page":"1","repo":"react","owner":"facebook","per_page":"10"}},"prefill_inputs":{"get_repo_info":{"repo":"react","owner":"facebook"},"get_repo_readme":{"repo":"react","owner":"facebook"},"get_file_content":{"path":"package.json","repo":"react","owner":"facebook"},"get_file_tree":{"repo":"react","owner":"facebook"},"search_repos":{"page":"1","sort":"stars","order":"asc","query":"language:python","per_page":"10"},"get_repo_releases":{"page":"1","repo":"react","owner":"facebook","per_page":"10"},"get_repo_issues":{"page":"1","repo":"react","sort":"created","owner":"facebook","state":"open","per_page":"10","direction":"asc"},"get_issue_detail":{"repo":"react","owner":"facebook","issue_number":"1"},"get_user_profile":{"username":"torvalds"},"get_user_starred":{"page":"1","per_page":"10","username":"torvalds"}},"last_verified_at":null,"endpoint_health":[],"sdk_usage_example":{"code":"\"\"\"\nGitHub Repository & User Data API - Parse SDK Example\nDiscover trending repos, inspect code, and explore developer profiles.\n\"\"\"\n\nfrom parse_apis.github_repository_user_data_api import GitHub, RepoSort, Order, IssueState, IssueSort\n\ngithub = GitHub()\n\n# Get a repository directly and explore its sub-resources\nrepo = github.repositories.get(owner=\"facebook\", repo=\"react\")\nprint(repo.full_name, repo.stars, repo.primary_language)\n\n# Read the README\nreadme = repo.readme.get()\nprint(readme.name, readme.size)\n\n# Browse issues\nfor issue in repo.issues.list(state=IssueState.OPEN, sort=IssueSort.COMMENTS, direction=Order.DESC, limit=3):\n    print(issue.number, issue.title, issue.comments_count)\n\n# Get issue detail with comments\ndetail = repo.issues.get(issue_number=\"285\")\nprint(detail.title, detail.state, detail.comments_count)\n\n# Search repositories\nfor summary in github.repositorysummaries.search(query=\"language:python topic:machine-learning\", sort=RepoSort.STARS, order=Order.DESC, limit=5):\n    print(summary.full_name, summary.stars, summary.language)\n\n# Navigate from summary to full detail\nfull_repo = summary.details()\nprint(full_repo.full_name, full_repo.contributors_count, full_repo.license)\n\n# Browse file tree\ntree = repo.files.tree()\nprint(tree.total_items, tree.branch)\n\n# Get a user profile and their starred repos\nuser = github.users.get(login=\"torvalds\")\nprint(user.login, user.name, user.followers, user.total_stars_received)\n\nfor starred in user.starred.list(limit=5):\n    print(starred.full_name, starred.stars)\n","shape":"parse_sdk","endpoints":["get_repo_info","get_repo_readme","get_file_content","get_file_tree","search_repos","get_repo_releases","get_repo_issues","get_issue_detail","get_user_profile","get_user_starred"],"has_session":false,"hover_map":[{"line":27,"col":4,"len":7,"label":"summary: RepositorySummary","kind":"variable"},{"line":31,"col":0,"len":9,"label":"full_repo: Repository","kind":"variable"},{"line":35,"col":0,"len":4,"label":"tree: FileTree","kind":"variable"},{"line":8,"col":9,"len":6,"label":"GitHub — API client","kind":"class"},{"line":27,"col":42,"len":6,"label":"search() → List[RepositorySummary]","kind":"method"},{"line":31,"col":20,"len":7,"label":"details() → Repository","kind":"method"},{"line":32,"col":16,"len":9,"label":"full_name: str","kind":"field"},{"line":32,"col":37,"len":18,"label":"contributors_count: Optional[int]","kind":"field"},{"line":32,"col":67,"len":7,"label":"license: Optional[str]","kind":"field"},{"line":35,"col":18,"len":4,"label":"tree() → FileTree","kind":"method"},{"line":36,"col":11,"len":11,"label":"total_items: int","kind":"field"},{"line":36,"col":29,"len":6,"label":"branch: str","kind":"field"},{"line":19,"col":47,"len":4,"label":"IssueState.OPEN","kind":"enum-member"},{"line":19,"col":68,"len":8,"label":"IssueSort.COMMENTS","kind":"enum-member"},{"line":19,"col":94,"len":4,"label":"Order.DESC","kind":"enum-member"},{"line":27,"col":111,"len":5,"label":"RepoSort.STARS","kind":"enum-member"},{"line":27,"col":130,"len":4,"label":"Order.DESC","kind":"enum-member"},{"line":28,"col":18,"len":9,"label":"full_name: str","kind":"field"},{"line":28,"col":37,"len":5,"label":"stars: int","kind":"field"},{"line":28,"col":52,"len":8,"label":"language: Optional[str]","kind":"field"},{"line":31,"col":12,"len":7,"label":"summary: RepositorySummary","kind":"variable"},{"line":32,"col":6,"len":9,"label":"full_repo: Repository","kind":"variable"},{"line":32,"col":27,"len":9,"label":"full_repo: Repository","kind":"variable"},{"line":32,"col":57,"len":9,"label":"full_repo: Repository","kind":"variable"},{"line":36,"col":6,"len":4,"label":"tree: FileTree","kind":"variable"},{"line":36,"col":24,"len":4,"label":"tree: FileTree","kind":"variable"},{"line":19,"col":36,"len":10,"label":"IssueState — enum: ALL, CLOSED, OPEN","kind":"enum"},{"line":19,"col":58,"len":9,"label":"IssueSort — enum: COMMENTS, CREATED, UPDATED","kind":"enum"},{"line":19,"col":88,"len":5,"label":"Order — enum: ASC, DESC","kind":"enum"},{"line":27,"col":102,"len":8,"label":"RepoSort — enum: FORKS, HELP_WANTED_ISSUES, STARS, UPDATED","kind":"enum"},{"line":27,"col":124,"len":5,"label":"Order — enum: ASC, DESC","kind":"enum"},{"line":28,"col":10,"len":7,"label":"summary: RepositorySummary","kind":"variable"},{"line":28,"col":29,"len":7,"label":"summary: RepositorySummary","kind":"variable"},{"line":28,"col":44,"len":7,"label":"summary: RepositorySummary","kind":"variable"}]},"sdk_delivery_state":"legacy","summary":"Extract comprehensive data from GitHub repositories and user profiles including repo details, source code, README content, releases, issues with conversations, file trees, and user profiles.","updated_at":"2026-07-23T02:22:52.216967+00:00","user_variants":[],"latest_version":6,"user_status":null,"user_scraper_id":null,"contributes_to_marketplace":true,"pinned_version":null,"seo_content":{"faqs":[{"a":"Yes. GitHub's official REST API is documented at https://docs.github.com/en/rest. It requires OAuth or personal access tokens for most non-trivial usage and enforces its own rate limits per authenticated identity.","q":"Does GitHub have an official developer API?"},{"a":"get_repo_issues gives you a list summary: title, state, label names, assignees, and comment count. get_issue_detail adds the full issue body, and when include_comments is true, the complete comment thread — each comment with user, body, timestamps, and a reactions breakdown. comments_per_page caps the thread at up to 100 comments per call.","q":"What does get_issue_detail return beyond what get_repo_issues includes?"},{"a":"Not always. For very large repositories the upstream Git tree response is truncated. The response includes a truncated boolean field set to true in that case, and total_items reflects what was actually returned. To explore specific subdirectories of a large repo you can use get_file_content with a directory path instead.","q":"Does get_file_tree always return the complete tree for large repositories?"},{"a":"Not currently. get_user_profile works only for individual GitHub user accounts; passing an organization login will not return valid results. Repository endpoints like get_repo_info and get_repo_issues do accept organization names as the owner parameter and work normally. You can fork this API on Parse and revise it to add a dedicated organization profile endpoint.","q":"Does the API cover organization profiles, not just individual user accounts?"},{"a":"Not currently. The API covers repository metadata, file content, the Git file tree, issues (excluding pull requests), releases, and user profiles. Commit history and pull request listings are not exposed. You can fork this API on Parse and revise it to add endpoints for those resources.","q":"Can I retrieve commit history or pull request data?"}],"keywords":["github repository api","github repo metadata api","github issues api","github readme api","github file tree api","github search repositories api","github releases api","github user profile api","github starred repos api","github source code api","open source repository data api","github api no token","github issue comments api","github file content api"],"use_cases":["Aggregate star and fork counts across competing open-source libraries using search_repos with language and topic qualifiers.","Build a changelog feed by polling get_repo_releases for new version tags, prerelease flags, and release note bodies.","Index project documentation for AI retrieval by fetching README content via get_repo_readme and file contents via get_file_content.","Audit repository structure and language distribution using get_file_tree's file_type_summary field.","Track open bug reports and their discussion threads by combining get_repo_issues with get_issue_detail including comments.","Profile a developer's interests and activity by reading get_user_profile and paginating through get_user_starred.","Discover repositories matching niche criteria such as 'topic:homelab stars:>500 language:go' using search_repos query syntax."],"meta_title":"GitHub API – Repos, Issues, Code & Profiles","generated_at":"2026-06-10T06:46:33.794576+00:00","lead_paragraph":"This API exposes 10 endpoints covering GitHub repositories, source code, and user profiles. Use get_repo_info to pull star counts, fork counts, topics, license, and contributor activity; search_repos to run GitHub's full query syntax across all public repos; or get_issue_detail to retrieve a complete issue thread including per-comment reactions. Responses return structured JSON with no GitHub API token required on your end.","schema_version":2,"meta_description":"Access GitHub repository metadata, file trees, README content, releases, issues with comments, and user profiles via a single structured API.","primary_category":"developer_tools","long_description_md":"## Repository Data\n\n`get_repo_info` returns a detailed snapshot of any public repository: `stars`, `forks`, `size_kb`, `topics`, `license`, `is_fork`, and an `owner` object with `login`, `type`, and `avatar_url`. It performs separate sub-requests for languages, contributors, and recent commits, making it heavier than `search_repos` but more complete. `get_repo_readme` returns the decoded plain-text content of the README file along with `download_url` and `html_url`; it returns a 404 `input_not_found` error when no README exists.\n\n## Code and File Access\n\n`get_file_content` retrieves either a decoded UTF-8 file body or a directory listing depending on the `path` input. For directories, `items` contains each child entry with `name`, `path`, `type`, `size`, `html_url`, and `download_url`. An empty `path` returns the root of the repository. `get_file_tree` returns the full Git tree as an array of objects with `path`, `type`, and `size`, plus a `file_type_summary` object that maps file extensions to counts — useful for quickly profiling a codebase. The `truncated` boolean indicates when the upstream tree is too large to return completely.\n\n## Issues and Releases\n\n`get_repo_issues` lists repository issues filtered by `state` (open/closed/all) and `labels`, with pull requests automatically excluded. Each issue object includes `labels`, `assignees`, `comments_count`, and `closed_at`. `get_issue_detail` goes deeper: pass `include_comments: true` to fetch the full conversation thread, where each comment carries `user`, `body`, `created_at`, `updated_at`, and a `reactions` object. `get_repo_releases` returns paginated release objects in newest-first order, including `tag_name`, `prerelease`, `draft`, `body` (release notes), and an `assets` array with download links.\n\n## Search and User Profiles\n\n`search_repos` supports the full GitHub search qualifier syntax — `language:python`, `stars:>1000`, `topic:machine-learning` — and accepts `sort` (stars, forks, updated) and `order` parameters with pagination up to 100 results per page. `get_user_profile` returns bio, location, email, follower/following counts, and total stars received, but only for individual user accounts, not organizations. `get_user_starred` paginates through a user's starred repositories, returning `name`, `full_name`, `description`, `language`, and `topics` for each.","generated_with_model":"global.anthropic.claude-sonnet-4-6","secondary_categories":["social_media","b2b_directory"]},"primary_category":"developer_tools","secondary_categories":["social_media","b2b_directory"],"access_requirements":[]}