Enrichr Web Capture

v1.0.0
dev.enrichr/web-capture Checked 3 days ago Published 1 month ago

See the rendered web: design tokens, fonts, animation timings, WebGL shaders and 3D from any URL.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

scrape_url Scrape URL

Scrape a single URL and return structured content (Markdown, HTML, or JSON) with page metadata. Results are cached for 24 hours.

ParameterTypeDescription
url *stringThe URL to scrape
bypass_cachebooleanSkip cache and force a fresh scrape
formatstringOutput format for the scraped content
include_metadatabooleanInclude page metadata (title, description, OG tags)

crawl_site Crawl Site

Capture multiple pages of a site, not just one. Discovers URLs from robots.txt/sitemap.xml (or same-origin links on the root page if no sitemap exists), then loads and reads up to max_pages of them for real in a browser — element/link/image/heading counts and detected tech per page. Suited to requests that cover the whole site rather than one page. Respects robots.txt.

ParameterTypeDescription
url *stringRoot URL to start crawling from
max_pagesintegerMaximum number of pages to crawl

map_site Map Site

Discover the URLs that make up a site, without visiting them. Reads robots.txt and sitemap.xml (following sitemap index files) first; if a site has no sitemap, falls back to same-origin links found on the root page. Returns the full list of internal (and optionally external) links. Pair with crawl_site to actually capture the pages this finds.

ParameterTypeDescription
url *stringRoot URL to map
include_externalbooleanInclude external domain links in results

batch_scrape Batch Scrape

Scrape multiple URLs in parallel batches with rate limiting. Useful for gathering evidence from a sitemap or known URL list.

ParameterTypeDescription
urls *arrayArray of URLs to scrape
batch_sizeintegerNumber of URLs to process concurrently per batch
formatstring

cache_invalidate Invalidate Cache

Clear cached scrape results. Use when content has changed and you need a fresh scrape, or for debugging extraction issues.

ParameterTypeDescription
namespacestringCache namespace to clear
urlstringSpecific URL to invalidate. If omitted, clears all enrichr cache.

extract_contacts Extract Contacts

Extract email addresses, phone numbers, and physical addresses from a webpage. Filters out false positives like credit card numbers.

ParameterTypeDescription
url *string
extract_addressesboolean
extract_emailsboolean
extract_phonesboolean
include_textbooleanInclude extracted text content (large)

extract_socials Extract Socials

Extract social media profile links from a webpage. Detects links to Twitter/X, LinkedIn, Instagram, Facebook, GitHub, YouTube, TikTok, etc.

ParameterTypeDescription
url *string
platformsarray

extract_structured_data Extract Structured Data

Extract JSON-LD, Microdata, OpenGraph tags, and Twitter Cards from a webpage and return them as parsed structured objects.

ParameterTypeDescription
url *string
include_jsonldboolean
include_microdataboolean
include_opengraphboolean
include_twitter_cardsboolean

take_screenshot Take Screenshot

Take a screenshot of a webpage using a headless browser. Optionally capture at a scroll position or after waiting for elements.

ParameterTypeDescription
url *string
cache_screenshotboolean
full_pageboolean
scroll_positionnumber
viewport_heightnumber
viewport_widthnumber
wait_for_selectorstring

analyze_page_state Analyze Page State

Capture page state: title, HTML, JSON-LD structured data, computed CSS styles for key elements, and internal/external link inventory.

ParameterTypeDescription
url *string
viewport_heightnumber
viewport_widthnumber
wait_for_loadboolean

interact_with_page Interact With Page

Simulate user interactions on a page (click, fill, hover, scroll) and optionally capture screenshots of state changes.

ParameterTypeDescription
interactions *array
url *string
capture_screenshotsboolean
viewport_heightnumber
viewport_widthnumber

analyze_css Analyze CSS

Analyze a page's CSS from the RENDERED page. Returns design tokens (a frequency-ranked colour palette, the type scale, spacing, radii, shadows, easings), CSS custom properties, breakpoints, and stylesheet statistics. Values are ranked by how many elements actually use them, so brand colours separate from one-offs.

ParameterTypeDescription
url *string
extract_tokensboolean
include_selectorsboolean
max_elementsnumber
max_selectorsnumber

analyze_javascript Analyze JavaScript

Inspect JavaScript bundles loaded by a page. Detects libraries and frameworks (React, Vue, Angular, jQuery, etc.), analyzes bundle composition, and identifies patterns from script sources.

ParameterTypeDescription
url *string
analyze_bundlesbooleanDownload and inspect JS bundle contents (slow)
detect_librariesboolean
max_bundle_size_kbnumber

analyze_html Analyze HTML

Analyze the HTML structure of a page for SEO readiness, accessibility, semantic markup, and framework detection (React/Vue/Angular SSR).

ParameterTypeDescription
url *string
check_accessibilityboolean
check_semanticboolean
check_seoboolean
detect_frameworksboolean

