{
  "openapi": "3.0.1",
  "info": {
    "title": "Google X-Ray Lead Finder: LinkedIn & GitHub Leads",
    "description": "Build Google x-ray queries for LinkedIn people and companies, GitHub developers and German-style Impressum pages, then parse each hit into a lead row with name, headline, company, location, profile URL and snippet.",
    "version": "0.1",
    "x-build-id": "dJ6tdg9v2Hh2SRWpG"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/xyrelith-data~google-xray-lead-finder/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-xyrelith-data-google-xray-lead-finder",
        "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/xyrelith-data~google-xray-lead-finder/runs": {
      "post": {
        "operationId": "runs-sync-xyrelith-data-google-xray-lead-finder",
        "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/xyrelith-data~google-xray-lead-finder/run-sync": {
      "post": {
        "operationId": "run-sync-xyrelith-data-google-xray-lead-finder",
        "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": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "What do you want to find?",
            "enum": [
              "linkedinPeople",
              "linkedinCompanies",
              "githubDevelopers",
              "impressum",
              "custom"
            ],
            "type": "string",
            "description": "Choose a ready-made x-ray target or write your own Google query.",
            "default": "linkedinPeople"
          },
          "maxResultsPerQuery": {
            "title": "Results per query",
            "minimum": 1,
            "maximum": 300,
            "type": "integer",
            "description": "How many Google hits to read per query. Google exposes roughly 300 results per query, so values above 300 are not useful.",
            "default": 25
          },
          "maxItems": {
            "title": "Maximum leads in total",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Stop after this many lead rows across all generated queries.",
            "default": 100
          },
          "countryCode": {
            "title": "Google country",
            "enum": [
              "us",
              "uk",
              "ca",
              "au",
              "de",
              "fr",
              "es",
              "it",
              "br",
              "mx",
              "in",
              "jp",
              "kr",
              "nl",
              "be",
              "at",
              "ch",
              "se",
              "no",
              "dk",
              "fi",
              "pl",
              "cz",
              "pt",
              "ie",
              "nz",
              "za",
              "sg",
              "hk",
              "tw",
              "ph",
              "th",
              "id",
              "my",
              "vn",
              "ar",
              "cl",
              "co",
              "pe",
              "tr",
              "ru",
              "ua",
              "il",
              "ae",
              "sa",
              "eg",
              "ng",
              "ke"
            ],
            "type": "string",
            "description": "Google domain and country signal for the search. LinkedIn and GitHub results are global, but this changes ranking and language of the results page.",
            "default": "us"
          },
          "languageCode": {
            "title": "Google interface language",
            "enum": [
              "",
              "en",
              "de",
              "fr",
              "es",
              "it",
              "pt",
              "nl",
              "pl",
              "cs",
              "sv",
              "no",
              "da",
              "fi",
              "tr",
              "ru",
              "uk",
              "ar",
              "he",
              "hi",
              "ja",
              "ko",
              "zh-CN",
              "zh-TW",
              "id",
              "th",
              "vi",
              "ms",
              "ro",
              "hu",
              "el"
            ],
            "type": "string",
            "description": "Language of the Google results page. Leave empty to use English. This does not filter the language of the profile itself.",
            "default": ""
          },
          "dedupe": {
            "title": "Remove duplicates",
            "type": "boolean",
            "description": "Keep one row per profile or Impressum URL when several queries find the same lead.",
            "default": true
          },
          "jobTitle": {
            "title": "Job title",
            "type": "string",
            "description": "LinkedIn people mode: the role you are looking for, e.g. machine learning engineer or head of sales. Keep it short; Google matches the words on the public profile."
          },
          "company": {
            "title": "Company",
            "type": "string",
            "description": "LinkedIn people mode: only profiles that mention this company, e.g. Stripe."
          },
          "keywords": {
            "title": "Keywords",
            "type": "string",
            "description": "LinkedIn people, LinkedIn companies and GitHub mode: comma-separated words or phrases that should appear in the result, e.g. fintech, python."
          },
          "location": {
            "title": "Location",
            "type": "string",
            "description": "LinkedIn people, LinkedIn companies and GitHub mode: a city, region or country, e.g. Berlin or Greater London."
          },
          "seniority": {
            "title": "Seniority",
            "enum": [
              "",
              "intern",
              "junior",
              "mid",
              "senior",
              "lead",
              "manager",
              "director",
              "c-level",
              "founder"
            ],
            "type": "string",
            "description": "LinkedIn people mode: add common synonyms for this level to the query. The actor does not discard results that omit the word.",
            "default": ""
          },
          "companySize": {
            "title": "Company size",
            "enum": [
              "",
              "1-10",
              "11-50",
              "51-200",
              "201-500",
              "501-1000",
              "1001-5000",
              "5001-10000",
              "10001+"
            ],
            "type": "string",
            "description": "LinkedIn companies mode: a size band to include in the query.",
            "default": ""
          },
          "githubLanguage": {
            "title": "Programming language",
            "enum": [
              "",
              "Python",
              "JavaScript",
              "TypeScript",
              "Java",
              "Go",
              "Rust",
              "C",
              "C++",
              "C#",
              "Ruby",
              "PHP",
              "Swift",
              "Kotlin",
              "Scala",
              "R",
              "MATLAB",
              "SQL",
              "Shell",
              "PowerShell",
              "Perl",
              "Haskell",
              "Elixir",
              "Erlang",
              "Clojure",
              "Dart",
              "Lua",
              "Julia",
              "Objective-C",
              "F#",
              "Groovy",
              "Visual Basic",
              "Assembly",
              "Solidity",
              "Zig",
              "Nim",
              "OCaml",
              "Racket",
              "Fortran",
              "COBOL",
              "Delphi",
              "Vue",
              "Svelte",
              "HTML",
              "CSS",
              "Jupyter Notebook"
            ],
            "type": "string",
            "description": "GitHub mode: language the developer should mention on their public profile.",
            "default": "Python"
          },
          "industry": {
            "title": "Industry or trade",
            "type": "string",
            "description": "Impressum mode: the trade or industry to search for, e.g. Softwareentwicklung, Webagentur, Steuerberater."
          },
          "city": {
            "title": "City",
            "type": "string",
            "description": "Impressum mode: a city or region in Germany, Austria or Switzerland, e.g. Berlin or Wien."
          },
          "impressumCountry": {
            "title": "Country",
            "enum": [
              "de",
              "at",
              "ch",
              "dach"
            ],
            "type": "string",
            "description": "Impressum mode: search one country or all three DACH markets.",
            "default": "de"
          },
          "customQueries": {
            "title": "Custom x-ray queries",
            "type": "array",
            "description": "Custom mode: one or more complete Google queries, e.g. site:linkedin.com/in \"data engineer\" \"Austin\". Each line is searched separately.",
            "items": {
              "type": "string"
            }
          },
          "excludeTerms": {
            "title": "Exclude terms",
            "type": "string",
            "description": "Words to exclude from every query, separated by commas or spaces. They are added as -word."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}