{
  "openapi": "3.0.1",
  "info": {
    "title": "Company Enrichment Tool & API: Domain to Tech, Jobs, Socials",
    "description": "Enrich company data from a domain into one compact JSON profile: website metadata, socials, public contacts, tech stack, open jobs, recent news, Google ads activity and AI-crawler policy. Built for AI agents, CRMs and sales research. No guessed emails.",
    "version": "0.1",
    "x-build-id": "TGUpi1lAiIulhTdrM"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/data-done-right~company-enrichment-api/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-data-done-right-company-enrichment-api",
        "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/data-done-right~company-enrichment-api/runs": {
      "post": {
        "operationId": "runs-sync-data-done-right-company-enrichment-api",
        "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/data-done-right~company-enrichment-api/run-sync": {
      "post": {
        "operationId": "run-sync-data-done-right-company-enrichment-api",
        "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": [
          "domains"
        ],
        "properties": {
          "domains": {
            "title": "Company domains",
            "type": "array",
            "description": "One or more company domains or website URLs (stripe.com, https://www.hubspot.com/). One snapshot per domain.",
            "items": {
              "type": "string"
            }
          },
          "maxDomains": {
            "title": "Max domains",
            "minimum": 1,
            "type": "integer",
            "description": "Only the first N domains are processed (caps run time and cost).",
            "default": 1000
          },
          "sections": {
            "title": "Sections",
            "type": "array",
            "description": "Pick only the sections you need for faster runs. Leave empty for all sections.",
            "items": {
              "type": "string",
              "enum": [
                "website",
                "socials",
                "contacts",
                "techFromWebsite",
                "techFromJobs",
                "jobs",
                "news",
                "ads",
                "aiCrawlers"
              ],
              "enumTitles": [
                "Website (meta, Open Graph, JSON-LD, sitemap size)",
                "Social profiles",
                "Public contacts (emails, phones, address)",
                "Tech stack from the website",
                "Tech mentioned in job posts",
                "Open jobs (job board)",
                "Recent news (Google News)",
                "Google ads activity",
                "AI crawler policy (robots.txt)"
              ]
            },
            "default": []
          },
          "newsDays": {
            "title": "News window (days)",
            "minimum": 1,
            "maximum": 365,
            "type": "integer",
            "description": "Only news from the last N days.",
            "default": 30
          },
          "newsQuery": {
            "title": "News query template",
            "type": "string",
            "description": "Google News query per domain. {name} is the detected brand name, {domain} the domain. Default: \"{name}\" (quoted). For brands that are common words, add context, e.g. \"{name}\" software OR \"{domain}\"."
          },
          "maxNews": {
            "title": "Max headlines",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Most recent headlines kept in the news section.",
            "default": 10
          },
          "newsLanguage": {
            "title": "News language",
            "type": "string",
            "description": "Google News interface language, e.g. en-US, en-GB, de, fr.",
            "default": "en-US"
          },
          "newsCountry": {
            "title": "News country",
            "type": "string",
            "description": "2-letter Google News edition, e.g. US, GB, DE.",
            "default": "US"
          },
          "adsRegion": {
            "title": "Ads region",
            "type": "string",
            "description": "2-letter country code where the ads were shown, or 'anywhere'.",
            "default": "anywhere"
          },
          "maxJobsAnalyzed": {
            "title": "Max jobs analyzed (Workday, SmartRecruiters)",
            "minimum": 20,
            "maximum": 1000,
            "type": "integer",
            "description": "Paginated job boards stop after this many jobs; the true open-job total is still reported.",
            "default": 200
          },
          "sectionTimeoutSecs": {
            "title": "Section timeout (seconds)",
            "minimum": 15,
            "maximum": 300,
            "type": "integer",
            "description": "Each section gives up after this long and reports 'unavailable' instead of holding up the snapshot.",
            "default": 60
          },
          "maxConcurrency": {
            "title": "Domains in parallel",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "How many domains are processed at the same time.",
            "default": 3
          },
          "proxyConfiguration": {
            "title": "Proxy for websites and job boards",
            "type": "object",
            "description": "Optional. By default company websites and job-board APIs are fetched directly.",
            "default": {
              "useApifyProxy": false
            }
          },
          "googleProxyConfiguration": {
            "title": "Proxy for Google News and Google Ads",
            "type": "object",
            "description": "Google throttles cloud IPs, so residential proxy is the default for the news and ads sections.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}