APIs / GitHub / Search Repositories

GitHub: Search Repositories

Search Repositories from GitHub as JSON. 1 credit per successful call.

GET /v1/github/search-repositories

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
qstringRequiredUp to 256 characters
sortstringOptionalstars, forks, help-wanted-issues, updated
orderstringOptionalasc, desc
pageintegerOptionalAny
per_pageintegerOptionalAny

Example request

GitHub
GET/v1/github/search-repositories?q=web+scraping
{
  "search_parameters": {
    "engine": "github_search_repositories",
    "q": "web scraping"
  },
  "total_count": 140629,
  "incomplete_results": false,
  "page": 1,
  "per_page": 30,
  "has_more": true,
  "repositories": [
    {
      "id": 529502,
      "node_id": "MDEwOlJlcG9zaXRvcnk1Mjk1MDI=",
      "name": "scrapy",
      "full_name": "scrapy/scrapy",
      "private": false,
      "owner": {
        "login": "scrapy",
        "id": 733635,
        "node_id": "MDEyOk9yZ2FuaXphdGlvbjczMzYzNQ==",
        "avatar_url": "https://avatars.githubusercontent.com/u/733635?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/scrapy",
        "html_url": "https://github.com/scrapy",
        "followers_url": "https://api.github.com/users/scrapy/followers",
        "following_url": "https://api.github.com/users/scrapy/following{/other_user}",
        "gists_url": "https://api.github.com/users/scrapy/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/scrapy/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/scrapy/subscriptions",
        "organizations_url": "https://api.github.com/users/scrapy/orgs",
        "repos_url": "https://api.github.com/users/scrapy/repos",
        "events_url": "https://api.github.com/users/scrapy/events{/privacy}",
        "received_events_url": "https://api.github.com/users/scrapy/received_events",
        "type": "Organization",
        "user_view_type": "public",
        "site_admin": false
      },
      "html_url": "https://github.com/scrapy/scrapy",
      "description": "Scrapy, a fast high-level web crawling & scraping framework for Python.",
      "fork": false,
      "url": "https://api.github.com/repos/scrapy/scrapy",
      "forks_url": "https://api.github.com/repos/scrapy/scrapy/forks",
      "keys_url": "https://api.github.com/repos/scrapy/scrapy/keys{/key_id}",
      "collaborators_url": "https://api.github.com/repos/scrapy/scrapy/collaborators{/collaborator}",
      "teams_url": "https://api.github.com/repos/scrapy/scrapy/teams",
      "hooks_url": "https://api.github.com/repos/scrapy/scrapy/hooks",
      "issue_events_url": "https://api.github.com/repos/scrapy/scrapy/issues/events{/number}",
      "events_url": "https://api.github.com/repos/scrapy/scrapy/events",
      "assignees_url": "https://api.github.com/repos/scrapy/scrapy/assignees{/user}",
      "branches_url": "https://api.github.com/repos/scrapy/scrapy/branches{/branch}",
      "tags_url": "https://api.github.com/repos/scrapy/scrapy/tags",
      "blobs_url": "https://api.github.com/repos/scrapy/scrapy/git/blobs{/sha}",
      "git_tags_url": "https://api.github.com/repos/scrapy/scrapy/git/tags{/sha}",
      "git_refs_url": "https://api.github.com/repos/scrapy/scrapy/git/refs{/sha}",
      "trees_url": "https://api.github.com/repos/scrapy/scrapy/git/trees{/sha}",
      "statuses_url": "https://api.github.com/repos/scrapy/scrapy/statuses/{sha}",
      "languages_url": "https://api.github.com/repos/scrapy/scrapy/languages",
      "stargazers_url": "https://api.github.com/repos/scrapy/scrapy/stargazers",
      "contributors_url": "https://api.github.com/repos/scrapy/scrapy/contributors",
      "subscribers_url": "https://api.github.com/repos/scrapy/scrapy/subscribers",
      "subscription_url": "https://api.github.com/repos/scrapy/scrapy/subscription",
      "commits_url": "https://api.github.com/repos/scrapy/scrapy/commits{/sha}",
      "git_commits_url": "https://api.github.com/repos/scrapy/scrapy/git/commits{/sha}",
      "comments_url": "https://api.github.com/repos/scrapy/scrapy/comments{/number}",
      "issue_comment_url": "https://api.github.com/repos/scrapy/scrapy/issues/comments{/number}",
      "contents_url": "https://api.github.com/repos/scrapy/scrapy/contents/{+path}",
      "compare_url": "https://api.github.com/repos/scrapy/scrapy/compare/{base}...{head}",
      "merges_url": "https://api.github.com/repos/scrapy/scrapy/merges",
      "archive_url": "https://api.github.com/repos/scrapy/scrapy/{archive_format}{/ref}",
      "downloads_url": "https://api.github.com/repos/scrapy/scrapy/downloads",
      "issues_url": "https://api.github.com/repos/scrapy/scrapy/issues{/number}",
      "pulls_url": "https://api.github.com/repos/scrapy/scrapy/pulls{/number}",
      "milestones_url": "https://api.github.com/repos/scrapy/scrapy/milestones{/number}",
      "notifications_url": "https://api.github.com/repos/scrapy/scrapy/notifications{?since,all,participating}",
      "labels_url": "https://api.github.com/repos/scrapy/scrapy/labels{/name}",
      "releases_url": "https://api.github.com/repos/scrapy/scrapy/releases{/id}",
      "deployments_url": "https://api.github.com/repos/scrapy/scrapy/deployments",
      "created_at": "2010-02-22T02:01:14Z",
      "updated_at": "2026-11-12T11:38:27Z",
      "pushed_at": "2026-11-12T12:13:12Z",
      "git_url": "git://github.com/scrapy/scrapy.git",
      "ssh_url": "git@github.com:scrapy/scrapy.git",
      "clone_url": "https://github.com/scrapy/scrapy.git",
      "svn_url": "https://github.com/scrapy/scrapy",
      "homepage": "https://scrapy.org",
      "size": 33934,
      "stargazers_count": 65343,
      "watchers_count": 65343,
      "language": "Python",
      "has_issues": true,
      "has_projects": true,
      "has_downloads": false,
      "has_wiki": true,
      "has_pages": false,
      "has_discussions": true,
      "forks_count": 12123,
      "archived": false,
      "disabled": false,
      "open_issues_count": 179,
      "license": {
        "key": "bsd-3-clause",
        "name": "BSD 3-Clause \"New\" or \"Revised\" License",
        "spdx_id": "BSD-3-Clause",
        "url": "https://api.github.com/licenses/bsd-3-clause",
        "node_id": "MDc6TGljZW5zZTU="
      },
      "allow_forking": true,
      "is_template": false,
      "web_commit_signoff_required": false,
      "has_pull_requests": true,
      "pull_request_creation_policy": "all",
      "topics": [
        "crawler",
        "crawling"
      ],
      "visibility": "public",
      "forks": 12123,
      "open_issues": 179,
      "watchers": 65343,
      "default_branch": "master",
      "score": 1
    },
    {
      "id": 1209343409,
      "node_id": "R_kgDOSBUdsQ",
      "name": "obscura",
      "full_name": "h4ckf0r0day/obscura",
      "private": false,
      "owner": {
        "login": "h4ckf0r0day",
        "id": 271927676,
        "node_id": "U_kgDOEDVJfA",
        "avatar_url": "https://avatars.githubusercontent.com/u/271927676?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/h4ckf0r0day",
        "html_url": "https://github.com/h4ckf0r0day",
        "followers_url": "https://api.github.com/users/h4ckf0r0day/followers",
        "following_url": "https://api.github.com/users/h4ckf0r0day/following{/other_user}",
        "gists_url": "https://api.github.com/users/h4ckf0r0day/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/h4ckf0r0day/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/h4ckf0r0day/subscriptions",
        "organizations_url": "https://api.github.com/users/h4ckf0r0day/orgs",
        "repos_url": "https://api.github.com/users/h4ckf0r0day/repos",
        "events_url": "https://api.github.com/users/h4ckf0r0day/events{/privacy}",
        "received_events_url": "https://api.github.com/users/h4ckf0r0day/received_events",
        "type": "User",
        "user_view_type": "public",
        "site_admin": false
      },
      "html_url": "https://github.com/h4ckf0r0day/obscura",
      "description": "The headless browser for AI agents and web scraping",
      "fork": false,
      "url": "https://api.github.com/repos/h4ckf0r0day/obscura",
      "forks_url": "https://api.github.com/repos/h4ckf0r0day/obscura/forks",
      "keys_url": "https://api.github.com/repos/h4ckf0r0day/obscura/keys{/key_id}",
      "collaborators_url": "https://api.github.com/repos/h4ckf0r0day/obscura/collaborators{/collaborator}",
      "teams_url": "https://api.github.com/repos/h4ckf0r0day/obscura/teams",
      "hooks_url": "https://api.github.com/repos/h4ckf0r0day/obscura/hooks",
      "issue_events_url": "https://api.github.com/repos/h4ckf0r0day/obscura/issues/events{/number}",
      "events_url": "https://api.github.com/repos/h4ckf0r0day/obscura/events",
      "assignees_url": "https://api.github.com/repos/h4ckf0r0day/obscura/assignees{/user}",
      "branches_url": "https://api.github.com/repos/h4ckf0r0day/obscura/branches{/branch}",
      "tags_url": "https://api.github.com/repos/h4ckf0r0day/obscura/tags",
      "blobs_url": "https://api.github.com/repos/h4ckf0r0day/obscura/git/blobs{/sha}",
      "git_tags_url": "https://api.github.com/repos/h4ckf0r0day/obscura/git/tags{/sha}",
      "git_refs_url": "https://api.github.com/repos/h4ckf0r0day/obscura/git/refs{/sha}",
      "trees_url": "https://api.github.com/repos/h4ckf0r0day/obscura/git/trees{/sha}",
      "statuses_url": "https://api.github.com/repos/h4ckf0r0day/obscura/statuses/{sha}",
      "languages_url": "https://api.github.com/repos/h4ckf0r0day/obscura/languages",
      "stargazers_url": "https://api.github.com/repos/h4ckf0r0day/obscura/stargazers",
      "contributors_url": "https://api.github.com/repos/h4ckf0r0day/obscura/contributors",
      "subscribers_url": "https://api.github.com/repos/h4ckf0r0day/obscura/subscribers",
      "subscription_url": "https://api.github.com/repos/h4ckf0r0day/obscura/subscription",
      "commits_url": "https://api.github.com/repos/h4ckf0r0day/obscura/commits{/sha}",
      "git_commits_url": "https://api.github.com/repos/h4ckf0r0day/obscura/git/commits{/sha}",
      "comments_url": "https://api.github.com/repos/h4ckf0r0day/obscura/comments{/number}",
      "issue_comment_url": "https://api.github.com/repos/h4ckf0r0day/obscura/issues/comments{/number}",
      "contents_url": "https://api.github.com/repos/h4ckf0r0day/obscura/contents/{+path}",
      "compare_url": "https://api.github.com/repos/h4ckf0r0day/obscura/compare/{base}...{head}",
      "merges_url": "https://api.github.com/repos/h4ckf0r0day/obscura/merges",
      "archive_url": "https://api.github.com/repos/h4ckf0r0day/obscura/{archive_format}{/ref}",
      "downloads_url": "https://api.github.com/repos/h4ckf0r0day/obscura/downloads",
      "issues_url": "https://api.github.com/repos/h4ckf0r0day/obscura/issues{/number}",
      "pulls_url": "https://api.github.com/repos/h4ckf0r0day/obscura/pulls{/number}",
      "milestones_url": "https://api.github.com/repos/h4ckf0r0day/obscura/milestones{/number}",
      "notifications_url": "https://api.github.com/repos/h4ckf0r0day/obscura/notifications{?since,all,participating}",
      "labels_url": "https://api.github.com/repos/h4ckf0r0day/obscura/labels{/name}",
      "releases_url": "https://api.github.com/repos/h4ckf0r0day/obscura/releases{/id}",
      "deployments_url": "https://api.github.com/repos/h4ckf0r0day/obscura/deployments",
      "created_at": "2026-04-13T10:31:41Z",
      "updated_at": "2026-11-12T13:07:52Z",
      "pushed_at": "2026-11-12T02:13:53Z",
      "git_url": "git://github.com/h4ckf0r0day/obscura.git",
      "ssh_url": "git@github.com:h4ckf0r0day/obscura.git",
      "clone_url": "https://github.com/h4ckf0r0day/obscura.git",
      "svn_url": "https://github.com/h4ckf0r0day/obscura",
      "homepage": "https://obscura.sh",
      "size": 26837,
      "stargazers_count": 33207,
      "watchers_count": 33207,
      "language": "Rust",
      "has_issues": true,
      "has_projects": true,
      "has_downloads": false,
      "has_wiki": true,
      "has_pages": false,
      "has_discussions": true,
      "forks_count": 2598,
      "archived": false,
      "disabled": false,
      "open_issues_count": 239,
      "license": {
        "key": "apache-2.0",
        "name": "Apache License 2.0",
        "spdx_id": "Apache-2.0",
        "url": "https://api.github.com/licenses/apache-2.0",
        "node_id": "MDc6TGljZW5zZTI="
      },
      "allow_forking": true,
      "is_template": false,
      "web_commit_signoff_required": false,
      "has_pull_requests": true,
      "pull_request_creation_policy": "all",
      "topics": [
        "antidetect",
        "antidetect-browser"
      ],
      "visibility": "public",
      "forks": 2598,
      "open_issues": 239,
      "watchers": 33207,
      "default_branch": "main",
      "score": 1
    }
  ],
  "result_count": 30,
  "rate_limit": {
    "limit": 10,
    "remaining": 8,
    "used": 2,
    "reset": 1794488989
  }
}
200 OKJSONX-Credits-Used: 1
Recorded 12 Nov 2026 and shortened.

Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.

Response fields

The response has these 5 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

FieldType
search_parametersobject
incomplete_resultsboolean
repositoriesobject[]
result_countinteger
rate_limitobject