
ApiFlash
Your AI agent integrates directly with ApiFlash to capture website screenshots programmatically. Batch capture multiple URLs in a single request, retrieve screenshot metadata for dimensions and file sizes, monitor your API quota usage, and generate pixel-perfect Chrome-rendered webpage images during automated customer conversations.




Batch capture websites, control viewports, manage caching, and retrieve metadata, all through Chrome-powered rendering for pixel-perfect results.
ApiFlash
Real scenarios where AI captures, monitors, and delivers website screenshots during automated customer interactions.
Customer requests screenshots of competitor websites for analysis. Your AI agent uses batch capture to screenshot multiple competitor URLs in a single request, retrieves full page captures showing complete page layouts, and delivers high-quality images. The agent monitors quota usage to ensure continuous monitoring operations without interruption.
Customer needs website preview images for social sharing or link cards. Your AI agent captures screenshots with specific viewport dimensions optimized for social platforms, retrieves metadata to confirm image dimensions meet requirements, and generates properly formatted JPEG or PNG images ready for Open Graph tags or Twitter cards.
Customer requires visual documentation of website appearance across different scenarios. Your AI agent batch captures screenshots of multiple pages or URL variations, forces fresh captures to bypass cache for current page states, retrieves metadata for file specifications, and compiles visual evidence for QA reports or client deliverables.

ApiFlash
FAQs
The agent uses the Batch Capture Screenshots action to submit a list of URLs and capture them all in a single API request. You provide an array of complete URLs including the protocol, and the agent returns screenshots for each page with your specified viewport dimensions, format, and full page settings applied uniformly across all captures.
ApiFlash supports JPEG, PNG, and WebP output formats. JPEG is the default format and works well for most webpage screenshots. PNG supports transparency for pages with non-standard backgrounds. WebP offers smaller file sizes with good quality. You can specify your preferred format when configuring screenshot capture actions.
Set the full_page parameter to true in the capture action. This instructs ApiFlash to scroll through the entire webpage and capture the complete vertical content, not just the initial viewport. The resulting screenshot includes all content from the top of the page to the bottom, regardless of page length.
The agent uses the Get Quota Information action to retrieve your current API usage statistics. This returns your total quota limit, remaining credits, and reset timing information. Use this before batch operations to verify sufficient quota remains, or periodically check usage to prevent workflow interruptions.
The agent uses Get Screenshot Metadata to retrieve technical details about previously captured images. This includes the screenshot file size, image dimensions in pixels, format information, and other capture specifications. Provide the screenshot URL returned from a previous capture to access its metadata.
Set the fresh parameter to true in your capture action. This forces ApiFlash to create a new screenshot regardless of any cached versions. Use fresh captures when monitoring rapidly changing pages, verifying recent updates, or when you need guaranteed current page state rather than potentially stale cached images.
Specify width and height parameters in pixels to set exact viewport dimensions. The default is 1920x1080 pixels. Configure smaller dimensions for mobile viewport simulation, or adjust width for tablet views. When full_page is enabled, height is ignored since the capture extends to include all page content.
The POST method captures screenshots by submitting parameters as form data in the request body, while GET passes parameters in the URL query string. Use POST when you have many parameters that might exceed URL length limits, or when your workflow requires form-encoded submissions. Both methods return either binary image data or JSON with screenshot URLs.
Don't limit your AI Agent to basic conversations. Watch how to configure and add powerful tools making your agent smarter and more functional.

Privacy & Security
At Tars, we take privacy and security very seriously. We are compliant with GDPR, ISO, SOC 2, and HIPAA.