---
title: "List organizations of stargazers"
method: GET
path: "/repos/{owner}/{repo}/issue_creators/organizations/"
tags: ["Issue Creators"]
---

# List organizations of stargazers

`GET /repos/{owner}/{repo}/issue_creators/organizations/`

## Request

- Base URL: `https://api.ossinsight.io/v1`
- URL: `https://api.ossinsight.io/v1/repos/{owner}/{repo}/issue_creators/organizations/`
- Auth: none declared

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`.

## Path parameters

- `owner` string, required
- `repo` string, required

## Query parameters

- `exclude_unknown` boolean
- `from` string
- `to` string

## Response `200`

Default Response

- object
  - `type` 'sql_endpoint', required: The type of the endpoint.
  - `data` object, required
    - `columns` object[], required
      - `col` string, required: The name of the column in the query result.
      - `data_type` 'CHAR' | 'BIGINT' | 'DECIMAL' | 'INT' | 'UNSIGNED BIGINT' | 'TINYINT' | 'TIMESTAMP' | 'TEXT' | 'VARCHAR' | 'DATETIME' | 'DOUBLE' | 'FLOAT' | 'DATE' | 'TIME' | 'YEAR' | 'MEDIUMINT' | 'SMALLINT' | 'BIT' | 'BINARY' | 'VARBINARY' | 'JSON' | 'ENUM' | 'SET' | 'TINYTEXT' | 'MEDIUMTEXT' | 'LONGTEXT' | 'TINYBLOB' | 'MEDIUMBLOB' | 'BLOB' | 'LONGBLOB', required: The data type of the column.
      - `nullable` boolean, required: Whether the column is nullable.
    - `rows` object[], required
      - `issue_creators` string: Number of issue creators from the organization
      - `org_name` string: Name of the organization
      - `percentage` string: Percentage of issue creators from the organization
    - `result` object, required
      - `code` number: The code of the response.
      - `message` string: The message of the response.
      - `start_ms` number: The start time of the query in milliseconds.
      - `end_ms` number: The end time of the query in milliseconds.
      - `latency` string: The latency of the query.
      - `row_count` number: The number of rows in the query result.
      - `row_affect` number: The number of rows affected by the query.
      - `limit` number: The maximum number of rows in the query result.
      - `databases` string[]: The databases used in the query.

## Changes

- **2023-08-09** `f911acc5136e`: 1 info
  - added the new optional `query` request parameter `exclude_unknown`
- **2023-08-02** `bf7e6b246db9`: 1 info
  - endpoint added
- **2023-07-27** `30f8bc584bb3`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/pingcap/apis/ossinsight-public-api/changes/repos/:owner/:repo/issue_creators/organizations/get.md)

---

[API](https://skmtc.dev/pingcap/apis/ossinsight-public-api.md) - [All operations](https://skmtc.dev/pingcap/apis/ossinsight-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/pingcap/apis/ossinsight-public-api/revisions/9eeddbadc4bb?raw)
