{
  "openapi": "3.0.1",
  "info": {
    "title": "GTM Account Enrichment: Contacts, Tech, Hiring & Fit Score",
    "description": "Turn a list of company domains into scored target accounts. One row per company with emails, phones, social links, tech stack, open jobs, verified people emails and an ICP fit score. Sends results to Zapier, Make, n8n or Clay.",
    "version": "0.1",
    "x-build-id": "cWIZcjzZ0H18Fg3cb"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/capable_cauldron~gtm-account-enrichment/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-capable_cauldron-gtm-account-enrichment",
        "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/capable_cauldron~gtm-account-enrichment/runs": {
      "post": {
        "operationId": "runs-sync-capable_cauldron-gtm-account-enrichment",
        "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/capable_cauldron~gtm-account-enrichment/run-sync": {
      "post": {
        "operationId": "run-sync-capable_cauldron-gtm-account-enrichment",
        "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": {
          "companies": {
            "title": "Target companies",
            "type": "array",
            "description": "Company domains or websites, one per line (acme.com, https://www.acme.com). Each becomes one account row.",
            "items": {
              "type": "string"
            }
          },
          "datasetId": {
            "title": "Or read websites from a dataset",
            "type": "string",
            "description": "ID of a dataset from another run, for example a Google Maps or directory scrape. Websites are read from the field below and added to the target companies."
          },
          "websiteField": {
            "title": "Website field in that dataset",
            "type": "string",
            "description": "Which field of the dataset holds the website. Google Maps Scraper uses website.",
            "default": "website"
          },
          "people": {
            "title": "People to find emails for",
            "type": "array",
            "description": "Optional decision makers. Each entry is a LinkedIn profile URL, a \"Full Name, domain.com\" line, or {\"fullName\", \"domain\"}. Their verified work emails are attached to the matching account."
          },
          "targetTechnologies": {
            "title": "Technologies your ideal customer uses",
            "type": "array",
            "description": "Accounts using any of these score higher, for example HubSpot, Salesforce, Shopify, Stripe, Intercom.",
            "items": {
              "type": "string"
            }
          },
          "hiringKeywords": {
            "title": "Hiring keywords that signal intent",
            "type": "array",
            "description": "Job title words that mean an account is ready to buy, for example sales, SDR, RevOps, data engineer. Whole words only, so sales does not match Salesforce.",
            "items": {
              "type": "string"
            }
          },
          "minFitScore": {
            "title": "Minimum fit score",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Only output and deliver accounts scoring at least this much (0 to 100). Every account is still enriched.",
            "default": 0
          },
          "findContacts": {
            "title": "Find company emails, phones and social profiles",
            "type": "boolean",
            "description": "Crawl each company website for contact details.",
            "default": true
          },
          "detectTechStack": {
            "title": "Detect tech stack",
            "type": "boolean",
            "description": "Identify the CMS, CRM, analytics, chat, payment and other tools on each website.",
            "default": true
          },
          "findHiringSignals": {
            "title": "Find open jobs (hiring signals)",
            "type": "boolean",
            "description": "Read each company's public job board on Greenhouse, Lever, Ashby, Workable or SmartRecruiters.",
            "default": true
          },
          "findEmails": {
            "title": "Find verified emails for people",
            "type": "boolean",
            "description": "Find verified work emails for the people listed above. On automatically when people are listed.",
            "default": true
          },
          "validateEmails": {
            "title": "Validate company emails",
            "type": "boolean",
            "description": "Check the emails found on websites for MX records, disposable domains and shared inboxes, and split them into valid and risky.",
            "default": true
          },
          "maxPagesPerWebsite": {
            "title": "Max pages per website (contacts step)",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Pages read on each website to find contact details. Contact and about pages are read first.",
            "default": 5
          },
          "webhookUrl": {
            "title": "Webhook URL",
            "type": "string",
            "description": "Optional https URL that receives the finished accounts as JSON, in batches of 100: a Zapier or Make catch hook, an n8n webhook, a Clay table webhook, or your own endpoint."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}