GitHub Repositories Search API: Org Repos avatar

GitHub Repositories Search API: Org Repos

Pricing

from $0.98 / 1,000 results

Go to Apify Store
GitHub Repositories Search API: Org Repos

GitHub Repositories Search API: Org Repos

GitHub repositories of organizations by query on topic, language, stars or dates; turn on Only new repositories for daily runs. Lists 10 repositories by default: organization, stars, forks, open issues, language, topics, license, dates. No personal accounts or READMEs. No key; a token is optional.

Pricing

from $0.98 / 1,000 results

Rating

0.0

(0)

Developer

Plain Build

Plain Build

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Features

Limited permissions

Share

GitHub Repositories Search: Organisation Repos

This GitHub repository scraper searches GitHub with the official REST API and returns organisation-owned repositories for any query, such as a topic, language, star count or date, with name, organisation, description, stars, forks, open issues, language, topics, licence, created and pushed dates and link. No key needed; your own token is optional. USD 1.15 per 1,000 results (USD 0.98 on Silver and above); errors and empty runs are not charged.

What it does

GitHub repositories of organisations by search query (topic, language, stars, dates) from the official REST API: organisation, description, stars, forks, open issues, language, topics, licence, dates and link. Personal accounts are left out. No key needed; your own token is optional.

The data comes from GitHub REST through its official API (https://docs.github.com/en/rest/search/search#search-repositories). This Actor is not affiliated with, endorsed by or sponsored by GitHub REST. It reads only that API, one request at a time, and it checks robots.txt before the first request to each host.

Who it is for

  • Developer-tool and DevRel teams: list the organisations that build in your space (a topic or language) with their stars and activity, for partner and market research.
  • Open-source analysts and investors: track which organisation projects grow, by stars, forks and last push, on a schedule.
  • Due-diligence and research teams: one table of an organisation's or a topic's public repositories, with licence and dates.
  • Developers building dashboards: JSON rows with stable fields (source_id, repository, stars) from the official API, no key to manage.

Key features

  • Any GitHub repository search: topic:, language:, stars:>, pushed:>, org: and words, sorted by stars, forks, last push or relevance
  • Columns include repository, organisation, description, stars, forks, open issues, language, topics, licence, fork and archived flags, created, updated and pushed dates
  • Only organisation repositories; personal accounts are left out and never charged
  • Only-new-repositories option: with new_since_last_run on, only repositories not delivered before for the same query are delivered and charged
  • No key needed; your own GitHub token is optional and raises the limit
  • The official GitHub API only, one request at a time

How it works

The Actor calls the official GitHub REST API search for repositories (api.github.com/search/repositories) with your query and sort, 100 repositories a request, up to GitHub's 1,000 per query. It keeps only repositories whose owner is an organisation; repositories of personal accounts are left out, counted in one uncharged item, and never charged. No user profiles, contributors, commit authors or emails are read. The description is cleaned the same way as all free text. Without a token it stays under GitHub's 10 searches a minute and waits for the reset when the shared limit is reached; with your token it sends it in the Authorization header as GitHub documents.

How to try it

  1. Open the Input tab. The prefilled input returns the 25 organisation repositories with the topic web-scraping and over 100 stars that have the most stars, without a token.
  2. Click Start. A run usually finishes in under a minute.
  3. Open the Output tab to see the results as a table, or export them as JSON, CSV or Excel.

GitHub's search returns at most 1,000 repositories for one query, 100 a request. A run that reaches the 1,000th result of a wider query ends with a result_cap item in the errors dataset; a run that Maximum results stops earlier does not. Add qualifiers such as stars:>, language: or pushed:> dates.

Only repositories owned by an organisation are delivered. Repositories of personal accounts are left out and not charged; one uncharged dropped item gives their count, without names. So a run can deliver fewer repositories than the search found.

Without a token GitHub allows 10 searches a minute for the run's address, which other Apify users can share. When the limit is reached, the run waits for GitHub's reset (at most about a minute) and tries again; when it is still reached, the run fails with one uncharged rate_limited item. A limit GitHub signals without a reset time (its secondary limits) is waited for one minute, as GitHub asks. Another HTTP 403 fails the run with one uncharged access_refused item. Your own token (a personal access token with no scope) gives 30 a minute. A token GitHub refuses fails the run with one uncharged key_refused item; the token never appears in the output, the log or the error items.

A query GitHub refuses (for example an unknown qualifier value) fails the run after one request with Invalid input and one uncharged bad_request item.

When GitHub times out on a search, it returns the repositories found until then and says so; the run then ends with one uncharged incomplete_results item: run it again or narrow the query.

  • For a daily list, schedule a run with new_since_last_run on, for example with sort updated. Each combination of query and sort has its own memory, a key-value store named github-repositories-scraper-state in your account. Delete it to start again.
  • A repository you got before is not delivered again when its stars change; turn the option off for the current numbers of all.
  • Two runs at the same time can deliver and charge the same repository, so leave a gap between scheduled runs.

Input

FieldTypeDefaultDescription
querystring"topic:web-scraping"A GitHub repository search, as on github.com/search: words and qualifiers such as topic:web-scraping, language:python, stars:>500, pushed:>2026-01-01 or org:apify.
sortstring"stars"stars, forks, updated (last push) or best_match (GitHub's relevance). Always highest or newest first.
github_tokenstringnone, your own keyYour own GitHub personal access token, without any scope. It raises GitHub's search limit from 10 to 30 requests a minute and avoids waits when other users share the run's address. It is stored encrypted and used only for your run.
new_since_last_runbooleanfalseDeliver and charge only repositories this Actor has not delivered to you before for the same query and sort. A repository held back by Maximum results or your spending limit comes in the next run if the search still reaches it. Delivered repositories are remembered in a key-value store named github-repositories-scraper-state in your account.
max_itemsinteger10How many results to return at most, from 1 to 1000.

Output

Each result has these fields. Missing values are null, never a different type.

FieldTypeDescription
item_typestringAlways repository
source_idstringgithub: and the repository's numeric id
repositorystringorganisation/repository, as in the GitHub address
repository_namestringRepository name without the organisation
organisationstringThe organisation that owns the repository
descriptionstring or nullRepository description
homepage_urlstring or nullThe homepage the repository names. Empty when it is a link on GitHub, GitLab, LinkedIn, X or a similar profile host, or another account's GitHub Pages site
languagestring or nullMain language as GitHub detects it
topicsstring or nullTopics, comma separated
licensestring or nullSPDX id of the licence GitHub detects, for example MIT
starsinteger or nullStars at the moment of the run
forksinteger or nullForks at the moment of the run
open_issuesinteger or nullOpen issues and pull requests at the moment of the run
size_kbinteger or nullRepository size in kilobytes
is_forkboolean or nullTrue when the repository is a fork
is_archivedboolean or nullTrue when the repository is archived (read-only)
default_branchstring or nullDefault branch
created_atstring or nullWhen the repository was created, ISO time in UTC
updated_atstring or nullWhen the repository last changed on GitHub, ISO time in UTC
pushed_atstring or nullLast push to any branch, ISO time in UTC
urlstringThe repository on github.com
source_urlstringThe record on the source site
fetched_atstringWhen the record was fetched, ISO 8601 UTC
actor_versionstringThe build that produced the record

Example item:

{
"item_type": "repository",
"source_id": "<source_id>",
"repository": "<repository>",
"repository_name": "<repository_name>",
"organisation": "<organisation>",
"description": "<description>",
"homepage_url": "<homepage_url>",
"language": "<language>",
"topics": "<topics>",
"license": "<license>",
"stars": 0,
"forks": 0,
"open_issues": 0,
"size_kb": 0,
"is_fork": true,
"is_archived": true,
"default_branch": "<default_branch>",
"created_at": "<created_at>",
"updated_at": "<updated_at>",
"pushed_at": "<pushed_at>",
"url": "<url>",
"source_url": "<source_url>",
"fetched_at": "2026-11-04T09:30:00Z",
"actor_version": "0.1.1"
}

Free-text fields are cleaned before delivery: email addresses, phone numbers, @handles and person names introduced by words such as "contact", "recruiter", "founder" or "manager" are replaced with [removed]. The cleaning follows fixed rules, so a name written elsewhere in the text, or in lower case, can remain.

What it does not do

  • Only repositories owned by organisations; repositories of personal accounts are left out, also popular ones.
  • GitHub's search returns at most 1,000 repositories per query. No README, release, contributor or commit data: one search request per 100 repositories, no request per repository.
  • Stars, forks and issues are the numbers at the moment of the run; with new_since_last_run on, a repository is not delivered again when they change.

How much it costs

You pay per result delivered to the default dataset. Errors and empty results are written to a separate errors dataset and are never charged.

Plan tierPrice per 1,000 results
Free and BronzeUSD 1.15
Silver and aboveUSD 0.98

Example: a run that delivers 1,000 results costs USD 1.15 on the Free and Bronze tiers and USD 0.98 on Silver and above, plus the platform's start event of USD 0.00005. If you set a maximum cost per run, the Actor stops before it would go over it and delivers nothing it cannot charge for.

Other Actors in this family

This Actor is part of a family of job and public-data scrapers built on the same core: one result per charge, a separate uncharged errors dataset, and no person fields. Links follow as the other Actors are published.

FAQ and support

  • Is there personal data in the output? No personal data by design. One row is a repository owned by an organisation, never a person. Repositories of personal accounts are left out and counted without names; no profile, contributor, commit author or email is read. A homepage on a profile host or another account's GitHub Pages site is left empty, and emails, phones and names after words such as contact are removed from the description and topics.
  • Is the data accurate? Accuracy is not guaranteed. The data is parsed from free text written by many people, and fields can be missing or wrong.
  • Who runs this Actor? It is not affiliated with GitHub REST.
  • How is the data collected? The official API or open data is used where the source offers it. This Actor uses only the official GitHub REST API.
  • Why are repositories of personal accounts left out? A personal account belongs to one person, and its name is part of every repository name, so this Actor delivers only repositories owned by an organisation, which GitHub states on every result. The left-out repositories are counted in one uncharged dropped item, without names, and never charged.
  • Do I need a GitHub token? No. Without a token GitHub allows 10 searches a minute, which is enough for 1,000 repositories in one run; the run waits up to about a minute when other users of the same address used the limit. Your own personal access token, without any scope, gives 30 a minute. It is stored encrypted and never appears in the output or the log.
  • How do I get more than 1,000 repositories? GitHub's search stops at 1,000 results for one query, and the Actor then writes an uncharged result_cap item. Split the query, for example by stars ranges (stars:100..500, stars:>500) or by pushed or created dates, and run each part.
  • Can I get README text, contributors, releases or commit history? No. The Actor reads only the search results, one request per 100 repositories. The fields are those GitHub returns in a search result.
  • What may I not use the data for? Do not use it to send unsolicited messages, to recruit, or to train AI models: GitHub's Acceptable Use Policies (section 7) and Terms of Service (section D.9) restrict those uses. Use it for research, analysis and your own product decisions, within GitHub's terms.
  • Is it legal to use GitHub's API for this? The Actor uses the official REST API as GitHub documents it, within its rate limits, and delivers no personal information. GitHub's terms and Acceptable Use Policies apply to your use of the data. This is an open reading, not a legal opinion. Not affiliated with GitHub.
  • What may I do with the data? You are responsible for complying with the law and with the source's terms when you use the data.
  • Something is broken. Open an issue on the Issues tab with the run link and your input. Issues are answered by the automated maintainer.