{
  "openapi": "3.0.1",
  "info": {
    "title": "GitHub Contributors Email Scraper",
    "description": "Find contributors in public GitHub repositories or a public organization. Get contribution counts and ranks, public account details including emails when GitHub exposes them, repository context, and optional profile or commit evidence in an Apify dataset.",
    "version": "0.0",
    "x-build-id": "2WAW1t5l8Y1P9PUF0"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/maximedupre~github-contributors/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-maximedupre-github-contributors",
        "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/maximedupre~github-contributors/runs": {
      "post": {
        "operationId": "runs-sync-maximedupre-github-contributors",
        "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/maximedupre~github-contributors/run-sync": {
      "post": {
        "operationId": "run-sync-maximedupre-github-contributors",
        "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",
        "required": [
          "discoveryMethod"
        ],
        "properties": {
          "discoveryMethod": {
            "title": "Find contributors from",
            "enum": [
              "repositories",
              "organization"
            ],
            "type": "string",
            "description": "Choose how to find contributors. Public repositories use the repository URLs below. A GitHub organization first finds its public repositories."
          },
          "repositories": {
            "title": "Repository URLs",
            "minItems": 1,
            "type": "array",
            "description": "Add one or more public GitHub repository URLs. Private repositories are not read. This field is used when Public repositories is selected.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "organization": {
            "title": "GitHub organization",
            "minLength": 1,
            "type": "string",
            "description": "Enter one public GitHub organization name or URL. This option finds the organization's public repositories before collecting contributors. Values here are ignored when another source is selected."
          },
          "minimumContributions": {
            "title": "Minimum contributions",
            "minimum": 1,
            "type": "integer",
            "description": "Keep contributors with at least this many contributions in each source repository. Leave empty to include all contributors."
          },
          "botAccountFilter": {
            "title": "Bot accounts",
            "enum": [
              "all",
              "excludeBots",
              "botsOnly"
            ],
            "type": "string",
            "description": "Choose which account types to keep. Include all accounts keeps both bots and people."
          },
          "maxItems": {
            "title": "Maximum contributor records",
            "minimum": 1,
            "type": "integer",
            "description": "Stop after this many contributor records across the run. Leave empty to return all available results until the source is exhausted. A limit can make the run incomplete."
          },
          "includeProfileEnrichment": {
            "title": "Include profile enrichment",
            "type": "boolean",
            "description": "Request public profile fields such as name, bio, company, location, website, follower counts, repository and gist counts, hireability, account dates, organizations, and linked social accounts.",
            "default": false
          },
          "profileEmailAvailability": {
            "title": "Public email filter",
            "enum": [
              "any",
              "noPublicEmail"
            ],
            "type": "string",
            "description": "When profile enrichment is on, keep profiles with no public email when set to No public email. Leave this at Any to skip the filter."
          },
          "profileHireability": {
            "title": "Hireability filter",
            "enum": [
              "any",
              "hireable",
              "notHireable"
            ],
            "type": "string",
            "description": "When profile enrichment is on, keep profiles by their public hireability value. Leave this at Any to skip this filter."
          },
          "profileLocations": {
            "title": "Profile locations",
            "minItems": 1,
            "type": "array",
            "description": "When profile enrichment is on, add one or more public location terms. Leave empty to skip this filter.",
            "items": {
              "type": "string"
            }
          },
          "profileLanguages": {
            "title": "Profile languages",
            "minItems": 1,
            "type": "array",
            "description": "When profile enrichment is on, add one or more public language names. Leave empty to skip this filter.",
            "items": {
              "type": "string"
            }
          },
          "minimumFollowers": {
            "title": "Minimum followers",
            "minimum": 0,
            "type": "integer",
            "description": "When profile enrichment is on, keep profiles with at least this many followers. Leave empty to skip this filter."
          },
          "includeCommitEvidence": {
            "title": "Include commit evidence",
            "type": "boolean",
            "description": "Request public commit-author email evidence with commit links, identifiers, author data, timestamps, message context, linked accounts, and provenance.",
            "default": false
          },
          "commitBranch": {
            "title": "Commit branch",
            "minLength": 1,
            "type": "string",
            "description": "When commit evidence is on, use this branch for every selected repository. Leave empty to use each repository's default branch. This value is ignored when commit evidence is off."
          },
          "commitStartDate": {
            "title": "Commit start date",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "When commit evidence is on, include commits on or after this UTC calendar date. Leave empty for no start date."
          },
          "commitEndDate": {
            "title": "Commit end date",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "When commit evidence is on, include commits on or before this UTC calendar date. Leave empty for no end date."
          },
          "includeNoreplyAddresses": {
            "title": "Include GitHub noreply addresses",
            "type": "boolean",
            "description": "When commit evidence is on, include privacy-protecting GitHub noreply addresses. Leave off to exclude those addresses. This value is ignored when commit evidence is off.",
            "default": 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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}