Get users by ID (GitHub node IDs or BountyLab IDs)

Changed on

Fetch GitHub users by their IDs. Accepts both GitHub node IDs (e.g. MDQ6VXNlcjE=) and BountyLab IDs (32-char hex). Returns a positional array matching input order (null for unmatched IDs). Supports batch requests (1-100 IDs). Credits: 1 per non-null result + graph credits.

post/raw/users

Request

Request body

githubIdsstring[] required

Array of IDs — GitHub node IDs (e.g. MDQ6VXNlcjE=) or BountyLab IDs (32-char hex). Can be mixed.

Example request

{
  "githubIds": [
    "MDQ6VXNlcjU4MzIzMQ==",
    "a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4"
  ]
}

Response

Users retrieved successfully (positional)

countnumber required

Number of non-null users returned

Example response

{
  "users": [
    {
      "id": "9f0b8901cf1848298a60a60083b5aac0",
      "githubId": "MDQ6VXNlcjU4MzIzMQ==",
      "login": "octocat",
      "displayName": "The Octocat",
      "bio": "I build things for GitHub",
      "company": "GitHub",
      "location": "San Francisco, CA",
      "websiteUrl": "https://github.blog",
      "socialAccounts": [
        {
          "provider": "twitter",
          "url": "https://twitter.com/github"
        }
      ],
      "emails": [
        "***at@github.com",
        "***hn@gmail.com"
      ],
      "resolvedCountry": "United States",
      "resolvedState": "California",
      "resolvedCity": "San Francisco",
      "createdAt": "2011-01-25T18:44:36Z",
      "updatedAt": "2024-01-15T12:30:00Z",
      "embeddedAt": "2024-01-15T14:00:00Z",
      "score": 0.12,
      "aggregates": {
        "totalStars": 12500
      },
      "followers": {
        "edges": [
          {
            "id": "9f0b8901cf1848298a60a60083b5aac0",
            "githubId": "MDQ6VXNlcjU4MzIzMQ==",
            "login": "octocat",
            "displayName": "The Octocat",
            "bio": "I build things for GitHub",
            "company": "GitHub",
            "location": "San Francisco, CA",
            "websiteUrl": "https://github.blog",
            "socialAccounts": [
              {
                "provider": "twitter",
                "url": "https://twitter.com/github"
              }
            ],
            "emails": [
              "***at@github.com",
              "***hn@gmail.com"
            ],
            "resolvedCountry": "United States",
            "resolvedState": "California",
            "resolvedCity": "San Francisco",
            "createdAt": "2011-01-25T18:44:36Z",
            "updatedAt": "2024-01-15T12:30:00Z",
            "embeddedAt": "2024-01-15T14:00:00Z",
            "score": 0.12
          }
        ]
      },
      "following": {
        "edges": [
          {
            "id": "9f0b8901cf1848298a60a60083b5aac0",
            "githubId": "MDQ6VXNlcjU4MzIzMQ==",
            "login": "octocat",
            "displayName": "The Octocat",
            "bio": "I build things for GitHub",
            "company": "GitHub",
            "location": "San Francisco, CA",
            "websiteUrl": "https://github.blog",
            "socialAccounts": [
              {
                "provider": "twitter",
                "url": "https://twitter.com/github"
              }
            ],
            "emails": [
              "***at@github.com",
              "***hn@gmail.com"
            ],
            "resolvedCountry": "United States",
            "resolvedState": "California",
            "resolvedCity": "San Francisco",
            "createdAt": "2011-01-25T18:44:36Z",
            "updatedAt": "2024-01-15T12:30:00Z",
            "embeddedAt": "2024-01-15T14:00:00Z",
            "score": 0.12
          }
        ]
      },
      "stars": {
        "edges": [
          {
            "id": "9f0b8901cf1848298a60a60083b5aac0",
            "githubId": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
            "ownerLogin": "octocat",
            "name": "Hello-World",
            "description": "My first repository on GitHub!",
            "stargazerCount": 1500,
            "language": "JavaScript",
            "totalIssuesCount": 150,
            "totalIssuesOpen": 42,
            "totalIssuesClosed": 108,
            "readmePreview": "# Hello World\n\nThis is my first repository...",
            "lastContributorLocations": [
              "San Francisco, CA",
              "Berlin, Germany"
            ],
            "createdAt": "2011-01-26T19:01:12Z",
            "updatedAt": "2024-01-15T12:30:00Z",
            "embeddedAt": "2024-01-15T14:00:00Z",
            "score": 0.08,
            "owner": {
              "id": "9f0b8901cf1848298a60a60083b5aac0",
              "githubId": "MDQ6VXNlcjU4MzIzMQ==",
              "login": "octocat",
              "displayName": "The Octocat",
              "bio": "I build things for GitHub",
              "company": "GitHub",
              "location": "San Francisco, CA",
              "websiteUrl": "https://github.blog",
              "socialAccounts": [
                {
                  "provider": "twitter",
                  "url": "https://twitter.com/github"
                }
              ],
              "emails": [
                "***at@github.com",
                "***hn@gmail.com"
              ],
              "resolvedCountry": "United States",
              "resolvedState": "California",
              "resolvedCity": "San Francisco",
              "createdAt": "2011-01-25T18:44:36Z",
              "updatedAt": "2024-01-15T12:30:00Z",
              "embeddedAt": "2024-01-15T14:00:00Z",
              "score": 0.12
            },
            "contributors": {
              "edges": [
                {
                  "id": "9f0b8901cf1848298a60a60083b5aac0",
                  "githubId": "MDQ6VXNlcjU4MzIzMQ==",
                  "login": "octocat",
                  "displayName": "The Octocat",
                  "bio": "I build things for GitHub",
                  "company": "GitHub",
                  "location": "San Francisco, CA",
                  "websiteUrl": "https://github.blog",
                  "socialAccounts": [
                    {
                      "provider": "twitter",
                      "url": "https://twitter.com/github"
                    }
                  ],
                  "emails": [
                    "***at@github.com",
                    "***hn@gmail.com"
                  ],
                  "resolvedCountry": "United States",
                  "resolvedState": "California",
                  "resolvedCity": "San Francisco",
                  "createdAt": "2011-01-25T18:44:36Z",
                  "updatedAt": "2024-01-15T12:30:00Z",
                  "embeddedAt": "2024-01-15T14:00:00Z",
                  "score": 0.12
                }
              ]
            },
            "starrers": {
              "edges": [
                {
                  "id": "9f0b8901cf1848298a60a60083b5aac0",
                  "githubId": "MDQ6VXNlcjU4MzIzMQ==",
                  "login": "octocat",
                  "displayName": "The Octocat",
                  "bio": "I build things for GitHub",
                  "company": "GitHub",
                  "location": "San Francisco, CA",
                  "websiteUrl": "https://github.blog",
                  "socialAccounts": [
                    {
                      "provider": "twitter",
                      "url": "https://twitter.com/github"
                    }
                  ],
                  "emails": [
                    "***at@github.com",
                    "***hn@gmail.com"
                  ],
                  "resolvedCountry": "United States",
                  "resolvedState": "California",
                  "resolvedCity": "San Francisco",
                  "createdAt": "2011-01-25T18:44:36Z",
                  "updatedAt": "2024-01-15T12:30:00Z",
                  "embeddedAt": "2024-01-15T14:00:00Z",
                  "score": 0.12
                }
              ]
            }
          }
        ]
      },
      "owns": {
        "edges": [
          {
            "id": "9f0b8901cf1848298a60a60083b5aac0",
            "githubId": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
            "ownerLogin": "octocat",
            "name": "Hello-World",
            "description": "My first repository on GitHub!",
            "stargazerCount": 1500,
            "language": "JavaScript",
            "totalIssuesCount": 150,
            "totalIssuesOpen": 42,
            "totalIssuesClosed": 108,
            "readmePreview": "# Hello World\n\nThis is my first repository...",
            "lastContributorLocations": [
              "San Francisco, CA",
              "Berlin, Germany"
            ],
            "createdAt": "2011-01-26T19:01:12Z",
            "updatedAt": "2024-01-15T12:30:00Z",
            "embeddedAt": "2024-01-15T14:00:00Z",
            "score": 0.08,
            "owner": {
              "id": "9f0b8901cf1848298a60a60083b5aac0",
              "githubId": "MDQ6VXNlcjU4MzIzMQ==",
              "login": "octocat",
              "displayName": "The Octocat",
              "bio": "I build things for GitHub",
              "company": "GitHub",
              "location": "San Francisco, CA",
              "websiteUrl": "https://github.blog",
              "socialAccounts": [
                {
                  "provider": "twitter",
                  "url": "https://twitter.com/github"
                }
              ],
              "emails": [
                "***at@github.com",
                "***hn@gmail.com"
              ],
              "resolvedCountry": "United States",
              "resolvedState": "California",
              "resolvedCity": "San Francisco",
              "createdAt": "2011-01-25T18:44:36Z",
              "updatedAt": "2024-01-15T12:30:00Z",
              "embeddedAt": "2024-01-15T14:00:00Z",
              "score": 0.12
            },
            "contributors": {
              "edges": [
                {
                  "id": "9f0b8901cf1848298a60a60083b5aac0",
                  "githubId": "MDQ6VXNlcjU4MzIzMQ==",
                  "login": "octocat",
                  "displayName": "The Octocat",
                  "bio": "I build things for GitHub",
                  "company": "GitHub",
                  "location": "San Francisco, CA",
                  "websiteUrl": "https://github.blog",
                  "socialAccounts": [
                    {
                      "provider": "twitter",
                      "url": "https://twitter.com/github"
                    }
                  ],
                  "emails": [
                    "***at@github.com",
                    "***hn@gmail.com"
                  ],
                  "resolvedCountry": "United States",
                  "resolvedState": "California",
                  "resolvedCity": "San Francisco",
                  "createdAt": "2011-01-25T18:44:36Z",
                  "updatedAt": "2024-01-15T12:30:00Z",
                  "embeddedAt": "2024-01-15T14:00:00Z",
                  "score": 0.12
                }
              ]
            },
            "starrers": {
              "edges": [
                {
                  "id": "9f0b8901cf1848298a60a60083b5aac0",
                  "githubId": "MDQ6VXNlcjU4MzIzMQ==",
                  "login": "octocat",
                  "displayName": "The Octocat",
                  "bio": "I build things for GitHub",
                  "company": "GitHub",
                  "location": "San Francisco, CA",
                  "websiteUrl": "https://github.blog",
                  "socialAccounts": [
                    {
                      "provider": "twitter",
                      "url": "https://twitter.com/github"
                    }
                  ],
                  "emails": [
                    "***at@github.com",
                    "***hn@gmail.com"
                  ],
                  "resolvedCountry": "United States",
                  "resolvedState": "California",
                  "resolvedCity": "San Francisco",
                  "createdAt": "2011-01-25T18:44:36Z",
                  "updatedAt": "2024-01-15T12:30:00Z",
                  "embeddedAt": "2024-01-15T14:00:00Z",
                  "score": 0.12
                }
              ]
            }
          }
        ]
      },
      "contributes": {
        "edges": [
          {
            "id": "9f0b8901cf1848298a60a60083b5aac0",
            "githubId": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
            "ownerLogin": "octocat",
            "name": "Hello-World",
            "description": "My first repository on GitHub!",
            "stargazerCount": 1500,
            "language": "JavaScript",
            "totalIssuesCount": 150,
            "totalIssuesOpen": 42,
            "totalIssuesClosed": 108,
            "readmePreview": "# Hello World\n\nThis is my first repository...",
            "lastContributorLocations": [
              "San Francisco, CA",
              "Berlin, Germany"
            ],
            "createdAt": "2011-01-26T19:01:12Z",
            "updatedAt": "2024-01-15T12:30:00Z",
            "embeddedAt": "2024-01-15T14:00:00Z",
            "score": 0.08,
            "owner": {
              "id": "9f0b8901cf1848298a60a60083b5aac0",
              "githubId": "MDQ6VXNlcjU4MzIzMQ==",
              "login": "octocat",
              "displayName": "The Octocat",
              "bio": "I build things for GitHub",
              "company": "GitHub",
              "location": "San Francisco, CA",
              "websiteUrl": "https://github.blog",
              "socialAccounts": [
                {
                  "provider": "twitter",
                  "url": "https://twitter.com/github"
                }
              ],
              "emails": [
                "***at@github.com",
                "***hn@gmail.com"
              ],
              "resolvedCountry": "United States",
              "resolvedState": "California",
              "resolvedCity": "San Francisco",
              "createdAt": "2011-01-25T18:44:36Z",
              "updatedAt": "2024-01-15T12:30:00Z",
              "embeddedAt": "2024-01-15T14:00:00Z",
              "score": 0.12
            },
            "contributors": {
              "edges": [
                {
                  "id": "9f0b8901cf1848298a60a60083b5aac0",
                  "githubId": "MDQ6VXNlcjU4MzIzMQ==",
                  "login": "octocat",
                  "displayName": "The Octocat",
                  "bio": "I build things for GitHub",
                  "company": "GitHub",
                  "location": "San Francisco, CA",
                  "websiteUrl": "https://github.blog",
                  "socialAccounts": [
                    {
                      "provider": "twitter",
                      "url": "https://twitter.com/github"
                    }
                  ],
                  "emails": [
                    "***at@github.com",
                    "***hn@gmail.com"
                  ],
                  "resolvedCountry": "United States",
                  "resolvedState": "California",
                  "resolvedCity": "San Francisco",
                  "createdAt": "2011-01-25T18:44:36Z",
                  "updatedAt": "2024-01-15T12:30:00Z",
                  "embeddedAt": "2024-01-15T14:00:00Z",
                  "score": 0.12
                }
              ]
            },
            "starrers": {
              "edges": [
                {
                  "id": "9f0b8901cf1848298a60a60083b5aac0",
                  "githubId": "MDQ6VXNlcjU4MzIzMQ==",
                  "login": "octocat",
                  "displayName": "The Octocat",
                  "bio": "I build things for GitHub",
                  "company": "GitHub",
                  "location": "San Francisco, CA",
                  "websiteUrl": "https://github.blog",
                  "socialAccounts": [
                    {
                      "provider": "twitter",
                      "url": "https://twitter.com/github"
                    }
                  ],
                  "emails": [
                    "***at@github.com",
                    "***hn@gmail.com"
                  ],
                  "resolvedCountry": "United States",
                  "resolvedState": "California",
                  "resolvedCity": "San Francisco",
                  "createdAt": "2011-01-25T18:44:36Z",
                  "updatedAt": "2024-01-15T12:30:00Z",
                  "embeddedAt": "2024-01-15T14:00:00Z",
                  "score": 0.12
                }
              ]
            }
          }
        ]
      }
    }
  ],
  "count": 2
}