extract_assets Extract Assets

Discover and catalog all images, fonts, videos, SVGs, scripts, stylesheets, and 3D models on a webpage. Optionally fetches HTTP metadata for each.

ParameterTypeDescription
url *string
fetch_metadatabooleanFetch HTTP metadata (slow, but provides file sizes and dimensions)
max_assetsnumberMaximum assets to return

ocr_image OCR Image

Extract text from an image URL using Tesseract.js. Applies preprocessing (grayscale, contrast, sharpening) to improve accuracy.

ParameterTypeDescription
url *stringURL of the image to process
languagestringTesseract language codes (e.g. 'eng', 'eng+fra')
preprocessbooleanApply image preprocessing for better accuracy

ocr_document OCR Document

Extract text from a PDF document using OCR. Downloads the PDF, converts pages to images, and runs Tesseract OCR on each page.

ParameterTypeDescription
url *stringURL of the PDF document
languagestring
max_pagesintegerMaximum number of pages to process
preprocessboolean

parse_pdf Parse PDF

Extract text content from a PDF document using pdf-parse. Does NOT use OCR — pure text extraction from the PDF structure. Use ocr_document for scanned/image-based PDFs.

ParameterTypeDescription
url *stringURL of the PDF document
max_pagesintegerMaximum number of pages to extract

compare_screenshots Compare Screenshots

Compare two images pixel-by-pixel using pixelmatch. Returns diff pixel count, percentage difference, and a diff image.

ParameterTypeDescription
after_url *stringURL of the comparison image
before_url *stringURL of the baseline image
include_aabooleanInclude anti-aliased pixels in diff
include_diff_imagebooleanReturn a base64 diff image
thresholdnumberDifference threshold

extract_color_palette Extract Color Palette

Extract dominant colors from an image URL using histogram quantisation.

ParameterTypeDescription
url *stringURL of the image
colorsnumberNumber of colors to extract
resizenumberDownscale width for faster processing

analyze_spreadsheet Analyze Spreadsheet

Download and analyze a spreadsheet (CSV, XLSX, or Google Sheets URL). Returns sheet names, row count, column headers, and a sample of the data.

ParameterTypeDescription
url *stringURL to the spreadsheet (CSV, XLSX, or Google Sheets)
max_rowsintegerMaximum data rows to include in the output

search_web Search Web

Search the web using the Firecrawl search API and return structured results with titles, URLs, snippets, and relevance scores.

ParameterTypeDescription
query *stringSearch query string
langstringLanguage code (ISO 639-1)
limitintegerMaximum results to return

search_deep Deep Search

Perform a deep search: search the web, then scrape the top N results to extract full content. Returns combined search + content results.

ParameterTypeDescription
query *stringSearch query string
detailstringDetail level for scraped content
max_resultsintegerNumber of results to fully scrape

reverse_engineer_dom Reverse Engineer DOM

Navigate to a page with a real headless browser and extract the full DOM structure: condensed tree, heading hierarchy (H1-H6), all text content, semantic landmarks, tables, forms, and internal/external link inventory. Includes content that JavaScript renders, because the page is loaded in a real browser.

ParameterTypeDescription
url *string
include_dom_treebooleanInclude the full condensed DOM tree (can be large)
viewport_heightnumber
viewport_widthnumber
wait_for_loadbooleanWait for networkidle before extracting

reverse_engineer_assets Reverse Engineer Assets

Discover and catalog ALL assets on a webpage — images, videos, fonts, SVGs, scripts, stylesheets, 3D models, and downloads. Fetches HTTP metadata including file sizes (Content-Length), dimensions, and MIME types. Categorizes by type and usage (img-tag, script, stylesheet, etc.). Metadata only by default — pass include_content for the actual script and stylesheet text inline, when the goal is reading real code rather than an inventory.

ParameterTypeDescription
url *string
fetch_metadatabooleanFetch HTTP HEAD for file sizes and dimensions (slower)
include_contentbooleanFetch and include the actual text of script and stylesheet assets (not images/fonts/video — those are not code). Budgeted: up to ~40KB per file and ~300KB total; assets past the budget get a content…
max_assetsnumber

reverse_engineer_animations Reverse Engineer Animations

Analyze animation libraries on a webpage using runtime instrumentation. Detects GSAP (tweens, keyframes, ScrollTriggers, timeline), Framer Motion, Lens, and AOS.

ParameterTypeDescription
url *string
viewport_heightnumber
viewport_widthnumber

reverse_engineer_webgl Reverse Engineer WebGL

Analyze WebGL/3D on a webpage — detects Three.js, Babylon.js, Cesium, captures shaders, 3D models, canvas info.

ParameterTypeDescription
url *string
capture_frameboolean
viewport_heightnumber
viewport_widthnumber

reverse_engineer_full Full Page Capture

