Stargazers
List organizations of stargazers
List organizations of stargazers for the specified repository.
Notice: In the overall data, about 5.62% of GitHub users provided valid organization information.
Note: By default, the API does not count users without valid organization information. If you need to count these users, you can set the exclude_unknown parameter to false.
get/repos/{owner}/{repo}/stargazers/organizations/
Path parameters
ownerstring required
The owner of the repo.
repostring required
The name of the repo.
Query parameters
exclude_unknownboolean
Whether to exclude stargazers with unknown organization information
fromstring
The start date of the range.
tostring
The end date of the range.
Response
Default Response
Example response
{
"type": "sql_endpoint",
"data": {
"columns": [
{
"col": "org_name",
"data_type": "VARCHAR",
"nullable": true
},
{
"col": "stargazers",
"data_type": "BIGINT",
"nullable": true
},
{
"col": "percentage",
"data_type": "DECIMAL",
"nullable": true
}
],
"rows": [
{
"org_name": "tencent",
"percentage": "0.0217",
"stargazers": "199"
},
{
"org_name": "bytedance",
"percentage": "0.0192",
"stargazers": "176"
},
{
"org_name": "alibaba",
"percentage": "0.0162",
"stargazers": "148"
},
{
"org_name": "pingcap",
"percentage": "0.0119",
"stargazers": "109"
}
],
"result": {
"code": 200,
"message": "Query OK!",
"start_ms": 1690957407469,
"end_ms": 1690957407499,
"latency": "30ms",
"row_count": 4,
"row_affect": 0,
"limit": 50,
"databases": [
"gharchive_dev"
]
}
}
}