Changes

    • info

      added the new optional request property /

    • info

      added the new optional request property /

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /////////// to the response with the status

    • info

      added the optional property /////////// to the response with the status

    • info

      added the optional property /////// to the response with the status

    • info

      added the required property ////////// to the response with the status

    • info

      added the required property //////// to the response with the status

    • info

      added the required property //////// to the response with the status

    • info

      added the required property ////////////////// to the response with the status

    • info

      added the required property //////////////// to the response with the status

    • info

      added the required property //////////////// to the response with the status

    • info

      added the required property ////////////////// to the response with the status

    • info

      added the required property //////////////// to the response with the status

    • info

      added the required property //////////////// to the response with the status

    • info

      added the required property ////////////// to the response with the status

    • info

      added the required property //////////// to the response with the status

    • info

      added the required property //////////// to the response with the status

    • breaking

      removed subschema #1 subschema #2 subschema #3 from the // request property anyOf list

    • breaking

      removed subschema #1 subschema #2 subschema #3 from the // request property anyOf list

    • breaking

      removed subschema #1 subschema #2 subschema #3 from the // request property anyOf list

    • breaking

      removed subschema #1 subschema #2 subschema #3 from the // request property anyOf list

    • breaking

      removed subschema #1 subschema #2 subschema #3 from the // request property anyOf list

    • info

      added subschema #1 subschema #2 subschema #3 to the // request property anyOf list

    • info

      added subschema #1 subschema #2 subschema #3 to the // request property anyOf list

    • info

      added subschema #1 subschema #2 subschema #3 to the // request property anyOf list

    • info

      added subschema #1 subschema #2 subschema #3 to the // request property anyOf list

    • info

      added subschema #1 subschema #2 subschema #3 to the // request property anyOf list