{
  "openapi": "3.0.1",
  "info": {
    "title": "Company Profile Enrichment Tool — Clearbit Alternative",
    "description": "Enrich known company domains from public websites. Export company identity, descriptions, published contact links, optional technology signals, source URLs, and timestamps for CRM profile review.",
    "version": "1.0",
    "x-build-id": "ve4sIWum0tRnFJFOL"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/khadinakbar~clearbit-alternative/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-khadinakbar-clearbit-alternative",
        "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/khadinakbar~clearbit-alternative/runs": {
      "post": {
        "operationId": "runs-sync-khadinakbar-clearbit-alternative",
        "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/khadinakbar~clearbit-alternative/run-sync": {
      "post": {
        "operationId": "run-sync-khadinakbar-clearbit-alternative",
        "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": [
          "companies"
        ],
        "properties": {
          "companies": {
            "title": "Companies to enrich",
            "minItems": 1,
            "maxItems": 100,
            "type": "array",
            "description": "Provide one to 100 companies you already selected, each with a public website domain such as apify.com. Optional companyName and externalId are carried through for an auditable CRM join. This is not a free-text person search, a LinkedIn profile list, or permission to send outreach.",
            "items": {
              "type": "object",
              "properties": {
                "domain": {
                  "title": "Company website domain",
                  "type": "string",
                  "description": "Enter the company’s public domain or homepage URL, for example apify.com or https://apify.com. The Actor visits this site plus a few standard public routes and rejects private-network targets. This is not a LinkedIn, Clearbit, HubSpot, or personal-profile URL."
                },
                "companyName": {
                  "title": "Known company name",
                  "type": "string",
                  "description": "Optionally provide the company name already present in your CRM, for example Apify Technologies s.r.o. It is retained beside public website evidence and is not independently verified when the site does not state a name. This is not used to search a third-party people or company database."
                },
                "externalId": {
                  "title": "External record ID",
                  "type": "string",
                  "description": "Optionally provide your CRM or spreadsheet join key, for example crm-001. It is returned unchanged with the enrichment result so you can merge it safely. This field is not sent to public websites or used as a database lookup key."
                }
              },
              "required": [
                "domain"
              ]
            }
          },
          "maxCompanies": {
            "title": "Maximum companies to process",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Set the hard cap on distinct valid company domains in this run, from 1 through 100. It defaults to 10, so company-enriched event charges cannot exceed the selected count plus platform usage. This is a result cap, not a request to crawl the wider web.",
            "default": 10
          },
          "maxPagesPerCompany": {
            "title": "Maximum public pages per company",
            "minimum": 1,
            "maximum": 4,
            "type": "integer",
            "description": "Choose how many standard public routes to inspect: the homepage and then /about, /contact, and /team. It defaults to 3 and accepts 1 through 4 so source URLs stay bounded and reviewable. It does not enter portals, logins, or unrelated sites.",
            "default": 3
          },
          "includePublishedContacts": {
            "title": "Include website-published business contacts",
            "type": "boolean",
            "description": "When enabled, return business email and phone links visibly published on the fetched public company pages. It defaults to true and preserves supporting source URLs for review. It never guesses email patterns, unmask protected data, or validate a mailbox owner.",
            "default": true
          },
          "includeTechnologySignals": {
            "title": "Include observed technology signals",
            "type": "boolean",
            "description": "When enabled, return a small list of technologies whose public HTML asset signatures were observed during the fetch. It defaults to true and labels these as page-level observations, not a complete technology inventory. It does not infer contracts, spending, buyer intent, or internal systems.",
            "default": true
          },
          "useProxyFallback": {
            "title": "Use a managed proxy only after a block",
            "type": "boolean",
            "description": "Allow one Apify Residential proxy retry only after the direct request is blocked or transiently unavailable. It defaults to true to improve resilience while keeping direct public-site collection as the primary route. Proxy usage is additional platform usage and is not a bypass for private or restricted content.",
            "default": true
          },
          "requestTimeoutSecs": {
            "title": "Per-page request timeout seconds",
            "minimum": 5,
            "maximum": 40,
            "type": "integer",
            "description": "Set the timeout for one public webpage request, from 5 through 40 seconds. It defaults to 20 seconds and is applied independently to every bounded route and retry. This does not extend the overall Actor timeout or allow unbounded retries.",
            "default": 20
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}