GoScreenAPI
Cloudflare Integration — GoScreenAPI

Cloudflare Zone Automation, Built Into Your Monitoring Stack

Connect your Cloudflare zone once. Monitor security settings in real time, manage IP bans from your dashboard, and let GoScreenAPI activate Under Attack Mode automatically when downtime is detected.

250 free screenshots/month No credit card required REST API · JSON
bash
# Example: GoScreenAPI detects downtime and activates Under Attack Mode automatically
#
# 1. Uptime monitor detects your site is down
# 2. After configurable delay (default 5 min), GoScreenAPI calls Cloudflare API:
#    PATCH /zones/{zone_id}/settings/security_level
#    { "value": "under_attack" }
# 3. When site recovers, security level reverts to previous value
# 4. Full audit trail + webhook notification delivered to your endpoint
Features

Everything you need.
Nothing you don't.

Zone Health Monitoring

Real-time visibility into your Cloudflare zone status, security level, WAF rules, and rate-limit counters.

IP Ban Management

Block or challenge suspicious IPs directly from your dashboard. View active rules and remove bans with one click.

Security Level Control

Change your zone's security level with one click — from Essentially Off to Under Attack.

Auto Under Attack Mode

Automatically activate Under Attack Mode when downtime is detected. Reverts when your site recovers.

Audit Trail

Complete log of every action taken on your zone — manual or automated, success or failure.

Webhook Notifications

Get notified via webhook when automated actions fire. Integrates with Slack, Discord, PagerDuty, or any HTTP endpoint.

Use Cases

Built for real workflows

From solo developers to enterprise teams — GoScreenAPI fits into any stack.

E-commerce Sites

Protect checkout flows during DDoS attacks. Under Attack Mode activates automatically while you sleep.

SaaS Platforms

Automated incident response without manual intervention. Reduce MTTR from minutes to seconds.

Agency Management

Manage multiple client zones from one dashboard. Per-client audit trails and webhook notifications.

API Reference

Key Parameters

Full reference at goscreenapi.com/docs

Parameter Type Description
api_token string Your Cloudflare API token (Zone:Read + Zone:Edit + Firewall:Edit permissions)
zone_id string Cloudflare Zone ID from your domain overview page
account_id string Optional Cloudflare Account ID for multi-account setups
security_level string essentially_off | low | medium | high | under_attack
trigger_after_minutes integer Delay before auto-action fires (1–60, default 5)
auto_disable_after_uptime_minutes integer Minutes of uptime before reverting Under Attack Mode (1–1440, default 10)
Why GoScreenAPI

Speed. Scale. Simplicity.

< 3s
Avg. response time

Sync mode results in under 3 seconds for most pages.

99.9%
Uptime SLA

Production-grade reliability with redundant infrastructure.

150 req/min
Rate limit (Pro)

Handle high-volume workloads without throttling.

FAQ

Common questions

Yes. Your token is encrypted with AES-256 (Laravel Crypt) and never stored in plain text. Only the last 4 characters are displayed in the UI. Tokens are never written to logs.
All Cloudflare plans are supported — Free, Pro, Business, and Enterprise. Some features like Bot Fight Mode require Cloudflare Pro or higher.
When your uptime monitor detects downtime, GoScreenAPI waits for a configurable delay (default 5 minutes). If the site is still down, Under Attack Mode is activated automatically. When the site recovers, the security level reverts to its previous value.
Yes. The integration is read-only by default (Pro plan). It will not modify your existing rules, WAF configuration, or page rules unless you explicitly use Custom plan controls.
Cloudflare zone monitoring (read-only) is included with the Pro plan. Full control with automation policies is included with the Custom plan.

Start building with GoScreenAPI

250 free screenshots every month. No credit card required. Production-ready in minutes.

Fast Screenshot API Overview

The screenshot API offers a powerful means for developers to capture any URL as an image format like PNG, JPEG, or WebP via a REST interface. Remarkably, the response time is typically under three seconds. With this tool, you can specify custom viewport dimensions, full-page capture, retina 2x resolution, and even enable dark mode effortlessly.

Interested in trying it out? The API provides 250 free credits each month, perfect for testing and integration. With over 2000 developers relying on it, this free screenshot tool is rapidly becoming a developer favorite.

Features and Customization

Our screenshot API enables extensive customization options for your website screenshot needs. You can capture full pages or specific sections by setting your preferred viewport size. Additionally, our full page capture capability ensures you do not miss any vital content on the target page.

Besides capturing the standard view, you can opt for retina 2x resolution for higher clarity or transform the page display with dark mode. These features make the API versatile for capturing various display scenarios programmatically.

Efficient REST API Usage

Using the REST API screenshot capability, developers can convert any URL to an image with simple HTTP requests. The API is designed for ease of use, providing rapid responses in less than three seconds and supporting multiple image formats.

You can perform HTML to image conversion efficiently, thanks to our streamlined endpoint architecture. The HTML to image conversion page offers further insights into the API's functionality.

Getting Started with 250 Free Credits

New users can leverage 250 free credits each month to test and integrate the screenshot API into their workflows. This allocation empowers developers to explore different API features without initial costs, facilitating seamless incorporation into projects.

The simple setup process and comprehensive documentation make it easy to get started. Join the community of over 2000 developers who are already reaping the benefits of this programmatic screenshot solution.

FAQ

What image formats are supported?

The screenshot API supports PNG, JPEG, and WebP formats, allowing flexibility in choosing the best format for your use case.

How do I enable dark mode?

Dark mode can be activated by setting a specific parameter in your API request, allowing you to capture a website in an alternate color scheme.

What is the maximum capture resolution supported?

The API supports retina 2x resolution, ensuring high-quality images that are suitable for detailed analysis and presentations.

How quickly can I expect a response?

The API typically delivers responses in under three seconds, making it one of the fastest options available for capturing website screenshots via REST.

Ready to capture your first website screenshot? Start using the screenshot API today and transform the way you work with web images.