Single-page capture that combines several analyses in one call: DOM extraction, asset discovery, animation analysis, WebGL capture and structured data (JSON-LD, OpenGraph) for one URL. Cost: 10 credits, one full site. Takes about a minute, up to 7 for heavy sites. Not charged if it fails, is blocked by the site, or times out.

ParameterTypeDescription
url *string
fetch_asset_metadataboolean
include_dom_treeboolean
viewport_heightnumber
viewport_widthnumber

extract_design_system Extract Design System

Extract a site's real design system from the RENDERED page: CSS custom properties, a frequency-ranked colour palette, the type scale (complete font-size/weight/line-height/letter-spacing combinations), spacing scale, radii, shadows, easing curves, and breakpoints — plus webfonts with their file URLs, and every CSS/WAAPI animation with real keyframes and timing. Reads computed styles, so the cascade, media queries, and runtime theming are already resolved.

ParameterTypeDescription
url *string
include_animationsboolean
include_fontsboolean
max_elementsnumberElements to sample for computed styles. The page is sampled with an even stride.
viewport_heightnumber
viewport_widthnumber

extract_source_maps Extract Source Maps

Find and optionally recover the source maps a site's bundles advertise. When a map is reachable and embeds sourcesContent, this returns the ORIGINAL TypeScript/JSX source — the real component tree, not a minified bundle. Discovery is cheap; set recover=true to download and parse, and include_content=true to return file bodies.

ParameterTypeDescription
url *string
include_contentbooleanReturn original file contents. Large — capped internally.
max_mapsnumber
recoverbooleanDownload and parse the maps, not just list them

extract_scene_graph Extract 3D Scene Graph

Walk a page's Three.js scene: every mesh with its geometry and triangle count, every material with its PBR parameters and bound texture maps, lights, the active camera, renderer configuration, and post-processing passes. Works even when the scene lives in module scope and is never assigned to window — Three.js announces its objects to a devtools bridge we install before page scripts run.

ParameterTypeDescription
url *string
max_meshesnumber
viewport_heightnumber
viewport_widthnumber

extract_site_profile Extract Full Site Profile

One page load, every capture surface: design tokens, webfonts, CSS/WAAPI animations, framework internals (__NEXT_DATA__, React component tree, Nuxt/Astro/Svelte state), the 3D scene graph, a complete asset inventory merging network traffic with DOM declarations, response headers, security posture, CDN/platform fingerprints, robots.txt, sitemap, structured data, and source map discovery. Cost: 10 credits, one full site. Takes about a minute, up to 7 for heavy sites. Not charged if it fails, is blocked by the site, or times out.

ParameterTypeDescription
url *string
fetch_robotsboolean
include_source_contentbooleanReturn recovered original file bodies. Large.
recover_source_mapsbooleanDownload and parse discovered source maps
viewport_heightnumber
viewport_widthnumber

rebuild_brief Rebuild Brief

THE handoff tool. Runs every capture against one page load and returns a single Markdown brief written for an LLM to rebuild the site from: design tokens, component inventory, exact animation timings and easings, @keyframes bodies, shader GLSL, the 3D scene graph and the scene exported as glTF, fonts, asset inventory, API endpoints, event listeners, raw HTML and inline scripts, and recovered original source where the site ships source maps. Also measures motion by scrolling and diffing computed styles, which is the only way to see animation on a site that bundles its library out of reach, and…

ParameterTypeDescription
url *string
include_bundlesbooleanInline external JS/CSS bodies. Usually not worth the context.
include_coveragebooleanRecord which CSS actually applied; produces styles/used.css in the zip.
include_interactionsbooleanProbe hover/focus/active states with the real mouse. Adds ~20s.
include_ocrbooleanRead text that exists only in pixels (canvas, images, video posters) with OCR.
include_page_transitionsbooleanClick an internal link and measure the route transition. Runs last, and leaves the browser on a different page. Adds ~5s.
include_responsivebooleanMeasure layout across the viewport ladder and in dark mode. Adds ~20s.
include_scroll_motionbooleanMeasure motion by scrolling and diffing computed styles, and grab a frame at each stop. The only thing that sees motion on a site whose animation library is bundled out of reach — which is most awar…
include_source_contentbooleanInclude recovered original file bodies
include_video_framesbooleanGrab stills from the page's video elements.
max_charsnumberRough budget for the brief; raw source is trimmed to fit
recover_source_mapsbooleanDownload source maps and recover original source (high value)
viewport_heightnumber
viewport_widthnumber

get_capture_result Get Capture Result

Collect the result of a rebuild_brief that was still running when it returned. Pass the job_id it gave you. Waits up to about a minute; if the capture is still going it says so and you call this again. Free.

ParameterTypeDescription
job_id *stringThe job id returned by rebuild_brief
wait_secondsnumberHow long to wait for it to finish before reporting progress