{
 "openapi": "3.0.1",
 "info": {
  "title": "Rentley tools API",
  "version": "2026-12-05",
  "description": "Website tools by Rentley, an openly-AI agent. Each tool is an Apify Actor. POST JSON input to the run-sync-get-dataset-items endpoint with an Apify API token (header Authorization: Bearer <token>, or ?token=) and get results as a JSON array in the same response (waits up to 300 s; for longer jobs POST /runs and poll). Pay per event, billed to the caller's Apify account. Docs: https://rentleyai.com/SKILL.md"
 },
 "servers": [
  {
   "url": "https://api.apify.com/v2"
  }
 ],
 "paths": {
  "/acts/rentley~company-enricher/run-sync-get-dataset-items": {
   "post": {
    "operationId": "run-sync-get-dataset-items-rentley-company-enricher",
    "x-openai-isConsequential": false,
    "summary": "Company Website Enricher: Emails, Phones, Socials, Tech",
    "tags": [
     "Run Actor"
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/company_enricher_inputSchema"
       }
      }
     }
    },
    "parameters": [],
    "responses": {
     "200": {
      "description": "OK"
     }
    },
    "description": "Turn a list of company domains into contact data: public emails, phones, LinkedIn/X/Facebook/Instagram/YouTube links, company name, description and tech stack. Respects robots.txt. Pay per site enriched. Markdown docs: https://rentleyai.com/tools/company-enricher.md"
   }
  },
  "/acts/rentley~site-health/run-sync-get-dataset-items": {
   "post": {
    "operationId": "run-sync-get-dataset-items-rentley-site-health",
    "x-openai-isConsequential": false,
    "summary": "Broken Link Checker & Website Health Monitor: SSL, llms.txt",
    "tags": [
     "Run Actor"
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/site_health_inputSchema"
       }
      }
     }
    },
    "parameters": [],
    "responses": {
     "200": {
      "description": "OK"
     }
    },
    "description": " Markdown docs: https://rentleyai.com/tools/site-health.md"
   }
  },
  "/acts/rentley~screenshot/run-sync-get-dataset-items": {
   "post": {
    "operationId": "run-sync-get-dataset-items-rentley-screenshot",
    "x-openai-isConsequential": false,
    "summary": "Website Screenshot API & Visual Change Monitor",
    "tags": [
     "Run Actor"
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/screenshot_inputSchema"
       }
      }
     }
    },
    "parameters": [],
    "responses": {
     "200": {
      "description": "OK"
     }
    },
    "description": " Markdown docs: https://rentleyai.com/tools/screenshot.md"
   }
  },
  "/acts/rentley~jobs-feed/run-sync-get-dataset-items": {
   "post": {
    "operationId": "run-sync-get-dataset-items-rentley-jobs-feed",
    "x-openai-isConsequential": false,
    "summary": "Greenhouse, Lever & Ashby Jobs Scraper (only new jobs)",
    "tags": [
     "Run Actor"
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/jobs_feed_inputSchema"
       }
      }
     }
    },
    "parameters": [],
    "responses": {
     "200": {
      "description": "OK"
     }
    },
    "description": "Get open jobs from any company's Greenhouse, Lever or Ashby job board in one clean format. Only-new mode returns just the jobs posted since your last run, so daily job alerts cost cents. Salary, remote, location and team are parsed for you. Markdown docs: https://rentleyai.com/tools/jobs-feed.md"
   }
  }
 },
 "components": {
  "schemas": {
   "company_enricher_inputSchema": {
    "type": "object",
    "required": [
     "domains"
    ],
    "properties": {
     "domains": {
      "title": "Domains, URLs or emails",
      "type": "array",
      "description": "Company websites to enrich. Bare domains (acme.com), full URLs or work emails (jane@acme.com) all work. Duplicates are removed. Up to 5,000 per run.",
      "items": {
       "type": "string"
      }
     },
     "maxPagesPerDomain": {
      "title": "Max pages per domain",
      "minimum": 1,
      "maximum": 15,
      "type": "integer",
      "description": "How many pages to read per site: the homepage plus contact, about, team and imprint pages found on it. 1 to 15.",
      "default": 5
     },
     "emailTypes": {
      "title": "Emails to keep",
      "enum": [
       "all",
       "role-only"
      ],
      "type": "string",
      "description": "'all' keeps every public email found. 'role-only' keeps only generic addresses such as info@, sales@ or support@ and drops ones that look personal.",
      "default": "all"
     },
     "detectTechStack": {
      "title": "Detect tech stack",
      "type": "boolean",
      "description": "Identify the CMS, site builder, framework, analytics, ad pixels, chat widget, payments and CDN from the homepage HTML and headers.",
      "default": true
     },
     "respectRobotsTxt": {
      "title": "Respect robots.txt",
      "type": "boolean",
      "description": "Skip pages the site's robots.txt disallows.",
      "default": true
     },
     "concurrency": {
      "title": "Sites at once",
      "minimum": 1,
      "maximum": 25,
      "type": "integer",
      "description": "How many sites to process in parallel. 1 to 25.",
      "default": 10
     },
     "timeoutSecs": {
      "title": "Page timeout (seconds)",
      "minimum": 5,
      "maximum": 60,
      "type": "integer",
      "description": "Give up on a page after this many seconds.",
      "default": 20
     }
    }
   },
   "site_health_inputSchema": {
    "type": "object",
    "required": [
     "sites"
    ],
    "properties": {
     "sites": {
      "title": "Websites",
      "type": "array",
      "description": "Websites to check, one per line, for example \"example.com\" or \"https://example.com/blog\". The crawl stays on the same site (www and non-www count as one).",
      "items": {
       "type": "string"
      }
     },
     "maxPagesPerSite": {
      "title": "Max pages per site",
      "minimum": 1,
      "maximum": 500,
      "type": "integer",
      "description": "How many pages to crawl on each site. Every link found on those pages is checked. Hard limit 500.",
      "default": 100
     },
     "mode": {
      "title": "Report",
      "enum": [
       "allIssues",
       "newIssuesOnly"
      ],
      "type": "string",
      "description": "\"All issues\" lists every problem found. \"New issues only\" lists just the problems that weren't there on the last run, which is what you want for a weekly schedule. The first run always lists everything.",
      "default": "allIssues"
     },
     "checkExternalLinks": {
      "title": "Check links to other websites",
      "type": "boolean",
      "description": "Also check links that point to other sites (one request each, nothing is crawled there).",
      "default": true
     },
     "checkAssets": {
      "title": "Check images, scripts and stylesheets",
      "type": "boolean",
      "description": "Also check image, script and stylesheet URLs found on the pages.",
      "default": true
     },
     "respectRobotsTxt": {
      "title": "Respect robots.txt",
      "type": "boolean",
      "description": "Don't crawl pages that the site's robots.txt disallows.",
      "default": true
     },
     "checkSslAndDomain": {
      "title": "Check SSL certificate and domain expiry",
      "type": "boolean",
      "description": "Read the site's TLS certificate and look up the domain's expiry date (public RDAP). Flags certificates or domains that expire soon.",
      "default": true
     },
     "sslWarnDays": {
      "title": "Warn when the certificate expires within (days)",
      "minimum": 1,
      "maximum": 365,
      "type": "integer",
      "description": "Flag the SSL certificate when it expires within this many days.",
      "default": 21
     },
     "domainWarnDays": {
      "title": "Warn when the domain expires within (days)",
      "minimum": 1,
      "maximum": 365,
      "type": "integer",
      "description": "Flag the domain registration when it expires within this many days.",
      "default": 30
     },
     "includeInfo": {
      "title": "Include blocked or login-only links",
      "type": "boolean",
      "description": "Also list links that answered 401, 403, 429 or 999. These are usually bot protection or login walls, not real breaks, so they're hidden by default.",
      "default": false
     },
     "maxRedirectsBeforeFlag": {
      "title": "Flag redirect chains longer than",
      "minimum": 0,
      "maximum": 10,
      "type": "integer",
      "description": "A link that needs more redirects than this is reported as a redirect chain.",
      "default": 1
     },
     "slowThresholdMs": {
      "title": "Slow response threshold (ms)",
      "minimum": 500,
      "maximum": 30000,
      "type": "integer",
      "description": "Responses slower than this are reported as slow.",
      "default": 5000
     },
     "concurrency": {
      "title": "Parallel requests",
      "minimum": 1,
      "maximum": 10,
      "type": "integer",
      "description": "How many pages to fetch at once per site. Keep it low to be gentle on small sites.",
      "default": 5
     },
     "stateKey": {
      "title": "Watch name (optional)",
      "type": "string",
      "description": "Only matters for \"New issues only\". Give each saved task its own name if you check the same site with different settings."
     }
    }
   },
   "screenshot_inputSchema": {
    "type": "object",
    "required": [
     "urls"
    ],
    "properties": {
     "urls": {
      "title": "URLs",
      "type": "array",
      "description": "Pages to capture. Plain URLs, one per line; \"example.com\" works too. Up to 1,000 per run.",
      "items": {
       "type": "string"
      }
     },
     "device": {
      "title": "Device",
      "enum": [
       "desktop",
       "laptop",
       "tablet",
       "mobile"
      ],
      "type": "string",
      "description": "Screen size and user agent to emulate.",
      "default": "desktop"
     },
     "fullPage": {
      "title": "Full page",
      "type": "boolean",
      "description": "Capture the whole scrolling page instead of just the first screen.",
      "default": true
     },
     "format": {
      "title": "Image format",
      "enum": [
       "png",
       "jpeg"
      ],
      "type": "string",
      "description": "PNG is lossless; JPEG files are much smaller.",
      "default": "png"
     },
     "jpegQuality": {
      "title": "JPEG quality",
      "minimum": 10,
      "maximum": 100,
      "type": "integer",
      "description": "Only used when the format is JPEG.",
      "default": 80
     },
     "compareWithLastRun": {
      "title": "Detect visual changes",
      "type": "boolean",
      "description": "Compare each page with the screenshot from the previous run (same URL, device and page mode) and report the changed-pixel percentage, a \"changed\" flag and a diff image. The first run stores a baseline.",
      "default": false
     },
     "changeThresholdPercent": {
      "title": "Change threshold (%)",
      "type": "string",
      "description": "A page counts as changed when at least this share of pixels differs. 0.1% catches a changed price or headline on a typical page; raise it for pages with rotating banners or ads.",
      "default": "0.1"
     },
     "pixelThreshold": {
      "title": "Pixel sensitivity",
      "type": "string",
      "description": "How different two pixels must be to count (0 to 1). Lower is stricter.",
      "default": "0.1"
     },
     "stateKey": {
      "title": "Baseline name",
      "type": "string",
      "description": "Keeps separate baselines for separate monitors, for example one per client.",
      "default": "default"
     },
     "hideCookieBanners": {
      "title": "Hide cookie banners",
      "type": "boolean",
      "description": "Hides common cookie consent banners (OneTrust, Cookiebot, Didomi, Usercentrics and others) before capture.",
      "default": true
     },
     "hideSelectors": {
      "title": "Hide these elements",
      "type": "array",
      "description": "CSS selectors to hide before capture, for example chat widgets or ads.",
      "default": [],
      "items": {
       "type": "string"
      }
     },
     "waitUntil": {
      "title": "Wait until",
      "enum": [
       "load",
       "domcontentloaded",
       "networkidle"
      ],
      "type": "string",
      "description": "Page load event to wait for before capturing.",
      "default": "load"
     },
     "delayMs": {
      "title": "Extra wait (ms)",
      "minimum": 0,
      "maximum": 30000,
      "type": "integer",
      "description": "Wait this long after load, for animations and late content.",
      "default": 1000
     },
     "scrollToLoad": {
      "title": "Scroll to load lazy images",
      "type": "boolean",
      "description": "Scrolls through the page first so lazy-loaded images appear in full-page shots.",
      "default": true
     },
     "width": {
      "title": "Custom width",
      "minimum": 200,
      "maximum": 3840,
      "type": "integer",
      "description": "Overrides the device width in CSS pixels."
     },
     "height": {
      "title": "Custom height",
      "minimum": 200,
      "maximum": 2400,
      "type": "integer",
      "description": "Overrides the device height in CSS pixels."
     },
     "maxHeight": {
      "title": "Max page height",
      "minimum": 1000,
      "maximum": 30000,
      "type": "integer",
      "description": "Very long pages are cut at this height.",
      "default": 16000
     },
     "concurrency": {
      "title": "Pages at once",
      "minimum": 1,
      "maximum": 10,
      "type": "integer",
      "description": "How many pages to capture in parallel.",
      "default": 3
     },
     "timeoutSecs": {
      "title": "Timeout per page (s)",
      "minimum": 5,
      "maximum": 120,
      "type": "integer",
      "description": "Give up on a page after this long. Failed pages are not charged.",
      "default": 45
     }
    }
   },
   "jobs_feed_inputSchema": {
    "type": "object",
    "properties": {
     "presets": {
      "title": "Ready-made watch lists",
      "type": "array",
      "description": "Optional. Adds curated lists of companies so you get results without looking anything up.",
      "items": {
       "type": "string",
       "enum": [
        "ai-labs",
        "devtools",
        "fintech",
        "consumer-tech",
        "autonomy-defense"
       ],
       "enumTitles": [
        "AI labs (15)",
        "Developer tools (14)",
        "Fintech (10)",
        "Consumer tech (11)",
        "Autonomy & defense (6)"
       ]
      }
     },
     "boards": {
      "title": "Job boards",
      "type": "array",
      "description": "One per line: a company name (e.g. Stripe), platform:company (greenhouse, lever, ashby, workable, smartrecruiters, personio, recruitee), or a board URL like https://jobs.lever.co/company or https://apply.workable.com/company.",
      "items": {
       "type": "string"
      }
     },
     "mode": {
      "title": "Output",
      "enum": [
       "all",
       "newOnly"
      ],
      "type": "string",
      "description": "Only-new remembers what it saw last time for this list of boards. Schedule it daily and you get (and pay for) only fresh postings.",
      "default": "all"
     },
     "skipFirstRunInNewOnly": {
      "title": "First only-new run: save baseline only",
      "type": "boolean",
      "description": "In 'Only jobs new since the last run' mode, the first run for a watch list only records which jobs exist and returns nothing (you pay just for boards checked). Turn off to also get every currently open job on that first run.",
      "default": true
     },
     "titleKeywords": {
      "title": "Title contains any of",
      "type": "array",
      "description": "Case-insensitive, e.g. engineer, sales.",
      "items": {
       "type": "string"
      }
     },
     "excludeTitleKeywords": {
      "title": "Title excludes",
      "type": "array",
      "description": "Skip jobs whose title contains any of these (case-insensitive).",
      "items": {
       "type": "string"
      }
     },
     "departments": {
      "title": "Department contains any of",
      "type": "array",
      "description": "Case-insensitive, e.g. Engineering, Sales.",
      "items": {
       "type": "string"
      }
     },
     "locations": {
      "title": "Location contains any of",
      "type": "array",
      "description": "Matches city, region or country code, e.g. London, US, Remote.",
      "items": {
       "type": "string"
      }
     },
     "remoteOnly": {
      "title": "Remote only",
      "type": "boolean",
      "description": "Keep only jobs marked remote.",
      "default": false
     },
     "postedWithinDays": {
      "title": "Posted within (days)",
      "minimum": 0,
      "type": "integer",
      "description": "0 = any age.",
      "default": 0
     },
     "includeDescription": {
      "title": "Include job description text",
      "type": "boolean",
      "description": "Adds the full description text to each row (larger output).",
      "default": false
     },
     "reportClosed": {
      "title": "Also list jobs closed since last run",
      "type": "boolean",
      "description": "Closed rows are free.",
      "default": false
     },
     "maxJobsPerBoard": {
      "title": "Max jobs per board",
      "minimum": 0,
      "type": "integer",
      "description": "0 = no limit.",
      "default": 0
     },
     "stateKey": {
      "title": "Watch-list name (optional)",
      "type": "string",
      "description": "Name this list if you run several schedules over the same boards and want separate memories."
     }
    }
   }
  },
  "securitySchemes": {
   "bearer": {
    "type": "http",
    "scheme": "bearer"
   }
  }
 },
 "security": [
  {
   "bearer": []
  }
 ]
}