HTML Comment Extractor API — Find Hidden Notes in Any URL avatar

HTML Comment Extractor API — Find Hidden Notes in Any URL

Pricing

$10.00 / 1,000 page scanneds

Go to Apify Store
HTML Comment Extractor API — Find Hidden Notes in Any URL

HTML Comment Extractor API — Find Hidden Notes in Any URL

HTML comment extractor API. Input: startUrls. Output: JSON per page with every HTML comment found — text, position, plus flags for developer notes, debug info, conditional IE comments, and exposed data. Cheap pay-per-result: $0.01 per page scanned.

Pricing

$10.00 / 1,000 page scanneds

Rating

0.0

(0)

Developer

Anthony Snider

Anthony Snider

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

6 days ago

Last modified

Share

HTML Comment Extractor

Surface every <!-- ... --> left in a page's HTML — leftover developer notes, debug output, conditional IE comments, and accidentally exposed data.

Live on the Apify Store — run it instantly or call it as an agent tool via Apify MCP.

What you get

  • All HTML comments from each page, trimmed and de-noised (empty + framework markers filtered).
  • A suspicious flag on comments containing risky tokens (TODO, FIXME, password, api_key, token, internal, staging, localhost, and more) — fast triage for security recon and code-review.
  • Per-comment length and a per-page suspiciousCount so you can prioritize at a glance.
  • Single-URL or bulk mode, with a maxUrls cap.

Input

{
"url": "https://github.com",
"urls": ["https://example.com", "wordpress.org"],
"maxUrls": 25
}

Provide url, urls, or both. Bare domains are auto-prefixed with https://.

Output

One dataset item per URL:

{
"url": "https://example.com/",
"status": 200,
"commentCount": 3,
"comments": [
{ "text": "TODO: remove debug endpoint before launch", "length": 41, "suspicious": true },
{ "text": "page header", "length": 11, "suspicious": false }
],
"suspiciousCount": 1
}

Failed fetches still return an item with an error field, so one bad URL never breaks the run.