{
  "openapi": "3.0.1",
  "info": {
    "title": "Domain Enrichment for Clay — Tech, DNS, WHOIS, Logo & Socials",
    "description": "Give a domain, get one company row: name, description, logo (ranked candidates), theme colour, company social profiles, contact page, generic emails, tech stack (CMS, e-commerce, analytics), MX provider, SPF/DMARC, RDAP domain age, SSL expiry. $4 per 1,000 domains; unreachable domains are free.",
    "version": "0.1",
    "x-build-id": "wC2k3dWYoSS0VNWaz"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/actor-forge~domain-enrichment/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-actor-forge-domain-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/actor-forge~domain-enrichment/runs": {
      "post": {
        "operationId": "runs-sync-actor-forge-domain-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/actor-forge~domain-enrichment/run-sync": {
      "post": {
        "operationId": "run-sync-actor-forge-domain-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": {
          "domain": {
            "title": "Domain",
            "type": "string",
            "description": "One company domain, e.g. stripe.com. A URL (https://www.stripe.com/pricing) or a work email (jane@stripe.com) also works: the company domain is taken from it. Made for Clay's \"Run Apify Actor\" column and AI agents: map your Domain column here."
          },
          "domains": {
            "title": "More domains (bulk)",
            "type": "array",
            "description": "Optional list of domains, URLs or work emails, enriched in the same run (one row each, duplicates removed). Up to 100,000 per run.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "maxDomains": {
            "title": "Max domains",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Stop after this many unique domains (a safety cap for big lists).",
            "default": 1000
          },
          "mode": {
            "title": "Mode",
            "enum": [
              "enrich",
              "contacts"
            ],
            "type": "string",
            "description": "enrich (default): the full company row described above, $0.004 per domain. contacts: company contact details only (role emails, E.164 phones, postal address, company socials, contact page) from the home page plus up to 4 contact/imprint/about pages, $0.003 per domain with contacts found. Personal emails are never returned in either mode.",
            "default": "enrich"
          },
          "fetchContactPage": {
            "title": "Read the contact page",
            "type": "boolean",
            "description": "Also fetch the contact page linked from the homepage to find generic company emails (info@, sales@, support@). One extra request per domain; same price.",
            "default": true
          },
          "includeTechnologies": {
            "title": "Detect technologies",
            "type": "boolean",
            "description": "Detect the tech stack (CMS, e-commerce platform, analytics, frameworks, CDN and 7,600+ other technologies) from the homepage. Same price.",
            "default": true
          },
          "includeWhois": {
            "title": "Domain registration (RDAP/WHOIS)",
            "type": "boolean",
            "description": "Registrar, registration and expiry dates and domain age from the registry RDAP service. No registrant or contact data is read.",
            "default": true
          },
          "includeDns": {
            "title": "DNS & email security",
            "type": "boolean",
            "description": "MX records and email provider (Google Workspace, Microsoft 365 and others), SPF and DMARC presence and policy, nameservers.",
            "default": true
          },
          "includeSsl": {
            "title": "SSL certificate",
            "type": "boolean",
            "description": "Certificate issuer, expiry date and days left on the website host.",
            "default": true
          },
          "maxPagesPerDomain": {
            "title": "Contacts mode: pages per domain",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Contacts mode only. Pages read per website, home page included; the rest are picked from its contact, imprint, about, support and legal links.",
            "default": 5
          },
          "includePhones": {
            "title": "Contacts mode: phone numbers",
            "type": "boolean",
            "description": "Contacts mode only. Company phone numbers, in E.164 where the country is clear.",
            "default": true
          },
          "includeAddress": {
            "title": "Contacts mode: postal address",
            "type": "boolean",
            "description": "Contacts mode only. The company's postal address from JSON-LD or the <address> block.",
            "default": true
          },
          "includeSocials": {
            "title": "Contacts mode: social profiles",
            "type": "boolean",
            "description": "Contacts mode only. Company social profiles (LinkedIn company pages only, never /in/ people).",
            "default": true
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}