API Endpoint
GET /analyze
Analyze all external dependencies of a webpage by providing its URL.The URL of the webpage to analyze. Must be a valid HTTP or HTTPS URL.
Example Request
Response Structure
Indicates if the request was successful
The analyzed dependencies from the webpage
Array of unique absolute URLs of JavaScript files loaded via
<script src="...">. Includes all external scripts referenced in the HTML.Array of unique absolute URLs of CSS files loaded via
<link rel="stylesheet" href="...">. Includes all external stylesheets.Array of unique absolute URLs of images. Extracts from both
<img src="..."> and <source src="..."> tags.Array of unique absolute URLs of font files. Extracts from:
<link rel="preload" as="font" href="...">- CSS
url()declarations for .woff, .woff2, .ttf, .otf, and .eot files
Array of unique absolute URLs of embedded iframes via
<iframe src="...">. Useful for identifying third-party embeds.Example Response
Error Responses
Invalid URL
Fetch Error
Deployment
Use Cases
- Dependency Audits: Identify all third-party dependencies and external resources
- Performance Analysis: Discover resource-heavy pages loading too many external files
- Security Reviews: Find all external scripts and potential security risks
- Privacy Compliance: Identify third-party trackers and analytics scripts
- License Compliance: Discover all fonts and resources that may require licensing
- CDN Optimization: Identify candidates for CDN migration or consolidation
- Competitive Analysis: Understand what services and tools competitors use
Technical Details
- Built with Hono framework
- Runs on Cloudflare Workers
- Regex-based HTML parsing for fast extraction
- Automatically resolves relative URLs to absolute URLs
- Deduplicates all resource URLs
- Extracts fonts from both link tags and CSS url() declarations
Extraction Details
Scripts
- Extracted from
<script src="...">tags - Includes inline and external JavaScript references
- Does not include inline script content
Stylesheets
- Extracted from
<link rel="stylesheet" href="..."> - Includes both standard and alternate stylesheets
- Matches various ordering of rel and href attributes
Images
- Extracted from
<img src="...">tags - Also extracts from
<source src="...">for responsive images - All formats supported (jpg, png, svg, gif, webp, etc.)
Fonts
- Extracted from
<link rel="preload" as="font">or<link rel="stylesheet" as="font"> - Also extracts from CSS
url()declarations matching font extensions:- .woff and .woff2 (Web Open Font Format)
- .ttf (TrueType Font)
- .otf (OpenType Font)
- .eot (Embedded OpenType)
Iframes
- Extracted from
<iframe src="...">tags - Useful for identifying embeds from YouTube, Vimeo, Google Maps, etc.
- Includes both same-origin and cross-origin iframes
Notes
- All resource URLs are deduplicated across each category
- Relative URLs are resolved using the base URL of the page
- The tool fetches and analyzes the initial HTML only (does not execute JavaScript)
- Resources loaded dynamically after page load are not captured