{
  "openapi": "3.0.1",
  "info": {
    "title": "GitHub User Profiles Scraper",
    "description": "GitHub User Profiles Scraper exports public GitHub developer and organisation profiles by login, URL, search, repository contributors or stargazers: name, bio, company, location, website, social links, followers, repositories, total stars, top languages, pinned repos, contributions and a lead score.",
    "version": "1.0",
    "x-build-id": "W3ShQzmNb4eyiT5NA"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/neuro-scraper~github-user-profiles-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-neuro-scraper-github-user-profiles-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/neuro-scraper~github-user-profiles-scraper/runs": {
      "post": {
        "operationId": "runs-sync-neuro-scraper-github-user-profiles-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/neuro-scraper~github-user-profiles-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-neuro-scraper-github-user-profiles-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "usernames": {
            "title": "Usernames",
            "type": "array",
            "description": "GitHub logins, e.g. torvalds, or @torvalds.",
            "items": {
              "type": "string"
            }
          },
          "profileUrls": {
            "title": "Profile URLs",
            "type": "array",
            "description": "Profile links, e.g. https://github.com/torvalds (organisation links work too).",
            "items": {
              "type": "string"
            }
          },
          "searchQueries": {
            "title": "Search developers",
            "type": "array",
            "description": "Developer searches, e.g. location:berlin language:rust followers:>100, or a plain name / keyword.",
            "items": {
              "type": "string"
            }
          },
          "sort": {
            "title": "Search sort",
            "enum": [
              "best-match",
              "followers",
              "repositories",
              "joined"
            ],
            "type": "string",
            "description": "Order of the developer search results.",
            "default": "best-match"
          },
          "sortOrder": {
            "title": "Search order",
            "enum": [
              "desc",
              "asc"
            ],
            "type": "string",
            "description": "Descending or ascending order.",
            "default": "desc"
          },
          "repoUrls": {
            "title": "Repositories (find their people)",
            "type": "array",
            "description": "Repository links or owner/repo names; the people behind them are returned (see People of a repository).",
            "items": {
              "type": "string"
            }
          },
          "repoLeadsSource": {
            "title": "People of a repository",
            "enum": [
              "contributors",
              "stargazers",
              "forkers"
            ],
            "type": "string",
            "description": "Which people of the repositories above are returned.",
            "default": "contributors"
          },
          "orgUrls": {
            "title": "Organisations (their public members)",
            "type": "array",
            "description": "Organisation links or logins; their public members are returned.",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Max profiles per search / repository / organisation",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Limit of profiles for every search query, repository and organisation (logins you list are always returned).",
            "default": 20
          },
          "includeRepositories": {
            "title": "Include the repository list",
            "type": "boolean",
            "description": "Add the user's own public repositories (name, link, stars, forks, language, description) and compute total stars, forks and top languages.",
            "default": true
          },
          "maxRepositoriesPerUser": {
            "title": "Max repositories per user",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "How many of the user's repositories (most recently pushed first) are listed and counted.",
            "default": 30
          },
          "includeLanguageStats": {
            "title": "Include language statistics",
            "type": "boolean",
            "description": "Compute top languages and total stars / forks even when the repository list itself is not output.",
            "default": true
          },
          "includeSocialAccounts": {
            "title": "Include social accounts",
            "type": "boolean",
            "description": "Add every social link of the profile (X, LinkedIn, Mastodon, Bluesky ...).",
            "default": true
          },
          "includeOrganizations": {
            "title": "Include organisations",
            "type": "boolean",
            "description": "Add the organisations the user publicly belongs to.",
            "default": true
          },
          "includePinnedRepos": {
            "title": "Include pinned repositories",
            "type": "boolean",
            "description": "Add the repositories pinned on the profile.",
            "default": true
          },
          "includeAchievements": {
            "title": "Include achievements",
            "type": "boolean",
            "description": "Add the achievement badges shown on the profile.",
            "default": true
          },
          "includeContributions": {
            "title": "Include contributions",
            "type": "boolean",
            "description": "Add the number of contributions in the last year and the first year with contributions.",
            "default": true
          },
          "includeReadme": {
            "title": "Include profile README",
            "type": "boolean",
            "description": "Add the profile README text.",
            "default": true
          },
          "includeStarred": {
            "title": "Include starred repositories",
            "type": "boolean",
            "description": "Add repositories the user starred (see Max starred).",
            "default": false
          },
          "maxStarred": {
            "title": "Max starred repositories",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "How many starred repositories to add per user.",
            "default": 30
          },
          "includeLeadScore": {
            "title": "Include lead score",
            "type": "boolean",
            "description": "Add leadScore (0-100) and leadTier (A/B/C) from followers, stars, contributions, hireable status and links.",
            "default": true
          },
          "includeOutreach": {
            "title": "Include an outreach opener",
            "type": "boolean",
            "description": "Add a short personalised first line that mentions the person's best project and languages.",
            "default": true
          },
          "minFollowers": {
            "title": "Min followers",
            "minimum": 0,
            "type": "integer",
            "description": "Only profiles with at least this many followers."
          },
          "minRepos": {
            "title": "Min public repositories",
            "minimum": 0,
            "type": "integer",
            "description": "Only profiles with at least this many public repositories."
          },
          "minStars": {
            "title": "Min total stars",
            "minimum": 0,
            "type": "integer",
            "description": "Only profiles whose own repositories have at least this many stars in total."
          },
          "minLeadScore": {
            "title": "Min lead score",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Only profiles with at least this lead score."
          },
          "hireableOnly": {
            "title": "Only available for hire",
            "type": "boolean",
            "description": "Only profiles marked as available for hire.",
            "default": false
          },
          "exportFormat": {
            "title": "Export format",
            "enum": [
              "default",
              "csv"
            ],
            "type": "string",
            "description": "Flat turns lists and objects into text so every column is one cell.",
            "default": "default"
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many profiles are processed at the same time.",
            "default": 8
          },
          "requestTimeoutSecs": {
            "title": "Request timeout (seconds)",
            "minimum": 5,
            "maximum": 300,
            "type": "integer",
            "description": "How long one request may take before it is retried.",
            "default": 40
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "GitHub works without a proxy. Set one only if your network needs it.",
            "default": {
              "useApifyProxy": false
            }
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}