{
  "openapi": "3.0.1",
  "info": {
    "title": "GitHub Profile Scraper & Lead Finder | Stars, LinkedIn, Score",
    "description": "Scrape GitHub profiles via the official API, or pull every stargazer/forker of a repo as warm leads. Get email, LinkedIn & social accounts, repos, stars, top languages, orgs, README — plus a 0-100 lead score, developer tier & outreach icebreaker. CSV export. $1.9/1K.",
    "version": "1.2",
    "x-build-id": "4o4fELIrjZJ10GkB5"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/apivault_labs~github-profile-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-apivault_labs-github-profile-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/apivault_labs~github-profile-scraper/runs": {
      "post": {
        "operationId": "runs-sync-apivault_labs-github-profile-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/apivault_labs~github-profile-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-apivault_labs-github-profile-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": {
          "profileUrls": {
            "title": "GitHub Profile URLs or Usernames",
            "type": "array",
            "description": "GitHub profile URLs (https://github.com/NAME) or bare usernames. Leave empty if you only use Repo lead mode below.",
            "items": {
              "type": "string"
            }
          },
          "repoUrls": {
            "title": "Repo URLs → extract stargazers / forkers as leads",
            "type": "array",
            "description": "Lead mode. Paste repository URLs (https://github.com/OWNER/REPO or OWNER/REPO). The actor pulls every stargazer (or forker) of those repos and turns each into a full lead profile with a lead score. Find every developer who starred a competitor's repo.",
            "items": {
              "type": "string"
            }
          },
          "repoLeadsSource": {
            "title": "Lead source (for Repo URLs)",
            "enum": [
              "stargazers",
              "forkers"
            ],
            "type": "string",
            "description": "Which audience to extract from each repo in Repo lead mode.",
            "default": "stargazers"
          },
          "maxLeadsPerRepo": {
            "title": "Max leads per repo",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Cap on how many stargazers/forkers to pull per repo (each becomes one billed profile lookup).",
            "default": 50
          },
          "extractRepos": {
            "title": "Aggregate repositories (stars, languages, top repo)",
            "type": "boolean",
            "description": "Fetch the user's public repos to compute total stars, total forks, top languages and the most-starred repo. Adds one extra API call per profile.",
            "default": true
          },
          "includeRepoList": {
            "title": "Include full repository list",
            "type": "boolean",
            "description": "Output the repos[] array with per-repo details: stars, forks, watchers, open issues, language, topics, license, isFork, timestamps.",
            "default": false
          },
          "maxRepos": {
            "title": "Max repos per user",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Cap on repos sampled per user (sorted by stars, GitHub page ceiling = 100).",
            "default": 100
          },
          "includeLanguageStats": {
            "title": "Bytes-weighted language % stats",
            "type": "boolean",
            "description": "Compute real language distribution (percent of code bytes) aggregated over the user's top repos. Adds extra API calls per profile.",
            "default": false
          },
          "includeSocialAccounts": {
            "title": "Social accounts (LinkedIn / X / YouTube / Mastodon …)",
            "type": "boolean",
            "description": "Fetch all linked social accounts from the profile. LinkedIn is surfaced as a dedicated field and boosts the lead score.",
            "default": true
          },
          "includeOrganizations": {
            "title": "Organizations",
            "type": "boolean",
            "description": "Include the public organizations the user belongs to.",
            "default": false
          },
          "includeStarred": {
            "title": "Starred repositories",
            "type": "boolean",
            "description": "Include a sample of the repositories the user has starred (signals interests / tech stack).",
            "default": false
          },
          "maxStarred": {
            "title": "Max starred repos",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Cap on starred repos returned per user.",
            "default": 30
          },
          "includeReadme": {
            "title": "Profile README",
            "type": "boolean",
            "description": "Include the text of the user's profile README (the special USER/USER repo shown on their profile page).",
            "default": false
          },
          "includeAchievements": {
            "title": "Achievements & highlights (badges)",
            "type": "boolean",
            "description": "Include GitHub achievement badges (Pull Shark, Starstruck, Arctic Code Vault, etc.) and account highlights (Pro / Developer Program / Public Sponsor). Parsed from the profile page.",
            "default": false
          },
          "includePinnedRepos": {
            "title": "Pinned repositories",
            "type": "boolean",
            "description": "Include the repositories the user pinned to their profile, enriched with stars, forks, language and topics. Best paired with repo aggregation.",
            "default": false
          },
          "includeContributions": {
            "title": "Contributions in the last year",
            "type": "boolean",
            "description": "Include the user's total public contribution count over the last year (a strong activity signal for recruiting).",
            "default": false
          },
          "exportFormat": {
            "title": "Export format",
            "enum": [
              "default",
              "csv"
            ],
            "type": "string",
            "description": "default = full JSON record. csv = flat, sales-friendly row for Google Sheets / HubSpot / Pipedrive.",
            "default": "default"
          },
          "includeLeadScore": {
            "title": "Lead score + tier",
            "type": "boolean",
            "description": "Add a 0-100 lead score with tier (cold/warm/hot/scorching) and reasons, computed from followers, stars, repos, account age, email, LinkedIn, company and hireable status.",
            "default": true
          },
          "includeOutreach": {
            "title": "Outreach helpers (icebreaker + best contact)",
            "type": "boolean",
            "description": "Add a ready-to-send outreach icebreaker and a bestContact picker (email > LinkedIn > website > Twitter).",
            "default": true
          },
          "minLeadScore": {
            "title": "Minimum lead score (0-100)",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Drop profiles below this lead score. 0 = keep all.",
            "default": 0
          },
          "minFollowers": {
            "title": "Minimum followers",
            "minimum": 0,
            "type": "integer",
            "description": "Drop profiles with fewer followers. 0 = keep all.",
            "default": 0
          },
          "minRepos": {
            "title": "Minimum public repos",
            "minimum": 0,
            "type": "integer",
            "description": "Drop profiles with fewer public repos. 0 = keep all.",
            "default": 0
          },
          "minStars": {
            "title": "Minimum total stars",
            "minimum": 0,
            "type": "integer",
            "description": "Drop profiles with fewer total stars across their repos. Requires repo aggregation. 0 = keep all.",
            "default": 0
          },
          "hireableOnly": {
            "title": "Only hireable (open to work)",
            "type": "boolean",
            "description": "Keep only profiles flagged as available for hire.",
            "default": false
          },
          "withEmailOnly": {
            "title": "Only profiles with a public email",
            "type": "boolean",
            "description": "Keep only profiles that expose a public email (hottest leads).",
            "default": false
          },
          "githubToken": {
            "title": "GitHub token (optional)",
            "type": "string",
            "description": "Optional personal access token. Without it GitHub allows ~60 requests/hour per IP (the actor rotates proxy IPs to spread these). A token raises the limit to 5000/hour — recommended for large batches and lead mode. Read-only, no scopes needed."
          },
          "maxConcurrency": {
            "title": "Max parallel requests",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many profiles to fetch in parallel.",
            "default": 5
          },
          "timeout": {
            "title": "Timeout per request (seconds)",
            "minimum": 10,
            "maximum": 120,
            "type": "integer",
            "description": "Max wait time per API request.",
            "default": 30
          },
          "maxRetries": {
            "title": "Retries on rate limit / error",
            "minimum": 0,
            "maximum": 4,
            "type": "integer",
            "description": "Retry attempts (with a rotated IP) when a request is rate-limited or errors.",
            "default": 2
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}