Get users by GitHub node IDs

Fetch GitHub users by their node IDs. Supports batch requests (1-100 IDs). Requires RAW service. Credits: 1 per result returned + graph relationship credits if includeAttributes is specified.

post/api/raw/users

Request body

githubIdsstring[] required

Array of GitHub node IDs (1-100)

Example request

{
  "githubIds": [
    "MDQ6VXNlcjU4MzIzMQ==",
    "MDQ6VXNlcjE="
  ],
  "includeAttributes": {
    "followers": {
      "first": 10
    },
    "stars": {
      "first": 10
    }
  }
}

Response

Users retrieved successfully

countnumber required

Number of 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": [
        "octocat@github.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,
      "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": [
              "octocat@github.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": [
              "octocat@github.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": [
                "octocat@github.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": [
                    "octocat@github.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": [
                    "octocat@github.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": [
                "octocat@github.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": [
                    "octocat@github.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": [
                    "octocat@github.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": [
                "octocat@github.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": [
                    "octocat@github.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": [
                    "octocat@github.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