{
  "openapi": "3.0.1",
  "info": {
    "title": "Skrap AI: All APIs in One (Verify, Find, Enrich, Search)",
    "description": "Every Skrap AI API in one actor: email verifier, email finder, domain search, decision maker finder, company contacts, company email format, reverse email lookup, LinkedIn profile and company enrichment, prospect and company search. Pick an operation, pay only for results.",
    "version": "0.0",
    "x-build-id": "JyoxRlzJzyb9yRs21"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/skrapai~all-APIs/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-skrapai-all-APIs",
        "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/skrapai~all-APIs/runs": {
      "post": {
        "operationId": "runs-sync-skrapai-all-APIs",
        "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/skrapai~all-APIs/run-sync": {
      "post": {
        "operationId": "run-sync-skrapai-all-APIs",
        "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": [
          "operation"
        ],
        "properties": {
          "operation": {
            "title": "Operation",
            "enum": [
              "verify",
              "find",
              "domain-search",
              "decision-makers",
              "company-contacts",
              "email-format",
              "reverse-email",
              "enrich-person",
              "enrich-company",
              "prospect-search",
              "company-search"
            ],
            "type": "string",
            "description": "Which Skrap API to run.",
            "default": "verify"
          },
          "emails": {
            "title": "Work emails",
            "type": "array",
            "description": "Verify emails, Reverse email lookup: Work email addresses, one per line (max 2,000).",
            "items": {
              "type": "string"
            }
          },
          "emailsText": {
            "title": "Paste emails",
            "type": "string",
            "description": "Verify emails, Reverse email lookup: Optional paste blob: emails separated by new lines, commas or semicolons. Merged with the list above."
          },
          "includeCompany": {
            "title": "Include company profile",
            "type": "boolean",
            "description": "Reverse email lookup: Also return the full company profile (industry, size, revenue, HQ …). Charged as a separate event, only when found.",
            "default": false
          },
          "peopleLines": {
            "title": "People",
            "type": "array",
            "description": "Find: one person per line, \"Full Name, domain-or-company\".",
            "items": {
              "type": "string"
            }
          },
          "people": {
            "title": "People (JSON)",
            "type": "array",
            "description": "Find: JSON list; each item needs firstName/lastName or fullName, plus domain or company."
          },
          "maxConcurrency": {
            "title": "Max concurrency (find)",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Find requests in parallel (default 5); more mostly waits in Skrap's queue.",
            "default": 5
          },
          "linkedinUrls": {
            "title": "LinkedIn profile URLs",
            "type": "array",
            "description": "Enrich LinkedIn profiles: Profile URLs, one per line (max 2,000), e.g. https://www.linkedin.com/in/jane-doe.",
            "items": {
              "type": "string"
            }
          },
          "linkedinUrlsText": {
            "title": "Paste profile URLs",
            "type": "string",
            "description": "Enrich LinkedIn profiles: Optional paste blob: URLs separated by new lines, commas or semicolons. Merged with the list above."
          },
          "includeEmail": {
            "title": "Include work email",
            "type": "boolean",
            "description": "Enrich LinkedIn profiles: Return the verified work email at the current employer when Skrap has one (never an old employer's). Charged as a separate event, only when returned.",
            "default": true
          },
          "companies": {
            "title": "Companies",
            "type": "array",
            "description": "Enrich companies, Company contacts, Decision makers: One per line (max 5,000): a domain (example.com), a website URL, a work email, or a LinkedIn company URL.",
            "items": {
              "type": "string"
            }
          },
          "includeBreakdown": {
            "title": "Include headcount breakdown",
            "type": "boolean",
            "description": "Enrich companies: Headcount by department and by country. Charged as a separate event, only when returned.",
            "default": false
          },
          "companiesText": {
            "title": "Paste companies",
            "type": "string",
            "description": "Enrich companies, Company contacts, Decision makers: Optional paste blob: separated by new lines, commas or semicolons. Merged with the list above."
          },
          "maxContactsPerCompany": {
            "title": "Max contacts per company",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Company contacts: Stop after this many people per company (1–1,000). You pay per contact returned."
          },
          "seniority": {
            "title": "Seniority",
            "type": "array",
            "description": "Company contacts, Domain search: Only these seniority levels (any when empty).",
            "items": {
              "type": "string",
              "enum": [
                "c_suite",
                "vp",
                "director",
                "manager",
                "staff",
                "other"
              ],
              "enumTitles": [
                "C-suite",
                "VP",
                "Director",
                "Manager",
                "Staff",
                "Other"
              ]
            }
          },
          "department": {
            "title": "Department",
            "type": "array",
            "description": "Company contacts, Domain search: Only these departments (any when empty).",
            "items": {
              "type": "string",
              "enum": [
                "sales",
                "marketing",
                "engineering",
                "it",
                "finance",
                "operations",
                "human_resources",
                "legal",
                "customer_service",
                "management",
                "research",
                "purchasing",
                "supply_chain",
                "manufacturing",
                "healthcare",
                "education",
                "public_sector",
                "science",
                "creative",
                "construction",
                "writing",
                "other"
              ],
              "enumTitles": [
                "Sales",
                "Marketing",
                "Engineering",
                "IT",
                "Finance",
                "Operations",
                "Human Resources",
                "Legal",
                "Customer Service",
                "Management",
                "Research",
                "Purchasing",
                "Supply Chain",
                "Manufacturing",
                "Healthcare",
                "Education",
                "Public Sector",
                "Science",
                "Creative",
                "Construction",
                "Writing",
                "Other"
              ]
            }
          },
          "country": {
            "title": "Country",
            "type": "array",
            "description": "Company contacts, Decision makers: Only people in these countries: ISO 2-letter codes, e.g. US, GB (any when empty).",
            "items": {
              "type": "string"
            }
          },
          "recentHires": {
            "title": "Recent hires only",
            "type": "boolean",
            "description": "Company contacts: Only people who started in the last 90 days.",
            "default": false
          },
          "includeEmails": {
            "title": "Include work emails",
            "type": "boolean",
            "description": "Company contacts: Verified work emails when Skrap has them (no extra cost).",
            "default": true
          },
          "role": {
            "title": "Role",
            "enum": [
              "founder_ceo",
              "sales",
              "marketing",
              "engineering",
              "hr",
              "finance",
              "operations"
            ],
            "type": "string",
            "description": "Decision makers: Which team's decision makers to find. Each role tries its job titles from the most senior down (for sales: CRO, then VP Sales, then Head of Sales …).",
            "default": "founder_ceo"
          },
          "titles": {
            "title": "Your own job titles",
            "type": "array",
            "description": "Decision makers: Optional: up to 10 job titles in order of preference, e.g. \"Head of Platform\", \"VP Engineering\". Tried before the role's titles. Put a title in [brackets] to match it exactly.",
            "items": {
              "type": "string"
            }
          },
          "maxPerCompany": {
            "title": "People per company",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Decision makers: Best matches to return per company (1–10). You pay only for people returned with a verified work email."
          },
          "domains": {
            "title": "Company domains",
            "type": "array",
            "description": "Domain search, Company email format: One per line (max 1,000): a domain (example.com), a website URL, a work email or a LinkedIn company URL. A company name also works when you have no domain.",
            "items": {
              "type": "string"
            }
          },
          "domainsText": {
            "title": "Paste domains",
            "type": "string",
            "description": "Domain search, Company email format: Optional paste blob: separated by new lines, commas or semicolons. Merged with the list above."
          },
          "maxPeoplePerCompany": {
            "title": "Max people per company",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Domain search: Stop after this many people per company (1–500). Results come in pages of 25; you pay per page."
          },
          "keywords": {
            "title": "Keywords",
            "type": "string",
            "description": "Free-text keywords for the search."
          },
          "filters": {
            "title": "Filters",
            "type": "object",
            "description": "Advanced filters as JSON: include / exclude values per filter (industry, company size, seniority, department, location …)."
          },
          "name": {
            "title": "Name",
            "type": "string",
            "description": "Person or company name to match."
          },
          "jobTitle": {
            "title": "Job title",
            "type": "string",
            "description": "Job title to match, e.g. \"VP Sales\"."
          },
          "location": {
            "title": "Location",
            "type": "string",
            "description": "Location to match, e.g. \"United States\" or \"Austin\"."
          },
          "currentCompany": {
            "title": "Current company",
            "type": "string",
            "description": "Current company to match (prospect search)."
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Stop after this many results (Apify Free: 25).",
            "default": 25
          },
          "maxPages": {
            "title": "Max pages / continue rounds",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Most result pages to read (25 results a page).",
            "default": 5
          },
          "continueSearch": {
            "title": "Continue search",
            "type": "boolean",
            "description": "Keep reading more pages until \"Max results\" is reached (default on).",
            "default": true
          },
          "enrichFirmographics": {
            "title": "Enrich firmographics",
            "type": "boolean",
            "description": "Add company details to each result when known: industry, headcount, headquarters, founded year, revenue (no extra charge).",
            "default": false
          },
          "getEmails": {
            "title": "Get emails",
            "type": "boolean",
            "description": "Prospect search, Company search, Domain search: find and verify the work email of each result. Charged as a separate event per valid or risky email found.",
            "default": false
          },
          "includeEmployees": {
            "title": "Include employees",
            "type": "boolean",
            "description": "Company search: also list people who work at each company. Charged as a separate event per company whose list is returned.",
            "default": false
          },
          "maxEmployees": {
            "title": "Max employees per company",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "People kept per company (1–100).",
            "default": 25
          },
          "inputText": {
            "title": "Paste people",
            "type": "string",
            "description": "Find: Optional paste blob: one person per line (or separated by semicolons). Format: Name, domain-or-company. Merged with People above."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}