{
  "openapi": "3.0.1",
  "info": {
    "title": "Torre Scraper",
    "version": "0.1",
    "x-build-id": "hxn4zcqwgLHc1SHhx"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/acquistion-automation~torre-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-acquistion-automation-torre-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/acquistion-automation~torre-scraper/runs": {
      "post": {
        "operationId": "runs-sync-acquistion-automation-torre-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/acquistion-automation~torre-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-acquistion-automation-torre-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": {
          "searchTerm": {
            "title": "Skill or role",
            "type": "string",
            "description": "Skill or role to search for, for example 'python', 'product manager' or 'react'. Torre matches this against both skills and job titles."
          },
          "handles": {
            "title": "Specific Torre usernames",
            "type": "array",
            "description": "Optional. Fetch these exact Torre usernames instead of running a search. One username per line, without the @. When set, the search filters below are ignored.",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Max Items",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Free users: limited to 10 items (preview). Paid users: up to 1,000,000."
          },
          "experience": {
            "title": "Minimum experience",
            "enum": [
              "1-plus-year",
              "2-plus-years",
              "3-plus-years",
              "4-plus-years",
              "5-plus-years",
              "7-plus-years",
              "10-plus-years",
              "potential-to-develop"
            ],
            "type": "string",
            "description": "Minimum years of experience with the skill. Cannot be combined with proficiency; if both are set, experience wins.",
            "default": "1-plus-year"
          },
          "proficiency": {
            "title": "Proficiency",
            "enum": [
              "expert",
              "proficient",
              "novice",
              "no-experience-interested"
            ],
            "type": "string",
            "description": "Self-reported proficiency level with the skill. Used only when Minimum experience is left empty."
          },
          "remoteOnly": {
            "title": "Remote workers only",
            "type": "boolean",
            "description": "Only return people who are open to remote work.",
            "default": false
          },
          "openTo": {
            "title": "Open to",
            "enum": [
              "full-time-employment",
              "flexible-jobs",
              "internships",
              "hiring",
              "mentoring",
              "networking"
            ],
            "type": "string",
            "description": "What the person is currently open to. These are Torre's own canonical values."
          },
          "languageCode": {
            "title": "Speaks language",
            "enum": [
              "en",
              "es",
              "pt",
              "hi",
              "fr",
              "de",
              "it",
              "ur",
              "ar",
              "te",
              "ja",
              "ru",
              "ta",
              "zh",
              "mr",
              "sw",
              "kn",
              "pa",
              "bn",
              "tr"
            ],
            "type": "string",
            "description": "ISO 639-1 code of a language the person speaks. Requires a fluency level."
          },
          "languageFluency": {
            "title": "Language fluency",
            "enum": [
              "fully-fluent",
              "conversational",
              "reading"
            ],
            "type": "string",
            "description": "Fluency level for the language above. Torre rejects any other value.",
            "default": "fully-fluent"
          },
          "timezoneFrom": {
            "title": "Timezone from",
            "enum": [
              "GMT-10:00",
              "GMT-09:00",
              "GMT-08:00",
              "GMT-07:00",
              "GMT-06:00",
              "GMT-05:00",
              "GMT-04:00",
              "GMT-03:00",
              "GMT",
              "GMT+01:00",
              "GMT+02:00",
              "GMT+03:00",
              "GMT+03:30",
              "GMT+04:00",
              "GMT+04:30",
              "GMT+05:00",
              "GMT+05:30",
              "GMT+05:45",
              "GMT+06:00",
              "GMT+07:00",
              "GMT+08:00",
              "GMT+09:00",
              "GMT+09:30",
              "GMT+10:00",
              "GMT+12:00"
            ],
            "type": "string",
            "description": "Start of the GMT offset range the person works in. Set both ends to the same value to target one offset."
          },
          "timezoneTo": {
            "title": "Timezone to",
            "enum": [
              "GMT-10:00",
              "GMT-09:00",
              "GMT-08:00",
              "GMT-07:00",
              "GMT-06:00",
              "GMT-05:00",
              "GMT-04:00",
              "GMT-03:00",
              "GMT",
              "GMT+01:00",
              "GMT+02:00",
              "GMT+03:00",
              "GMT+03:30",
              "GMT+04:00",
              "GMT+04:30",
              "GMT+05:00",
              "GMT+05:30",
              "GMT+05:45",
              "GMT+06:00",
              "GMT+07:00",
              "GMT+08:00",
              "GMT+09:00",
              "GMT+09:30",
              "GMT+10:00",
              "GMT+12:00"
            ],
            "type": "string",
            "description": "End of the GMT offset range. Requires Timezone from."
          },
          "compensationMin": {
            "title": "Minimum pay expectation",
            "type": "number",
            "description": "Lowest acceptable pay expectation, in the currency and period below. Decimals are allowed."
          },
          "compensationMax": {
            "title": "Maximum pay expectation",
            "type": "number",
            "description": "Highest acceptable pay expectation. Requires a minimum."
          },
          "compensationCurrency": {
            "title": "Pay currency",
            "enum": [
              "USD$",
              "EUR€",
              "GBP£",
              "COP$",
              "MXN$",
              "BRL R$",
              "ARS$"
            ],
            "type": "string",
            "description": "Currency for the pay range above.",
            "default": "USD$"
          },
          "compensationPeriodicity": {
            "title": "Pay period",
            "enum": [
              "hourly",
              "monthly",
              "yearly"
            ],
            "type": "string",
            "description": "Period the pay range refers to.",
            "default": "monthly"
          },
          "includeGenome": {
            "title": "Fetch full genome",
            "type": "boolean",
            "description": "Fetch each person's full Torre genome. Required by every block below. Adds one request per person.",
            "default": false
          },
          "includeExperience": {
            "title": "Work history",
            "type": "boolean",
            "description": "Full job history with employers, dates and responsibilities. Requires the genome.",
            "default": false
          },
          "includeEducation": {
            "title": "Education",
            "type": "boolean",
            "description": "Degrees, institutions and dates. Requires the genome.",
            "default": false
          },
          "includeSkillsDetailed": {
            "title": "Detailed skills",
            "type": "boolean",
            "description": "Skills with proficiency, recommendation counts and weight, instead of the flat name list in the search row. Requires the genome.",
            "default": false
          },
          "includeContactLinks": {
            "title": "Contact links",
            "type": "boolean",
            "description": "Public external links the person published on their profile, such as GitHub, LinkedIn or a personal site. Requires the genome.",
            "default": false
          },
          "includeLanguages": {
            "title": "Languages",
            "type": "boolean",
            "description": "Languages with fluency levels. Requires the genome.",
            "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
                  },
                  "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}