{
  "openapi": "3.0.1",
  "info": {
    "title": "Website Contact Finder — Pay Only When Found",
    "description": "Finds public business emails, phone numbers, social links and addresses on company websites. $0.004 per website, charged only when an email or phone is found; blocked, empty and failed websites are free. Hard page cap per site, honest failure statuses, plain HTTP.",
    "version": "0.1",
    "x-build-id": "87bpOzGXoaiQBpYtg"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/teal_blacksmith~website-contact-finder/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-teal_blacksmith-website-contact-finder",
        "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/teal_blacksmith~website-contact-finder/runs": {
      "post": {
        "operationId": "runs-sync-teal_blacksmith-website-contact-finder",
        "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/teal_blacksmith~website-contact-finder/run-sync": {
      "post": {
        "operationId": "run-sync-teal_blacksmith-website-contact-finder",
        "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": [
          "websites"
        ],
        "properties": {
          "websites": {
            "title": "Websites",
            "minItems": 1,
            "maxItems": 1000,
            "type": "array",
            "description": "Up to 1000 company or organization websites per run, as domains (example.com) or URLs. A domain without a scheme is tried over https first, then http, then with www. Social networks, forums, people-search sites and job-profile sites are refused and not charged. The same website listed twice is read and charged once.",
            "items": {
              "type": "string"
            }
          },
          "maxPagesPerSite": {
            "title": "Max pages per website",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Hard cap on page requests per website, redirects included. The Actor never sends more than this many page requests to one website (plus at most 4 requests for robots.txt). It does not change the price: a website costs the same whether 1 or 30 pages are read.",
            "default": 8
          },
          "pagePriority": {
            "title": "Pages to look at, in priority order",
            "uniqueItems": true,
            "type": "array",
            "description": "After the start page, only links that look like these page types are followed, in this order. Keywords cover English, German, French, Spanish, Korean and Japanese. 'footer' means legal and privacy links found in the page footer. Leave a type out to skip it. An empty list reads the start page only.",
            "items": {
              "type": "string",
              "enum": [
                "contact",
                "about",
                "impressum",
                "team",
                "footer"
              ],
              "enumTitles": [
                "Contact pages",
                "About / company pages",
                "Impressum / legal notice",
                "Team pages",
                "Footer legal and privacy links"
              ]
            },
            "default": [
              "contact",
              "about",
              "impressum",
              "team",
              "footer"
            ]
          },
          "extract": {
            "title": "What to extract",
            "minItems": 1,
            "uniqueItems": true,
            "type": "array",
            "description": "Which contact types to return. A website counts as found (and is charged) when an email or phone is found. If you select neither emails nor phones, it counts as found when a social link or address is found.",
            "items": {
              "type": "string",
              "enum": [
                "emails",
                "phones",
                "socialLinks",
                "addresses"
              ],
              "enumTitles": [
                "Email addresses",
                "Phone numbers",
                "Social links",
                "Postal addresses (structured data only)"
              ]
            },
            "default": [
              "emails",
              "phones",
              "socialLinks",
              "addresses"
            ]
          },
          "sameDomainOnly": {
            "title": "Stay on the same domain",
            "type": "boolean",
            "description": "When on, links and redirects that leave the website's registrable domain are not followed, and a start page that redirects to another domain is reported as redirected_offsite. When off, such redirects and prioritized links are followed, except to refused domains.",
            "default": true
          },
          "respectRobotsTxt": {
            "title": "Respect robots.txt",
            "type": "boolean",
            "description": "When on, robots.txt is read first and disallowed pages are not requested. Crawl-delay is honored up to 10 seconds.",
            "default": true
          },
          "timeoutPerSiteSecs": {
            "title": "Time limit per website (seconds)",
            "minimum": 5,
            "maximum": 300,
            "type": "integer",
            "description": "The Actor stops working on a website after this many seconds and reports what it has. A website with no contact found by then gets the status timeout and is not charged.",
            "default": 45
          },
          "maxConcurrency": {
            "title": "Websites in parallel",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many websites are read at the same time. Each single website is always read one request at a time with a pause between requests.",
            "default": 5
          },
          "maxEmailsPerSite": {
            "title": "Max emails per website",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "The most email addresses returned for one website. When a website lists more (for example a staff directory), generic addresses such as info@, contact@ or sales@ are kept first and the row gets the reason RESULTS_TRUNCATED. It does not change the price.",
            "default": 100
          },
          "maxPhonesPerSite": {
            "title": "Max phone numbers per website",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "The most phone numbers returned for one website. When a website lists more, the first ones found are kept and the row gets the reason RESULTS_TRUNCATED. It does not change the price.",
            "default": 50
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}